CN112839390A - Data processing method, networking method, testing method, system, device and equipment - Google Patents

Data processing method, networking method, testing method, system, device and equipment Download PDF

Info

Publication number
CN112839390A
CN112839390A CN201911158773.1A CN201911158773A CN112839390A CN 112839390 A CN112839390 A CN 112839390A CN 201911158773 A CN201911158773 A CN 201911158773A CN 112839390 A CN112839390 A CN 112839390A
Authority
CN
China
Prior art keywords
network access
target
equipment
iot
distribution
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
CN201911158773.1A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201911158773.1A priority Critical patent/CN112839390A/en
Publication of CN112839390A publication Critical patent/CN112839390A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Abstract

The embodiment of the application provides a data processing method, a networking method, a data processing system, a device, a computer device and an IOT device. The target network access identifier is determined by establishing wireless connection between the distribution equipment and the target IOT equipment and from the unallocated network access identifiers. And sending the target network access identification to the target IOT equipment so as to write the target network access identification into the IOT module of the target IOT equipment. The technical scheme of the application can effectively improve the production efficiency of the IOT equipment.

Description

Data processing method, networking method, testing method, system, device and equipment
Technical Field
The embodiment of the application relates to the technical field of networks, in particular to a data processing method, a networking method, a testing method, a data processing system, a device and equipment.
Background
With the rapid development of the Internet of Things (IOT), the Internet of Things is gradually applied to various fields, such as smart homes, intelligent transportation, smart logistics, public security, and the like. The internet of things module is an important component of the internet of things device, for example, in the field of smart home, an IOT module is required to be installed in a generation process of household appliances such as a refrigerator, an electric lamp, a television, a sound box and the like to become the IOT device, so that the IOT module is accessed into the internet of things system.
In practical application, the internet of things system distributes unique triple information to each device in advance based on the device type and the device order number applied and produced by a user. In the process of producing the IOT equipment, the distributed unique triple information needs to be burned into the IOT module so that the IOT module can be accessed into the IOT system based on the unique triple information.
In the prior art, when producing the thing networking equipment, produce the line workman and connect the thing networking module through the frock, burn the information such as triplex one by one to every thing networking module, production efficiency is low and make cost of labor greatly increased.
Disclosure of Invention
The embodiment of the application provides a data processing method, a testing method, a data processing system, a device and equipment, and can effectively improve the production efficiency of IOT equipment.
In a first aspect, an embodiment of the present application provides a data processing method, including:
establishing a wireless connection with a target IOT device;
determining a target network access identifier from the unallocated network access identifiers;
and sending the target network access identification to the target IOT equipment so as to write the target network access identification into an IOT module of the target IOT equipment.
In a second aspect, an embodiment of the present application provides a data processing method, including:
establishing a wireless connection with a distribution device;
receiving a target network access identifier sent by the distribution equipment; the target network access identification is determined by the distribution equipment from unallocated network access identifications;
and writing the target network access identification into an IOT module.
In a third aspect, an embodiment of the present application provides a data processing method, including:
receiving the device type of the target IOT device sent by the distribution device; wherein the distribution device establishes a wireless connection with the target IOT device;
judging whether the target IOT equipment meets the network access identification distribution condition or not based on the equipment type;
if the distribution condition is met, sending a network access identifier distribution instruction to the distribution equipment, so that the distribution equipment determines a target network access identifier from the unallocated network access identifiers and sends the target network access identifier to the target IOT equipment, so as to write the target network access identifier into an IOT module of the target IOT equipment.
In a fourth aspect, an embodiment of the present application provides a networking method, including:
establishing wireless connections with a plurality of IOT devices;
configuring temporary device identifications corresponding to the plurality of IOT devices;
and respectively sending the network access identification to be distributed to the plurality of IOT equipment based on the temporary equipment identification so as to respectively write the network access identification to be distributed into the IOT modules corresponding to the plurality of IOT equipment.
In a fifth aspect, an embodiment of the present application provides a data processing system, including a distribution device and a plurality of IOT devices that establish wireless connection with the distribution device;
the distribution equipment is used for determining a target network access identifier from the unallocated network access identifiers; sending the target network access identification to target IOT equipment;
the target IOT equipment is used for receiving a target network access identifier sent by the distribution equipment; and writing the target network access identification into an IOT module.
In a sixth aspect, an embodiment of the present application provides a testing method, including:
establishing a wireless connection with a target IOT device;
sending test data to the target IOT equipment so that the target IOT equipment can test the IOT module based on the test data;
and receiving response data returned by the target IOT equipment and determining a test result based on the response data.
In a seventh aspect, an embodiment of the present application provides a testing method, including:
establishing a wireless connection with a distribution device;
receiving test data sent by the distribution equipment;
testing an IOT module based on the test data and acquiring response data generated by the IOT module;
and sending the response data to the distribution equipment so that the distribution equipment can determine a test result based on the response data.
In an eighth aspect, an embodiment of the present application provides a data processing apparatus, including:
a first connection module to establish a wireless connection with a target IOT device;
the determining module is used for determining a target network access identifier from the unallocated network access identifiers;
a first sending module, configured to send the target network access identifier to the target IOT device, so as to write the target network access identifier into an IOT module of the target IOT device.
In a ninth aspect, an embodiment of the present application provides a data processing apparatus, including:
the second connection module is used for establishing wireless connection with the distribution equipment;
the network access identifier receiving module is used for receiving the target network access identifier sent by the distribution equipment; the target network access identification is determined by the distribution equipment from unallocated network access identifications;
and the storage module is used for writing the target network access identification into the IOT module.
In a tenth aspect, an embodiment of the present application provides a computer device, including a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing a wireless connection with a target IOT device;
determining a target network access identifier from the unallocated network access identifiers;
and sending the target network access identification to the target IOT equipment so as to write the target network access identification into an IOT module of the target IOT equipment.
In an eleventh aspect, an embodiment of the present application provides an I OT device, including a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing a wireless connection with a distribution device;
receiving a target network access identifier sent by the distribution equipment; the target network access identification is determined by the distribution equipment from unallocated network access identifications;
and writing the target network access identification into an IOT module.
Compared with the prior art, the application can obtain the following technical effects:
the embodiment of the application provides a data processing method, which enables distribution equipment to perform wireless data transmission with target IOT equipment by establishing wireless connection with a target IOT module. The distribution equipment automatically determines a target network access identifier from the unallocated network access identifier, and sends the target network access identifier to the target IOT equipment through wireless transmission, so that the target network access identifier is automatically written into an IOT module of the target IOT equipment. Not only can effectively improve the production efficiency of the IOT equipment, but also can greatly reduce the labor cost.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a data processing method according to the present application;
FIG. 2 shows a schematic flow chart diagram of yet another embodiment of a data processing method according to the present application;
FIG. 3 shows a schematic flow chart diagram of another embodiment of a data processing method according to the present application;
FIG. 4 is a schematic flow chart diagram illustrating another embodiment of a data processing method according to the present application;
FIG. 5 shows a schematic flow chart diagram of another embodiment of a data processing method according to the present application;
FIG. 6 is a flow diagram illustrating one embodiment of a networking method provided herein;
FIG. 7 is a block diagram illustrating one embodiment of a data processing system in accordance with the present application;
FIG. 8 is a block diagram illustrating one embodiment of a data processing system in accordance with the present application;
FIG. 9 is a block diagram illustrating one embodiment of a data processing apparatus according to the present application;
FIG. 10 is a schematic diagram illustrating an architecture of yet another embodiment of a data processing apparatus according to the present application;
FIG. 11 is a schematic block diagram illustrating another embodiment of a data processing apparatus according to the present application;
FIG. 12 is a schematic block diagram illustrating another embodiment of a data processing apparatus according to the present application;
FIG. 13 is a schematic block diagram illustrating another embodiment of a data processing apparatus according to the present application;
FIG. 14 illustrates a schematic structural diagram of one embodiment of a networking device according to the present application;
FIG. 15 illustrates a schematic block diagram of one embodiment of a computer device, in accordance with the present application;
FIG. 16 is a schematic block diagram illustrating one embodiment of an IOT device according to the present application;
fig. 17 is a schematic structural diagram illustrating an embodiment of a server according to the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
When a user produces an IOT product, the user needs to firstly apply for the equipment type and the order quantity of the IOT equipment planned to be produced to an IOT network platform, and the platform distributes corresponding network access identification for the user according to the equipment type and the order quantity of the IOT equipment applied by the user. The user needs to write the network access identifier into the IOT module of the IOT device planned to be produced. In the prior art, production line workers are connected with the internet of things modules through tools and burn the network access identifiers into each IOT network module one by one, and production efficiency is low. For some users with great uncertainty on the order quantity and the equipment type of planned production, the network access identifier in the IOT module needs to be updated and burned again, so that the labor cost and the management cost are greatly increased.
Therefore, in order to improve the production efficiency of the IOT device, the inventor has proposed the technical solution of the present application through a series of studies, and in the embodiment of the present application, the distribution device may perform wireless data transmission with the target IOT device by establishing a wireless connection with the target IOT module. The distribution equipment automatically determines a target network access identifier from the unallocated network access identifier, and sends the target network access identifier to the target IOT equipment through wireless transmission, so that the target network access identifier is automatically written into an IOT module of the target IOT equipment. Not only can effectively improve the production efficiency of the IOT equipment, but also can greatly reduce the labor cost.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flowchart of an embodiment of a data processing method according to an embodiment of the present application. The method may comprise the steps of:
101: a wireless connection is established with the target IOT device.
In practical applications, the distribution device may be a computer device or other intelligent electronic devices that includes a wireless module or has a wireless connection function, and it is understood that when the computer device or the intelligent electronic device does not have the wireless connection function, the computer device or the intelligent electronic device may have the wireless connection function by externally connecting a wireless connection device, and the wireless connection device may be, for example, a Dongle (Dongle) or a wireless network card, and is not limited herein.
The IOT equipment can be intelligent house, intelligent door lock, intelligent vehicle-mounted, intelligent logistics and the like, comprises an IOT module with a wireless connection function, and can be accessed into an Internet of things system platform based on the IOT module. Based on the wireless connection function of the IOT module, wireless connection is established between the distribution equipment and the IOT equipment in the IOT equipment production process, so that the distribution equipment can carry out data communication with the IOT equipment in a wireless connection mode, the reliability and the real-time performance of the data communication can be ensured under the production test environment, the labor cost generated by connecting tool lines can be reduced, and the condition that data burning fails due to line connection problems is avoided.
In order to further save labor cost, a wireless connection frequency band may be set in a production or test environment, and the distribution device and the target IOT device are respectively accessed into a wireless local area network established by the frequency band, so that the distribution device and the target IOT device establish wireless communication. It can be understood that the IOT device may also perform automatic wireless matching to establish a wireless connection by setting an automatic matching mode, such as bluetooth, WIFI, and the like, which is not limited herein.
102: and determining a target network access identification from the unallocated network access identifications.
The network access identifier is an identity identifier allocated to the IOT equipment by the Internet of things platform, and the platform can verify the validity of the IOT equipment based on the identity identifier so as to authenticate the IOT equipment. Common network access identifiers such as triplet information include: product ID (Product ID), MAC (Media Access Control Address), and Secret (key) of the device.
The distribution device may be used to manage and distribute the network entry identities. In practical application, the distribution equipment can be connected with the IOT system platform, and the IOT platform is obtained in advance as the distributed network access identification according to the equipment type and the order number of the IOT equipment applied by the user. Certainly, in the case that it is not convenient to establish an access with the internet of things platform in the production test environment, the user may also obtain the network access identifier from the internet of things platform in advance through any other device, and send the network access identifier to the distribution device, which is not specifically limited herein.
In practical application, the IOT platform divides the device types of the IOT devices in advance, and the device type identifiers corresponding to the IOT devices of different types can be embodied in the network access identifier, so that the IOT platform can determine the device types of the IOT devices based on the network access identifier, and classification control and management of the IOT devices are realized.
In order to avoid the occurrence of a network access identifier distribution error and improve the accuracy of network access identifier distribution, whether the target IOT device has the distribution authority or not can be verified in advance.
As an implementable embodiment, the determining a target network access identifier from the unassigned network access identifiers may include:
determining whether the target IOT equipment meets a network access identifier distribution condition;
and if the distribution condition is met, determining a target network access identifier from the unallocated network access identifiers.
Optionally, the determining whether the target IOT device satisfies the network entry identifier distribution condition may include:
acquiring the device type of the target IOT device;
judging whether the equipment type belongs to a target equipment type;
and if the target IOT equipment belongs to the type of the target equipment, determining that the target IOT equipment meets the distribution condition.
The distribution device may obtain the device type of the target IOT device before determining the target network access identifier, to verify whether the device type is a target device type matching the target network access identifier, determine that the target IOT device satisfies the distribution condition only when the device type is verified to be a preset target device type, and determine the target network access identifier from the unallocated network access identifiers.
Furthermore, the distribution authority of the target IOT equipment can be verified through the server side, or double verification can be performed by the server side and the distribution equipment side. The determining a target network access identifier from the unallocated network access identifiers may include:
acquiring the device type of the target IOT device and sending the device type to a server, so that the server can judge whether the target IOT device meets the network access identifier distribution condition or not based on the device type;
receiving a network access identifier distribution instruction sent by the server based on the judgment result;
and determining the target network access identification from the unallocated network access identifications.
When the server verifies that the target IOT device meets the distribution condition, the server may send a network access identifier distribution instruction to the distribution device, and if the double verification is performed, the distribution device may determine whether to execute a step of determining the target network access identifier from the unallocated network access identifiers based on the current verification result and the distribution instruction sent by the server, which is not specifically limited herein.
Optionally, the distribution device may further serve as a user side to apply for the network access identifier to the internet of things platform. As an implementation manner, before the establishing of the wireless connection with the target IOT device, the method may further include:
determining a target device type corresponding to the IOT device to be allocated;
and acquiring the network access identification to be distributed based on the type of the target equipment.
Further, when there are a plurality of IOT devices, the determining a target device type corresponding to the IOT device to be allocated may include:
determining the type and the number of target devices corresponding to IOT devices to be allocated;
and acquiring the network access identifiers to be distributed in a waiting amount based on the type of the target equipment and the quantity of the equipment.
After the network access identifier is allocated to the target IOT device, a one-to-one association relationship is established with the device identifier of the target IOT device, and the network access identifier without the association relationship is determined as an unallocated network access identifier. The distribution device may determine the target network access identifier from the unallocated network access identifiers according to a preset distribution rule, for example, randomly select any one of the network access identifiers as the target network access identifier, or sequentially select the target network access identifiers according to an arrangement order of the network access identifiers, for example, a sequence from small to large or a sequence from large to small, and may be set according to an actual situation.
103: and sending the target network access identification to the target IOT equipment so as to write the target network access identification into an IOT module of the target IOT equipment.
And the distribution equipment sends the target network access identification to the IOT equipment based on wireless connection after determining the target network access identification. And after receiving the target network access identification, the IOT equipment actually stores the target network access identification to a safe region of the IOT module so as to ensure the safety, confidentiality and integrity of data. When the IOT equipment leaves the factory and is put into use to access the Internet of things platform, the stored target network access identification is sent to the Internet of things platform for authentication so as to verify the validity of the equipment.
In the embodiment of the application, wireless connection between the IOT equipment is established through the distribution equipment, and the target network access identification is written into the IOT module of the IOT equipment by utilizing the wireless communication technology for storage, so that the production efficiency of the IOT equipment can be effectively improved, and the labor cost can be greatly reduced.
In practical application, the technical scheme of the application can be suitable for not only the distribution scene of the IOT equipment in the IOT equipment production process, but also the test scene of the IOT equipment.
Therefore, as an optional implementation manner, the technical solution of the present application further provides a testing method, which may include:
establishing a wireless connection with a target IOT device;
sending test data to the target IOT equipment so that the target IOT equipment can test the IOT module based on the test data;
and receiving response data returned by the target IOT equipment and determining a test result based on the response data.
Under the traditional test scene, still need to burn the test data into the IOT module through the frock, whether correct response is made to the IOT module is looked over through control IOT module execution test data to confirm whether IOT module function is normal according to the response condition of IOT module. This kind of mode not only needs manual operation to guarantee that the line connection of frock and IOT module is correct to the response condition of IOT module need in time be monitored to the test personnel, need consume a large amount of manpowers and time efficiency of software testing lower, simultaneously because there may be the artificial error of testing in the test personnel monitoring process, and then influence the accuracy of test result.
In the embodiment of the application, the distribution equipment establishes wireless connection with the IOT equipment under the test environment, sends the test data to the IOT module, acquires the response data obtained by the IOT module executing the test data, and determines the test result of the IOT module based on the response data to judge whether the IOT module is qualified. The process does not need to manually participate in the test operation, so that the influence of manual test errors on the test result does not exist, the accuracy of the test result is improved, and the test efficiency of the IOT equipment is also greatly improved.
Fig. 2 is a schematic flowchart of an embodiment of a data processing method according to an embodiment of the present application. The method may comprise the steps of:
201: a wireless connection is established with the target IOT device.
202: and receiving a network access identifier distribution request carrying the device identifier and sent by the target IOT device.
Alternatively, the target IOT device may detect whether the target access identifier is written into itself, and if it is detected that the target access identifier is not written into the target access identifier, may send the access identifier distribution request to the distribution device. Actually, in a production environment, a distribution device may simultaneously distribute an access identifier to a plurality of devices, but due to the limitation of a wireless network, when there are many IOT devices, sending an access identifier distribution request at the same time may cause network channel congestion, so that the distribution device cannot receive the access identifier distribution request of a target IOT device. Therefore, in order to avoid this problem, a request sending rule may be set for each IOT device, for example, the maximum number of IOT devices sending requests within a preset time is set, or the IOT devices are controlled to send the distribution requests according to different time intervals, so as to ensure successful reception of the distribution requests, and the setting may be specifically performed according to actual requirements, which is not specifically limited herein.
203: and determining a target network access identification from the unallocated network access identifications.
204: and establishing an association relation between the equipment identifier and the target network access identifier.
205: and sending the target network access identification to the target IOT equipment so as to write the target network access identification into an IOT module of the target IOT equipment.
Optionally, in order to ensure that the target network entry identifier of the IOT device is successfully written, as an implementation, the method may further include:
detecting whether response information returned by the target IOT equipment is received or not;
if the response information is not received, the target network access identification is retransmitted to the IOT equipment based on the incidence relation;
and if the response information is detected to be received, marking the equipment identification as an allocation success state.
Due to certain instability of wireless communication, when packet loss occurs due to abnormal network connection, the target network access identifier may not be successfully sent to the IOT device. Therefore, in order to ensure that the target network access identifier is successfully distributed, after the target network access identifier is successfully written into the IOT module, the target IOT device generates response information and sends the response information to the distribution device, so that the distribution device can determine that the distribution is successful based on the response information, and if the response information is not received within a preset time or a network access identifier distribution request of the IOT device is continuously received, the target network access identifier is continuously sent to the IOT device.
Optionally, if the distribution device fails to send the target network access identifier for multiple times, the distribution device may further output alarm information to prompt a worker to check whether the wireless connection is abnormal or whether the device is abnormal, so as to ensure normal operation of the device production.
Optionally, in some embodiments, the determining a target network access identifier from the unassigned network access identifiers may include:
detecting whether the network access identifier is associated with any equipment identifier or not;
if the association is not established, the network access identifier is confirmed to be the unallocated network access identifier;
and determining a target network access identifier from the unallocated network access identifiers according to a preset rule.
In practical application, the successfully allocated network access identifier is associated with the device identifier of the corresponding IOT device, so that when the target network access identifier is determined, the network access identifier that is not associated with any device identifier is selected, and the selection rule may be set according to actual requirements, for example, the selection rule may be a random selection rule, a selection rule according to an arrangement order of identifier numbers from large to small or from small to large, and the like, and is not specifically limited herein.
Optionally, as an implementable implementation manner, before determining the target network access identifier from the unassigned network access identifiers, the method may further include:
detecting whether the network access identification distribution request sent by the target IOT equipment belongs to a legal request or not;
and if the request is detected to be a legal request, the step of determining the target network access identification from the unallocated network access identifications is executed.
In order to avoid network access identifier distribution errors, whether a distribution request sent by the target IOT equipment is legal or not is detected before the target network access identifier is determined, and when the distribution request is verified to be a legal request, the target network access identifier of the target IOT equipment is determined and distributed to the target IOT equipment.
Further, the detecting whether the network access identifier distribution request sent by the target IOT device belongs to a legal request may include:
judging whether the equipment identification carried by the network access identification distribution request belongs to the type of the target equipment or not;
if the target equipment type is the target equipment type, determining the target equipment type as a legal request;
and if the request does not belong to the target equipment type, determining the request as an illegal request.
Because the network access identifiers applied by the user are divided according to the device types, whether the device type of the target IOT device is the target device type or not can be judged based on the device identifiers carried by the network access identifier distribution request, if the device type of the target IOT device belongs to the target device type, the device type of the target IOT device is considered to be a legal request, otherwise, the device type of the target IOT device is considered to be an illegal request.
In the embodiment of the application, the network access identification carried in the network access identification distribution request sent by the target IOT equipment is associated with the target network access identification, so that the management and distribution of the network access identification distribution are realized, and the distribution accuracy is further improved by verifying the legality of the network access identification distribution request and detecting the response information.
Fig. 3 is a flowchart illustrating an embodiment of a data processing method according to an embodiment of the present application. The method may comprise the steps of:
301: a wireless connection is established with the dispensing device.
302: and receiving the target network access identification sent by the distribution equipment.
The target network access identification is determined by the distribution equipment from unallocated network access identifications.
303: and writing the target network access identification into an IOT module.
Optionally, in some embodiments, before receiving the target network access identifier sent by the distribution device, the method may further include:
and sending a network access identifier distribution request carrying the equipment identifier to the distribution equipment.
As an implementation manner, the sending a network access identifier distribution request carrying a device identifier to the distribution device may include:
and sending a network access identifier distribution request carrying the equipment identifier to the distribution equipment according to a preset rule.
In practical application, after the IOT device is put into service after leaving a factory, authentication and network access are performed on the basis of the target network access identifier written in the IOT module to access the IOT network platform, where after the target network access identifier is written in the IOT module, the method may further include:
and sending the target network access identification to the target IOT network so as to authenticate network access based on the target network access identification.
It can be understood that, the authentication network access process actually sends the target network access identifier to the IOT network platform for the target IOT device, and the IOT network platform verifies the validity of the target IOT device based on the target network access identifier, and if a valid user is verified, the IOT network platform can be accessed and corresponding user rights and interests can be obtained.
Optionally, in some embodiments, the establishing of the wireless connection with the distribution device may include:
accessing the distribution equipment into the same local area network;
the sending the network access identifier distribution request carrying the device identifier to the distribution device may include:
and broadcasting a network access identifier distribution request carrying the equipment identifier in the local area network so as to acquire the target network access identifier from the distribution equipment accessed into the local area network.
As an optional implementation manner, after writing the target network entry identifier into the IOT module, the method may further include:
and generating and sending response information to the distribution equipment.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
It can be understood that the technical solution in this embodiment of the application may be implemented not only when the IOT module is installed in the IOT device, but also when the IOT module alone is used to implement the wireless connection with the distribution device and the storage of the target network access identifier, which is not specifically limited herein.
In the embodiment of the application, the target network access identifier is obtained by establishing the wireless connection between the target IOT equipment and the distribution equipment, so that the target network access identifier is written into the IOT module, and a foundation is laid for the authentication network access of the target IOT equipment based on the target network access identifier.
In practical application, the technical scheme of the application can be suitable for not only the distribution scene of the IOT equipment in the IOT equipment production process, but also the test scene of the IOT equipment.
Optionally, as an implementation, the present application further provides a testing method, which may include
Establishing a wireless connection with a distribution device;
receiving test data sent by the distribution equipment;
testing an IOT module based on the test data and acquiring response data generated by the IOT module;
and sending the response data to the distribution equipment so that the distribution equipment can determine a test result based on the response data.
In the embodiment of the application, the distribution equipment establishes wireless connection with the IOT equipment under the test environment, sends the test data to the IOT module, acquires the response data obtained by the IOT module executing the test data, and determines the test result of the IOT module based on the response data to judge whether the IOT module is qualified. The process does not need to manually participate in the test operation, so that the influence of manual test errors on the test result does not exist, the accuracy of the test result is improved, and the test efficiency of the IOT equipment is also greatly improved.
Fig. 4 is a flowchart illustrating an embodiment of a data processing method according to an embodiment of the present application. The method may comprise the steps of:
401: a wireless connection is established with the dispensing device.
402: detecting whether the target network access identifier is written into the target network access identifier or not; if the target network access identifier is not written in, step 403 is executed.
403: and sending a network access identifier distribution request carrying the equipment identifier to the distribution equipment.
404: and receiving the target network access identification sent by the distribution equipment.
The target network access identification is determined by the distribution equipment from unallocated network access identifications.
405: and writing the target network access identification into an IOT module.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, in order to further improve the production efficiency of the target IOT device, it is detected in advance whether the target access identifier is written into the target IOT device before sending the access identifier distribution request, and it is further detected whether the target access identifier is legal, so that the reduction of the access identifier distribution efficiency of the distribution device due to the repeated occurrence of the access identifier distribution request is avoided.
In practical application, in order to reduce the allocation error of the network access identifier and improve the allocation accuracy, whether the target IOT device meets the distribution condition may be further verified by the server, as described in the following embodiment.
Fig. 5 is a flowchart illustrating an embodiment of a data processing method according to an embodiment of the present application. The method may comprise the steps of:
501: and receiving the device type of the target IOT device sent by the distributing device.
Wherein the distribution device establishes a wireless connection with the target IOT device.
502: and judging whether the target IOT equipment meets the network access identifier distribution condition or not based on the equipment type.
503: if the distribution condition is met, sending a network access identifier distribution instruction to the distribution equipment, so that the distribution equipment determines a target network access identifier from the unallocated network access identifiers and sends the target network access identifier to the target IOT equipment, so as to write the target network access identifier into an IOT module of the target IOT equipment.
Optionally, the distribution device obtains the device type of the target IOT device and sends the device type to the server for verification.
The method comprises the steps that when a server side applies for a network access identifier according to a user, the type of a target device of IOT equipment to be distributed and the type of the target IOT equipment verify whether the type of the equipment is matched with the type of the target device, if matching is successful, the target IOT equipment is determined to meet distribution conditions, a network access identifier distribution instruction for the target IOT equipment is generated, and therefore the distribution equipment determines the target network access identifier based on the network access identifier distribution instruction and sends the target network access identifier to the target IOT equipment.
Optionally, in some embodiments, the determining, based on the device type, whether the target IOT device meets a network entry identifier distribution condition may include:
determining whether the device type belongs to a target device type;
and if the target IOT equipment belongs to the type of the target equipment, determining that the target IOT equipment meets the distribution condition.
As an optional implementation manner, before the receiving the device type of the target IOT device sent by the distribution device, the method may further include:
acquiring a target device type of IOT equipment to be allocated;
determining a network access identifier to be allocated based on the type of the target equipment;
and sending the network access identification to be allocated to the distribution equipment, so that the distribution equipment distributes the network access identification to the IOT equipment to be allocated.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, the distribution condition of the target IOT equipment is verified by combining the server, so that the accuracy and reliability of the distribution of the network access identifier are further improved, and a foundation is laid for improving the distribution efficiency of the network access identifier of the distribution equipment.
Fig. 6 is a flowchart illustrating an embodiment of a networking method according to an embodiment of the present application. The method may comprise the steps of:
601: wireless connections are established with a plurality of IOT devices.
602: and configuring temporary device identifications corresponding to the plurality of IOT devices.
603: and respectively sending the network access identification to be distributed to the plurality of IOT equipment based on the temporary equipment identification so as to respectively write the network access identification to be distributed into the IOT modules corresponding to the plurality of IOT equipment.
In order to improve the distribution efficiency of the network access identifier, embodiments of the present application provide a networking method, which may establish wireless connections between a distribution device and a plurality of IOT devices, so that the network access identifier may be respectively sent to the plurality of IOT devices according to a certain allocation rule.
Optionally, in some embodiments, the configuring the temporary device identifier corresponding to each of the plurality of IOT devices may include:
determining a device number of the plurality of IOT devices;
generating temporary equipment identifications matched with the number of the equipment;
and respectively configuring corresponding temporary equipment identifications for the plurality of IOT equipment according to a preset rule.
In order to facilitate the distribution device to distinguish the plurality of accessed IOT devices, a temporary device identifier may be set for each IOT device, and the temporary device identifier may number the IOT devices according to a preset rule, where the numbering sequence may be based on an access sequence of the IOT devices, or based on a sequence in a network, or may be a random sequence, and the numbering is used as the temporary device identifier. The temporary device identifier may be numbered based on the type of the target device or may be numbered according to any available numbering scheme, which is not specifically limited herein. For example, if the number of access IOT devices is 100, the temporary device identifiers may be numbered and assigned in the form of "001", "002" … "100".
As an optional implementation manner, the sending, based on the temporary device identifier, network access identifiers to be allocated to the plurality of IOT devices, respectively, so as to write the network access identifiers to be allocated into IOT modules corresponding to the plurality of IOT devices, respectively, may include:
establishing an association relation between the temporary equipment identifier and the network access identifier to be distributed;
and sending the network access identification to be allocated to the IOT equipment configured with the corresponding temporary equipment identification based on the association relation so as to write the network access identification to be allocated into the IOT modules corresponding to the IOT equipment respectively.
After the temporary device identifier is generated, an association relationship is established between the temporary device identifier and the network access identifier to be allocated, a one-to-one association relationship may be established in sequence based on the sequence from large to small of the identifier, or an association relationship may be established by random matching, which is not specifically limited herein. And respectively sending the network access identification to the IOT equipment configured with the temporary equipment identification according to the association relationship. The network access identifiers may be distributed simultaneously according to the networking type, or may be distributed sequentially according to a certain distribution sequence, which is not specifically limited herein.
As an optional implementation manner, after the sending, based on the temporary device identifier, the network access identifiers to be allocated to the plurality of IOT devices respectively to write the network access identifiers to be allocated into the IOT modules corresponding to the plurality of IOT devices respectively, the method may further include:
respectively receiving response information carrying actual equipment identification returned by the plurality of IOT equipment; the response information is generated for the IOT equipment with successfully written network access identification;
and replacing the temporary equipment identifier which establishes the association relation with the network access identifier to be distributed with the actual equipment identifier.
In practical application, after the IOT device receives the network access identifier and successfully writes the network access identifier into the IOT module, response information carrying the actual device identifier of the IOT device can be generated, the distribution device replaces the set temporary device identifier with the actual device identifier returned by the IOT device, and reports the association relationship between the actual device identifier and the network access identifier to the server, so that the server verifies whether the IOT device has the network access right based on the association relationship.
Optionally, in some embodiments, the establishing wireless connections with the plurality of IOT devices may include:
establishing a wireless connection with any IOT device;
taking any IOT equipment as a main node; the master node accesses a plurality of IOT devices serving as slave nodes;
and establishing wireless connection with the slave node through the master node.
In practical application, the distribution device may be connected to the IOT device through any wireless network technology such as WIFI or bluetooth, and the networking mode may employ any wireless basic network structure, for example, a mode such as multipoint access or master-slave access, to establish wireless connection with the distribution device, which is not limited specifically herein.
According to the device access capacity of the distribution device, if the access capacity is larger than or equal to the total number of the IOT devices, a multipoint access mode can be adopted, namely each IOT device can establish direct network connection with the distribution device, if the access capacity is smaller than the total number of the IOT devices, at least one IOT device can be set as a main node to access the distribution device, the rest IOT devices are used as slave nodes to respectively access the IOT devices serving as the main nodes, indirect network connection is established with the distribution device, and multi-device networking is achieved. At this time, the master node can realize the processing and control of information and realize the data transmission between the slave nodes and the distribution equipment.
The networking method provided in the embodiment of the application can be applied to any embodiment of the data processing method, and can also be applied to networking among multiple devices in any production, test and other scenes. The network connection performance between the devices can be improved, the data processing efficiency between the devices can be improved, the networking performance test can be realized, and a foundation is further laid for improving the distribution efficiency of the network access identification.
Fig. 7 is a schematic structural diagram of an embodiment of a data processing system according to an embodiment of the present application. The system may include a distribution device 701 and a plurality of IOT devices 702 that establish wireless connections with the distribution device 701.
The distribution device 701 is configured to determine a target network access identifier from the unallocated network access identifiers; and sending the target network access identification to the target IOT device 7021.
The target IOT device 7021 is configured to receive a target network access identifier sent by the distribution device; and writing the target network access identification into an IOT module.
It can be understood that, when the IOT module has the wireless connection function, the distribution device 701 may also directly establish a data distribution system with the IOT module, directly write the target network access identifier into the target IOT module, and install the target IOT module into the corresponding target IOT device in the subsequent production process, which also may achieve the technical effect that can be achieved by the embodiment of the present application, and is not specifically limited herein.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, the data processing system established based on the wireless connection between the distribution equipment and the IOT equipment can realize that the target network access identifier is written into the IOT module of the target IOT equipment, so that a user using the technical scheme can realize the automatic writing of the target network access identifier without preparing a complex production line tool, and the purpose of saving labor cost can be achieved while the production efficiency of the IOT equipment is improved.
Fig. 8 is a schematic structural diagram of an embodiment of a data processing system according to an embodiment of the present application. The system includes a distribution device 701 and a plurality of IOT devices 702 in the embodiment of fig. 7, and further includes a server 703 that establishes a network connection with the distribution device 701; the distribution device 701 may include a data management device 7011 and a network connection device 7012 connected to the data management device 7011;
the server 703 is configured to receive a device type of the target IOT device sent by the distribution device 701, and determine, based on the device type, whether the target IOT device meets a network access identifier distribution condition; and if the distribution condition is met, sending a network access identifier distribution instruction to the distribution equipment.
The distributing device 701 determines that the target network access identifier may include receiving a network access identifier allocation instruction sent by the server from the unallocated network access identifiers; and determining the target network access identification from the unallocated network access identifications based on the network access identification allocation instruction.
Wherein the network connection device 7012 establishes wireless connections with the plurality of IOT devices 702 respectively for establishing data connections between the data management device 7011 and the target IOT device 7021.
In practical applications, the data management device may be a computer device or other intelligent electronic devices, and the network connection device may be a wireless connection device with a wireless connection function, and the wireless connection device may be, for example, a Dongle (Dongle) or a wireless network card, and is not limited herein.
The network connection device 7012 may establish a connection with the data management device 7011 through a wired interface, for example, a USB interface, a serial port, or other communication modes, so that the data management device 7011 may control the network connection device to receive and transmit data.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, the management and the distribution of the network access identification data are realized through the data management equipment, so that the target network access identification is written into an IOT module of the target IOT equipment which establishes data connection with the data management equipment, and a foundation is laid for the authentication network access of the target IOT equipment based on the target network access identification.
Fig. 9 is a schematic structural diagram of an embodiment of a data processing apparatus according to an embodiment of the present application. The apparatus may include:
a first connection module 901, configured to establish a wireless connection with a target IOT device.
A determining module 902, configured to determine a target network access identifier from the unassigned network access identifiers.
Optionally, the distribution device may also be used as a user side to apply for the network access identifier to the internet of things platform. As an implementation manner, before the first connection module 901, the method may further include:
the device type determining module is used for determining the type of a target device corresponding to the IOT device to be allocated;
and the network access identifier acquisition module is used for acquiring the network access identifier to be distributed based on the type of the target equipment.
A first sending module 903, configured to send the target network access identifier to the target IOT device, so as to write the target network access identifier into an IOT module of the target IOT device.
As an implementable implementation, the determining module 902 may specifically be configured to:
determining whether the target IOT equipment meets a network access identifier distribution condition;
and if the distribution condition is met, determining a target network access identifier from the unallocated network access identifiers.
Optionally, the determining whether the target IOT device satisfies the network access identifier distribution condition may specifically be to:
acquiring the device type of the target IOT device;
judging whether the equipment type belongs to a target equipment type;
and if the target IOT equipment belongs to the type of the target equipment, determining that the target IOT equipment meets the distribution condition.
Furthermore, the distribution authority of the target IOT equipment can be verified through the server side, or double verification can be performed by the server side and the distribution equipment side. The determining module 902 may specifically be configured to:
acquiring the device type of the target IOT device and sending the device type to a server, so that the server can judge whether the target IOT device meets the network access identifier distribution condition or not based on the device type;
receiving a network access identifier distribution instruction sent by the server based on the judgment result;
and determining the target network access identification from the unallocated network access identifications.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, wireless connection between the IOT equipment is established through the distribution equipment, and the target network access identification is written into the IOT module of the IOT equipment by utilizing the wireless communication technology for storage, so that the production efficiency of the IOT equipment can be effectively improved, and the labor cost can be greatly reduced.
In practical application, the technical scheme of the application can be applied to not only the distribution scenario of the IOT device in the IOT device production process, but also the test scenario of the IOT device.
Fig. 10 is a schematic structural diagram of an embodiment of a data processing apparatus according to an embodiment of the present application. The apparatus may include:
a first connection module 1001 configured to establish a wireless connection with a target IOT device.
A distribution request receiving module 1002, configured to receive a network access identifier distribution request carrying an device identifier and sent by the target IOT device.
A determining module 1003, configured to determine a target network access identifier from the unallocated network access identifiers.
An association module 1004, configured to establish an association relationship between the device identifier and the target network access identifier.
A first sending module 1005, configured to send the target network access identifier to the target IOT device, so as to write the target network access identifier into the IOT module of the target IOT device.
Optionally, in order to ensure that the target network entry identifier of the IOT device is successfully written, as an implementation, the method may further include:
a response information detection module, configured to detect whether response information returned by the target IOT device is received; if the response information is not detected to be received, executing a retransmission module; and executing a state marking module if the response information is detected to be received.
The retransmission module is configured to retransmit the target network access identifier to the IOT device based on the association relationship;
and the state marking module is used for marking the equipment identification as a successful distribution state.
Optionally, in some embodiments, the determining module 803 may be specifically configured to:
detecting whether the network access identifier is associated with any equipment identifier or not;
if the association is not established, the network access identifier is confirmed to be the unallocated network access identifier;
and determining a target network access identifier from the unallocated network access identifiers according to a preset rule.
Optionally, as an implementable implementation, before the determining module 1003, the method may further include:
the validity detection module is used for detecting whether the network access identifier distribution request sent by the target IOT equipment belongs to a valid request or not; if a legitimate request is detected, determination module 1003 is executed.
Further, the validity detection module may include:
judging whether the equipment identification carried by the network access identification distribution request belongs to the type of the target equipment or not;
if the target equipment type is the target equipment type, determining the target equipment type as a legal request;
and if the request does not belong to the target equipment type, determining the request as an illegal request.
Because the network access identifiers applied by the user are divided according to the device types, whether the device type of the target IOT device is the target device type or not can be judged based on the device identifiers carried by the network access identifier distribution request, if the device type of the target IOT device belongs to the target device type, the device type of the target IOT device is considered to be a legal request, otherwise, the device type of the target IOT device is considered to be an illegal request.
In the embodiment of the application, the network access identification carried in the network access identification distribution request sent by the target IOT equipment is associated with the target network access identification, so that the management and distribution of the network access identification distribution are realized, and the distribution accuracy is further improved by verifying the legality of the network access identification distribution request and detecting the response information.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, the network access identification carried in the network access identification distribution request sent by the target IOT equipment is associated with the target network access identification, so that the management and distribution of the network access identification distribution are realized, and the distribution accuracy is further improved by verifying the legality of the network access identification distribution request and detecting the response information.
Fig. 11 is a schematic structural diagram of an embodiment of a data processing apparatus according to an embodiment of the present application. The apparatus may include:
a second connection module 1101 for establishing a wireless connection with the distribution device.
A network access identifier receiving module 1102, configured to receive a target network access identifier sent by the distribution device.
The target network access identification is determined by the distribution equipment from unallocated network access identifications.
A storage module 1103, configured to write the target network access identifier into the IOT module.
Optionally, in some embodiments, before the network entry identifier receiving module 1102, the method may further include:
and the distribution request sending module is used for sending a network access identifier distribution request carrying the equipment identifier to the distribution equipment.
As an implementation manner, the distribution request sending module may specifically be configured to:
and sending a network access identifier distribution request carrying the equipment identifier to the distribution equipment according to a preset rule.
In practical application, after the IOT device leaves the factory and is put into use, it needs to perform authentication and network access based on the target network access identifier written in the IOT module to access the IOT network platform, and after the storage module 1103, the method may further include:
and the authentication module is used for sending the target network access identifier to the target IOT network so as to authenticate network access based on the target network access identifier.
It can be understood that, the authentication network access process actually sends the target network access identifier to the IOT network platform for the target IOT device, and the IOT network platform verifies the validity of the target IOT device based on the target network access identifier, and if a valid user is verified, the IOT network platform can be accessed and corresponding user rights and interests can be obtained.
Optionally, in some embodiments, the second connection module 1101 may be specifically configured to:
accessing the distribution equipment into the same local area network;
the distribution request sending module may specifically be configured to:
and broadcasting a network access identifier distribution request carrying the equipment identifier in the local area network so as to acquire the target network access identifier from the distribution equipment accessed into the local area network.
As an optional implementation manner, after the storing module 1103, the method may further include:
and the response information sending module is used for generating and sending response information to the distribution equipment.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
It can be understood that the technical solution in this embodiment of the present application may be implemented or installed in the IOT device, or may also be implemented by only using a single IOT module to implement wireless connection with the distribution device and store the target network access identifier, which is not limited in this embodiment.
In the embodiment of the application, the target network access identifier is obtained by establishing the wireless connection between the target IOT equipment and the distribution equipment, so that the target network access identifier is written into the IOT module, and a foundation is laid for the authentication network access of the target IOT equipment based on the target network access identifier.
In practical application, the technical scheme of the application can be applied to not only the distribution scenario of the IOT device in the IOT device production process, but also the test scenario of the IOT device.
Fig. 12 is a schematic structural diagram of an embodiment of a data processing apparatus according to an embodiment of the present application. The apparatus may include:
a second connection module 1201, configured to establish a wireless connection with a distribution device.
A detecting module 1202, configured to detect whether the target network access identifier is written into the detecting module; and if the target network access identifier is not written in, triggering a second sending module 1203.
A second sending module 1203, configured to send a network access identifier distribution request carrying an apparatus identifier to the distribution apparatus.
A network access identifier receiving module 1204, configured to receive the target network access identifier sent by the distribution device.
The target network access identification is determined by the distribution equipment from unallocated network access identifications.
And a storage module 1205, configured to write the target network access identifier into the IOT module.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, in order to further improve the production efficiency of the target IOT device, it is detected in advance whether the target access identifier is written into the target IOT device before sending the access identifier distribution request, and it is further detected whether the target access identifier is legal, so that the reduction of the access identifier distribution efficiency of the distribution device due to the repeated occurrence of the access identifier distribution request is avoided.
Fig. 13 is a schematic structural diagram of an embodiment of a data processing apparatus according to an embodiment of the present application. The apparatus may include:
a device type receiving module 1301, configured to receive the device type of the target IOT device sent by the distribution device.
Wherein the distribution device establishes a wireless connection with the target IOT device.
A determining module 1302, configured to determine, based on the device type, whether the target IOT device meets a network access identifier distribution condition.
An allocation instruction sending module 1303, configured to send a network access identifier allocation instruction to the distribution device if the distribution condition is met, so that the distribution device determines a target network access identifier from non-allocated network access identifiers and sends the target network access identifier to the target IOT device, so as to write the target network access identifier into the IOT module of the target IOT device.
Optionally, in some embodiments, the determining module 1302 may be specifically configured to:
determining whether the device type belongs to a target device type;
and if the target IOT equipment belongs to the type of the target equipment, determining that the target IOT equipment meets the distribution condition.
As an optional implementation manner, before the device type receiving module 1301, the method may further include:
the target equipment type acquisition module is used for acquiring the target equipment type of the IOT equipment to be allocated;
and the network access identifier determining module is used for determining the network access identifier to be distributed based on the type of the target equipment.
A third sending module, configured to send the network access identifier to be allocated to the distribution device, so that the distribution device distributes the network access identifier to the IOT device to be allocated.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, the distribution condition of the target IOT equipment is verified by combining the server, so that the accuracy and reliability of the distribution of the network access identifier are further improved, and a foundation is laid for improving the distribution efficiency of the network access identifier of the distribution equipment.
Fig. 14 is a schematic structural diagram of an embodiment of a networking device according to an embodiment of the present application. The apparatus may include:
a wireless connection module 1401 for establishing wireless connection with a plurality of IOT devices.
A configuration module 1402, configured to configure temporary device identifiers corresponding to the plurality of IOT devices.
A fourth sending module 1403, configured to send the network access identifiers to be allocated to the multiple IOT devices respectively based on the temporary device identifier, so as to write the network access identifiers to be allocated into the respective IOT modules of the multiple IOT devices respectively.
Optionally, in some embodiments, the configuration module 1402 may be specifically configured to:
determining a device number of the plurality of IOT devices;
generating temporary equipment identifications matched with the number of the equipment;
and respectively configuring corresponding temporary equipment identifications for the plurality of IOT equipment according to a preset rule.
As an optional implementation manner, the fourth sending module 1403 may specifically be configured to:
establishing an association relation between the temporary equipment identifier and the network access identifier to be distributed;
and sending the network access identification to be allocated to the IOT equipment configured with the corresponding temporary equipment identification based on the association relation so as to write the network access identification to be allocated into the IOT modules corresponding to the IOT equipment respectively.
As an optional implementation manner, after the fourth sending module 1403, the method may further include:
a response information receiving module, configured to receive response information carrying actual device identifiers and returned by the plurality of IOT devices, respectively; the response information is generated for the IOT equipment with successfully written network access identification;
and the replacing module is used for replacing the temporary equipment identifier which establishes the association relation with the network access identifier to be distributed with the actual equipment identifier.
Optionally, in some embodiments, the wireless connection module 1401 may be specifically configured to:
establishing a wireless connection with any IOT device;
taking any IOT equipment as a main node; the master node accesses a plurality of IOT devices serving as slave nodes;
and establishing wireless connection with the slave node through the master node.
The networking method provided in the embodiment of the application can be applied to any embodiment of the data processing method, and can also be applied to networking among multiple devices in any production, test and other scenes. The network connection performance between the devices can be improved, the data processing efficiency between the devices can be improved, the networking performance test can be realized, and a foundation is further laid for improving the distribution efficiency of the network access identification.
Fig. 15 is a schematic structural diagram of an embodiment of a computer device according to an embodiment of the present disclosure, where the computer device may include a processing component 1501 and a storage component 1502.
The storage component 1502 is configured to store one or more computer instructions; the one or more computer instructions are to be invoked for execution by the processing component 1501.
The processing component 1501 may be configured to:
establishing a wireless connection with a target IOT device;
determining a target network access identifier from the unallocated network access identifiers;
and sending the target network access identification to the target IOT equipment so as to write the target network access identification into an IOT module of the target IOT equipment.
The processing component 1501 may include one or more processors executing computer instructions to perform all or part of the steps of the above-described method. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1502 is configured to store various types of data to support operations in the server. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the computer device may of course also comprise other components, such as input/output interfaces, communication components, etc.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as with a terminal.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the data processing method in the embodiments shown in fig. 1 and fig. 2 can be implemented.
Fig. 16 is a schematic structural diagram of an embodiment of an IOT device according to an embodiment of the present disclosure, where the computer device may include a processing component 1601 and a storage component 1602.
The storage component 1602 is to store one or more computer instructions; the one or more computer instructions are for execution as invoked by the processing component 1601.
The processing component 1601 may be configured to:
establishing a wireless connection with a distribution device;
receiving a target network access identifier sent by the distribution equipment; the target network access identification is determined by the distribution equipment from unallocated network access identifications;
and writing the target network access identification into an IOT module.
Processing component 1601 may include one or more processors executing computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1602 is configured to store various types of data to support operations in the server. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the IOT device may also include other components such as input/output interfaces, communication components, and the like.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as with a terminal.
The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the data processing method of the embodiments shown in fig. 3 and fig. 4 can be implemented.
Fig. 17 is a schematic structural diagram of an embodiment of a server according to an embodiment of the present disclosure, and the computer device may include a processing component 1701 and a storage component 1702.
The storage component 1702 is configured to store one or more computer instructions; the one or more computer instructions are to be invoked for execution by the processing component 1701.
The processing component 1701 may be configured to:
receiving the device type of the target IOT device sent by the distribution device; wherein the distribution device establishes a wireless connection with the target IOT device;
judging whether the target IOT equipment meets the network access identification distribution condition or not based on the equipment type;
if the distribution condition is met, sending a network access identifier distribution instruction to the distribution equipment, so that the distribution equipment determines a target network access identifier from the unallocated network access identifiers and sends the target network access identifier to the target IOT equipment, so as to write the target network access identifier into an IOT module of the target IOT equipment.
The processing component 1701 may include one or more processors executing computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1702 is configured to store various types of data to support operations in the server. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the server may of course also comprise other components, such as input/output interfaces, communication components, etc.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as with a terminal.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the data processing method of the embodiment shown in fig. 5 may be implemented.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (34)

