Method and device for equipment network access, equipment and storage medium

By configuring dual communication modules in the device and dynamically switching network access methods, the problem of unstable equipment network access is solved, and higher stability and cost-effectiveness are achieved.

CN120302373APending Publication Date: 2025-07-11QINGDAO HAIER TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510570998.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

The network access stability of existing equipment is poor, especially the 4G modules are limited by base station carrying capacity and WiFi modules are limited by broadband network congestion, resulting in high costs and unstable costs.

Method used

The device is configured with a first communication module (such as a WiFi module) and a second communication module (such as a cellular mobile communication module). By obtaining the current communication data information, the network access method is dynamically switched to ensure that the network quality meets the set conditions.

Benefits of technology

It improves the stability and real-time nature of equipment network access, reduces the consumption of financial resources and resources, and ensures that the equipment operates under a high-quality network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120302373A_ABST
    Figure CN120302373A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent equipment, and discloses a method and device for equipment network access, equipment and a storage medium. The device is provided with a first communication module and a second communication module. The method comprises the following steps: acquiring current communication data information of a first communication module; accessing the network through the second communication module under the condition that the current network quality of the first communication module is determined not to meet the set condition according to the current communication data information; and accessing the network through the first communication module under the condition of determining that the current network quality of the first communication module meets the set condition. Therefore, the equipment can adopt dual-network access which takes the first communication module as the main communication module, so that the networking stability of the equipment is improved, and the consumption of financial resources and resources is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of intelligent devices, for example, to methods, devices, equipment, and storage media for device network access. Background Art

[0002] With the booming development of intelligent technology, more and more devices are intelligent devices and can be connected to the Internet of Things to achieve remote control and corresponding home, commercial, and other applications. For example: After installing an Internet of Things module on a commercial water purification device, it can be connected to the Internet of Things. In this way, the water intake function can be realized after payment is completed through mobile payment. This requires the device to be connected to the network stably, with a network available at all times, and be able to be normally connected to the Internet of Things cloud platform.

[0003] Currently, a device can be configured with an Internet of Things module, such as: a 4G module, a 5G module, a WiFi module, or a ZigBee module, etc. However, the networking of these modules has certain instabilities. For example: The 4G module is limited by the carrying capacity of the mobile operator's base station, and at the same time, continuous investment in traffic fees is required, and the fees are high. The WiFi module requires a wireless network broadband, and there will also be congestion in the broadband network and fluctuations during peak usage hours, and the fees are relatively low. Therefore, there are still certain stability risks in the device's networking.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] To have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important constituent elements or delineate the protection scope of these embodiments, but rather serves as a preface to the subsequent detailed description.

[0006] Embodiments of the present disclosure provide a method, device, equipment, and storage medium for device network access to solve the technical problem that the stability of device network access needs to be improved. The device is configured with a first communication module and a second communication module.

[0007] In some embodiments, the method includes:

[0008] Obtain the current communication data information of the first communication module;

[0009] In the case where it is determined according to the current communication data information that the current network quality of the first communication module does not meet the set conditions, access the network through the second communication module;

[0010] When it is determined that the current network quality of the first communication module meets the set conditions, access the network through the first communication module.

[0011] In this way, the device is configured with two communication modules for networking. When the current network quality of the first communication module does not meet the set conditions, networking can be carried out through the second communication module, ensuring that the device can be in a networked state, improving the stability of the device's access to the network, and further ensuring the application and functions of the device.

[0012] In some embodiments, it further includes:

[0013] When the first communication module is a wireless local area network (WiFi) module and the second communication module is a cellular mobile communication module, control the first communication module to connect to the wireless local area WiFi network by receiving a confirmation instruction sent by a mobile application (APP).

[0014] In this way, before the device accesses the network, it is ensured that each communication module has been network-configured and connected, laying a foundation for the device to access the network.

[0015] In some embodiments, the obtaining of the current communication data information of the first communication module includes:

[0016] When accessing the network through the first communication module, send a current status query signal to the first communication module, and when receiving the current status response signal returned by the first communication module, determine the current network status and the current signal strength;

[0017] When accessing the network through the second communication module, listen to the current communication data sent by the first communication module, and determine the current network status and the current signal strength in the current communication data.

[0018] In this way, the current communication data information of the first communication module can be obtained by means of active acquisition or listening, with flexible and diverse methods, and real-time monitoring can be carried out to determine that the device can stably access the network through a line with better network quality, further improving the real-time performance and stability of the device's network access.

