CN116419279A - Distribution network method, distribution network system and mobile terminal - Google Patents

Distribution network method, distribution network system and mobile terminal Download PDF

Info

Publication number
CN116419279A
CN116419279A CN202210006491.5A CN202210006491A CN116419279A CN 116419279 A CN116419279 A CN 116419279A CN 202210006491 A CN202210006491 A CN 202210006491A CN 116419279 A CN116419279 A CN 116419279A
Authority
CN
China
Prior art keywords
equipment
network
information
distributed
distribution network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210006491.5A
Other languages
Chinese (zh)
Inventor
盘茂委
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Original Assignee
Wuhu Midea Kitchen and Bath Appliances Manufacturing 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 Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd filed Critical Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Priority to CN202210006491.5A priority Critical patent/CN116419279A/en
Publication of CN116419279A publication Critical patent/CN116419279A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/71Hardware identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a network distribution method, a network distribution system and a mobile terminal. The network distribution method comprises the following steps: acquiring a data packet broadcast by the equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet; uploading the equipment information to a server to request product information of equipment to be distributed from the server; performing right confirmation on the network equipment to be allocated based on the product information; and sending the distribution network information to the network equipment to be distributed, which passes the confirmation, so that the network equipment to be distributed performs network distribution based on the distribution network information. By the method, network distribution operation of users in the network distribution process can be reduced, and user networking experience is improved.

Description