1. A data processing method, comprising:
establishing a wireless connection with a target IOT device;
determining a target network access identifier from the unallocated network access identifiers;
and sending the target network access identification to the target IOT equipment so as to write the target network access identification into an IOT module of the target IOT equipment.
2. The method of claim 1, wherein after establishing the wireless connection with the target IOT device, further comprising:
and receiving a network access identifier distribution request carrying the device identifier and sent by the target IOT device.
3. The method of claim 2, wherein after determining the target network access identifier from the unassigned network access identifiers, the method further comprises:
and establishing an association relation between the equipment identifier and the target network access identifier.
4. The method of claim 3, further comprising:
detecting whether response information returned by the target IOT equipment is received or not;
if the response information is not received, the target network access identification is retransmitted to the IOT equipment based on the incidence relation;
and if the response information is detected to be received, marking the equipment identification as an allocation success state.
5. The method of claim 3, wherein the determining a target network entry identifier from the unassigned network entry identifiers comprises:
detecting whether the network access identifier is associated with any equipment identifier or not;
if the association is not established, the network access identifier is confirmed to be the unallocated network access identifier;
and determining a target network access identifier from the unallocated network access identifiers according to a preset rule.
6. The method of claim 2, wherein before determining the target network entry identifier from the unassigned network entry identifiers, the method further comprises:
detecting whether the network access identification distribution request sent by the target IOT equipment belongs to a legal request or not;
and if the request is detected to be a legal request, the step of determining the target network access identification from the unallocated network access identifications is executed.
7. The method of claim 6, wherein the detecting whether the network access identifier distribution request sent by the target IOT device belongs to a legal request comprises:
judging whether the equipment identification carried by the network access identification distribution request belongs to the type of the target equipment or not;
if the target equipment type is the target equipment type, determining the target equipment type as a legal request;
and if the request does not belong to the target equipment type, determining the request as an illegal request.
8. The method of claim 1, wherein prior to establishing the wireless connection with the target IOT device, further comprising:
determining a target device type corresponding to the IOT device to be allocated;
and acquiring the network access identification to be distributed based on the type of the target equipment.
9. The method of claim 1, wherein the determining a target network entry identifier from the unassigned network entry identifiers comprises:
determining whether the target IOT equipment meets a network access identifier distribution condition;
and if the distribution condition is met, determining a target network access identifier from the unallocated network access identifiers.
10. The method of claim 9, wherein determining whether the target IOT device satisfies a network entry identity distribution condition comprises:
acquiring the device type of the target IOT device;
judging whether the equipment type belongs to a target equipment type;
and if the target IOT equipment belongs to the type of the target equipment, determining that the target IOT equipment meets the distribution condition.
11. The method of claim 1, wherein the determining a target network entry identifier from the unassigned network entry identifiers comprises:
acquiring the device type of the target IOT device and sending the device type to a server, so that the server can judge whether the target IOT device meets the network access identifier distribution condition or not based on the device type;
receiving a network access identifier distribution instruction sent by the server based on the judgment result;
and determining the target network access identification from the unallocated network access identifications.
12. A data processing method, comprising:
establishing a wireless connection with a distribution device;
receiving a target network access identifier sent by the distribution equipment; the target network access identification is determined by the distribution equipment from unallocated network access identifications;
and writing the target network access identification into an IOT module.
13. The method of claim 12, wherein before receiving the target network access identifier sent by the distribution device, the method further comprises:
and sending a network access identifier distribution request carrying the equipment identifier to the distribution equipment.
14. The method according to claim 13, wherein before sending the network access identifier distribution request carrying the device identifier to the distribution device, further comprising:
detecting whether the target network access identifier is written into the target network access identifier or not;
and if the target network access identification is not written in, executing a step of sending a network access identification distribution request carrying the equipment identification to the distribution equipment.
15. The method of claim 13, wherein the sending a network access identifier distribution request carrying a device identifier to the distribution device comprises:
and sending a network access identifier distribution request carrying the equipment identifier to the distribution equipment according to a preset rule.
16. The method of claim 12, wherein after writing the target network entry identifier into the IOT module, further comprising:
and sending the target network access identification to the target IOT network so as to authenticate network access based on the target network access identification.
17. The method of claim 13, wherein the establishing a wireless connection with the distribution device comprises:
accessing the distribution equipment into the same local area network;
the sending of the network access identifier distribution request carrying the device identifier to the distribution device includes:
and broadcasting a network access identifier distribution request carrying the equipment identifier in the local area network so as to acquire the target network access identifier from the distribution equipment accessed into the local area network.
18. The method of claim 12, wherein after writing the target network entry identifier into the IOT module, further comprising: and generating and sending response information to the distribution equipment.
19. A data processing method, comprising:
receiving the device type of the target IOT device sent by the distribution device; wherein the distribution device establishes a wireless connection with the target IOT device;
judging whether the target IOT equipment meets the network access identification distribution condition or not based on the equipment type;
if the distribution condition is met, sending a network access identifier distribution instruction to the distribution equipment, so that the distribution equipment determines a target network access identifier from the unallocated network access identifiers and sends the target network access identifier to the target IOT equipment, so as to write the target network access identifier into an IOT module of the target IOT equipment.
20. The method of claim 19, wherein the determining whether the target IOT device meets a network entry identity distribution condition based on the device type comprises:
determining whether the device type belongs to a target device type;
and if the target IOT equipment belongs to the type of the target equipment, determining that the target IOT equipment meets the distribution condition.
21. The method of claim 19, wherein the receiving the device type of the target IOT device sent by the distributing device is preceded by:
acquiring a target device type of IOT equipment to be allocated;
determining a network access identifier to be allocated based on the type of the target equipment;
and sending the network access identification to be allocated to the distribution equipment, so that the distribution equipment distributes the network access identification to the IOT equipment to be allocated.
22. A networking method, comprising:
establishing wireless connections with a plurality of IOT devices;
configuring temporary device identifications corresponding to the plurality of IOT devices;
and respectively sending the network access identification to be distributed to the plurality of IOT equipment based on the temporary equipment identification so as to respectively write the network access identification to be distributed into the IOT modules corresponding to the plurality of IOT equipment.
23. The method of claim 22, wherein the configuring the temporary device identifications corresponding to the plurality of IOT devices comprises:
determining a device number of the plurality of IOT devices;
generating temporary equipment identifications matched with the number of the equipment;
and respectively configuring corresponding temporary equipment identifications for the plurality of IOT equipment according to a preset rule.
24. The method of claim 22, wherein the sending the network access identifiers to be allocated to the plurality of IOT devices, respectively, based on the temporary device identifier, so as to write the network access identifiers to be allocated to the IOT modules corresponding to the plurality of IOT devices, respectively, comprises:
establishing an association relation between the temporary equipment identifier and the network access identifier to be distributed;
and sending the network access identification to be allocated to the IOT equipment configured with the corresponding temporary equipment identification based on the association relation so as to write the network access identification to be allocated into the IOT modules corresponding to the IOT equipment respectively.
25. The method of claim 24, wherein after the sending the network access identifiers to be allocated to the plurality of IOT devices respectively based on the temporary device identifier to write the network access identifiers to be allocated into the IOT modules corresponding to the plurality of IOT devices respectively, the method further comprises:
respectively receiving response information carrying actual equipment identification returned by the plurality of IOT equipment; the response information is generated for the IOT equipment with successfully written network access identification;
and replacing the temporary equipment identifier which establishes the association relation with the network access identifier to be distributed with the actual equipment identifier.
26. The method of claim 22, wherein establishing wireless connections with a plurality of IOT devices comprises:
establishing a wireless connection with any IOT device;
taking any IOT equipment as a main node; the master node accesses a plurality of IOT devices serving as slave nodes;
and establishing wireless connection with the slave node through the master node.
27. A data processing system comprises a distribution device and a plurality of IOT devices which establish wireless connection with the distribution device;
the distribution equipment is used for determining a target network access identifier from the unallocated network access identifiers; sending the target network access identification to target IOT equipment;
the target IOT equipment is used for receiving a target network access identifier sent by the distribution equipment; and writing the target network access identification into an IOT module.
28. The system of claim 27, further comprising a server that establishes a network connection with the distribution device; the distribution equipment comprises data management equipment and network connection equipment connected with the data management equipment; wherein the network connection device establishes wireless connections with the plurality of IOT devices, respectively, for establishing data connections between the data management device and the target IOT device;
the server is used for receiving the device type of the target IOT device sent by the distribution device, and judging whether the target IOT device meets the network access identifier distribution condition or not based on the device type; if the distribution condition is met, sending a network access identifier distribution instruction to the distribution equipment;
the distribution equipment determines a target network access identifier from the unallocated network access identifiers, wherein the target network access identifier comprises a network access identifier allocation instruction sent by the server; and determining the target network access identification from the unallocated network access identifications based on the network access identification allocation instruction.
29. A method of testing, comprising:
establishing a wireless connection with a target IOT device;
sending test data to the target IOT equipment so that the target IOT equipment can test the IOT module based on the test data;
and receiving response data returned by the target IOT equipment and determining a test result based on the response data.
30. A test method is characterized by comprising
Establishing a wireless connection with a distribution device;
receiving test data sent by the distribution equipment;
testing an IOT module based on the test data and acquiring response data generated by the IOT module;
and sending the response data to the distribution equipment so that the distribution equipment can determine a test result based on the response data.
31. A data processing apparatus, comprising:
a first connection module to establish a wireless connection with a target IOT device;
the determining module is used for determining a target network access identifier from the unallocated network access identifiers;
a first sending module, configured to send the target network access identifier to the target IOT device, so as to write the target network access identifier into an IOT module of the target IOT device.
32. A data processing apparatus, comprising:
the second connection module is used for establishing wireless connection with the distribution equipment;
the network access identifier receiving module is used for receiving the target network access identifier sent by the distribution equipment; the target network access identification is determined by the distribution equipment from unallocated network access identifications;
and the storage module is used for writing the target network access identification into the IOT module.
33. A computer device comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing a wireless connection with a target IOT device;
determining a target network access identifier from the unallocated network access identifiers;
and sending the target network access identification to the target IOT equipment so as to write the target network access identification into an IOT module of the target IOT equipment.
34. An IOT device comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing a wireless connection with a distribution device;
receiving a target network access identifier sent by the distribution equipment; the target network access identification is determined by the distribution equipment from unallocated network access identifications;
and writing the target network access identification into an IOT module.
CN201911158773.1A 2019-11-22 2019-11-22 Data processing method, networking method, testing method, system, device and equipment Pending CN112839390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911158773.1A CN112839390A (en) 2019-11-22 2019-11-22 Data processing method, networking method, testing method, system, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911158773.1A CN112839390A (en) 2019-11-22 2019-11-22 Data processing method, networking method, testing method, system, device and equipment