[0019] In some embodiments, the accessing the network through the second communication module includes:

[0020] When the current network status is a disconnected network status, access the network through the second communication module;

[0021] When the current network status is a communication status, if the current signal strength is less than the set strength, access the network through the second communication module.

[0022] It can be seen that the current network quality of the first communication module can be specifically determined according to the network status and signal strength. The switching judgment of device network access is simple and easy, improving the usability of device network access.

[0023] In some embodiments, the accessing the network through the second communication module includes:

[0024] Power the second communication module to make the second communication module in an online state;

[0025] When receiving the notification of successful network access sent by the second communication module, control the first communication module to be in an offline state.

[0026] In this way, when accessing the network through the second communication module, the first communication module is not powered off and can still monitor communication data. It can be switched to accessing the network through the first communication module in real time, that is, using the first communication module as the main communication module for networking, which can give full play to the advantages of stable communication, data traffic saving, and low cost of the first communication module.

[0027] In some embodiments, the accessing the network through the first communication module includes:

[0028] When the current network status is a communication state, if the current signal strength is greater than or equal to the set strength, control the first communication module to be in an online state;

[0029] Perform a power-off process on the second communication module to make the second communication module in an offline state.

[0030] Thus, when the current network quality of the first communication module is good, it can access the network through the first communication module in time and power off the second communication module, reducing the consumption of financial resources and resources while ensuring the normal network access of the device.

[0031] In some embodiments, the device for device network access includes:

[0032] An acquisition module, configured to acquire the current communication data information of the first communication module;

[0033] A first access module, configured to access the network through the second communication module when it is determined that the current network quality of the first communication module does not meet the set conditions according to the current communication data information;

[0034] A second access module, configured to access the network through the first communication module when it is determined that the current network quality of the first communication module meets the set conditions.

[0035] In some embodiments, the device network access apparatus includes a processor and a memory storing program instructions. The processor is configured to execute the above-described device network access method when executing the program instructions.

[0036] In some embodiments, the device includes a device body configured with a first communication module and a second communication module; the above-described device network access apparatus is installed in the device body.

[0037] In some embodiments, the storage medium stores program instructions that, when running, execute the above-described device network access method.

[0038] The method, apparatus, and device for device network access provided by the embodiments of the present disclosure can achieve the following technical effects:

[0039] The device is configured with a first communication module and a second communication module. In this way, after obtaining the current communication data information of the first communication module, it is possible to determine whether to access the network through the first communication module or the second communication module according to the current communication data information. That is, the device can adopt dual network access with the first communication module as the main communication module, improving the networking stability of the device and reducing the consumption of financial resources and resources.

[0040] The above general description and the following description are merely exemplary and explanatory and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] One or more embodiments are exemplarily illustrated by corresponding drawings. These exemplary illustrations and the drawings do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation, and:

[0042] Figure 1 is a schematic diagram of a scenario architecture for device network access provided by an embodiment of the present disclosure;

[0043] Figure 2 is a flowchart of a method for device network access provided by an embodiment of the present disclosure;

[0044] Figure 3 is a schematic diagram of a scenario architecture for device network access provided by an embodiment of the present disclosure;

[0045] Figure 4 is a flowchart of a method for device network access provided by an embodiment of the present disclosure;

[0046] Figure 5 is a schematic diagram of the structure of a device network access apparatus provided by an embodiment of the present disclosure;

[0047] Figure 6 It is a schematic structural diagram of a device network access device provided by an embodiment of the present disclosure;

[0048] Figure 7 It is a schematic diagram of a device provided by an embodiment of the present disclosure. Detailed implementation manners

[0049] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and illustration purposes, and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of explanation, multiple details are provided to fully understand the disclosed embodiments. However, one or more embodiments can still be implemented without these details. In other cases, well-known structures and devices can be shown in a simplified manner.

[0050] The terms "first", "second", etc. in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so as to implement the embodiments of the present disclosure described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion.

[0051] Unless otherwise stated, the term "plurality" means two or more.

[0052] In the embodiments of the present disclosure, the character " / " means that the objects before and after are in an "or" relationship. For example, A / B means: A or B.

[0053] The term "and / or" is an associative relationship describing an object, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B these three relationships.

