CN111541680B - Registration method of intelligent device, system and storage medium - Google Patents

Registration method of intelligent device, system and storage medium Download PDF

Info

Publication number
CN111541680B
CN111541680B CN202010308073.2A CN202010308073A CN111541680B CN 111541680 B CN111541680 B CN 111541680B CN 202010308073 A CN202010308073 A CN 202010308073A CN 111541680 B CN111541680 B CN 111541680B
Authority
CN
China
Prior art keywords
bar code
configuration rule
judgment result
judging whether
key
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
Application number
CN202010308073.2A
Other languages
Chinese (zh)
Other versions
CN111541680A (en
Inventor
周高锋
俞嘉越
刘文婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010308073.2A priority Critical patent/CN111541680B/en
Publication of CN111541680A publication Critical patent/CN111541680A/en
Application granted granted Critical
Publication of CN111541680B publication Critical patent/CN111541680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to the field of communication, and discloses a registration method of intelligent equipment, the intelligent equipment, a system and a storage medium. In the invention, the registration method of the intelligent device comprises the following steps: acquiring a configuration rule of a bar code, wherein the configuration rule of the bar code is formulated according to a registration rule of a platform; acquiring a bar code of the intelligent equipment; judging whether the bar code of the intelligent equipment conforms to the configuration rule or not; if the information is in accordance with the preset information, registering the information carried by the bar code on a cloud platform; otherwise, the process ends. The embodiment of the invention can improve the registration efficiency of the intelligent equipment on the cloud platform.

Description

Registration method of intelligent device, system and storage medium
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a registration method of intelligent equipment, the intelligent equipment, a system and a computer readable storage medium.
Background
With the rapid development of digital home services and the technology of the internet of things, the realization of remote control and state monitoring of intelligent equipment becomes a basic characteristic of the internet of things. In the use process of the intelligent equipment, the mobile application APP binding and platform registration process is carried out on the equipment, and intelligent control can be carried out on the intelligent equipment through the mobile application APP only after binding and registration.
In the prior art, binding and registering are performed on intelligent devices in the following ways:
the intelligent equipment uses a Bluetooth hotspot or Bluetooth broadcasting mode, the mobile application APP scans and discovers the equipment through a Bluetooth channel, the mobile application APP is paired and connected with the intelligent equipment through Bluetooth, and can issue a networking WIFI name SSID and a Password, and register required key service information to the intelligent home platform: platform address, user information, etc. And the intelligent equipment is automatically networked after receiving the information and registers the equipment to the corresponding user name from the cloud server.
The intelligent device WIFI hotspot mode is characterized in that a mobile application APP scans and discovers equipment through WIFI, is connected with the WIFI hotspot of the intelligent device, issues a WIFI name SSID and a Password, which can be networked, and registers required key service information to an intelligent home platform: platform address, user information, etc. And the intelligent equipment automatically networks after receiving the information and registers the equipment to the corresponding user name from the cloud server.
And the mobile application APP initiates external network WIFI and user information broadcasting through the voiceprint. The intelligent equipment analyzes the voiceprint broadcast, acquires a WIFI name SSID and a Password which can be networked, and registers required key service information to the intelligent home platform: platform address, user information, etc. And the intelligent equipment automatically networks after receiving the information and registers the equipment to the corresponding user name from the cloud server.
The two-dimension code of the intelligent network equipment is scanned in the following two ways:
the first mode is as follows: the intelligent equipment generates a corresponding two-dimension code based on the identity information of the intelligent equipment, the client scans the two-dimension code, and then inputs an external network WIFI name SSID and a Password pass connected with the client and registers required key service information to the intelligent home platform on the client: platform address, user information, etc. initiate the broadcast. And the intelligent equipment automatically networks after receiving the information and registers the equipment to the corresponding user name from the cloud server.
The second mode is as follows: when the intelligent equipment is started, the information of the local intranet wireless AP is obtained, and a corresponding two-dimensional code is generated according to the information. The client scans the two-dimension code, is connected with the intelligent equipment through the intranet wireless AP hotspot, and sends the SSID and the PWD of the external network WIFI to the intelligent equipment. The intelligent device analyzes the SSID and the PWD sent by the client and accesses to the external network WIFI to complete networking operation of the intelligent device; and finally, the intelligent device sends the unique device code and the client account to the cloud server, and the cloud server completes the binding between the intelligent device and the client account.
No matter through bluetooth, WIFI or voiceprint mode, all will be with transmission such as net information of will accessing to the net for smart machine, the net registration is joined in marriage to the equipment again. However, because bluetooth, WIFI, voiceprint have high requirements for external environment, the interference resistance is poor, and the binding is easy to fail due to the conditions of information loss and the like. Meanwhile, the intelligent device needs to poll each channel, which takes a long time. In addition, when the equipment is further bound after the equipment networking is successful, multiple interactions are required between the client and the intelligent equipment, the binding steps are complicated, and the equipment binding efficiency is influenced.
The inventors found that at least the following problems exist in the related art:
in the prior art of binding the intelligent device through the bar code, for the intelligent device which does not accord with the platform registration rule, the cloud platform registration is still tried, and the registration efficiency of the intelligent device on the cloud platform is low.
Disclosure of Invention
An object of embodiments of the present invention is to provide a registration method for an intelligent device, a system, and a computer-readable storage medium, which can simplify a registration process of the intelligent device, thereby improving registration efficiency of the device.
In order to solve the above technical problem, an embodiment of the present invention provides a registration method for an intelligent device, including:
acquiring a configuration rule of a bar code, wherein the configuration rule of the bar code is formulated according to a registration rule of a platform;
acquiring a bar code of the intelligent equipment;
judging whether the bar code of the intelligent equipment conforms to the configuration rule or not, and generating a first judgment result;
when the first judgment result is in line, registering the information carried by the bar code on a cloud platform; otherwise, the process ends.
An embodiment of the present invention further provides an intelligent device, including:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a configuration rule of a bar code, and the configuration rule of the bar code is formulated according to a registration rule of a platform;
the second acquisition unit is used for acquiring the bar code of the intelligent equipment;
the judging unit is used for judging whether the bar code of the intelligent equipment conforms to the configuration rule or not and generating a first judging result;
the registration unit is used for registering the information carried by the bar code on the cloud platform when the first judgment result is in line; otherwise, the process ends.
An embodiment of the present invention further provides an intelligent device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of registering for a smart device.
An embodiment of the present invention further provides a registration system for an intelligent device, including: the intelligent device and the cloud platform in communication connection with the intelligent device.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program realizes the registration method of the intelligent device when being executed by the processor.
In the above embodiment, a configuration rule of a barcode is obtained, and the configuration rule of the barcode is formulated according to a registration rule of a platform; acquiring a bar code of the intelligent equipment; judging whether the bar code of the intelligent equipment conforms to the configuration rule or not; and if so, registering on the cloud platform according to the bar code. The embodiment of the invention judges the bar code of the intelligent equipment in advance, and judges whether the bar code of the intelligent equipment accords with the configuration rule of the bar code, thereby judging whether the bar code of the intelligent equipment accords with the registration rule of the cloud platform. And if the information is in accordance with the requirement, carrying the registration information required by the cloud platform to register on the cloud platform, and if the information is not in accordance with the requirement, ending the processing. For the intelligent equipment which does not accord with the registration rule of the cloud platform, the time is not needed to be spent for going to the cloud platform for registration, so that the registration process of the intelligent equipment is simplified, and the registration efficiency of the intelligent equipment is improved.
In one embodiment, the step of obtaining the configuration rule of the barcode includes: and acquiring a configuration rule corresponding to the equipment attribute of the intelligent equipment. Therefore, the configuration rule corresponding to the equipment attribute can be obtained according to the equipment attribute of the intelligent equipment, the configuration rule is more targeted, and the flexibility of code scanning binding of the intelligent equipment is improved.
In one embodiment, the step of determining whether the barcode of the smart device conforms to the configuration rule of the two-dimensional code includes: analyzing the two-dimensional code, and storing the content of the analyzed two-dimensional code in the form of a key and a key value corresponding to the key; judging whether the key has a definition in the configuration rule or not, and generating a second judgment result; judging whether the key value corresponding to the key is in the numerical range corresponding to the key defined in the configuration rule, and generating a third judgment result; when the second judgment result and the third judgment result are both yes, the generated first judgment result is in line; the step of registering the information carried by the bar code on the cloud platform comprises the following steps: and registering on the cloud platform by using the key value corresponding to the key. In the above embodiment, when the barcode is a two-dimensional code, whether the two-dimensional code of the intelligent device conforms to the configuration rule can be determined according to the key carried by the two-dimensional code and the corresponding key value, and when the two-dimensional code conforms to the configuration rule, the information carried by the two-dimensional code is used for registration on the cloud platform, so that the processing process of back-and-forth interaction between the intelligent device and the cloud platform is reduced, and the registration flow is simplified.
In one embodiment, the step of determining whether the barcode of the smart device conforms to the configuration rule of the barcode includes: resolving the bar code; matching the analyzed information of the bar code with the configuration rule of the bar code, judging whether the configuration rule is met, and generating a first judgment result; the step of registering the information carried by the bar code on the cloud platform comprises the following steps: and registering on a cloud platform by using the analyzed information of the bar code. In the above embodiment, when the barcode is the barcode, matching can be performed according to the barcode, whether the barcode of the intelligent device conforms to the configuration rule is judged, and when the barcode conforms to the configuration rule, information carried by the barcode is used for registration on the cloud platform, so that a processing process of back-and-forth interaction between the intelligent device and the cloud platform is reduced, and a registration process is simplified.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart illustrating a registration method of an intelligent device according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a registration method of a smart device according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a registration method for a smart device according to an application scenario of the present invention;
fig. 4 is a schematic structural diagram of an intelligent device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a registration system of an intelligent device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the invention relates to a registration method of an intelligent device. The process is shown in figure 1 and comprises:
step 11, acquiring a configuration rule of a bar code, wherein the configuration rule of the bar code is formulated according to a registration rule of a platform;
step 12, acquiring a bar code of the intelligent equipment; the intelligent device can be a mobile terminal, a robot and the like. Step 12 may include: acquiring a bar code arranged at an outer package, a display, a shell or a base of the intelligent equipment; or acquiring the bar code displayed on the display screen of the intelligent equipment.
Step 13, judging whether the bar code of the intelligent equipment accords with the configuration rule or not, and generating a first judgment result; when the first judgment result is in line, turning to step 14; otherwise, go to step 15.
And 14, when the first judgment result is in line, registering the information carried by the bar code on a cloud platform.
And step 15, if the data are not met, ending the processing step.
In the above embodiment, the barcode of the intelligent device is determined first, and whether the barcode of the intelligent device conforms to the configuration rule of the barcode is determined, so as to determine whether the barcode of the intelligent device conforms to the registration rule of the cloud platform. And if the information is in accordance with the requirement, carrying the registration information required by the cloud platform to register on the cloud platform, and if the information is not in accordance with the requirement, ending the processing. For the intelligent equipment which does not accord with the registration rule of the cloud platform, the time is not needed to be spent for going to the cloud platform for registration, so that the registration process of the intelligent equipment is simplified, and the registration efficiency of the intelligent equipment is improved.
In the above embodiments, the barcode may be a two-dimensional code or a barcode, or may be in another barcode form.
In one embodiment, step 11 comprises:
step 111A, sending the device attributes of the intelligent devices to a cloud platform;
step 112A, obtaining a configuration rule of a barcode corresponding to the device attribute of the intelligent device from the cloud platform.
In the embodiment of the invention, in the access process of the intelligent equipment, the bar code forms of various intelligent equipment are different, and the intelligent equipment comes from different models of different manufacturers. The cloud platform can customize different configuration rules according to the equipment property of the intelligent equipment in advance, when the cloud platform interacts with the intelligent equipment, the cloud platform sends the corresponding configuration rule to the intelligent equipment, so that the intelligent equipment obtains the corresponding configuration rule according to the equipment property of the intelligent equipment, the intelligent equipment of different manufacturers and different models which accord with the configuration rule can be conveniently and quickly connected into the cloud platform of the intelligent equipment, and the flexibility of code scanning binding registration of the intelligent equipment is improved. The device attributes may include: product model, product manufacturer, or equipment type.
In one embodiment, step 11 comprises:
step 111B, downloading a configuration rule file of the bar code from the cloud platform; the step 111 specifically includes: sending the device attribute of the intelligent device to a cloud platform; and acquiring a configuration rule file corresponding to the equipment attribute of the intelligent equipment from the cloud platform.
And 112B, analyzing the configuration rule file of the bar code by using an analysis tool to obtain the configuration rule of the bar code.
In the embodiment of the present invention, the content of the configuration rule may be set in a configuration rule file, and the configuration rule file may be in an XML format or in other file formats.
Another embodiment of the present invention relates to a registration method for an intelligent device, a flow of which is shown in fig. 2, and the method includes:
step 21, acquiring a configuration rule of a bar code, wherein the configuration rule of the bar code is formulated according to a registration rule of a platform;
step 22, acquiring a bar code of the intelligent device; the intelligent device can be a mobile terminal, a robot and the like.
Step 23, judging whether the bar code of the intelligent equipment is a two-dimensional code; if so, go to step 24, otherwise, go to step 26. When the bar code is a two-dimensional code, whether the bar code is the two-dimensional code can be judged according to the identification carried by the two-dimensional code.
Step 24, judging whether the bar code of the intelligent equipment conforms to the configuration rule of the two-dimensional code or not, and generating a first judgment result; the method comprises the following steps: analyzing the two-dimensional code, and storing the content of the analyzed two-dimensional code in the form of a key and a key value corresponding to the key; judging whether the key has a definition in the configuration rule or not, and generating a second judgment result; judging whether the key value corresponding to the key is in the numerical range corresponding to the key defined in the configuration rule, and generating a third judgment result; when the second judgment result and the third judgment result are both yes, the generated first judgment result is in line; otherwise it is not. And when the first judgment result is coincidence, turning to step 25. Otherwise, go to step 28. Wherein, key in the two-dimensional code includes: a unique identifier of the intelligent device and/or related information of the intelligent device; the unique identifier of the smart device comprises: a product identifier of the intelligent equipment or a mobile phone number corresponding to the intelligent equipment; the related information of the intelligent device comprises: a product model of the smart device, location information, or a combination of one or more of the same.
And step 25, registering on the cloud platform by using the key value corresponding to the key.
Step 26, judging whether the bar code of the intelligent device accords with the configuration rule of the bar code, and generating a first judgment result; the method comprises the following steps: resolving the bar code; and matching the analyzed information of the bar code with the configuration rule of the bar code, judging whether the configuration rule is met or not, and generating a first judgment result. When the first judgment result is coincidence, step 27 is executed, otherwise, step 28 is proceeded to.
And 27, registering on a cloud platform by using the analyzed information of the bar code. The analyzed information of the bar code comprises: a unique identifier of the intelligent device and/or related information of the intelligent device; the unique identifier of the smart device comprises: a product identifier of the intelligent equipment or a mobile phone number corresponding to the intelligent equipment; the related information of the intelligent device comprises: a product model of the smart device, location information, or a combination of one or more of the same.
In step 28, if the first determination is no, the process is terminated.
In the above embodiment, according to the characteristics of the two-dimensional code and the bar code, two different situations that the bar code is the two-dimensional code or the bar code are correspondingly processed, whether the bar code of the intelligent device meets the configuration rule or not is judged, and when the bar code meets the configuration rule, the information carried by the bar code is used for registration on the cloud platform, so that the processing process of back-and-forth interaction between the intelligent device and the cloud platform is reduced, and the registration process is simplified. In addition, the bar code is subjected to rule verification, and the safety of the platform is improved.
In addition, in the embodiment of the invention, a set of intelligent equipment registration method is established on the basis of the existing code scanning binding technology, the configuration rule of the bar code is established according to the registration rule of the platform, the configuration rules of different bar codes correspond to the intelligent equipment with different equipment properties, the bar code modes (two-dimensional codes and bar codes) and the bar code rules of the equipment can be flexibly switched, and the flexibility of code scanning binding and the safety check capability of the bar code are greatly improved. Meanwhile, intelligent equipment of different manufacturers and different models can be conveniently and quickly connected into the intelligent equipment cloud platform.
Application scenarios of embodiments of the present invention are described below. A registration method of intelligent equipment can realize online dynamic configuration of bar code rules, solves the problem of different bar code rules of different intelligent equipment, and simplifies the process of bar code registration binding.
Embodiments of the present invention include a barcode specification (standard). The bar code specification standard defines bar code forms, keywords and content rules supported by the equipment. Specifically, the method comprises the following steps:
Figure BDA0002456477220000071
the flow of the registration method of the intelligent device is shown in fig. 3, and the specific technical scheme is as follows:
step 1, when entering an equipment binding registration process, downloading a bar code specification rule configuration file of the equipment from a configuration platform, wherein the specific specification content is defined by a bar code specification standard.
And 2, analyzing the bar code specification rule configuration file of the equipment by using an XML analysis tool to obtain the rule list content.
And 3, scanning the bar codes (two-dimensional codes or bar codes) at the positions of the outer package of the equipment, the display, the base and the like by the client to obtain the bar code content of the equipment.
And 4, judging whether a rule supporting the two-dimensional code specification is configured in the bar code specification rule of the equipment. If so, entering a two-dimensional code rule identification matching process; if not, entering a bar code rule identification matching process.
Wherein, two-dimensional code rule discernment matching procedure includes:
firstly, analyzing scanned two-dimensional code content, acquiring all content according to keywords, and storing the content in a map in the form of key and value;
then, traversing the whole map, and sequentially carrying out identification matching in the two-dimensional code rule list, wherein the identification matching comprises the following steps: whether the key has a definition in the rule list and whether the value meets the rule range;
and if the key and the value both meet the condition, the client uses the scanned and acquired device unique identifier to go to the cloud platform for registration and binding.
If one item does not meet the rule, the binding data which is judged to be invalid is judged, and the whole process is ended.
The barcode rule identification matching process comprises the following steps:
firstly, analyzing scanned bar code content;
then, the bar code is identified and matched with the rule in the bar code rule barCode;
if the conditions are met, the client uses the scanned and obtained unique identifier of the equipment to carry out registration binding on the cloud platform;
if the rule is not satisfied, the binding data is judged to be invalid, and the whole process is ended.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of this patent to add insignificant modifications or introduce insignificant designs to the algorithms or processes, but not to change the core designs of the algorithms and processes.
As shown in fig. 4, an embodiment of the present invention further provides an intelligent device, including:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a configuration rule of a bar code, and the configuration rule of the bar code is formulated according to a registration rule of a platform;
the second acquisition unit is used for acquiring the bar code of the intelligent equipment;
the judging unit is used for judging whether the bar code of the intelligent equipment conforms to the configuration rule or not and generating a first judging result;
the registration unit is used for registering the information carried by the bar code on the cloud platform when the first judgment result is in line; otherwise, the process ends.
The configuration rule for acquiring the bar code specifically comprises the following steps:
downloading a configuration rule file of the bar code from the cloud platform;
and analyzing the configuration rule file of the bar code by using an analysis tool to obtain the configuration rule of the bar code.
The configuration rule file for acquiring the bar code specifically comprises the following steps:
sending the device attribute of the intelligent device to a cloud platform;
and acquiring a configuration rule of the bar code corresponding to the equipment attribute of the intelligent equipment from the cloud platform.
The specific steps of judging whether the bar code of the intelligent device conforms to the configuration rule are as follows:
judging whether the bar code of the intelligent equipment is a two-dimensional code or not;
if so, judging whether the bar code of the intelligent equipment conforms to the configuration rule of the two-dimensional code or not, and generating a first judgment result;
otherwise, judging whether the bar code of the intelligent equipment conforms to the configuration rule of the bar code, and generating a first judgment result.
The specific steps of judging whether the bar code of the intelligent device conforms to the configuration rule of the two-dimensional code are as follows:
analyzing the two-dimensional code, and storing the content of the analyzed two-dimensional code in the form of a key and a key value corresponding to the key; judging whether the key has a definition in the configuration rule or not, and generating a second judgment result; judging whether the key value corresponding to the key is in the numerical range corresponding to the key defined in the configuration rule, and generating a third judgment result; when the second judgment result and the third judgment result are both yes, the generated first judgment result is in line;
the step of registering the information carried by the bar code on the cloud platform comprises the following steps:
and registering on the cloud platform by using the key value corresponding to the key.
The specific steps of judging whether the bar code of the intelligent device conforms to the configuration rule of the bar code are as follows: resolving the bar code; matching the analyzed information of the bar code with the configuration rule of the bar code, judging whether the configuration rule is met, and generating a first judgment result;
the registration of the information carried by the bar code on the cloud platform specifically comprises the following steps: and registering on a cloud platform by using the analyzed information of the bar code.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, a unit which is less closely related to solving the technical problem proposed by the present invention is not introduced in the present embodiment, but it does not indicate that no other unit exists in the present embodiment.
As shown in fig. 5, an embodiment of the present invention further provides an intelligent device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of registering for a smart device.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
As shown in fig. 6, an embodiment of the present invention further provides a registration system for an intelligent device, including: the smart device and cloud platform shown in fig. 5.
Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (8)

1. A registration method of an intelligent device is characterized by comprising the following steps:
acquiring a configuration rule of a bar code, wherein the configuration rule of the bar code is formulated according to a registration rule of a platform;
acquiring a bar code of the intelligent equipment;
judging whether the bar code of the intelligent equipment conforms to the configuration rule or not, and generating a first judgment result;
when the first judgment result is in line, registering the information carried by the bar code on a cloud platform; otherwise, ending the processing;
wherein, the step of judging whether the bar code of the intelligent device accords with the configuration rule comprises the following steps:
judging whether the bar code of the intelligent equipment is a two-dimensional code or not;
if so, judging whether the bar code of the intelligent equipment conforms to the configuration rule of the two-dimensional code or not, and generating a first judgment result;
otherwise, judging whether the bar code of the intelligent equipment conforms to the configuration rule of the bar code, and generating a first judgment result;
the step of judging whether the bar code of the intelligent device conforms to the configuration rule of the two-dimensional code comprises the following steps:
analyzing the two-dimensional code, and storing the content of the analyzed two-dimensional code in the form of a key and a key value corresponding to the key; judging whether the key has a definition in the configuration rule or not, and generating a second judgment result; judging whether the key value corresponding to the key is in the numerical range corresponding to the key defined in the configuration rule, and generating a third judgment result; when the second judgment result and the third judgment result are both yes, the generated first judgment result is in line;
the step of registering the information carried by the bar code on the cloud platform comprises the following steps:
and registering on the cloud platform by using the key value corresponding to the key.
2. The method of claim 1, wherein the step of obtaining configuration rules for barcodes comprises:
downloading a configuration rule file of the bar code from the cloud platform;
and analyzing the configuration rule file of the bar code by using an analysis tool to obtain the configuration rule of the bar code.
3. The method of claim 1, wherein the step of obtaining a configuration rule file for a barcode comprises:
sending the device attribute of the intelligent device to a cloud platform;
and acquiring a configuration rule of the bar code corresponding to the equipment attribute of the intelligent equipment from the cloud platform.
4. The method of claim 1,
the step of judging whether the bar code of the intelligent equipment conforms to the configuration rule of the bar code comprises the following steps: resolving the bar code; matching the analyzed information of the bar code with the configuration rule of the bar code, judging whether the configuration rule is met, and generating a first judgment result;
the step of registering the information carried by the bar code on the cloud platform comprises the following steps:
and registering on a cloud platform by using the analyzed information of the bar code.
5. A smart device, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a configuration rule of a bar code, and the configuration rule of the bar code is formulated according to a registration rule of a platform;
the second acquisition unit is used for acquiring the bar code of the intelligent equipment;
the judging unit is used for judging whether the bar code of the intelligent equipment conforms to the configuration rule or not and generating a first judging result;
the registration unit is used for registering the information carried by the bar code on the cloud platform when the first judgment result is in line; otherwise, ending the processing;
wherein, the step of judging whether the bar code of the intelligent device accords with the configuration rule comprises the following steps:
judging whether the bar code of the intelligent equipment is a two-dimensional code or not;
if so, judging whether the bar code of the intelligent equipment conforms to the configuration rule of the two-dimensional code or not, and generating a first judgment result;
otherwise, judging whether the bar code of the intelligent equipment accords with the configuration rule of the bar code, and generating a first judgment result;
the step of judging whether the bar code of the intelligent device accords with the configuration rule of the two-dimensional code comprises the following steps:
analyzing the two-dimensional code, and storing the content of the analyzed two-dimensional code in the form of a key and a key value corresponding to the key; judging whether the key has a definition in the configuration rule or not, and generating a second judgment result; judging whether the key value corresponding to the key is in the numerical range corresponding to the key defined in the configuration rule, and generating a third judgment result; when the second judgment result and the third judgment result are both yes, the generated first judgment result is in line;
the step of registering the information carried by the bar code on the cloud platform comprises the following steps:
and registering on the cloud platform by using the key value corresponding to the key.
6. A smart device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of registering for a smart device as claimed in any one of claims 1 to 4.
7. A registration system for a smart device, comprising: the smart device of claim 6, and a cloud platform communicatively coupled to the smart device.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a method of registering a smart device according to any one of claims 1 to 4.
CN202010308073.2A 2020-04-17 2020-04-17 Registration method of intelligent device, system and storage medium Active CN111541680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010308073.2A CN111541680B (en) 2020-04-17 2020-04-17 Registration method of intelligent device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010308073.2A CN111541680B (en) 2020-04-17 2020-04-17 Registration method of intelligent device, system and storage medium

Publications (2)

Publication Number Publication Date
CN111541680A CN111541680A (en) 2020-08-14
CN111541680B true CN111541680B (en) 2022-08-05

Family

ID=71975116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010308073.2A Active CN111541680B (en) 2020-04-17 2020-04-17 Registration method of intelligent device, system and storage medium

Country Status (1)

Country Link
CN (1) CN111541680B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929439B (en) * 2021-02-04 2022-12-09 网络通信与安全紫金山实验室 Equipment discovery method and system based on identification analysis

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197710A (en) * 2007-12-10 2008-06-11 华为技术有限公司 Intelligent terminal and user maintenance method
CN103023917A (en) * 2012-12-26 2013-04-03 百度在线网络技术(北京)有限公司 Method, system and device for authorization aiming at intelligent household electrical appliance
CN104883731A (en) * 2014-02-28 2015-09-02 广州合立正通信息科技有限公司 Registering method of wireless control equipment
CN105306264A (en) * 2015-10-09 2016-02-03 四川长虹电器股份有限公司 Network configuration and remote registration binding method and system for intelligent household appliance
CN105681315A (en) * 2016-01-29 2016-06-15 深圳市轱辘软件开发有限公司 Method for binding intelligent equipment, intelligent equipment and terminal equipment
CN106126646A (en) * 2016-06-21 2016-11-16 广州中国科学院计算机网络信息中心 Set up the method and device of the inverted index of Internet of Things smart machine
CN106713287A (en) * 2016-12-08 2017-05-24 上海斐讯数据通信技术有限公司 Method, apparatus and system for automatically registering wireless access point
CN106713439A (en) * 2013-07-08 2017-05-24 江苏凌空网络股份有限公司 Apparatus adopting bar code image to carry out communication
CN107786663A (en) * 2017-10-27 2018-03-09 广东美的暖通设备有限公司 Control method, device and the computer-readable recording medium of smart machine
CN108762103A (en) * 2018-05-08 2018-11-06 安徽众家云物联网科技有限公司 A kind of intelligent appliance interconnects cloud service system
CN109587823A (en) * 2018-12-29 2019-04-05 深圳万拓科技创新有限公司 The method of WiFi video camera intelligence barcode scanning access internet
CN109873806A (en) * 2019-01-02 2019-06-11 武汉华中数控股份有限公司 Numerical control device register method and system based on two dimensional code
CN110445789A (en) * 2019-08-09 2019-11-12 四川虹美智能科技有限公司 A kind of automatic registration method of refrigerator apparatus, apparatus and system
CN110572305A (en) * 2019-08-26 2019-12-13 珠海格力电器股份有限公司 Smart home equipment binding method and system, smart home equipment and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106295299A (en) * 2016-08-15 2017-01-04 歌尔股份有限公司 The user registering method of a kind of intelligent robot and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197710A (en) * 2007-12-10 2008-06-11 华为技术有限公司 Intelligent terminal and user maintenance method
CN103023917A (en) * 2012-12-26 2013-04-03 百度在线网络技术(北京)有限公司 Method, system and device for authorization aiming at intelligent household electrical appliance
CN106713439A (en) * 2013-07-08 2017-05-24 江苏凌空网络股份有限公司 Apparatus adopting bar code image to carry out communication
CN104883731A (en) * 2014-02-28 2015-09-02 广州合立正通信息科技有限公司 Registering method of wireless control equipment
CN105306264A (en) * 2015-10-09 2016-02-03 四川长虹电器股份有限公司 Network configuration and remote registration binding method and system for intelligent household appliance
CN105681315A (en) * 2016-01-29 2016-06-15 深圳市轱辘软件开发有限公司 Method for binding intelligent equipment, intelligent equipment and terminal equipment
CN106126646A (en) * 2016-06-21 2016-11-16 广州中国科学院计算机网络信息中心 Set up the method and device of the inverted index of Internet of Things smart machine
CN106713287A (en) * 2016-12-08 2017-05-24 上海斐讯数据通信技术有限公司 Method, apparatus and system for automatically registering wireless access point
CN107786663A (en) * 2017-10-27 2018-03-09 广东美的暖通设备有限公司 Control method, device and the computer-readable recording medium of smart machine
CN108762103A (en) * 2018-05-08 2018-11-06 安徽众家云物联网科技有限公司 A kind of intelligent appliance interconnects cloud service system
CN109587823A (en) * 2018-12-29 2019-04-05 深圳万拓科技创新有限公司 The method of WiFi video camera intelligence barcode scanning access internet
CN109873806A (en) * 2019-01-02 2019-06-11 武汉华中数控股份有限公司 Numerical control device register method and system based on two dimensional code
CN110445789A (en) * 2019-08-09 2019-11-12 四川虹美智能科技有限公司 A kind of automatic registration method of refrigerator apparatus, apparatus and system
CN110572305A (en) * 2019-08-26 2019-12-13 珠海格力电器股份有限公司 Smart home equipment binding method and system, smart home equipment and mobile terminal

Also Published As

Publication number Publication date
CN111541680A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN100356734C (en) Method and apparatus for automatically configuring wireless network device
EP3337219B1 (en) Carrier configuration processing method, device and system, and computer storage medium
US8310955B1 (en) Automated discovery of access points in wireless computer networks
CN111629376B (en) Information display method, device, equipment and system
US11449319B2 (en) Method and apparatus for downloading bundle to smart secure platform by using activation code
US20160191501A1 (en) Method, device and system for configuring multiple devices
EP3820185A1 (en) Method for enabling smart device to access network, network access method, apparatus, device, system and computer-readable store medium
CN112532711A (en) Edge computing application deployment method, terminal, edge computing node and storage medium
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN111541680B (en) Registration method of intelligent device, system and storage medium
CN113595839B (en) Device binding method, terminal device and storage medium
US10187796B2 (en) Authentication and association method and system
CN107534859B (en) Network authentication method, client, terminal equipment and platform
CN116546467A (en) Access control method and system of vehicle-mounted equipment, storage medium and electronic device
CN111372224A (en) Method, device and equipment for sharing seed code number by eSIM (embedded subscriber identity Module)
CN113791766B (en) Method for combining data interfaces, electronic device and readable storage medium
CN115174645A (en) Automobile OTA (over the air) vehicle cloud interaction method and system
CN114585055A (en) Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal
CN110601886B (en) Method and device for configuring master and slave ends of network bridge based on terminal and readable storage medium
CN108737350A (en) A kind of information processing method and client
CN113079514A (en) Network access verification method and device and computer readable storage medium
CN102567088B (en) Method of handling step execution result in software and application control management object
CN113923112A (en) Equipment configuration method and equipment configuration device
KR101548529B1 (en) Local service providing apparatus, method for providing local service and recording medium for the same
US20230010098A1 (en) Network access via device identifier

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