Publications (1)

Publication Number Publication Date
CN112839390A true CN112839390A (en) 2021-05-25

Family

ID=75922632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911158773.1A Pending CN112839390A (en) 2019-11-22 2019-11-22 Data processing method, networking method, testing method, system, device and equipment

Country Status (1)

Country Link
CN (1) CN112839390A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070824A (en) * 2021-11-17 2022-02-18 远景智能国际私人投资有限公司 Registration method, registration cloud service, medium, and program product for internet of things device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259817A1 (en) * 2007-04-17 2008-10-23 Jeffrey Kevin Jeansonne Media access control (MAC) address management system and method
KR20110036393A (en) * 2009-10-01 2011-04-07 삼성전기주식회사 Mac address allocation method
CN103581356A (en) * 2012-08-10 2014-02-12 海尔集团公司 MAC address distribution method
CN108712518A (en) * 2018-05-29 2018-10-26 郑州云海信息技术有限公司 A kind of distribution method and system of end product MAC Address
CN109144531A (en) * 2018-08-08 2019-01-04 上海庆科信息技术有限公司 The approaches to IM and device of programming system and its server
CN110401934A (en) * 2018-04-25 2019-11-01 中移物联网有限公司 A kind of method of management equipment, management equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259817A1 (en) * 2007-04-17 2008-10-23 Jeffrey Kevin Jeansonne Media access control (MAC) address management system and method
KR20110036393A (en) * 2009-10-01 2011-04-07 삼성전기주식회사 Mac address allocation method
CN103581356A (en) * 2012-08-10 2014-02-12 海尔集团公司 MAC address distribution method
CN110401934A (en) * 2018-04-25 2019-11-01 中移物联网有限公司 A kind of method of management equipment, management equipment and computer readable storage medium
CN108712518A (en) * 2018-05-29 2018-10-26 郑州云海信息技术有限公司 A kind of distribution method and system of end product MAC Address
CN109144531A (en) * 2018-08-08 2019-01-04 上海庆科信息技术有限公司 The approaches to IM and device of programming system and its server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070824A (en) * 2021-11-17 2022-02-18 远景智能国际私人投资有限公司 Registration method, registration cloud service, medium, and program product for internet of things device
CN114070824B (en) * 2021-11-17 2023-12-05 远景智能国际私人投资有限公司 Registration method of Internet of things equipment, registration cloud server and medium