[0054] The device can be connected to the Internet of Things through the configured communication module to realize remote control and corresponding applications such as home, commercial, industrial, etc. In the embodiments of the present disclosure, the device is configured with a first communication module and a second communication module. In this way, after obtaining the current communication data information of the first communication module, the network access can be determined through the first communication module or the second communication module according to the current communication data information, that is, the device can adopt dual-network access with the first communication module as the main communication module, improving the networking stability of the device and reducing the consumption of financial resources and resources.

[0055] Figure 1 It is a schematic diagram of a scenario architecture for device network access provided by an embodiment of the present disclosure. As Figure 1As shown in the figure, the device network access scenario may include: device 100 and the IoT cloud platform 200. Among them, two communication modules are configured in device 100, namely the first communication module 110 and the second communication module 120. Through these two communication modules, device 100 can be connected to the IoT cloud platform 200, that is, access the Internet of Things.

[0056] In the embodiments of the present disclosure, the first communication module 110 may be the main communication module, which has the characteristics of high data transmission rate, convenient network access, and low cost. It can be a WiFi module, a ZigBee module, or a Bluetooth module, etc. The second communication module 120 has the characteristics of stable signal, wide coverage, and relatively high cost. It can be a cellular mobile communication module, such as a 4G module or a 5G module, etc. In this way, according to the characteristics of each communication module, the network configuration of the first communication module 110 and the second communication module 120 or the automatic connection to the IoT platform 200 is realized. If the first communication module is a wireless local area network WiFi module and the second communication module is a 4G module, the WiFi module can be connected to the IoT platform 200 through a mobile application APP. After the 4G module is powered on, it can automatically connect to the IoT platform 200.

[0057] During the application process of the device, it can preferentially access the Internet of Things through the first communication module. When it detects that the network quality of the first communication module is poor, it can switch to accessing the Internet of Things through the second communication module. During this process, it continues to detect the network quality of the first communication module. Once the network quality of the first communication module is good, it immediately switches to accessing the Internet of Things through the first communication module.

[0058] Figure 2 It is a schematic flowchart of a method for device network access provided by the embodiments of the present disclosure. As Figure 2 shown, the process of device network access includes:

[0059] Step 201: Obtain the current communication data information of the first communication module.

[0060] The device is configured with a first communication module and a second communication module, and these two communication modules have completed network configuration. In some embodiments, when the first communication module is a wireless local area network WiFi module and the second communication module is a cellular mobile communication module, by receiving the confirmation instruction sent by the mobile application APP, the first communication module is controlled to connect to the wireless local area WiFi network. That is, the WiFi module needs to perform network configuration, and through the corresponding mobile application APP, the network configuration of the first communication module can be completed. For cellular mobile communication modules such as 4G modules or 5G modules, no network configuration is required, and they can automatically request to connect to the IoT cloud platform after being powered on.

[0061] In the embodiments of the present disclosure, the first communication module is the main communication module. Therefore, whether the device accesses the network through the first communication module or the second communication module, it is necessary to detect the communication data information of the first communication module in real time or at regular intervals, and the current moment corresponds to the current communication data information.

[0062] In some embodiments, obtaining the current communication data information of the first communication module includes: when accessing the network through the first communication module, sending a current status query signal to the first communication module, and when receiving the current status response signal returned by the first communication module, determining the current network status and the current signal strength; when accessing the network through the second communication module, listening to the current communication data sent by the first communication module, and determining the current network status and the current signal strength in the current communication data.

[0063] For example: when the device accesses the network through the WiFi module, the device can send a current status query signal to the WiFi module in real time or at regular intervals. Among them, the frame format of the current status query signal is:

[0064] FF FF + Frame length + 00 00 00 00 00 00 + F0 + 00 00 + Checksum

[0065] After the WiFi module receives the current status query signal, it will send a current status response signal to the device to report the network communication status. Among them, the frame format of the status response signal is:

[0066] FF FF + Frame length + 00 00 00 00 00 00 + F1 + Network status (2 bytes) + Signal strength (2 bytes) + Checksum

[0067] The meanings corresponding to the 2-byte network status and the 2-byte signal strength can be shown in Table 1.

[0068]

[0069] Table 1

