Data processing method, networking method, testing method, system, device and equipment
Through wireless connection with IoT devices, the problem of low efficiency and high cost of manual burning in IoT devices is solved, and efficient and low-cost network entry identification allocation is achieved.
Patent Information
- Application Number
- CN201911158773.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-22
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2039-11-22
AI Technical Summary
In the production of IoT devices, manual burning of network marking is inefficient and costly, making it difficult to meet the rapid allocation needs of a large number of orders.
By establishing a wireless connection with the target IOT device, the target network entry identifier is automatically determined and sent from the unassigned network entry identifier to the IOT module, wireless data transmission is realized and the network entry identifier writing process is automated.
It improves the production efficiency of IoT devices, reduces labor costs, simplifies the distribution process of network entry identification, and enhances production efficiency and accuracy.
Smart Images

Figure CN112839390B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of network technology, and in particular to a data processing method, a networking method, a testing method, a data processing system, a device and equipment. Background Art
[0002] With the rapid development of Internet of Things (IOT) technology, IoT has been gradually applied to various fields, such as smart home, smart transportation, smart logistics, public safety, etc. IoT modules are an important part of IoT devices. For example, in the field of smart home, refrigerators, lights, TVs, speakers and other home appliances need to install IoT modules during the generation process to become IoT devices, so as to access the IoT system through IoT modules.
[0003] In actual applications, the IoT system pre-assigns unique triplet information to each device based on the device type and device order quantity requested by the user. During the production of IoT devices, the assigned unique triplet information needs to be burned into the IoT module so that the IoT module can be connected to the IoT system based on the unique triplet information.
[0004] In the prior art, when producing IoT devices, production line workers connect IoT modules through tooling and burn information such as triples into each IoT module one by one, which results in low production efficiency and greatly increases labor costs. Summary of the invention
[0005] The embodiments of the present application provide a data processing method, a testing method, a data processing system, a device and equipment, which can effectively improve the production efficiency of IOT devices.
[0006] In a first aspect, an embodiment of the present application provides a data processing method, comprising:
[0007] Establish a wireless connection with the target IOT device;
[0008] Determine a target network access identifier from unallocated network access identifiers;
[0009] The target network access identifier is sent to the target IOT device to write the target network access identifier into the IOT module of the target IOT device.
[0010] In a second aspect, an embodiment of the present application provides a data processing method, including:
[0011] establishing a wireless connection with a distribution device;
[0012] Receiving a target network access identifier sent by the distribution device; wherein the target network access identifier is determined by the distribution device from unallocated network access identifiers;
[0013] The target network access identifier is written into the IOT module.
[0014] In a third aspect, an embodiment of the present application provides a data processing method, including:
[0015] 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;
[0016] Based on the device type, determine whether the target IOT device meets the network access identification distribution conditions;
[0017] If the distribution condition is met, a network access identifier allocation instruction is sent to the distribution device, so that the distribution device can determine the target network access identifier from the unallocated network access identifiers and 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.
[0018] In a fourth aspect, an embodiment of the present application provides a networking method, including:
[0019] Establish wireless connections with multiple IOT devices;
[0020] Configure temporary device identifiers corresponding to each of the multiple IOT devices;
[0021] Based on the temporary device identifier, the network access identifier to be allocated is sent to the multiple IOT devices respectively, so that the network access identifier to be allocated is written into the IOT modules corresponding to the multiple IOT devices respectively.
[0022] 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 a wireless connection with the distribution device;
[0023] The distribution device is used to determine a target network access identifier from an unallocated network access identifier; and send the target network access identifier to a target IOT device;
[0024] The target IOT device is used to receive the target network access identifier sent by the distribution device; and write the target network access identifier into the IOT module.
[0025] In a sixth aspect, an embodiment of the present application provides a testing method, comprising:
[0026] Establish a wireless connection with the target IOT device;
[0027] Sending test data to the target IOT device, so that the target IOT device can test the IOT module based on the test data;
[0028] Receive response data returned by the target IOT device and determine a test result based on the response data.
[0029] In a seventh aspect, an embodiment of the present application provides a testing method, comprising:
[0030] establishing a wireless connection with a distribution device;
[0031] receiving test data sent by the distribution device;
[0032] Testing the IOT module based on the test data and obtaining response data generated by the IOT module;
[0033] The response data is sent to the distribution device so that the distribution device determines a test result based on the response data.
[0034] In an eighth aspect, an embodiment of the present application provides a data processing device, including:
[0035] A first connection module, used to establish a wireless connection with a target IOT device;
[0036] A determination module, used for determining a target network access identifier from unallocated network access identifiers;
[0037] The first sending module is used 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.
[0038] In a ninth aspect, an embodiment of the present application provides a data processing device, including:
[0039] A second connection module, used to establish a wireless connection with the distribution device;
[0040] A network access identifier receiving module, used to receive a target network access identifier sent by the distribution device; wherein the target network access identifier is determined by the distribution device from unallocated network access identifiers;
[0041] The storage module is used to write the target network access identifier into the IOT module.
[0042] In a tenth aspect, an embodiment of the present application provides 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 are used to be called and executed by the processing component;
[0043] The processing component is used to:
[0044] Establish a wireless connection with the target IOT device;
[0045] Determine a target network access identifier from unallocated network access identifiers;
[0046] The target network access identifier is sent to the target IOT device to write the target network access identifier into the IOT module of the target IOT device.
[0047] In an eleventh aspect, an IoT device is provided in an embodiment of the present application, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0048] The processing component is used to:
[0049] establishing a wireless connection with a distribution device;
[0050] Receiving a target network access identifier sent by the distribution device; wherein the target network access identifier is determined by the distribution device from unallocated network access identifiers;
[0051] The target network access identifier is written into the IOT module.
[0052] Compared with the prior art, the present application can obtain the following technical effects:
[0053] The embodiment of the present application provides a data processing method, which enables the distribution device to perform wireless data transmission with the target IOT device by establishing a wireless connection with the target IOT module. The distribution device automatically determines the target network access identifier from the unassigned network access identifier, and sends it to the target IOT device through wireless transmission, thereby automatically writing the target network access identifier into the IOT module of the target IOT device. It can not only effectively improve the production efficiency of IOT devices, but also greatly reduce labor costs.
[0054] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0056] Figure 1 A schematic diagram showing a flow chart of an embodiment of a data processing method provided by the present application is shown;
[0057] Figure 2 A flow chart showing another embodiment of a data processing method provided by the present application is shown;
[0058] Figure 3 A flow chart showing another embodiment of a data processing method provided by the present application is shown;
[0059] Figure 4 A flow chart showing another embodiment of a data processing method provided by the present application is shown;
[0060] Figure 5 A flow chart showing another embodiment of a data processing method provided by the present application is shown;
[0061] Figure 6 A schematic diagram showing a flow chart of an embodiment of a networking method provided by the present application is shown;
[0062] Figure 7 A schematic diagram showing the structure of an embodiment of a data processing system provided by the present application is shown;
[0063] Figure 8 A schematic diagram showing the structure of an embodiment of a data processing system provided by the present application is shown;
[0064] Fig. 9 A schematic diagram showing the structure of an embodiment of a data processing device provided by the present application is shown;
[0065] Fig.10 A structural schematic diagram of another embodiment of a data processing device provided by the present application is shown;
[0066] Fig.11 A schematic structural diagram of another embodiment of a data processing device provided by the present application is shown;
[0067] Fig.12 A schematic structural diagram of another embodiment of a data processing device provided by the present application is shown;
[0068] Fig.13 A schematic structural diagram of another embodiment of a data processing device provided by the present application is shown;
[0069] Fig.14 A schematic diagram showing the structure of an embodiment of a networking device provided by the present application is shown;
[0070] Fig.15 A schematic diagram showing the structure of an embodiment of a computer device provided by the present application is shown;
[0071] Fig.16 A schematic diagram of the structure of an IOT device according to an embodiment of the present application is shown;
[0072] Fig.17 A structural diagram of an embodiment of a server provided according to the present application is shown. DETAILED DESCRIPTION
[0073] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0074] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0075] When users produce IOT products, they need to first apply to the IOT network platform for the device type and order quantity of the IOT devices they plan to produce. The platform will assign the user a corresponding network access ID based on the device type and order quantity of the IOT devices they apply for. Users need to write the network access ID into the IOT modules of the IOT devices they plan to produce. In the prior art, production line workers connect the Internet of Things modules through tooling and burn the network access IDs into each IOT network module one by one, which results in low production efficiency. Moreover, for some users who have great uncertainty about the planned production order quantity and device type, updating the network access ID in the IOT module requires re-burning, which greatly increases labor costs and management costs.
[0076] Therefore, in order to improve the production efficiency of IOT devices, the inventors proposed the technical solution of this application after a series of studies. In the embodiment of this application, by establishing a wireless connection with the target IOT module, the distribution device can perform wireless data transmission with the target IOT device. The distribution device automatically determines the target network access identifier from the unassigned network access identifier, and sends it to the target IOT device through wireless transmission, thereby automatically writing the target network access identifier into the IOT module of the target IOT device. It can not only effectively improve the production efficiency of IOT devices, but also greatly reduce labor costs.
[0077] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0078] Figure 1 A flowchart of an embodiment of a data processing method provided in an embodiment of the present application. The method may include the following steps:
[0079] 101: Establish a wireless connection with the target IOT device.
[0080] In actual applications, the distribution device can be a computer device or other intelligent electronic device that includes a wireless module or has a wireless connection function. It can be understood that when the computer device or intelligent electronic device does not have a wireless connection function, it can be enabled to have a wireless connection function through an external wireless connection device. The wireless connection device can be, for example, a Dongle (software protector) or a wireless network card, etc., which is not specifically limited here.
[0081] IOT devices can be smart homes, smart door locks, smart vehicles, smart logistics, etc. The IOT devices include IOT modules with wireless connection functions, which can be connected to the Internet of Things system platform based on the IOT modules. Based on the wireless connection function of the IOT module, in the process of producing IOT devices, by establishing a wireless connection between the distribution device and the IOT device, the distribution device can communicate data with the IOT device through wireless connection. In the production test environment, it can not only ensure the reliability and real-time performance of data communication, but also reduce the labor cost of connecting tooling lines and avoid data burning failures caused by line connection problems.
[0082] In order to further save labor costs, a wireless connection frequency band can be set in a production or test environment, and the distribution device and the target IOT device can be connected to the wireless local area network established by the frequency band, so that the distribution device and the target IOT device can establish wireless communication. It is understandable that the IOT device can also be automatically matched and wirelessly connected by setting an automatic matching method such as Bluetooth, WIFI, etc., which is not specifically limited here.
[0083] 102: Determine a target network access identifier from unallocated network access identifiers.
[0084] The network access identifier is the identity identifier assigned by the IoT platform to the IoT device. The platform can verify the legitimacy of the IoT device based on the identity identifier to authenticate the IoT device. Commonly used network access identifiers include, for example, triple information: ProductID (product identifier), MAC (Media Access Control Address) and the device's Secret (secret key).
[0085] The distribution device can be used to manage and allocate network access identifiers. In actual applications, the distribution device can establish a connection with the IoT system platform and pre-acquire the network access identifier allocated by the IoT platform based on the device type and order quantity of the IoT device applied for by the user. Of course, in the case where it is inconvenient to establish a connection with the IoT platform in a production test environment, the user can also obtain the network access identifier from the IoT platform in advance through any other device and send the network access identifier to the distribution device, which is not specifically limited here.
[0086] In actual applications, since the Internet of Things platform will pre-classify the device types of IOT devices, different types of IOT devices correspond to device type identifiers, which can be reflected in the network access identifier, so that the Internet of Things platform can determine the device type of the IOT device based on the network access identifier to achieve classified control and management of the IOT device.
[0087] In order to avoid errors in the distribution of network access identifiers and improve the accuracy of the distribution of network access identifiers, it is possible to verify in advance whether the target IoT device has the distribution authority.
[0088] As an achievable implementation manner, determining the target network access identifier from the unallocated network access identifier may include:
[0089] Determine whether the target IOT device meets the network access identification distribution conditions;
[0090] If the distribution condition is met, a target network access identifier is determined from unallocated network access identifiers.
[0091] Optionally, determining whether the target IOT device meets the network access identification distribution condition may include:
[0092] Obtain the device type of the target IOT device;
[0093] Determining whether the device type belongs to the target device type;
[0094] If it belongs to the target device type, it is determined that the target IOT device meets the distribution condition.
[0095] The distribution device can obtain the device type of the target IOT device before determining the target network access identifier to verify whether the device type is the target device type that matches the target network access identifier. Only when the device type is verified to be the preset target device type, it is determined that the target IOT device meets the distribution conditions and the target network access identifier is determined from the unallocated network access identifier.
[0096] Furthermore, the distribution authority of the target IOT device can also be verified by the server, or double verification can be performed by the server and the distribution device. Determining the target network access identifier from the unallocated network access identifier may include:
[0097] Obtain the device type of the target IOT device and send the device type to the server, so that the server can determine whether the target IOT device meets the network access identification distribution conditions based on the device type;
[0098] Receiving a network access identification allocation instruction sent by the server based on the judgment result;
[0099] The target network access identifier is determined from unallocated network access identifiers.
[0100] When the server verifies that the target IOT device meets the distribution conditions, it can send a network access identification distribution instruction to the distribution device. If double verification is performed, the distribution device can determine whether to execute the step of determining the target network access identification from an unallocated network access identification based on the current verification result and the distribution instruction sent by the server. No specific limitation is made here.
[0101] Optionally, the distribution device may also apply for a network access identifier from the IoT platform as a user terminal. As an achievable implementation method, before establishing a wireless connection with the target IoT device, the following may also be included:
[0102] Determine the target device type corresponding to the IoT device to be allocated;
[0103] Based on the target device type, a network access identifier to be allocated is obtained.
[0104] Further, when there are multiple IOT devices, determining the target device type corresponding to the IOT device to be allocated may include:
[0105] Determine the target device type and device quantity corresponding to the IoT devices to be allocated;
[0106] Based on the target device type and the number of devices, an equal number of network access identifiers to be allocated are obtained.
[0107] After the network access identifier is allocated to the target IOT device, a one-to-one association relationship will be established with the device identifier of the target IOT device, and the network access identifier for which no association relationship is established will be determined as an unallocated network access identifier. The distribution device can determine the target network access identifier from the unallocated network access identifiers according to the preset distribution rules, such as by randomly selecting any network access identifier as the target network access identifier, or by selecting the target network access identifier in the order of arrangement of the network access identifiers, such as from small to large or from large to small, and can be set according to actual conditions.
[0108] 103: Send the target network access identifier to the target IOT device to write the target network access identifier into the IOT module of the target IOT device.
[0109] After determining the target network access identifier, the allocation device sends the target network access identifier to the IOT device based on the wireless connection. After receiving the target network access identifier, the IOT device will actually store the target network access identifier in the secure area of the IOT module to ensure the security, confidentiality and integrity of the data. When the IOT device is put into use after leaving the factory and connected to the Internet of Things platform, the stored target network access identifier will be sent to the Internet of Things platform for authentication to verify the legitimacy of the device.
[0110] In an embodiment of the present application, a wireless connection is established between the distribution device and the IOT device, and the target network access identifier is written into the IOT module of the IOT device for storage using wireless communication technology. This can not only effectively improve the production efficiency of the IOT device, but also greatly reduce labor costs.
[0111] In practical applications, the technical solution of the present application can be applied not only to the distribution scenarios of IOT devices during the production process of IOT devices, but also to the testing scenarios of IOT devices.
[0112] Therefore, as an optional implementation method, the technical solution of the present application also provides a testing method, which may include:
[0113] Establish a wireless connection with the target IOT device;
[0114] Sending test data to the target IOT device, so that the target IOT device can test the IOT module based on the test data;
[0115] Receive response data returned by the target IOT device and determine a test result based on the response data.
[0116] In traditional testing scenarios, it is still necessary to burn the test data into the IOT module through the tooling, and check whether the IOT module responds correctly by controlling the IOT module to execute the test data, so as to determine whether the IOT module functions normally based on the response of the IOT module. This method not only requires manual operation to ensure that the line connection between the tooling and the IOT module is correct, but also the test staff needs to monitor the response of the IOT module in a timely manner, which consumes a lot of manpower and time and has low test efficiency. At the same time, due to the possibility of human test errors during the monitoring process of the test staff, the accuracy of the test results will be affected.
[0117] In the embodiment of the present application, the distribution device establishes a wireless connection with the IOT device in the test environment to send the test data to the IOT module, and obtains 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 determine whether it is a qualified IOT module. This process does not require manual participation in the test operation, so there is no impact on the test results caused by human test errors, so while improving the accuracy of the test results, it also greatly improves the test efficiency of the IOT device.
[0118] Figure 2 A flowchart of an embodiment of a data processing method provided in an embodiment of the present application. The method may include the following steps:
[0119] 201: Establish a wireless connection with the target IOT device.
[0120] 202: Receive a network access identification distribution request carrying a device identification sent by the target IoT device.
[0121] Optionally, the target IOT device can detect whether the target network access identifier has been written into itself. If it is detected that the target network access identifier has not been written, the network access identifier distribution request can be sent to the distribution device. In actual production environments, the distribution device can distribute network access identifiers to multiple devices at the same time. However, due to the limitations of wireless networks, when there are many IOT devices, sending network access identifier distribution requests at the same time may cause network channel congestion, so that the distribution device cannot receive the network access identifier distribution request of the target IOT device. Therefore, in order to avoid this problem, request sending rules can be set for each IOT device, such as setting the maximum number of IOT devices that send requests within a preset time, or controlling the IOT device to send the distribution request at different intervals to ensure the successful reception of the distribution request. The specific settings can be made according to actual needs and are not specifically limited here.
[0122] 203: Determine a target network access identifier from unallocated network access identifiers.
[0123] 204: Establish an association relationship between the device identifier and the target network access identifier.
[0124] 205: Send the target network access identifier to the target IOT device to write the target network access identifier into the IOT module of the target IOT device.
[0125] Optionally, in order to ensure that the target network access identifier of the IoT device is written successfully, as a feasible implementation method, the following may also be included:
[0126] Detect whether the response information returned by the target IOT device is received;
[0127] If it is detected that the response information is not received, resending the target network access identifier to the IOT device based on the association relationship;
[0128] If the response information is received, the device identification is marked as being in allocation success state.
[0129] Since wireless communication has certain instability, when the network connection is abnormal and packet loss occurs, the target network access identifier may not be successfully sent to the IOT device. Therefore, in order to ensure the successful distribution of the target network access identifier, when the target network access identifier is successfully written into the IOT module, the target IOT device will generate a response message and send the response message to the distribution device, so that the distribution device can determine the success of the distribution based on the response message. If the response message is not received within the preset time or the network access identifier distribution request of the IOT device is continuously received, the target network access identifier will continue to be sent to the IOT device.
[0130] Optionally, if the distribution device fails to send the target network access identifier multiple times, it can also output an alarm message to promptly prompt the staff to check whether there is an abnormality in the wireless connection or whether there is an abnormality in the device to ensure the normal production of the equipment.
[0131] Optionally, in some embodiments, determining the target network access identifier from unallocated network access identifiers may include:
[0132] Check whether the network access identifier is associated with any device identifier;
[0133] If no association is established, confirming it as the unallocated network access identifier;
[0134] The target network access identifier is determined from the unallocated network access identifiers according to a preset rule.
[0135] In actual applications, an association is established between the successfully allocated network access identifier and the device identifier of the corresponding IOT device. Therefore, when determining the target network access identifier, it is selected from the network access identifiers that have never been associated with any device identifier. The selection rule can be set according to actual needs, for example, it can be a random selection, or selection in order of identification numbers from large to small or from small to large, etc., and no specific limitation is made here.
[0136] Optionally, as an achievable implementation manner, before determining the target network access identifier from the unallocated network access identifier, the method may further include:
[0137] Detect whether the network access identification distribution request sent by the target IOT device is a legal request;
[0138] If the request is detected as a legitimate one, the step of determining the target network access identifier from the unassigned network access identifiers is performed.
[0139] In order to avoid errors in the distribution of network access identifiers, before determining the target network access identifier, it is detected whether the distribution request sent by the target IOT device is legal. When verified to be a legal request, the target network access identifier of the target IOT device is determined and distributed to the target IOT device.
[0140] Further, the detecting whether the network access identification distribution request sent by the target IOT device is a legitimate request may include:
[0141] Determine whether the device identifier carried in the network access identifier distribution request belongs to the target device type;
[0142] If it belongs to the target device type, it is determined to be a legitimate request;
[0143] If the request does not belong to the target device type, it is determined to be an illegal request.
[0144] Since the network access identification applied for by the user is divided according to the device type, it is possible to determine whether the device type of the target IOT device is the target device type based on the device identification carried in the network access identification distribution request. If it is the target device type, it is considered to be a legal request, otherwise it is considered to be an illegal request.
[0145] In an embodiment of the present application, an association is established between the network access identifier carried in the network access identifier distribution request sent by the target IOT device and the target network access identifier, thereby achieving management and allocation of network access identifier distribution, and further improving the accuracy of distribution by verifying the legitimacy of the network access identifier distribution request and detecting the response information.
[0146] Figure 3 A flowchart of an embodiment of a data processing method provided in an embodiment of the present application. The method may include the following steps:
[0147] 301: Establish a wireless connection with a distribution device.
[0148] 302: Receive the target network access identifier sent by the distribution device.
[0149] The target network access identifier is determined by the distribution device from unallocated network access identifiers.
[0150] 303: Write the target network access identifier into the IOT module.
[0151] Optionally, in some embodiments, before receiving the target network access identifier sent by the distribution device, the method may further include:
[0152] Send a network access identification distribution request carrying a device identification to the distribution device.
[0153] As an achievable implementation manner, sending the network access identification distribution request carrying the device identification to the distribution device may include:
[0154] According to preset rules, a network access identification distribution request carrying the device identification is sent to the distribution device.
[0155] In practical applications, after the IOT device is put into use after leaving the factory, it needs to be authenticated based on the target network access identifier written in the IOT module to access the IOT network platform. After writing the target network access identifier into the IOT module, it may also include:
[0156] The target network access identifier is sent to the target IOT network to authenticate network access based on the target network access identifier.
[0157] It can be understood that the authentication and network access process is actually that the target IOT device sends the target network access identification to the IOT network platform. The IOT network platform verifies the legitimacy of the target IOT device based on the target network access identification. If the user is verified to be legitimate, he or she can access the IOT network platform and obtain corresponding user rights.
[0158] Optionally, in some embodiments, establishing a wireless connection with the distribution device may include:
[0159] Accessing the same local area network as the distribution device;
[0160] The sending of the network access identification distribution request carrying the device identification to the distribution device may include:
[0161] A network access identifier distribution request carrying the device identifier is broadcasted in the local area network to obtain the target network access identifier from a distribution device connected to the local area network.
[0162] As an optional implementation manner, after writing the target network access identifier into the IOT module, the method may further include:
[0163] Generate and send response information to the distribution device.
[0164] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0165] It can be understood that the technical solution in the embodiments of the present application can not only be implemented by installing the IOT module in the IOT device, but also can be implemented by only using a separate IOT module to achieve wireless connection with the distribution device and storage of the target network access identification, which is not specifically limited here.
[0166] In an embodiment of the present application, the target network access identifier is obtained by establishing a wireless connection between the target IOT device and the distribution device, thereby writing the target network access identifier into the IOT module, laying the foundation for the target IOT device to authenticate and access the network based on the target network access identifier.
[0167] In practical applications, the technical solution of the present application can be applied not only to the distribution scenarios of IOT devices during the production process of IOT devices, but also to the testing scenarios of IOT devices.
[0168] Optionally, as an achievable implementation, the present application also provides a testing method, which may include:
[0169] establishing a wireless connection with a distribution device;
[0170] receiving test data sent by the distribution device;
[0171] Testing the IOT module based on the test data and obtaining response data generated by the IOT module;
[0172] The response data is sent to the distribution device so that the distribution device determines a test result based on the response data.
[0173] In the embodiment of the present application, the distribution device establishes a wireless connection with the IOT device in the test environment to send the test data to the IOT module, and obtains 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 determine whether it is a qualified IOT module. This process does not require manual participation in the test operation, so there is no impact on the test results caused by human test errors, so while improving the accuracy of the test results, it also greatly improves the test efficiency of the IOT device.
[0174] Figure 4A flowchart of an embodiment of a data processing method provided in an embodiment of the present application. The method may include the following steps:
[0175] 401: Establish a wireless connection with the distribution device.
[0176] 402: Check whether the target network access identifier has been written into the device itself; if the target network access identifier has not been written into the device, execute step 403.
[0177] 403: Send a network access identification distribution request carrying a device identification to the distribution device.
[0178] 404: Receive the target network access identifier sent by the distribution device.
[0179] The target network access identifier is determined by the distribution device from unallocated network access identifiers.
[0180] 405: Write the target network access identifier into the IOT module.
[0181] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0182] In an embodiment of the present application, in order to further improve the production efficiency of the target IOT device, it is pre-detected whether the target network access identifier has been written into itself before sending the network access identifier distribution request, and it is further possible to detect whether the target network access identifier is legal, thereby avoiding reducing the network access identifier distribution efficiency of the distribution device due to repeated network access identifier distribution requests.
[0183] In practical applications, in order to reduce the allocation error of the network access identifier and improve the accuracy of the allocation, the server can further verify whether the target IOT device meets the distribution conditions, as described in the following embodiment.
[0184] Figure 5 A flowchart of an embodiment of a data processing method provided in an embodiment of the present application. The method may include the following steps:
[0185] 501: Receive the device type of the target IOT device sent by the distribution device.
[0186] Wherein, the distribution device establishes a wireless connection with the target IOT device.
[0187] 502: Based on the device type, determine whether the target IOT device meets the network access identification distribution conditions.
[0188] 503: If the distribution condition is met, a network access identifier allocation instruction is sent to the distribution device, so that the distribution device can determine the target network access identifier from the unallocated network access identifiers and 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.
[0189] Optionally, the distribution device obtains the device type of the target IOT device and sends the device type to the server for verification.
[0190] When the server verifies the network access identifier applied for by the user, the target device type of the IOT device to be allocated and the device type of the target IOT device to see if the device type matches the target device type. If the match is successful, it is determined that the target IOT device meets the distribution conditions, and a network access identifier allocation instruction is generated for the target IOT device, so that the distribution device determines the target network access identifier based on the network access identifier allocation instruction and sends the target network access identifier to the target IOT device.
[0191] Optionally, in some embodiments, judging whether the target IOT device meets the network access identification distribution condition based on the device type may include:
[0192] Determining whether the device type belongs to a target device type;
[0193] If it belongs to the target device type, it is determined that the target IOT device meets the distribution condition.
[0194] As an optional implementation manner, before receiving the device type of the target IOT device sent by the distribution device, the following may also be included:
[0195] Get the target device type of the IoT device to be allocated;
[0196] Based on the target device type, determining a network access identifier to be allocated;
[0197] The network access identifier to be allocated is sent to the distribution device, so that the distribution device distributes the network access identifier to the IOT device to be allocated.
[0198] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0199] In the embodiment of the present application, by verifying the distribution conditions of the target IOT device in conjunction with the server, the accuracy and reliability of the network access identification distribution are further improved, laying the foundation for improving the efficiency of the network access identification distribution of the distribution device.
[0200] Figure 6A flowchart of an embodiment of a networking method provided in an embodiment of the present application. The method may include the following steps:
[0201] 601: Establishing wireless connections with multiple IOT devices.
[0202] 602: Configure temporary device identifiers corresponding to each of the multiple IOT devices.
[0203] 603: Based on the temporary device identifier, the network access identifier to be allocated is sent to the multiple IOT devices respectively, so as to write the network access identifier to be allocated into the IOT modules corresponding to the multiple IOT devices respectively.
[0204] In order to improve the distribution efficiency of network access identification, an embodiment of the present application provides a networking method, which can establish a wireless connection between a distribution device and multiple IOT devices, so that the network access identification can be sent to the multiple IOT devices respectively according to certain allocation rules.
[0205] Optionally, in some embodiments, configuring the temporary device identifiers corresponding to the multiple IOT devices may include:
[0206] Determine the number of devices of the plurality of IOT devices;
[0207] generating a temporary device identifier matching the number of devices;
[0208] According to preset rules, the multiple IOT devices are respectively configured with corresponding temporary device identifiers.
[0209] In order to facilitate the distribution device to distinguish between multiple connected IOT devices, a temporary device identifier can be set for each IOT device. The temporary device identifier can number the IOT device according to preset rules. The numbering order can be based on the access order of the IOT device, or based on the order within the network, or it can be numbered in a random order and the number is used as a temporary device identifier. The temporary device identifier can be numbered based on the target device type or in any feasible numbering method, which is not specifically limited here. For example, if the number of connected IOT devices is 100, the temporary device identifier can be numbered and allocated in the form of "001", "002"... "100".
[0210] As an optional implementation manner, based on the temporary device identifier, sending the network access identifier to be allocated to the multiple IOT devices respectively, so as to write the network access identifier to be allocated into the IOT modules corresponding to the multiple IOT devices respectively, may include:
[0211] Establishing an association relationship between the temporary device identifier and the network access identifier to be allocated;
[0212] Based on the association relationship, the network access identifier to be allocated is sent to the IOT device configured with the corresponding temporary device identifier, so that the network access identifier to be allocated is written into the IOT modules corresponding to each of the multiple IOT devices.
[0213] 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 can be established based on the order of the identifiers from large to small, or a random match can be used to establish an association relationship, which is not specifically limited here. And based on the association relationship, the network access identifier is sent to the IOT device configured with the temporary device identifier. Depending on the networking type, the network access identifier can be distributed simultaneously or in a certain distribution order, which is not specifically limited here.
[0214] As an optional implementation mode, based on the temporary device identifier, the network access identifier to be allocated is sent to the multiple IOT devices respectively, so as to write the network access identifier to be allocated into the IOT modules corresponding to the multiple IOT devices respectively, and further may include:
[0215] Respectively receiving response information carrying actual device identifications returned by the multiple IOT devices; wherein the response information is generated by the IOT device whose network access identification is successfully written;
[0216] The actual device identifier is used to replace the temporary device identifier associated with the network access identifier to be allocated.
[0217] In actual applications, when the IOT device receives the network access identifier and successfully writes the network access identifier into the IOT module, it can generate a response message carrying its own actual device identifier. The distribution device replaces the set temporary device identifier with the actual device identifier returned by the IOT device, and reports the association between the actual device identifier and the network access identifier to the server so that the server can verify whether the IOT device has network access authority based on the association relationship.
[0218] Optionally, in some embodiments, establishing wireless connections with multiple IOT devices may include:
[0219] Establish a wireless connection with any IOT device;
[0220] Any of the IOT devices is used as a master node; wherein the master node is connected to a plurality of IOT devices as slave nodes;
[0221] A wireless connection is established between the master node and the slave node.
[0222] In actual applications, the distribution device can be connected to the IOT device through any wireless network technology such as WIFI, Bluetooth, etc. The networking method can adopt any basic wireless network structure, such as multi-point access or master-slave access, to establish a wireless connection with the distribution device, which is not specifically limited here.
[0223] According to the device access capacity of the distribution device, if the access capacity is greater than or equal to the total number of IOT devices, a multi-point access method can be used, that is, each IOT device can establish a direct network connection with the distribution device. If the access capacity is less than the total number of IOT devices, at least one IOT device can be set as the master node to access the distribution device, and the remaining IOT devices can be connected to the IOT device as the master node as slave nodes, and establish an indirect network connection with the distribution device to achieve multi-device networking. At this time, the master node can realize information processing and control, and realize data transmission between the slave node and the distribution device.
[0224] The networking method provided in the embodiments of the present application can be applied to any of the embodiments of the above-mentioned data processing methods, and can also be applied to the networking between multiple devices in any production, testing, etc. scenarios. It can not only improve the network connection performance between devices and improve the data processing efficiency between devices, but also realize the networking performance test, further laying the foundation for improving the distribution efficiency of network access identification.
[0225] Figure 7 A schematic diagram of a data processing system according to an embodiment of the present application is provided. The system may include a distribution device 701 and a plurality of IOT devices 702 that establish wireless connections with the distribution device 701.
[0226] The distribution device 701 is used to determine a target network access identifier from unallocated network access identifiers; and send the target network access identifier to the target IOT device 7021.
[0227] The target IOT device 7021 is used to receive the target network access identifier sent by the distribution device; and write the target network access identifier into the IOT module.
[0228] It is understandable that when the IOT module has a wireless connection function, the distribution device 701 can also directly establish a data distribution system with the IOT module, and directly write the target network access identifier into the target IOT module. In the subsequent production process, the target IOT module can be installed in the corresponding target IOT device. The technical effect that can be achieved in the embodiment of the present application can also be achieved, and no specific limitation is made here.
[0229] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0230] In the embodiment of the present application, a data processing system constructed based on a wireless connection between a distribution device and an IOT device can realize writing the target network access identifier into the IOT module of the target IOT device. Therefore, users using this technical solution do not need to prepare complex production line tooling to realize automatic writing of the target network access identifier, thereby improving the production efficiency of IOT devices and saving labor costs.
[0231] Figure 8 A schematic diagram of a data processing system according to an embodiment of the present application. Figure 7 In addition to the distribution device 701 and the multiple IOT devices 702 in the embodiment, it also includes a server 703 that establishes a network connection with the distribution device 701; wherein the distribution device 701 may include a data management device 7011 and a network connection device 7012 connected to the data management device 7011;
[0232] The server 703 is used to receive the device type of the target IOT device sent by the distribution device 701, and based on the device type, determine whether the target IOT device meets the network access identification distribution conditions; if the distribution conditions are met, send a network access identification allocation instruction to the distribution device.
[0233] The distribution device 701 determines the target network access identifier from the unallocated network access identifiers, which may include receiving a network access identifier allocation instruction sent by the server; and determining the target network access identifier from the unallocated network access identifiers based on the network access identifier allocation instruction.
[0234] The network connection device 7012 establishes wireless connections with the multiple IOT devices 702 respectively to establish a data connection between the data management device 7011 and the target IOT device 7021 .
[0235] In actual applications, the data management device can be a computer device or other intelligent electronic device, and the network connection device can be a wireless connection device with wireless connection function. The wireless connection device can be, for example, a Dongle (software protector) or a wireless network card, etc., which is not specifically limited here.
[0236] The network connection device 7012 can establish a connection with the data management device 7011 through a wired interface, such as a USB interface, a serial port, or other communication methods, so that the data management device 7011 can control the network connection device to receive and send data.
[0237] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0238] In an embodiment of the present application, the network access identification data is managed and distributed through a data management device, thereby writing the target network access identification into the IOT module of the target IOT device that establishes a data connection with the data management device, laying the foundation for the target IOT device to authenticate and access the network based on the target network access identification.
[0239] Fig. 9 A schematic diagram of a data processing device according to an embodiment of the present application. The device may include:
[0240] The first connection module 901 is used to establish a wireless connection with a target IOT device.
[0241] The determination module 902 is used to determine a target network access identifier from unallocated network access identifiers.
[0242] Optionally, the distribution device can also apply for a network access identifier from the Internet of Things platform as a user terminal. As an achievable implementation method, before the first connection module 901, it can also include:
[0243] A device type determination module is used to determine the target device type corresponding to the IoT device to be allocated;
[0244] The network access identifier acquisition module is used to acquire the network access identifier to be allocated based on the target device type.
[0245] The first sending module 903 is used 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.
[0246] As an achievable implementation manner, the determining module 902 may be specifically used for:
[0247] Determine whether the target IOT device meets the network access identification distribution conditions;
[0248] If the distribution condition is met, a target network access identifier is determined from unallocated network access identifiers.
[0249] Optionally, the determining whether the target IOT device meets the network access identification distribution condition may be specifically used for:
[0250] Obtain the device type of the target IOT device;
[0251] Determining whether the device type belongs to the target device type;
[0252] If it belongs to the target device type, it is determined that the target IOT device meets the distribution condition.
[0253] Furthermore, the distribution authority of the target IOT device can also be verified by the server, or double verification can be performed by the server and the distribution device. The determination module 902 can be specifically used for:
[0254] Obtain the device type of the target IOT device and send the device type to the server, so that the server can determine whether the target IOT device meets the network access identification distribution conditions based on the device type;
[0255] Receiving a network access identification allocation instruction sent by the server based on the judgment result;
[0256] The target network access identifier is determined from unallocated network access identifiers.
[0257] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0258] In an embodiment of the present application, a wireless connection is established between the distribution device and the IOT device, and the target network access identifier is written into the IOT module of the IOT device for storage using wireless communication technology. This can not only effectively improve the production efficiency of the IOT device, but also greatly reduce labor costs.
[0259] In practical applications, the technical solution of the present application can be applied not only to the distribution scenario of IOT devices during the production process of IOT devices, but also to the testing scenario of IOT devices. The above-mentioned embodiments have been described in detail and will not be repeated here.
[0260] Fig.10 A schematic diagram of a data processing device according to an embodiment of the present application. The device may include:
[0261] The first connection module 1001 is used to establish a wireless connection with a target IOT device.
[0262] The distribution request receiving module 1002 is used to receive a network access identification distribution request carrying a device identification sent by the target IOT device.
[0263] The determination module 1003 is used to determine a target network access identifier from unallocated network access identifiers.
[0264] The association module 1004 is used to establish an association relationship between the device identifier and the target network access identifier.
[0265] The first sending module 1005 is used 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.
[0266] Optionally, in order to ensure that the target network access identifier of the IoT device is written successfully, as a feasible implementation method, the following may also be included:
[0267] The response information detection module is used to detect whether the response information returned by the target IOT device is received; if it is detected that the response information is not received, the retransmission module is executed; if it is detected that the response information is received, the status marking module is executed.
[0268] The resending module is used to resend the target network access identifier to the IOT device based on the association relationship;
[0269] The status marking module is used to mark the device identifier as being in an allocation success state.
[0270] Optionally, in some embodiments, the determining module 803 may be specifically configured to:
[0271] Check whether the network access identifier is associated with any device identifier;
[0272] If no association is established, confirming it as the unallocated network access identifier;
[0273] The target network access identifier is determined from the unallocated network access identifiers according to a preset rule.
[0274] Optionally, as an achievable implementation, before the determining module 1003, the following may also be included:
[0275] The legitimacy detection module is used to detect whether the network access identification distribution request sent by the target IOT device is a legal request; if it is detected as a legal request, the determination module 1003 is executed.
[0276] Furthermore, the legitimacy detection module may include:
[0277] Determine whether the device identifier carried in the network access identifier distribution request belongs to the target device type;
[0278] If it belongs to the target device type, it is determined to be a legitimate request;
[0279] If the request does not belong to the target device type, it is determined to be an illegal request.
[0280] Since the network access identification applied for by the user is divided according to the device type, it is possible to determine whether the device type of the target IOT device is the target device type based on the device identification carried in the network access identification distribution request. If it is the target device type, it is considered to be a legal request, otherwise it is considered to be an illegal request.
[0281] In an embodiment of the present application, an association is established between the network access identifier carried in the network access identifier distribution request sent by the target IOT device and the target network access identifier, thereby achieving management and allocation of network access identifier distribution, and further improving the accuracy of distribution by verifying the legitimacy of the network access identifier distribution request and detecting the response information.
[0282] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0283] In an embodiment of the present application, an association is established between the network access identifier carried in the network access identifier distribution request sent by the target IOT device and the target network access identifier, thereby achieving management and allocation of network access identifier distribution, and further improving the accuracy of distribution by verifying the legitimacy of the network access identifier distribution request and detecting the response information.
[0284] Fig.11 A schematic diagram of a data processing device according to an embodiment of the present application. The device may include:
[0285] The second connection module 1101 is used to establish a wireless connection with the distribution device.
[0286] The network access identifier receiving module 1102 is used to receive the target network access identifier sent by the distribution device.
[0287] The target network access identifier is determined by the distribution device from unallocated network access identifiers.
[0288] The storage module 1103 is used to write the target network access identifier into the IOT module.
[0289] Optionally, in some embodiments, before the network access identification receiving module 1102, the following may also be included:
[0290] The distribution request sending module is used to send a network access identification distribution request carrying a device identification to the distribution device.
[0291] As an achievable implementation manner, the distribution request sending module can be specifically used for:
[0292] According to preset rules, a network access identification distribution request carrying the device identification is sent to the distribution device.
[0293] In practical applications, after the IOT device is put into use after leaving the factory, it needs to be authenticated based on the target network access identifier written in the IOT module to access the IOT network platform. After the storage module 1103, it can also include:
[0294] The authentication module is used to send the target network access identifier to the target IOT network to authenticate the network access based on the target network access identifier.
[0295] It can be understood that the authentication and network access process is actually that the target IOT device sends the target network access identification to the IOT network platform. The IOT network platform verifies the legitimacy of the target IOT device based on the target network access identification. If the user is verified to be legitimate, he or she can access the IOT network platform and obtain corresponding user rights.
[0296] Optionally, in some embodiments, the second connection module 1101 may be specifically used for:
[0297] Accessing the same local area network as the distribution device;
[0298] The distribution request sending module can be specifically used for:
[0299] A network access identifier distribution request carrying the device identifier is broadcasted in the local area network to obtain the target network access identifier from a distribution device connected to the local area network.
[0300] As an optional implementation manner, the storage module 1103 may further include:
[0301] The response information sending module is used to generate and send response information to the distribution device.
[0302] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0303] It can be understood that the technical solution in the embodiments of the present application can not only be installed or implemented in the IOT module into the IOT device, but also can be realized by only using a separate IOT module to achieve wireless connection with the distribution device and storage of the target network access identification, which is not specifically limited here.
[0304] In an embodiment of the present application, the target network access identifier is obtained by establishing a wireless connection between the target IOT device and the distribution device, thereby writing the target network access identifier into the IOT module, laying the foundation for the target IOT device to authenticate and access the network based on the target network access identifier.
[0305] In practical applications, the technical solution of the present application can be applied not only to the distribution scenario of IOT devices during the production process of IOT devices, but also to the testing scenario of IOT devices. The above-mentioned embodiments have been described in detail and will not be repeated here.
[0306] Fig.12 A schematic diagram of a data processing device according to an embodiment of the present application. The device may include:
[0307] The second connection module 1201 is used to establish a wireless connection with the distribution device.
[0308] The detection module 1202 is used to detect whether the target network access identifier has been written into itself; if it is detected that the target network access identifier has not been written into itself, the second sending module 1203 is triggered.
[0309] The second sending module 1203 is used to send a network access identification distribution request carrying a device identification to the distribution device.
[0310] The network access identifier receiving module 1204 is used to receive the target network access identifier sent by the distribution device.
[0311] The target network access identifier is determined by the distribution device from unallocated network access identifiers.
[0312] The storage module 1205 is used to write the target network access identifier into the IOT module.
[0313] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0314] In an embodiment of the present application, in order to further improve the production efficiency of the target IOT device, it is pre-detected whether the target network access identifier has been written into itself before sending the network access identifier distribution request, and it is further possible to detect whether the target network access identifier is legal, thereby avoiding reducing the network access identifier distribution efficiency of the distribution device due to repeated network access identifier distribution requests.
[0315] Fig.13 A schematic diagram of a data processing device according to an embodiment of the present application. The device may include:
[0316] The device type receiving module 1301 is used to receive the device type of the target IOT device sent by the distribution device.
[0317] Wherein, the distribution device establishes a wireless connection with the target IOT device.
[0318] The judgment module 1302 is used to judge whether the target IOT device meets the network access identification distribution conditions based on the device type.
[0319] The allocation instruction sending module 1303 is used to send a network access identifier allocation instruction to the distribution device if the distribution condition is met, so that the distribution device can determine the target network access identifier from the unallocated network access identifiers and 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.
[0320] Optionally, in some embodiments, the determining module 1302 may be specifically configured to:
[0321] Determining whether the device type belongs to a target device type;
[0322] If it belongs to the target device type, it is determined that the target IOT device meets the distribution condition.
[0323] As an optional implementation manner, before the device type receiving module 1301, the following may also be included:
[0324] A target device type acquisition module is used to acquire the target device type of the IOT device to be allocated;
[0325] The network access identification determination module is used to determine the network access identification to be allocated based on the target device type.
[0326] The third sending module is used 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.
[0327] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0328] In the embodiment of the present application, by verifying the distribution conditions of the target IOT device in conjunction with the server, the accuracy and reliability of the network access identification distribution are further improved, laying the foundation for improving the efficiency of the network access identification distribution of the distribution device.
[0329] Fig.14 A schematic diagram of a structure of an embodiment of a networking device provided in an embodiment of the present application. The device may include:
[0330] The wireless connection module 1401 is used to establish wireless connections with multiple IOT devices.
[0331] The configuration module 1402 is used to configure the temporary device identifiers corresponding to the multiple IOT devices.
[0332] The fourth sending module 1403 is used 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 IOT modules corresponding to the multiple IOT devices respectively.
[0333] Optionally, in some embodiments, the configuration module 1402 may be specifically used to:
[0334] Determine the number of devices of the plurality of IOT devices;
[0335] generating a temporary device identifier matching the number of devices;
[0336] According to preset rules, the multiple IOT devices are respectively configured with corresponding temporary device identifiers.
[0337] As an optional implementation manner, the fourth sending module 1403 may be specifically used for:
[0338] Establishing an association relationship between the temporary device identifier and the network access identifier to be allocated;
[0339] Based on the association relationship, the network access identifier to be allocated is sent to the IOT device configured with the corresponding temporary device identifier, so that the network access identifier to be allocated is written into the IOT modules corresponding to each of the multiple IOT devices.
[0340] As an optional implementation manner, after the fourth sending module 1403, the following may also be included:
[0341] A response information receiving module, used to respectively receive response information carrying actual device identifications returned by the multiple IOT devices; wherein the response information is generated by the IOT device whose network access identification is successfully written;
[0342] The replacement module is used to replace the actual device identifier with the temporary device identifier that establishes an association relationship with the network access identifier to be allocated.
[0343] Optionally, in some embodiments, the wireless connection module 1401 may be specifically used for:
[0344] Establish a wireless connection with any IOT device;
[0345] Any of the IOT devices is used as a master node; wherein the master node is connected to a plurality of IOT devices as slave nodes;
[0346] A wireless connection is established between the master node and the slave node.
[0347] The networking method provided in the embodiments of the present application can be applied to any of the embodiments of the above-mentioned data processing methods, and can also be applied to the networking between multiple devices in any production, testing, etc. scenarios. It can not only improve the network connection performance between devices and improve the data processing efficiency between devices, but also realize the networking performance test, further laying the foundation for improving the distribution efficiency of network access identification.
[0348] Fig.15 A schematic diagram of the structure of an embodiment of a computer device provided in an embodiment of the present application, wherein the computer device may include a processing component 1501 and a storage component 1502.
[0349] The storage component 1502 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 1501.
[0350] The processing component 1501 can be used to:
[0351] Establish a wireless connection with the target IOT device;
[0352] Determine a target network access identifier from unallocated network access identifiers;
[0353] The target network access identifier is sent to the target IOT device to write the target network access identifier into the IOT module of the target IOT device.
[0354] The processing component 1501 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented by 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, microcontrollers, microprocessors or other electronic components to perform the above method.
[0355] The storage component 1502 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.
[0356] Of course, the computer device may also include other components, such as input / output interfaces, communication components, etc.
[0357] The input / output interface provides an interface between the processing component and the peripheral interface module, which may be an output device, an input device, etc.
[0358] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as communication with a terminal.
[0359] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 1 and Figure 2 The data processing method of the illustrated embodiment.
[0360] Fig.16 A schematic diagram of the structure of an IOT device according to an embodiment of the present application is provided. The computer device may include a processing component 1601 and a storage component 1602.
[0361] The storage component 1602 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 1601.
[0362] The processing component 1601 can be used to:
[0363] establishing a wireless connection with a distribution device;
[0364] Receiving a target network access identifier sent by the distribution device; wherein the target network access identifier is determined by the distribution device from unallocated network access identifiers;
[0365] The target network access identifier is written into the IOT module.
[0366] The processing component 1601 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component can also be implemented by 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, microcontrollers, microprocessors or other electronic components to perform the above method.
[0367] The storage component 1602 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.
[0368] Of course, the IOT device may also include other components, such as input / output interfaces, communication components, etc.
[0369] The input / output interface provides an interface between the processing component and the peripheral interface module, which may be an output device, an input device, etc.
[0370] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as communication with a terminal.
[0371] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 3 and Figure 4 The data processing method of the illustrated embodiment.
[0372] Fig.17 A schematic diagram of the structure of an embodiment of a server provided in an embodiment of the present application, wherein the computer device may include a processing component 1701 and a storage component 1702.
[0373] The storage component 1702 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 1701.
[0374] The processing component 1701 can be used to:
[0375] 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;
[0376] Based on the device type, determine whether the target IOT device meets the network access identification distribution conditions;
[0377] If the distribution condition is met, a network access identifier allocation instruction is sent to the distribution device, so that the distribution device can determine the target network access identifier from the unallocated network access identifiers and 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.
[0378] The processing component 1701 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component can also be implemented by 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, microcontrollers, microprocessors or other electronic components to perform the above method.
[0379] The storage component 1702 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.
[0380] Of course, the server may also include other components, such as input / output interfaces, communication components, etc.
[0381] The input / output interface provides an interface between the processing component and the peripheral interface module, which may be an output device, an input device, etc.
[0382] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as communication with a terminal.
[0383] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 5 The data processing method of the illustrated embodiment.
[0384] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0385] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0386] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0387] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A data processing method, characterized in that: include: Establish a wireless connection with the target IOT device; Receiving, via the wireless connection, a network access identifier distribution request carrying a device identifier sent by the target IOT device, wherein the network access identifier distribution request is sent when the target IOT device detects that no network access identifier is stored in a security area of its own IOT module; If the device identifier does not have an associated network access identifier, determine the target network access identifier from the unallocated network access identifiers, and establish an association relationship between the device identifier and the target network access identifier. The network access identifier for which the device identifier does not have an associated relationship is an unallocated network access identifier; If the device identifier has an associated network access identifier, the network access identifier associated with the device identifier is the target network access identifier; The target network access identifier is sent to the target IOT device through the wireless connection, so that the target IOT device stores the target network access identifier in the secure area of the IOT module of the target IOT device, so that the target IOT device uses the stored target network access identifier for authentication.
2. The method according to claim 1, characterized in that Also includes: Detect whether the response information returned by the target IOT device is received; If it is detected that the response information is not received, resending the target network access identifier to the IOT device based on the association relationship; If the response information is received, the device identification is marked as being in allocation success state.
3. The method according to claim 1, characterized in that The determining the target network access identifier from the unallocated network access identifiers includes: Check whether the network access identifier is associated with any device identifier; If no association is established, confirming it as the unallocated network access identifier; The target network access identifier is determined from the unallocated network access identifiers according to a preset rule.
4. The method according to claim 1, characterized in that: Before determining the target network access identifier from the unallocated network access identifier, the method further includes: Detect whether the network access identification distribution request sent by the target IOT device is a legal request; If the request is detected as a legitimate one, the step of determining the target network access identifier from the unassigned network access identifiers is performed.
5. The method according to claim 4, characterized in that The detecting whether the network access identification distribution request sent by the target IOT device is a legal request includes: Determine whether the device identifier carried in the network access identifier distribution request belongs to the target device type; If it belongs to the target device type, it is determined to be a legitimate request; If the request does not belong to the target device type, it is determined to be an illegal request.
6. The method according to claim 1, characterized in that Before establishing a wireless connection with the target IOT device, the method further includes: Determine the target device type corresponding to the IoT device to be allocated; Based on the target device type, a network access identifier to be allocated is obtained.
7. The method according to claim 1, characterized in that The determining the target network access identifier from the unallocated network access identifiers includes: Determine whether the target IOT device meets the network access identification distribution conditions; If the distribution condition is met, a target network access identifier is determined from unallocated network access identifiers.
8. The method according to claim 7, characterized in that Determining whether the target IOT device meets the network access identification distribution condition includes: Obtain the device type of the target IOT device; Determining whether the device type belongs to the target device type; If it belongs to the target device type, it is determined that the target IOT device meets the distribution condition.
9. A data processing method, characterized in that: Applied to IOT devices, including: establishing a wireless connection with a distribution device; Check whether the network access identifier is stored in the security area of its own IOT module; If it is detected that no network access identifier is stored, a network access identifier distribution request carrying the device identifier is sent to the distribution device through the wireless connection, so that if the device identifier does not have an associated network access identifier, the distribution device determines the target network access identifier from the unallocated network access identifiers, and establishes an association relationship between the device identifier and the target network access identifier. The network access identifier with which the device identifier has not established an association relationship is the unallocated network access identifier. If the device identifier has an associated network access identifier, the network access identifier associated with the device identifier is the target network access identifier, and the target network access identifier is sent to the target IOT device through the wireless connection; The target network access identifier sent by the distribution device is received through the wireless connection, and the target network access identifier is stored in the security area of the IOT module of the target IOT device, so that the target IOT device uses the stored target network access identifier for authentication.
10. The method according to claim 9, characterized in that The sending of the network access identification distribution request carrying the device identification to the distribution device comprises: According to preset rules, a network access identification distribution request carrying the device identification is sent to the distribution device.
11. The method according to claim 9, characterized in that The establishing of a wireless connection with the distribution device comprises: Accessing the same local area network as the distribution device; The sending of the network access identification distribution request carrying the device identification to the distribution device comprises: A network access identifier distribution request carrying the device identifier is broadcasted in the local area network to obtain the target network access identifier from a distribution device connected to the local area network.
12. The method according to claim 9, characterized in that After storing the target network access identifier in the security area of the IOT module of the target IOT device, it also includes: generating and sending response information to the distribution device.
13. A data processing device, characterized in that: include: A first connection module, used to establish a wireless connection with a target IOT device; A distribution request receiving module, used to receive, through the wireless connection, a network access identifier distribution request carrying a device identifier sent by the target IOT device, wherein the network access identifier distribution request is sent by the target IOT device when it detects that no network access identifier is stored in the security area of its own IOT module; A determination module, configured to determine a target network access identifier from unallocated network access identifiers if the device identifier does not have an associated network access identifier, and if the device identifier has an associated network access identifier, the network access identifier associated with the device identifier is the target network access identifier; An association module, used for establishing an association relationship between the device identifier and the target network access identifier, wherein a network access identifier that has not established an association relationship with the device identifier is an unassigned network access identifier; The first sending module is used to send the target network access identifier to the target IOT device through the wireless connection, so that the target IOT device stores the target network access identifier in the security area of the IOT module of the target IOT device, so that the target IOT device uses the stored target network access identifier for authentication.
14. A data processing device, characterized in that: include: A second connection module, used to establish a wireless connection with the distribution device; A detection module is used to detect whether a network access identifier is stored in the security area of its own IOT module; A second sending module is used for sending a network access identifier distribution request carrying the device identifier to the distribution device through the wireless connection if the detection module detects that no network access identifier is stored, so that if the device identifier does not have an associated network access identifier, the distribution device determines the target network access identifier from the unallocated network access identifiers, and establishes an association relationship between the device identifier and the target network access identifier. The network access identifier with which the device identifier has not established an association relationship is the unallocated network access identifier. If the device identifier has an associated network access identifier, the network access identifier associated with the device identifier is the target network access identifier, and the target network access identifier is sent to the target IOT device through the wireless connection; A network access identification receiving module, used for receiving the target network access identification sent by the distribution device through the wireless connection; A storage module is used to store the target network access identifier in a secure area of the IOT module of the target IOT device so that the target IOT device uses the stored target network access identifier for authentication.
15. A computer device, characterized in that: It comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: Establish a wireless connection with the target IOT device; Receiving, via the wireless connection, a network access identifier distribution request carrying a device identifier sent by the target IOT device, wherein the network access identifier distribution request is sent when the target IOT device detects that no network access identifier is stored in a security area of its own IOT module; If the device identifier does not have an associated network access identifier, determine the target network access identifier from the unallocated network access identifiers, and establish an association relationship between the device identifier and the target network access identifier. The network access identifier for which the device identifier does not have an associated relationship is an unallocated network access identifier; If the device identifier has an associated network access identifier, the network access identifier associated with the device identifier is the target network access identifier; The target network access identifier is sent to the target IOT device through the wireless connection, so that the target IOT device stores the target network access identifier in the secure area of the IOT module of the target IOT device, so that the target IOT device uses the stored target network access identifier for authentication.
16. An IOT device, characterized in that: The IOT device is specifically a target IOT device, including a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: establishing a wireless connection with a distribution device; Check whether the network access identifier is stored in the security area of its own IOT module; If it is detected that no network access identifier is stored, a network access identifier distribution request carrying the device identifier is sent to the distribution device through the wireless connection, so that if the device identifier does not have an associated network access identifier, the distribution device determines the target network access identifier from the unallocated network access identifiers, and establishes an association relationship between the device identifier and the target network access identifier. The network access identifier with which the device identifier has not established an association relationship is the unallocated network access identifier. If the device identifier has an associated network access identifier, the network access identifier associated with the device identifier is the target network access identifier, and the target network access identifier is sent to the target IOT device through the wireless connection; The target network access identifier sent by the distribution device is received through the wireless connection, and the target network access identifier is stored in the security area of the IOT module of the target IOT device, so that the target IOT device uses the stored target network access identifier for authentication.
17. A data processing system, characterized in that: Includes the distribution device described in claim 15 and the IOT device described in claim 16.