Similar Documents

Publication Publication Date Title
CN107493280A (en) Method, intelligent gateway and the certificate server of user authentication
EP2658207B1 (en) Authorization method and terminal device
US20120078548A1 (en) Utility Device Management
CN106464556B (en) Node network access method, device and system
CN110909379B (en) Storage cluster permission determination method, device, equipment and storage medium
CN105162787A (en) Method and apparatus of external network terminal for accessing manufacture device or internal network terminal
CN109660545B (en) Alliance chain consensus method and computer storage medium
CN105744555B (en) A kind of terminal maintenance method, maintenance device and NM server
CN105577757A (en) Multilevel management system of intelligent power terminals based on load balancing and authentication method thereof
CN105007164A (en) Centralized safety control method and device
CN101478419B (en) Network equipment management method and system thereof
CN105812413B (en) Communication method and device
CN110647583B (en) Block chain construction method, device, terminal and medium
CN103546528A (en) Distributed message pushing method and system
CN112839390A (en) Data processing method, networking method, testing method, system, device and equipment
CN103888435A (en) Service admission control method, device and system
CN104243625A (en) IP address distribution method and device
CN102685115A (en) Resource access method, resource management device and system
EP3769553B1 (en) Method and system for authorising the communication of a network node
CN106162515B (en) Method, device and system for machine type communication safety communication
CN109981813A (en) Message processing method and device
CN108306875B (en) Method and device for controlling access of wired terminal
CN110868466A (en) Storage method, system and equipment for distributed storage network
CN105391720A (en) User terminal login method and device
CN113098737B (en) User node admission control method and device and electronic equipment

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