[0070] If the current status response signal is FF FF 0C 00 00 00 00 00 00 F1 00 00 00 50 4D, then as shown in Table 1, it indicates that the communication of the WiFi module for networking is normal and the WiFi signal strength is 80. If the current status response signal is FF FF 0C 00 00 00 00 00 00 F1 00 01 00 01 FF 55, then as shown in Table 1, it indicates that the AP corresponding to the WiFi module cannot be connected, but the WiFi module has been configured. If the current status response signal is FF FF 0C 00 00 00 00 00 00 F1 00 02 00 30 2F, then as shown in Table 1, it indicates that the WiFi module cannot connect to the server and the WiFi signal strength is 48.

[0071] When the device accesses the network through the second communication module, although the serial port for the device to communicate with the first communication module no longer sends service data, it receives the communication data of the first communication module. That is, the device also needs to detect the communication data information of the first communication module. Thus, in some embodiments, when accessing the network through the second communication module, listen to the current communication data sent by the first communication module and determine the current network status and the current signal strength in the current communication data. In this way, the corresponding current network status and the current signal strength can be determined according to the current communication data sent by the first communication module.

[0072] Step 202: When it is determined that the current network quality of the first communication module does not meet the set conditions according to the current communication data information, access the network through the second communication module.

[0073] The current communication data information of the first communication module is obtained, and the current communication data information includes the current network status and the current signal strength. Thus, the current network quality of the first communication module can be determined according to the current communication data information. In some embodiments, when the current network status is a disconnected network status, access the network through the second communication module; when the current network status is a communication status, if the current signal strength is less than the set strength, access the network through the second communication module. That is, when the current network status is a disconnected network status, it can be determined that the current network quality of the first communication module does not meet the set conditions. Similarly, if the current network status is a communication status, but the current signal strength is less than the set strength, it can also be determined that the current network quality of the first communication module does not meet the set conditions.

[0074] For example, if the first communication module is a WiFi module and the currently received status response signal is FF FF 0C00 00 0000 00 00F1 00 01 00 01FF 55, as shown in Table 1, it indicates that the AP corresponding to the WiFi module cannot be connected, which means that the current network quality of the first communication module does not meet the set conditions. Or, if the currently received status response signal is FF FF 0C00 00 00 00 00 00F1 00 00 00 0010 55, as shown in Table 1, the communication of the WiFi module connected to the network is normal, and the current signal strength of the WiFi signal is 4. If the set strength is 20, since the current signal strength is less than the set strength, it can also be determined that the current network quality of the first communication module does not meet the set conditions.

[0075] Since the current network quality of the first communication module does not meet the set conditions, the device needs to access the network through the second communication module. If at the current moment, the device is accessing the network through the first communication module, it needs to switch to accessing the network through the second communication module. In some embodiments, accessing the network through the second communication module includes: powering on the second communication module to make it in an online state; and controlling the first communication module to be in an offline state when receiving a successful network access notification sent by the second communication module.

[0076] Since the second communication module can be automatically configured for network access when powered on, therefore, the second communication module can be powered on. After the second communication module is automatically configured for network access, it can send a successful network access notification. In this way, the device can control the first communication module to be in an offline state.

[0077] For example, if the first communication module is a wireless local area network WiFi module and the second communication module is a 4G module, then when it is determined that the current network quality of the first communication module does not meet the set conditions, the device can control the power supply of the 4G module through a GPIO port expander to make the 4G module go online. After the 4G module is successfully connected to the cloud, that is, after successful network configuration, it notifies the device, and the device can then notify the WiFi module to go offline. However, at this time, the WiFi module is normally powered on, and the device tells the WiFi module to take the initiative to go offline through the serial port. The serial port for the device to communicate with the WiFi module no longer sends service data, but continuously receives the communication data of the WiFi module to monitor the network quality.

[0078] Of course, if at the current moment, the device is accessing the network through the second communication module, it continues to access the network through the second communication module.

[0079] Step 203: When it is determined that the current network quality of the first communication module meets the set conditions, access the network through the first communication module.

[0080] In some embodiments, when the current network state is a communication state, if the current signal strength is greater than or equal to a set strength, it can be determined that the current network quality of the first communication module meets the set conditions. Thus, the network can be accessed through the first communication module. That is, accessing the network through the first communication module includes: when the current network state is a communication state, if the current signal strength is greater than or equal to the set strength, controlling the first communication module to be in an online state; performing a power-off process on the second communication module to make the second communication module in an offline state.