Distribution network method, distribution network system and mobile terminal
Technical Field
The application relates to the technical field of internet of things, in particular to a network distribution method, a network distribution system and a mobile terminal.
Background
The current internet of things technology is rapidly developed, more and more intelligent devices need to access the internet, and the intelligent devices all need to realize a network distribution process; the existing network distribution modes mainly comprise WiFi wireless access points (Wireless Access Point, AP) network distribution, bluetooth network distribution, quick connection network distribution and the like, and the network distribution modes are complex in operation steps, require excessive participation of users in setting and have poor user experience.
Disclosure of Invention
The technical problem that this application mainly solves is to provide a join in marriage net method and join in marriage net system, mobile terminal to reduce the joining in marriage net in-process, user's join in marriage net operation improves user's networking experience.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: a network distribution method is provided. The network allocation method is used for the mobile terminal and comprises the following steps: acquiring a data packet broadcast by the equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet; uploading the equipment information to a server to request product information of equipment to be distributed from the server; based on the product information and the equipment information, the right of the equipment to be distributed is confirmed; and sending the distribution network information to the network equipment to be distributed, which passes the confirmation, so that the network equipment to be distributed performs network distribution based on the distribution network information.
The uploading the device information to the server to request the product information of the device to be configured from the server includes: uploading the equipment information to a server so that the server can carry out authentication and verification based on the equipment information, and returning product information corresponding to the equipment information after the authentication and verification are passed; product information is obtained from a server.
The mobile terminal is provided with a system end and an SDK, and the steps of obtaining the data packet broadcasted by the equipment to be distributed and obtaining the equipment information of the equipment to be distributed from the data packet include: the system end acquires a data packet and an MAC address broadcasted by the equipment to be distributed, and transmits the MAC address and the data packet to the SDK; the SDK decrypts the data packet, obtains the product serial number of the equipment to be distributed, and establishes the corresponding relation between the MAC address and the product serial number; the SDK transmits the public key corresponding to the key sequence number and the MAC address to the distribution network APP of the system end; and the distribution network APP decrypts the data packet based on the public key corresponding to the key sequence number and the MAC to acquire the equipment information of the equipment to be distributed.
The method for confirming the right of the network equipment to be distributed based on the product information comprises the following steps: the distribution network APP displays the product information and acquires a selection instruction for the product information; the distribution network APP transmits the MAC address of the equipment to be distributed, the actual value of the received signal strength of the received data packet and the reference value to the SDK based on the selection instruction; if the actual value is greater than or equal to the corresponding reference value, the SDK determines that the network equipment to be distributed with the MAC address passes the validation.
After the network equipment to be distributed is authorized based on the product information, the method further comprises the following steps: the SDK transmits the MAC address and the distribution network data which pass the right to the distribution network APP; the distribution network APP encrypts distribution network data and router information to obtain distribution network information, and unicast-oriented transmits the distribution network information to the equipment to be distributed.
Before the SDK transmits the MAC address and the distribution network data, which pass the right, to the distribution network APP, the method further includes: after the SDK passes the right, generating a random number and a right identification, and acquiring configuration information; the SDK encrypts the random number, the configuration information and the acknowledgement identifier to obtain distribution network data.
Wherein before the MAC address and the data packet are transmitted to the SDK, the method further comprises: the system end obtains the actual value of the received signal intensity of the received data packet; and responding to the fact that the actual value is larger than or equal to the intensity threshold value, and the network equipment to be distributed supports the preset network distribution protocol, executing the step of transmitting the MAC address and the data packet to the SDK.
Before the network equipment to be distributed is authorized based on the product information, the method further comprises the following steps: acquiring router information; a connection is established with the router based on the router information.
After the network allocation information is sent to the network allocation equipment to be subjected to the right passing, the network allocation equipment to be subjected to the network allocation based on the network allocation information further comprises: inquiring the distribution network state of the equipment to be distributed; inquiring whether the network equipment to be distributed is online or not through a server based on the state response of the network equipment to be distributed; if the network equipment is online, acquiring the equipment ID of the equipment to be distributed from the server.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: a distribution network system is provided. The distribution network system comprises: the mobile terminal is used for acquiring a data packet broadcast by the equipment to be distributed, acquiring equipment information of the equipment to be distributed from the data packet, and uploading the equipment information to the server; the server is in communication connection with the mobile terminal, and is used for acquiring product information corresponding to the equipment information and returning the product information to the mobile terminal; the mobile terminal further carries out the right confirmation on the equipment to be distributed based on the product information, and sends the network distribution information to the equipment to be distributed, which passes the right confirmation, so that the equipment to be distributed carries out network distribution based on the network distribution information.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: a mobile terminal is provided. The mobile terminal comprises a processor and a memory connected with the processor, wherein the processor executes program data in the memory to realize the network distribution method.
The beneficial effects of the embodiment of the application are that: the network distribution method is used for the mobile terminal, and networking of the equipment to be distributed can be achieved through the mobile terminal. Firstly, acquiring a data packet broadcast by equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet; uploading the equipment information to a server to request the product information of the equipment to be distributed from the server; then, based on the product information and the equipment information, the right of the equipment to be distributed is confirmed; and finally, sending the distribution network information to the network equipment to be distributed, which is authorized to pass, so that the network equipment to be distributed performs network distribution based on the distribution network information. In this way, the mobile terminal automatically sends the equipment information of the equipment to be distributed to the server, obtains the product information of the equipment to be distributed and the confirmation of the equipment to be distributed from the server, and further sends the distribution information to the equipment to be distributed, which is passed by the confirmation, so that in the whole distribution process, the user only needs to participate in the confirmation operation, the distribution operation of the user can be reduced in the distribution process, and the user networking experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an embodiment of a network distribution method according to the present application;
FIG. 2 is a schematic diagram showing a specific flow of step S12 in the embodiment of FIG. 1;
FIG. 3 is a schematic flow chart of an embodiment of a network distribution method according to the present application;
FIG. 4 is a schematic flow chart of an embodiment of a network distribution method according to the present application;
FIG. 5 is a schematic flow chart diagram illustrating an embodiment of a network distribution method according to the present application;
FIG. 6 is a schematic flow chart diagram illustrating an embodiment of a network distribution method according to the present application;
FIG. 7 is a schematic diagram illustrating an embodiment of a distribution network system according to the present application;
fig. 8 is a schematic diagram of data interaction of the distribution network system of the embodiment of fig. 7.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is specifically noted that the following examples are only for illustration of the present application, but do not limit the scope of the present application. Likewise, the following embodiments are only some, but not all, of the embodiments of the present application, and all other embodiments obtained by one of ordinary skill in the art without inventive effort are within the scope of the present application.
In the description of the embodiments of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "connected," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the terms in the embodiments of the present application will be understood by those of ordinary skill in the art in a specific context.
In the examples herein, a first feature "on" or "under" a second feature may be either the first and second features in direct contact, or the first and second features in indirect contact via an intermediary, unless expressly stated and defined otherwise. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the embodiments of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
The present application first proposes a network allocation method for a mobile terminal, as shown in fig. 1, and fig. 1 is a schematic flow chart of an embodiment of the network allocation method of the present application. The network allocation method of the embodiment specifically comprises the following steps:
step S11: and acquiring a data packet broadcast by the equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet.
After the distribution network equipment is electrified, the distribution network equipment enters an AP mode and externally broadcasts the data packet. The data packet contains equipment information of the equipment to be distributed, such as information of product serial numbers, categories and the like of the equipment to be distributed.
The AP mode is a wireless access point mode. The AP acts as a bridge connecting the wired network and the wireless network, and is mainly used to connect the wireless network clients together and then access the wireless network to the ethernet.
The data packet in this embodiment may be a beacon data packet, where beacon is a broadcast protocol based on the bluetooth low energy protocol.
In order to increase the security of data transmission, the network equipment to be distributed can further encrypt the data packet and then broadcast the data packet.
The network equipment to be distributed can be intelligent equipment such as intelligent household appliances or other intelligent household appliances.
Optionally, the data packet of the present embodiment further includes a key number, a broadcast mode, a random number, and the like.
The mobile terminal receives a data packet broadcast by the network equipment to be distributed, analyzes the data packet (analyzes the data packet after decryption processing if the data packet is encrypted by the network equipment to be distributed), and acquires the equipment information of the network equipment to be distributed from the data packet.
Step S12: and uploading the equipment information to a server to request the product information of the equipment to be distributed from the server.
The server of the embodiment may be a cloud server or a physical server, and is not limited.
And the mobile terminal uploads the equipment information to a server and acquires the product information of the equipment to be distributed from the server. The product information can be information such as icons, pictures and/or performance parameters of the equipment to be distributed. The equipment information comprises information such as a product serial number and a class of equipment to be distributed.
Specifically, the present embodiment may implement step S12 by a method as shown in fig. 2. The method of the present embodiment includes step S21 and step S22.
Step S21: and uploading the equipment information to a server so that the server can carry out authentication and verification based on the equipment information, and returning the product information corresponding to the equipment information after the authentication and verification are passed.
The mobile terminal uploads the equipment information such as the product serial number and the class of the equipment to be distributed to the server, the server authenticates based on the product serial number and the class information to determine whether the mobile terminal has authority to control the equipment to be distributed, and if so, the authentication passes; the server further determines whether the product serial number of the equipment to be distributed corresponds to the class, and if so, the verification is passed. If the authentication and the verification pass, the server searches the product information corresponding to the equipment information; if the authentication or verification is not passed, the server does not search and return the product information.
Step S22: product information is obtained from a server.
And the mobile terminal acquires the product information returned by the server.
In other embodiments, the mobile terminal may further obtain a received signal strength of the data packet, and upload the received signal strength to the server, where the server performs authentication processing further based on the received signal strength, for example, if the received signal strength of the data packet received by the mobile terminal is greater than the strength threshold, it may be determined that the distance between the mobile terminal and the network device to be configured is less than the distance threshold or that the signal transmission quality between the mobile terminal and the network device to be configured is greater than the quality threshold, it is determined that the mobile terminal has permission to control the network device to be configured, and authentication passes; otherwise, the authentication does not pass.
Step S13: and carrying out right confirmation on the network equipment to be allocated based on the product information.
The mobile terminal can display the product information acquired from the server to the user and acquire a selection instruction of the user so as to realize the confirmation of the product information of the network equipment to be allocated. For example, the mobile terminal may present an icon of the device to be configured to the user via the display screen, and the user may authorize the mobile terminal to control the device to be configured by clicking the icon on the display screen.
Optionally, after the mobile terminal determines the user rights, the mobile terminal may determine the user rights again based on the information such as the MAC address and the received signal strength of the to-be-configured network device, so as to determine whether the mobile terminal can control the to-be-configured network device.
Step S14: and sending the distribution network information to the network equipment to be distributed, which passes the confirmation, so that the network equipment to be distributed performs network distribution based on the distribution network information.
After the right passes, the mobile terminal sends the distribution network information to the equipment to be distributed, and the equipment to be distributed performs distribution network based on the distribution network information. The distribution network information comprises router information, configuration information and the like of mobile terminal connection.
According to the method, the device information of the device to be distributed is automatically sent to the server through the mobile terminal, the product information of the device to be distributed and the confirmation right of the device to be distributed are obtained from the server, and the network distribution information is further sent to the device to be distributed, through which the confirmation right passes, so that in the whole network distribution process, a user only needs to participate in the confirmation right operation, the network distribution operation of the user in the network distribution process can be reduced, and the user networking experience is improved.
In another embodiment, the mobile terminal needs to set a special software development kit (Software Development Kit, SDK), and data transmission is performed by calling the SDK and a corresponding special server so as to ensure the security and compatibility of the data.
Specifically, the mobile terminal of the embodiment includes a system side and an SDK. Fig. 3 is a schematic flow chart of an embodiment of the network allocation method of the present application. The network allocation method of the embodiment specifically comprises the following steps:
step S31: and the system end acquires the data packet and the MAC address broadcasted by the equipment to be distributed and transmits the MAC address and the data packet to the SDK.
The system end comprises a processing system and a distribution network APP, wherein the processing system receives a data packet broadcast by equipment to be distributed and acquires an MAC address of the equipment to be distributed; the processing system transmits the data packet and the MAC address to the distribution network APP, and the distribution network APP transmits the data packet and the MAC address to the SDK.
In another embodiment, after the processing system acquires a data packet and an MAC address broadcast by the network device to be configured, the processing system acquires an actual value of a received signal strength of the received data packet, and determines the magnitude of the actual value and the strength threshold; and transmitting the MAC address and the data packet to the distribution network APP if the actual value is larger than or equal to the intensity threshold value and the to-be-distributed network equipment supports the preset distribution network protocol. The intensity threshold may be (-42 dBm) - (-48 dBm), such as-42 dBm, -43dBm, -44dBm, -45dBm, -46dBm, -47dBm, -48dBm, etc.
If the received signal strength of the data packet received by the processing system of the mobile terminal is greater than or equal to the strength threshold and the distribution network equipment supports the preset distribution network protocol, determining that the equipment to be distributed is the equipment conforming to the rule, and transmitting prompt information, the data packet of the equipment to be distributed and the MAC address to the distribution network APP by the processing system. And the distribution network APP transmits the MAC address and the data packet of the equipment to be distributed to the SDK.
The network equipment to be distributed is configured with the preset network distribution protocol before delivery or use, so that the network equipment to be distributed can be networking in the use process and is controlled to be used. The mobile terminal can query the situation of the network distribution protocol of the network distribution equipment based on the information such as the MAC (or through a server) of the network distribution equipment.
Step S32: and the SDK decrypts the data packet, acquires the product serial number of the equipment to be distributed, and establishes the corresponding relation between the MAC address and the product serial number.
The SDK establishes a corresponding relation between the MAC address of the equipment to be distributed and the product serial number, and the product serial number is unique and unique to each equipment with the distribution network, so that the equipment to be distributed can be determined according to the MAC address.
The mobile terminal decrypts the data packet by using the SDK, so that on one hand, the data security between the system end and the SDK can be improved, and on the other hand, the SDK of the embodiment is a special SDK corresponding to the server and is not developed based on the mobile terminal, so that the data format is converted through the decryption process, and the system end can perform data communication with the server.
Step S33: the SDK transmits the public key corresponding to the key sequence number and the MAC address to the distribution network APP of the system side.
The SDK carries out decryption processing on each encrypted data packet, and each data packet is corresponding to a different key sequence number; the SDK acquires a key sequence number and a public key corresponding to the key sequence number from the data packet, and can correspond the key sequence number, the public key and the MAC address according to the corresponding relation between the product sequence number and the MAC address in the data packet; the SDK transmits the corresponding relation among the key serial number, the public key, the MAC address to the distribution network APP.
Step S34: and the distribution network APP decrypts the data packet based on the public key corresponding to the key sequence number and the MAC address to acquire the equipment information of the equipment to be distributed.
The distribution network APP decrypts the data packet of the MAC address corresponding to the key sequence number by utilizing the public key corresponding to the key sequence number so as to obtain the corresponding equipment information of the equipment to be distributed.
Step S31 to step S34 of the present embodiment realize step S11 of the above embodiment.
Step S35: and uploading the equipment information to a server to request the product information of the equipment to be distributed from the server.
The distribution network APP uploads equipment information such as a product serial number and class information of equipment to be distributed to a server, and the server authenticates based on the product serial number and the class information to determine whether the mobile terminal has authority to control the equipment to be distributed, and if so, the authentication passes; the server further determines whether the product serial number of the equipment to be distributed corresponds to the class, and if so, the verification is passed. If the authentication and the verification pass, the server searches the product information corresponding to the equipment information; if the authentication or verification is not passed, the server does not search and return the product information.
The distribution network APP obtains product information returned by the server.
In other embodiments, the distribution network APP may further obtain a received signal strength of the data packet, and upload the received signal strength to the server, where the server performs authentication processing further based on the received signal strength, for example, if the received signal strength of the data packet received by the processing system is greater than the strength threshold, it may determine that a distance between the mobile terminal and the network device to be distributed is less than the distance threshold or that a signal transmission quality between the mobile terminal and the network device to be distributed is greater than the quality threshold, and determine that the mobile terminal has authority to control the network device to be distributed, and authentication passes; otherwise, the authentication does not pass.
Step S36: the distribution network APP displays the product information and acquires a selection instruction for the product information.
The distribution network APP can display product information, such as icons, performance parameters and the like, of the equipment to be distributed to the user through the display interface; the distribution network APP obtains a selection instruction of a user to realize the confirmation of product information of the equipment to be distributed. For example, the distribution network APP can display an icon of the device to be distributed to the user through the display interface, and the user authorizes the mobile terminal to control the device to be distributed by clicking the icon on the display interface.
Step S37: the distribution network APP transmits the MAC address of the equipment to be distributed, the actual value of the received signal strength of the received data packet and the reference value to the SDK based on the selection instruction.
After the user confirms the product information, the distribution network APP transmits the MAC address of the equipment to be distributed, the actual value of the received signal strength of the received data packet and the reference value to the SDK.
Step S38: if the actual value is greater than or equal to the corresponding reference value, the SDK determines that the network equipment to be distributed with the MAC address passes the validation.
After the SDK confirms the product information, the SDK can confirm the information such as the MAC address and the received signal strength of the equipment to be distributed again, so as to determine whether the mobile terminal can control the equipment to be distributed.
Step S36 to step S38 of the present embodiment realize step S13 of the above embodiment.
Step S39: the distribution network APP sends distribution network information to the to-be-distributed network equipment passing the right, so that the to-be-distributed network equipment performs distribution network based on the distribution network information.
The distribution network APP sends distribution network information to the to-be-distributed network equipment passing the right through the processor, so that the to-be-distributed network equipment performs distribution network based on the distribution network information.
Step S39 is similar to step S14 described above, and is not repeated here.
In another embodiment, as shown in fig. 4, fig. 4 is a schematic flow chart of an embodiment of the network allocation method of the present application. The network allocation method of the embodiment specifically comprises the following steps:
step S41: and the system end acquires the data packet and the MAC address broadcasted by the equipment to be distributed and transmits the MAC address and the data packet to the SDK.
Step S42: and the SDK decrypts the data packet, acquires the product serial number of the equipment to be distributed, and establishes the corresponding relation between the MAC address and the product serial number.
Step S43: the SDK transmits the public key corresponding to the key sequence number and the MAC address to the distribution network APP of the system side.
Step S44: and the distribution network APP decrypts the data packet based on the public key corresponding to the key sequence number and the MAC address to acquire the equipment information of the equipment to be distributed.
Step S45: and uploading the equipment information to a server to request the product information of the equipment to be distributed from the server.
Step S46: the distribution network APP displays the product information and acquires a selection instruction for the product information.
Step S47: the distribution network APP transmits the MAC address of the equipment to be distributed, the actual value of the received signal strength of the received data packet and the reference value to the SDK based on the selection instruction.
Step S48: if the actual value is greater than or equal to the corresponding reference value, the SDK determines that the network equipment to be distributed with the MAC address passes the validation.
Steps S41 to S48 are similar to steps S31 to S38 described above, and are not repeated here.
Step S49: the SDK transmits the MAC address and the distribution network data which pass the right to the distribution network APP.
The distribution network data comprises random numbers, configuration information and right identification.
Step S410: the distribution network APP encrypts distribution network data and router information to obtain distribution network information, and unicast-oriented transmits the distribution network information to the equipment to be distributed.
The router information is router information of mobile terminal connection. The distribution network APP can determine the router information when acquiring a selection instruction of a user.
The distribution network APP can encrypt the distribution network data and the router information through keys generated by ECDH key exchange and the like.
Furthermore, the distribution network APP can encrypt information such as a channel of the router, a service set identifier SSID, an encryption mode, and the like, and send the encrypted information to the to-be-distributed network device.
Optionally, the present embodiment may further include step S401 and step S402 before step S49.
Step S401: after the SDK passes the right, generating a random number and a right identification, and acquiring configuration information.
The configuration information may include some protocol information, ip, dns, auxiliary information, etc.
Step S402: the SDK encrypts the random number, the configuration information and the acknowledgement identifier to obtain distribution network data.
The random number, the configuration information, the right identification and the like can be encrypted in a CCM encryption mode and the like, so that the data security and compatibility are improved.
The SDK can also search the product serial number corresponding to the MAC address through the corresponding relation between the MAC address and the product serial number, and establish the corresponding relation between the product serial number and the random number and other information.
The equipment to be distributed is connected with the router based on distribution network information.
In another embodiment, as shown in fig. 5, the network distribution method of the present embodiment specifically includes the following steps:
step S51: and acquiring a data packet broadcast by the equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet.
Step S52: and uploading the equipment information to a server to request the product information of the equipment to be distributed from the server.
Step S53: and displaying the product information and acquiring a selection instruction of the product information.
The specific implementation manner of step S51 and step S53 may refer to the above embodiments.
Step S54: and acquiring router information.
The router information of the mobile terminal comprises information such as a login account number and a password of the router.
Step S55: a connection is established with the router based on the router information.
The mobile terminal establishes connection with a router based on the router information; the mobile terminal pre-connection router may be completed in advance. If the connection is not completed in advance, a reminding interface is sprung out in the network distribution process, and a user is reminded to connect the mobile terminal with the router.
Step S56: and transmitting the MAC address of the equipment to be distributed, the actual value of the received signal strength of the received data packet and the reference value to the SDK based on the selection instruction.
Step S57: and if the actual value is greater than or equal to the corresponding reference value, determining that the network equipment to be distributed with the MAC address passes the validation.
Step S58: and sending the distribution network information to the network equipment to be distributed, which passes the confirmation, so that the network equipment to be distributed performs network distribution based on the distribution network information.
The implementation manner of step S56 and step S58 may refer to the above embodiments.
In another embodiment, as shown in fig. 6, the present embodiment specifically includes the following steps:
step S61: and acquiring a data packet broadcast by the equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet.
Step S62: and uploading the equipment information to a server to request the product information of the equipment to be distributed from the server.
Step S63: and carrying out right confirmation on the network equipment to be allocated based on the product information.
Step S64: and sending the distribution network information to the network equipment to be distributed, which passes the confirmation, so that the network equipment to be distributed performs network distribution based on the distribution network information.
The specific implementation of step S61 and step S64 may refer to the above embodiments.
Step S65: inquiring the distribution network state of the equipment to be distributed.
After the network distribution equipment to be distributed acquires network distribution information, connecting a router; the mobile terminal sends a query distribution network state instruction to the equipment to be distributed; the equipment to be distributed returns a status response to the mobile terminal through the unicast mode, wherein the status response is used for informing the mobile terminal whether the distribution network information is successfully transmitted, namely whether the equipment to be distributed successfully receives the distribution network information.
Step S66: and inquiring whether the equipment to be distributed is online or not through the server based on the state response of the equipment to be distributed.
If the distribution network data is successfully transmitted, the mobile terminal inquires whether the equipment to be distributed is on line or not through the server based on the MAC address of the equipment to be distributed. Specifically, the mobile terminal may upload information such as the MAC address, the product serial number, and the random number of the network device to be configured to the server, so that the server determines whether the network device to be configured is online based on the information.
Step S67: if the network equipment is online, acquiring the equipment ID of the equipment to be distributed from the server.
If the equipment to be distributed is online, the mobile terminal acquires the equipment ID corresponding to the MAC address from the server; and the mobile terminal binds the equipment ID to realize the control of the equipment to be allocated.
The present application further proposes a distribution network system, as shown in fig. 7, and fig. 7 is a schematic structural diagram of an embodiment of the distribution network system of the present application. The distribution network system (not shown) of this embodiment includes: a mobile terminal 71 and a server 72; the mobile terminal 71 is configured to obtain a data packet broadcast by the to-be-configured network device 73, obtain device information of the to-be-configured network device 73 from the data packet, and upload the device information to the server 72; the server 72 is in communication connection with the mobile terminal 71, and is configured to acquire product information corresponding to the device information, and return the product information to the mobile terminal 71; the mobile terminal 71 further performs authorization on the network equipment to be configured based on the product information, and sends the network configuration information to the network equipment to be configured 73 through which the authorization passes, so that the network equipment to be configured performs network configuration based on the network configuration information.
The server 72 in this embodiment may be a cloud server or a physical server, and the mobile terminal 71 may be a mobile phone or the like. The network device 73 may be an intelligent home appliance or other intelligent home device.
Optionally, the mobile terminal 71 sets a dedicated SDK, and invokes the SDK to perform data transmission with the corresponding dedicated server 72, so as to ensure the security and compatibility of data. The mobile terminal 71 includes a system side and an SDK, and the system side includes a processing system and a distribution network APP.
The working principle of the distribution network system of this embodiment may refer to the above embodiment.
In an application scenario, as shown in fig. 8, after the network device 73 is powered on, it enters an AP mode, and broadcasts a packet, which may be a beacon packet. The data packet includes device information, key number, broadcast mode, random number, etc. of the device 73 to be configured, where the device information includes: information such as a product Serial Number (SN), a class, etc. of the network equipment 73 to be configured; the processing system acquires a data packet and an MAC address broadcast by the equipment to be distributed, acquires an actual value of Received Signal Strength (RSSI) of the received data packet, and judges the actual value and the intensity threshold value; in response to the actual value being greater than or equal to the intensity threshold, and the to-be-configured network device 73 supporting a preset configuration network protocol, the processing system transmits the MAC address and the data packet to the configuration network APP, which transmits the data packet and the MAC address to the SDK; the SDK decrypts the data packet, obtains the product serial number of the equipment 73 to be distributed, and establishes a corresponding relation between the MAC address and the product serial number; the SDK transmits a public key corresponding to the key sequence number and the MAC address to the distribution network APP; the distribution network APP decrypts the data packet based on the public key corresponding to the key sequence number and the MAC address to acquire equipment information of the equipment 73 to be distributed; the distribution network APP uploads the product serial number, class and other equipment information of the equipment 73 to be distributed and the received signal strength to the server 72, the server 72 performs authentication and verification based on the product serial number and class information (performs authentication based on the product serial number and class information to determine whether the mobile terminal has authority to control the equipment to be distributed and whether the received signal strength of the received data packet is greater than an strength threshold, if yes, authentication is passed, if the product serial number corresponds to the class, verification is passed, and after the authentication and verification are passed, the icon of the equipment 73 to be distributed is returned to the distribution network APP; the distribution network APP displays the product information, acquires a selection instruction for the product information, determines router information based on the selection instruction, and is connected with the router; the distribution network APP transmits the MAC address of the equipment to be distributed and the actual value and the reference value of the received signal strength of the received data packet to the SDK; if the actual value is greater than or equal to the corresponding reference value, the SDK determines that the to-be-configured network equipment 73 with the MAC address passes the validation; after the SDK passes the right, generating a random number and a right identification, and acquiring configuration information; the SDK encrypts the random number, the configuration information and the acknowledgement mark to obtain distribution network data; the SDK transmits the MAC address and the distribution network data which pass the right to the distribution network APP; the distribution network APP encrypts distribution network data and router information to obtain distribution network information, and unicast-directionally transmits the distribution network information to the to-be-distributed network equipment 73; the processing system queries the distribution network status of the equipment 73 to be distributed; the distribution network APP inquires whether the equipment 73 to be distributed is on line or not through the server 72 based on the state response of the equipment 73 to be distributed; if the network is on line, the distribution network APP acquires the device ID of the device 73 to be distributed from the server 72, and binds the device ID to realize the control of the device 73 to be distributed.
The distribution network system of this embodiment may perform distribution network for a plurality of devices 73 to be distributed, and distinguish between the MAC addresses and product serial numbers of the devices 73 to be distributed.
The application further provides a mobile terminal, which comprises a processor and a memory connected with the processor, wherein the processor executes program data in the memory to realize the network allocation method based on the system framework of the mobile terminal in the embodiment.
The processor may be integrated within a controller, which may also be referred to as a CPU (Central Processing Unit ). The processor may be an integrated circuit chip having signal processing capabilities. The processor may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, or discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Other structures of the mobile terminal can be referred to the above embodiments.
Different from the prior art, the network distribution method is used for the mobile terminal, and the network connection of the equipment to be distributed can be realized through the mobile terminal. Firstly, acquiring a data packet broadcast by equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet; uploading the equipment information to a server to request the product information of the equipment to be distributed from the server; then, based on the product information and the equipment information, the right of the equipment to be distributed is confirmed; and finally, sending the distribution network information to the network equipment to be distributed, which is authorized to pass, so that the network equipment to be distributed performs network distribution based on the distribution network information. In this way, the mobile terminal automatically sends the equipment information of the equipment to be distributed to the server, obtains the product information of the equipment to be distributed and the confirmation of the equipment to be distributed from the server, and further sends the distribution information to the equipment to be distributed, which is passed by the confirmation, so that in the whole distribution process, the user only needs to participate in the confirmation operation, the distribution operation of the user can be reduced in the distribution process, and the user networking experience is improved.
The foregoing description is only of embodiments of the present application, and is not intended to limit the scope of the patent application, and all equivalent mechanisms or equivalent process changes made by the specification and the drawings of the present application, or direct or indirect application in other related technical fields, are equally included in the scope of the patent protection of the present application.

Claims (11)

1. The network distribution method is characterized by being used for a mobile terminal and comprising the following steps:
acquiring a data packet broadcast by equipment to be distributed, and acquiring equipment information of the equipment to be distributed from the data packet;
uploading the equipment information to a server to request the product information of the equipment to be distributed from the server;
the network equipment to be distributed is authorized based on the product information;
and sending distribution network information to the network equipment to be distributed, which passes the confirmation, so that the network equipment to be distributed performs network distribution based on the distribution network information.
2. The network provisioning method of claim 1, wherein the uploading the device information to a server to request product information of the device to be networked from the server comprises:
uploading the equipment information to the server so that the server can perform authentication and verification based on the equipment information, and returning product information corresponding to the equipment information after the authentication and verification are passed;
and acquiring the product information from the server.
3. The network allocation method according to claim 1, wherein the mobile terminal is provided with a system side and an SDK, and the acquiring a data packet broadcast by a device to be allocated and acquiring device information of the device to be allocated from the data packet includes:
the system end acquires a data packet and an MAC address broadcasted by the equipment to be distributed, and transmits the MAC address and the data packet to the SDK;
the SDK decrypts the data packet, obtains the product serial number of the equipment to be distributed, and establishes the corresponding relation between the MAC address and the product serial number;
the SDK transmits a public key corresponding to the key sequence number and an MAC address to a distribution network APP of the system end;
and the distribution network APP decrypts the data packet based on the public key corresponding to the key sequence number and the MAC to acquire the equipment information of the equipment to be distributed.
4. A network allocation method according to claim 3, wherein said determining the network equipment to be allocated based on the product information comprises:
the distribution network APP displays the product information and acquires a selection instruction of the product information;
the distribution network APP transmits the MAC address of the equipment to be distributed, the actual value of the received signal strength of the received data packet and the reference value to the SDK based on the selection instruction;
and if the actual value is greater than or equal to the corresponding reference value, the SDK determines that the network equipment to be distributed with the MAC address passes the confirmation.
5. The network provisioning method of claim 4, further comprising, after said authenticating said network to be provisioned device based on said product information:
the SDK transmits the MAC address through which the right passes and the distribution network data to the distribution network APP;
and the distribution network APP encrypts the distribution network data and the router information to obtain distribution network information, and unicast and directionally transmits the distribution network information to the equipment to be distributed.
6. The distribution network method according to claim 5, further comprising, before the SDK transmits the MAC address and the distribution network data, which the right passes, to the distribution network APP:
after the SDK passes the right, generating a random number and a right identification, and acquiring configuration information;
and the SDK encrypts the random number, the configuration information and the identification of the right to obtain the distribution network data.
7. A network deployment method as recited in claim 3, further comprising, prior to said transmitting said MAC address and said data packet to said SDK:
the system end obtains the actual value of the received signal strength of the received data packet;
and responding to the fact that the actual value is larger than or equal to an intensity threshold value, and the equipment to be distributed supports a preset distribution network protocol, executing the step of transmitting the MAC address and the data packet to the SDK.
8. The network provisioning method of claim 1, further comprising, prior to said authenticating the network device to be provisioned based on the product information:
acquiring router information;
and establishing connection with the router based on the router information.
9. The network allocation method according to any one of claims 1 to 8, further comprising, after the network allocation information is sent to the network to be allocated device through which the right passes, causing the network to be allocated device to perform network allocation based on the network allocation information:
inquiring the distribution network state of the equipment to be distributed;
inquiring whether the network equipment to be distributed is online or not through the server based on the state response of the network equipment to be distributed;
if the network equipment is online, acquiring the equipment ID of the equipment to be distributed from the server.
10. A distribution network system, comprising:
the mobile terminal is used for acquiring a data packet broadcast by the equipment to be distributed, acquiring equipment information of the equipment to be distributed from the data packet, and uploading the equipment information to the server;
the server is in communication connection with the mobile terminal, and is used for acquiring product information corresponding to the equipment information and returning the product information to the mobile terminal;
and the mobile terminal further carries out the right confirmation on the equipment to be distributed on the basis of the product information, and sends the distribution network information to the equipment to be distributed, which passes the right confirmation, so that the equipment to be distributed carries out the distribution network on the basis of the distribution network information.
11. A mobile terminal comprising a processor and a memory coupled to the processor, the processor executing program data in the memory to implement the network deployment method of any of claims 1 to 9.
CN202210006491.5A 2022-01-05 2022-01-05 Distribution network method, distribution network system and mobile terminal Pending CN116419279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210006491.5A CN116419279A (en) 2022-01-05 2022-01-05 Distribution network method, distribution network system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210006491.5A CN116419279A (en) 2022-01-05 2022-01-05 Distribution network method, distribution network system and mobile terminal

Publications (1)

Publication Number Publication Date
CN116419279A true CN116419279A (en) 2023-07-11

Family

ID=87052037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210006491.5A Pending CN116419279A (en) 2022-01-05 2022-01-05 Distribution network method, distribution network system and mobile terminal

Country Status (1)

Country Link
CN (1) CN116419279A (en)

Similar Documents

Publication Publication Date Title
CN108206857B (en) Profile setting method and device
JP3984993B2 (en) Method and system for establishing a connection through an access network
CA2530340C (en) Server for routing connection to client machine
US9800581B2 (en) Automated wireless device provisioning and authentication
US8208455B2 (en) Method and system for transporting configuration protocol messages across a distribution system (DS) in a wireless local area network (WLAN)
US8102814B2 (en) Access point profile for a mesh access point in a wireless mesh network
CN113347741B (en) Online method and system of gateway equipment
KR102005408B1 (en) Method and apparatus for registering and authenticating a device in a wireless communication system
EP3082354B1 (en) Location privacy protection methods and devices
KR101253352B1 (en) Authentication method for wireless distributed system
KR20150097254A (en) Method and apparatus for transmitting and receiving authentication information in a wireless communication system
CN106656547B (en) Method and device for updating network configuration of household electrical appliance
JP2006517359A (en) Method and apparatus for providing network service information to a mobile station over a wireless local area network
WO2006097041A1 (en) A general authentication former and a method for implementing the authentication
JP6997886B2 (en) Non-3GPP device access to core network
CN106571985B (en) Network distribution method and system of household appliance, household appliance and router
KR20150051568A (en) Security supporting method and system for proximity based service device to device discovery and communication in mobile telecommunication system environment
CN105636040A (en) Device networking method and system
CN108601093B (en) Wireless communication method and system
CN109495979A (en) Wireless network connecting method and device
WO2018064847A1 (en) Network distribution method and system for household electrical appliance, and household electrical appliance and router
US20060039305A1 (en) Method and system for EAP encapsulation exchange for a setup configuration protocol in a WLAN
US20110314136A1 (en) Method and System for Improved Communication Network Setup
CN116419279A (en) Distribution network method, distribution network system and mobile terminal
JP2010074481A (en) Lan system, terminal device, utilization application device, and user account acquiring method

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