[0081] If at the current moment, the device accesses the network through the second communication module, it is necessary to switch to accessing the network through the first communication module. For example: if the first communication module is a wireless local area network (WiFi) module and the second communication module is a 4G module, and if the currently obtained communication data information includes: FF FF 0C 0000 00 00 00 00F1 00 00 00 50 4D, in this way, the communication of the WiFi module for networking is normal, and the current signal strength of the WiFi signal is 80 > the set strength of 30, then it can be determined that the current network quality of the WiFi module meets the set conditions. At this time, the network needs to be accessed through the WiFi module. The device can go online through the WiFi module path, and after successful online, power off the 4G module. Specifically, the device goes online through the WiFi module path, controls the 4G module to power off through the GPIO port expander, and makes the 4G module offline.

[0082] Of course, if at the current moment, the device accesses the network through the first communication module, it continues to access the network through the first communication module.

[0083] It can be seen that in the embodiments of the present disclosure, the device is configured with a first communication module and a second communication module. In this way, after obtaining the current communication data information of the first communication module, it can be determined whether to access the network through the first communication module or the second communication module according to the current communication data information. That is, the device can adopt a dual-network access with the first communication module as the main communication module, improving the networking stability of the device. And the device will only go online on one path, further reducing the consumption of financial resources and resources.

[0084] Next, the operation process will be incorporated into specific embodiments to illustrate the device network access process provided by the embodiments of the present invention.

[0085] In an embodiment of the present disclosure, as Figure 3As shown in the figure, the device network access scenario may include: device 100 and the Internet of Things cloud platform 200. Among them, two communication modules are configured in device 100, namely the WiFi module and the 4G module. In this way, device 100 accesses through the WiFi module and the corresponding AP, establishes a communication path with the Internet of Things platform, and can also establish a communication path with the Internet of Things platform through the 4G module. During the application of the device, the WiFi module is always powered on, and only when the communication path corresponding to the 4G module needs to go online, the 4G module is powered on. Moreover, in this embodiment, the device can be a commercial device, for example: a commercial water purification device. In this way, the WiFi module can be configured with a network through a commercial mobile applet, that is, the WiFi module connects to the wireless WiFi network. A table as shown in Table 1 is also saved in the device.

[0086] Figure 4 It is a schematic flowchart of a method for device network access provided by an embodiment of the present disclosure. As Figure 4 shown, the process of device network access includes:

[0087] Step 401: The device accesses the Internet of Things through the WiFi module and performs corresponding applications.

[0088] Step 402: At the moment corresponding to the set period, the device sends a current status query signal to the WiFi module.

[0089] Among them, the frame format of the current status query signal:

[0090] FF FF + frame length + 00 00 00 00 00 00 + F0 + 00 00 + checksum

[0091] Step 403: The device obtains the current status response signal returned by the WiFi module and determines the corresponding current network status and current signal strength according to Table 1.

[0092] Among them, the frame format of the status response signal:

[0093] FF FF + frame length + 00 00 00 00 00 00 + F1 + network status (2 bytes) + signal strength (2 bytes) + checksum

[0094] Thus, the corresponding current network status and current signal strength can be determined according to Table 1.

[0095] Step 404: Does the device determine whether the current network status is a disconnected state? If so, execute step 406; otherwise, execute step 405.

[0096] Step 405: Does the device determine whether the current signal strength is less than 20? If so, execute step 406; otherwise, return to step 403.

[0097] Step 406: The device powers the 4G module so that the 4G module is in an online state, and the device accesses the network through the 4G module.

[0098] Step 407: When the device receives the notification of successful network access sent by the 4G module, the device tells the WiFi module to take the initiative to go offline through the serial port and keeps powering the WiFi module.

[0099] Step 408: When the device receives the current communication data information sent by the WiFi module, it determines the corresponding current network status and current signal strength.

[0100] Step 409: Does the device determine whether the current network status is a network disconnection status? If so, return to Step 408; otherwise, execute Step 410.

[0101] Step 410: Does the device determine whether the current signal strength is less than 20? If so, return to Step 408; otherwise, execute Step 411.

[0102] Step 411: The device goes online through the WiFi module path, controls the 4G module to power off through the GPIO port expander, and makes the 4G module go offline. Return to Step 402.

[0103] The 4G module has advantages such as a wide coverage range and high stability, but its power consumption is relatively high and the corresponding cost is also high. The WiFi module has a fast transmission speed, convenient access, and low cost. Therefore, in this embodiment, the device is configured with a WiFi module and a 4G module. In this way, dual-network access with the WiFi module as the main communication module can be adopted to improve the networking stability of the device. Moreover, the device will only go online on one path, further reducing the consumption of financial resources and resources.

[0104] According to the above process for device network access, a system for device network access can be constructed.

[0105] According to the above process for device network access, a device for device network access can be constructed.

[0106] Figure 5 It is a schematic structural diagram of a device for device network access provided by an embodiment of the present disclosure. The device is configured with a first communication module and a second communication module. As Figure 5 shown, the device includes: an acquisition module 510, a first access module 520, and a second module 530.

[0107] The acquisition module 510 is configured to acquire the current communication data information of the first communication module.

[0108] The first access module 520 is configured to access the network through the second communication module when it is determined that the current network quality of the first communication module does not meet the set conditions according to the current communication data information.

[0109] The second access module 530 is configured to access the network through the first communication module when it is determined that the current network quality of the first communication module meets the set conditions.

[0110] In some embodiments, it further includes:

[0111] The network configuration module is configured to, when the first communication module is a wireless local area network (WiFi) module and the second communication module is a cellular mobile communication module, control the first communication module to connect to the wireless local area WiFi network by receiving a confirmation instruction sent by a mobile application (APP).

[0112] In some embodiments, the acquisition module 510 includes:

[0113] The first acquisition unit is configured to, when accessing the network through the first communication module, send a current status query signal to the first communication module, and determine the current network status and the current signal strength when receiving the current status response signal returned by the first communication module.

[0114] The second acquisition unit is configured to, when accessing the network through the second communication module, monitor the current communication data sent by the first communication module, and determine the current network status and the current signal strength in the current communication data.

[0115] In some embodiments, the first access module 520 includes:

[0116] The determination unit is configured to access the network through the second communication module when the current network status is a network disconnection state; and access the network through the second communication module when the current network status is a communication state and the current signal strength is less than the set strength.

[0117] In some embodiments, the first access module 520 includes:

[0118] The access unit is configured to supply power to the second communication module to make the second communication module in an online state; and control the first communication module to be in an offline state when receiving a network access success notification sent by the second communication module.

[0119] In some embodiments, the second access module 530 is specifically configured to, when the current network status is a communication state and the current signal strength is greater than or equal to the set strength, control the first communication module to be in an online state; and perform a power-off process on the second communication module to make the second communication module in an offline state.

[0120] It can be seen that in this embodiment, the device is configured with a first communication module and a second communication module. In this way, after the device network access device obtains the current communication data information of the first communication module, it can determine whether to access the network through the first communication module or the second communication module according to the current communication data information. That is, the device can adopt dual network access with the first communication module as the main communication module, improving the network connection stability of the device. Moreover, the device will only go online on one path, further reducing the consumption of financial resources and resources.

[0121] Combined with Figure 6 , the present disclosure embodiment provides a device 600 for device network access, including:

[0122] A processor 1000 and a memory 1001, and may further include a communication interface 1002 and a bus 1003. Among them, the processor 1000, the communication interface 1002, and the memory 1001 can complete mutual communication through the bus 1003. The communication interface 1002 can be used for information transmission. The processor 1000 can call the logical instructions in the memory 1001 to execute the method for device network access in the above embodiment.

[0123] In addition, when the logical instructions in the above-mentioned memory 1001 are implemented in the form of software function units and sold or used as an independent product, they can be stored in a computer-readable storage medium.

[0124] The memory 1001, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the methods in the present disclosure embodiments. The processor 1000 executes functional applications and data processing by running the program instructions / modules stored in the memory 1001, that is, implements the method for device network access in the above method embodiments.

[0125] The memory 1001 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 1001 may include a high-speed random access memory and may also include a non-volatile memory. For example: the memory 1001 may be Figure 1 the external memory in

[0126] The present disclosure embodiment provides a device for device network access, including: a processor and a memory storing program instructions, and the processor is configured to execute the method for device network access when executing the program instructions.

[0127] Combined with Figure 7 Figure 7 , an embodiment of the present disclosure provides a device, including: a device body 700 configured with a first communication module and a second communication module, for a device network access device 500(600) to be installed on the device body. The installation relationship described here is not limited to being placed inside the product, but also includes installation connections with other components of the product, including but not limited to physical connection, electrical connection, or signal transmission connection, etc. Those skilled in the art can understand that the device network access device 500(600) can be adapted to a feasible device body, thereby implementing other feasible embodiments.

[0128] An embodiment of the present disclosure provides a storage medium storing program instructions, and when the program instructions are running, they execute the method for device network access as described above.

[0129] An embodiment of the present disclosure provides a computer program product, where the computer program product includes a computer program stored on a storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer is made to execute the above method for device network access.

[0130] The above storage medium can be a transient computer-readable storage medium or a non-transient computer-readable storage medium.

[0131] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The foregoing storage medium can be a non-transient storage medium, including: various media that can store program codes such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc, etc., or can also be a transient storage medium.

[0132] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The embodiments only represent possible variations. Unless explicitly required, the individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of the present disclosure includes the entire scope of the claims and all available equivalents of the claims. When used in this application, although terms such as "first", "second", etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, without changing the meaning of the description, the first element may be called the second element, and similarly, the second element may be called the first element, as long as all occurrences of the "first element" are consistently renamed and all occurrences of the "second element" are consistently renamed. The first element and the second element are both elements, but they may not be the same element. Moreover, the terms used in this application are only used to describe the embodiments and do not limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to also include the plural forms. Similarly, as used in this application, the term "and / or" refers to any and all possible combinations including one or more of the associated listed items. Additionally, when used in this application, the term "comprise" and its variants "comprises" and / or "comprising", etc. mean the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups of these. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, or device comprising the element. In this article, what each embodiment focuses on may be the differences from other embodiments, and the same or similar parts between the embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, the relevant parts may refer to the description of the method part.

[0133] Those skilled in the art will realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner may depend on the specific application and design constraints of the technical solution. The skilled person may use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present disclosure. The skilled person 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 foregoing method embodiments and will not be elaborated herein.

[0134] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be electrical, mechanical, or other forms. 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 can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. Additionally, in the embodiments of the present disclosure, the functional units can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. In the description corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for device network access, characterized in that, The device is configured with a first communication module and a second communication module, and the method includes: Obtaining the current communication data information of the first communication module; When it is determined according to the current communication data information that the current network quality of the first communication module does not meet the set conditions, accessing the network through the second communication module; When it is determined that the current network quality of the first communication module meets the set conditions, accessing the network through the first communication module.

2. The method according to claim 1, wherein It also includes: When the first communication module is a wireless local area network (WiFi) module and the second communication module is a cellular mobile communication module, by receiving a confirmation instruction sent by a mobile application (APP), controlling the first communication module to connect to the wireless local area WiFi network.

3. The method according to claim 1 or 2, characterized in that, The obtaining of the current communication data information of the first communication module includes: When accessing the network through the first communication module, sending a current status query signal to the first communication module, and when receiving the current status response signal returned by the first communication module, determining the current network status and the current signal strength; When accessing the network through the second communication module, listening to the current communication data sent by the first communication module, and determining the current network status and the current signal strength in the current communication data.

4. The method according to claim 3, wherein The accessing the network through the second communication module includes: When the current network status is a disconnected network status, accessing the network through the second communication module; When the current network status is a communication status, if the current signal strength is less than the set strength, accessing the network through the second communication module.

5. The method according to claim 1 or 4, characterized in that, The accessing the network through the second communication module includes: Powering the second communication module to make the second communication module in an online state; When receiving the network access success notification sent by the second communication module, controlling the first communication module to be in an offline state.

6. The method according to claim 5, wherein The accessing the network through the first communication module includes: When the current network status is a communication status, if the current signal strength is greater than or equal to the set strength, controlling the first communication module to be in an online state; Performing a power-off process on the second communication module to make the second communication module in an offline state.

7. A device for network access of a device, characterized in that The device is configured with a first communication module and a second communication module, and the device includes: An obtaining module, configured to obtain the current communication data information of the first communication module; A first access module, configured to access the network through the second communication module when it is determined according to the current communication data information that the current network quality of the first communication module does not meet the set conditions; A second access module, configured to access the network through the first communication module when it is determined that the current network quality of the first communication module meets the set conditions.

8. A device for network access of a device, the device comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute the method for device network access according to any one of claims 1 to 6 when executing the program instructions.

9. A device, characterized in that, It includes: A device body configured with a first communication module and a second communication module; The device for device network access according to claim 7 or 8, installed on the device body.

10. A storage medium stores program instructions, characterized in that, When the program instructions are running, they execute the method for device network access according to any one of claims 1 to 6.