Network repair method and apparatus, device, and storage medium
By providing network repair methods in the Internet of Things environment, it automatically handles network repair requests for smart home appliances, solving the problem of devices going offline when users change routers or modifying WiFi, and improves repair efficiency and user experience.
Patent Information
- Application Number
- PCT/CN2024/089533
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-20
- Filing Date
- 2024-04-24
- Publication Date
- 2025-01-23
AI Technical Summary
In the Internet of Things environment, when users need to change their home router or modify WiFi, all smart home appliances will be offline. The existing technology requires binding new network information one by one. The steps are repeated and error-prone, especially in a multi-layer router environment. , user operations are complex and time-consuming.
Provides a network repair method that obtains the network repair request sent by the device in the target area, forwards it to the user terminal, obtains the repair instruction, and performs network repair on the device in the target area based on the instruction to achieve automated repair.
It reduces the complexity and time-consuming of network repair of smart home appliances, improves the efficiency of network repair, and reduces user operation steps and error rates.
Smart Images

Figure CN2024089533_23012025_PF_FP_ABST
Abstract
Description
Network repair method, device, equipment and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 202310905657.1 and application date of July 20, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0003] The present application relates to the field of Internet of Things technology, and in particular to a network repair method, apparatus, device and storage medium. Background Art
[0004] With the development of IoT technology in the home, users can now control multiple smart home appliances through the IoT. However, when users need to change network information, such as replacing their home router or modifying their Wi-Fi, all smart home appliances go offline. With existing technology, users need to bind each smart home appliance to the new network information one by one or have them scan for a new network using a Bluetooth pairing app on their phone.
[0005] However, the above solution has repetitive steps and is prone to timeout errors. Especially in the case of multi-layer routers, the user's operation difficulty and time complexity will increase exponentially.
[0006] Summary of the Invention
[0007] In view of this, embodiments of the present application provide a network repair method, apparatus, device, and storage medium, aiming to improve the efficiency of network repair.
[0008] The technical solution of the embodiment of the present application is implemented as follows:
[0009] In a first aspect, an embodiment of the present application provides a network repair method, applied to a first device, comprising:
[0010] Obtain a first network repair request sent by a second device in a target area;
[0011] forwarding the first network repair request to a user terminal;
[0012] Obtaining a first network repair instruction, where the first network repair instruction is a network repair instruction sent by the user terminal in response to the first network repair request, and the first network repair instruction is used to instruct the first device to repair at least one third device in the target area;
[0013] Based on the first network repair instruction, the network of each of the third devices in the target area is repaired.
[0014] In some embodiments, repairing the network of each of the third devices in the target area based on the first network repair instruction includes:
[0015] Acquire a device identifier of each of the third devices and network information to be sent, where the network information to be sent is network information corresponding to a network fault type of each of the third devices in the target area;
[0016] Based on the device identification of each of the third devices, the network information is sent to each of the third devices, so that each of the third devices accesses the network according to the network information.
[0017] In some embodiments, the method further comprises:
[0018] Obtaining a target area identifier of the target area and a network fault type of each of the third devices;
[0019] determining a device identifier of each of the third devices in the target area based on the target area identifier and a first mapping relationship, wherein the first mapping relationship is used to represent a correspondence between the area identifier and the device identifier;
[0020] The network information to be sent is determined based on the network fault type of each of the third devices and a second mapping relationship, where the second mapping relationship represents a correspondence between the network fault type and the network information of the first device.
[0021] In some embodiments, determining the device identifier of each of the third devices in the target area based on the target area identifier and the first mapping relationship includes:
[0022] If it is determined that the target area identifier is the same as the first device area identifier, then the device identifier of each of the third devices in the first device area is determined based on the first device area identifier and the first mapping relationship.
[0023] In some embodiments, the first network repair request includes: a region identifier of the second device and a device identifier of the second device, and the method further includes:
[0024] Based on the area identifier of the second device and the device identifier of the second device, a first mapping relationship is updated, where the first mapping relationship is used to represent a correspondence between the area identifier and the device identifier.
[0025] In some embodiments, the method further comprises:
[0026] Sending a second network repair request to the user terminal, where the second network repair request includes the first device identifier and the network fault type of the first device;
[0027] Obtaining a second network repair instruction, where the second network repair instruction is a network repair instruction in response to the second network repair request, the second network repair instruction including network information of a user terminal corresponding to a network fault type of the first device, and instructing the first device to repair the first device based on the network information of the user terminal;
[0028] The device network is repaired based on the second network instruction.
[0029] In a second aspect, an embodiment of the present application provides a network repair method, applied to a user terminal, comprising:
[0030] Obtain a first network repair request sent by a second device in a target area that is forwarded by the first device;
[0031] In response to the first network repair request, confirming whether to perform repair;
[0032] If so, a first network repair instruction is generated to the first device, where the first network repair instruction is used to instruct the first device to repair at least one third device in the target area.
[0033] In some embodiments, before generating the first network repair request, the method further includes:
[0034] Obtaining a target area identifier of the target area;
[0035] Based on the target area identifier and the repair rule of the first device, determine whether the first device complies with the repair rule. If so, generate a first network repair instruction to the first device; if not, generate a reminder message of repair failure. The repair rule is the corresponding relationship between the first device identifier and the target area, which is used to characterize the area where the first device can be repaired.
[0036] In some embodiments, the method further comprises:
[0037] Obtaining a second network repair request, where the second network repair request includes the first device identifier and a network fault type of the first device;
[0038] In response to the second network repair request, it is determined to perform repair, and a second network repair instruction is generated and sent to the first device. The second network repair instruction includes network information of the user terminal corresponding to the network fault type of the first device, and is used to instruct the first device to repair the first device based on the network information of the user terminal.
[0039] In a third aspect, an embodiment of the present application provides a network repair apparatus, applied to a first device, comprising:
[0040] A first acquiring module, configured to acquire a first network repair request sent by a second device in a target area;
[0041] A forwarding module, configured to forward the first network repair request to a user terminal;
[0042] a second acquiring module, configured to acquire the first network repair instruction, where the first network repair instruction is a network repair instruction sent by the user terminal in response to the first network repair request, and the first network repair instruction is used to instruct the first device to repair at least one third device in the target area;
[0043] A repair module is configured to repair the network of each of the third devices in the target area based on the first network repair instruction.
[0044] In a fourth aspect, an embodiment of the present application provides a network repair device, applied to a user terminal, comprising:
[0045] a third obtaining module configured to obtain a first network repair request sent by a second device in a target area and forwarded by the first device;
[0046] The determination module is configured to confirm whether to perform repair in response to the first network repair request; if so, generate a first network repair instruction to the first device, wherein the first network repair instruction is used to instruct the first device to repair at least one third device in the target area.
[0047] In a fifth aspect, the present application provides a first device, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein:
[0048] The processor is configured to execute the steps of the method described in the first aspect when running a computer program.
[0049] In a sixth aspect, an embodiment of the present application provides a user terminal, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein:
[0050] The processor is used to execute the steps of the method described in the second aspect when running a computer program.
[0051] In a seventh aspect, an embodiment of the present application provides a network communication system, comprising the first device as described in the fifth aspect and the user terminal as described in the sixth aspect.
[0052] In an eighth aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method described in the first and second aspects are implemented.
[0053] The network repair method provided in an embodiment of the present application is applied to a first device, and includes: obtaining a first network repair request sent by a second device in a target area; forwarding the first network repair request to a user terminal; obtaining a first network repair instruction, the first network repair instruction being a network repair instruction sent by the user terminal in response to the network repair request, the first network repair instruction being used to instruct the first device to repair at least one third device in the target area; and repairing the network of each third device in the target area based on the first network repair instruction. In this way, when a device needs to perform network repair, the network of at least one third device in the target area is automatically repaired by the first device, while reducing operational complexity and improving network repair efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] FIG1 is a flow chart of a network repair method provided by an embodiment of the present application;
[0055] FIG2 is a flow chart of another network repair method provided in an embodiment of the present application;
[0056] FIG3 is a schematic diagram of a scenario of an application example of the present application;
[0057] FIG4 is a flow chart of device operation in an application example of the present application;
[0058] FIG5 is an overall flow chart of home appliance network repair in an application example of the present application;
[0059] FIG6 is a schematic diagram of a user interface UE of Solution 1 in an application example of the present application;
[0060] FIG7 is a schematic diagram of a user interface UE of Solution 2 in an application example of the present application;
[0061] FIG8 is a schematic diagram of a user interface UE of solution three in an application example of the present application;
[0062] FIG9 is a schematic structural diagram of a network repair device provided in an embodiment of the present application;
[0063] FIG10 is a schematic structural diagram of another network repair device provided in an embodiment of the present application;
[0064] FIG11 is a schematic structural diagram of a first device provided in an embodiment of the present application;
[0065] FIG12 is a schematic diagram of the structure of a user terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The present application will be described in further detail below with reference to the accompanying drawings and embodiments.
[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.
[0068] An embodiment of the present application provides a network repair method, which is applied to a first device. As shown in FIG1 , the method includes the following steps:
[0069] Step 110: Acquire a first network repair request sent by a second device in the target area.
[0070] Here, a zone is the physical area where a device is located. For example, a building contains multiple rooms, each of which contains multiple devices. A room is considered a zone. The target area can include one or multiple zones.
[0071] The first device and the second device herein may include household appliances, including but not limited to at least one of the following: an air conditioner, a washing machine, an electric rice cooker, an induction cooker, and a refrigerator. The first device and the second device are different. The first device is a repaired device, and the second device is an unrepaired device.
[0072] Here, the network repair request is sent by the second device in the target area. The area where the second device is located can be the same area or a different area as the area where the first device is located. The second device can send a network repair request to the outside through full-link broadcast technology. The full-link broadcast technology here includes: LAN UDP (User Datagram Protocol) broadcast, Bluetooth BLE (Bluetooth Low Energy) connectable broadcast, BLE unconnectable broadcast, WIFI Sniffer broadcast technology. When the network fails, the second device will send a network repair request to the outside through full-link broadcast technology. The types of network failures here include: routing password error information, wireless hotspot search failure information, domain name resolution exception information and external network connection failure information.
[0073] Step 120: Forward the first network repair request to the user terminal.
[0074] The user terminals here include mobile phones, computers, and tablets. To protect user privacy, the first device does not directly repair the second device. Instead, after receiving the network request sent by the second device, it forwards it to the user terminal, which then confirms whether to repair it.
[0075] Step 130: Obtain a first network repair instruction, where the first network repair instruction is a network repair instruction sent by the user terminal in response to the first network repair request, and the first network repair instruction is used to instruct the first device to repair at least one third device in the target area;
[0076] Here, the first device will obtain a first network repair instruction. Specifically, after responding to the first network repair request forwarded by the first device and confirming the repair, the user terminal will generate a first network repair instruction to the first device, instructing the first device to repair at least one third device in the target area. The third device here can be the same as or different from the second device, and the user can select it on the terminal.
[0077] Step 140: Repair the network of each third device in the target area based on the first network repair instruction.
[0078] Here, after receiving the first network repair instruction sent by the user terminal, the first device can repair the network of each third device.
[0079] The network repair method provided in an embodiment of the present application is applied to a first device, and includes: obtaining a first network repair request sent by a second device in a target area; forwarding the first network repair request to a user terminal; obtaining a first network repair instruction, the first network repair instruction being a network repair instruction sent by the user terminal in response to the network repair request, the first network repair instruction being used to instruct the first device to repair at least one third device in the target area; and repairing the network of each third device in the target area based on the first network repair instruction. In this way, when a device needs to perform network repair, the network of at least one third device in the target area is automatically repaired by the first device, while reducing operational complexity and improving network repair efficiency.
[0080] In some embodiments, repairing the network of each third device in the target area based on the first network repair instruction includes:
[0081] Obtaining a device identifier of each third device and network information to be sent, where the network information to be sent is network information corresponding to a network fault type of each third device in the target area;
[0082] Based on the device identification of each third device, network information is sent to each third device, so that each third device accesses the network according to the network information.
[0083] Here, when repairing each third device, the first device needs to obtain the device identifier of each third device to locate the third device. It also needs to obtain network information to be sent. This network information is the network information corresponding to the network failure type of each third device in the target area. After sending this network information to each third device, each third device will access the network based on this network information.
[0084] In some embodiments, the method further comprises:
[0085] Obtaining a target area identifier of a target area and a network fault type of each third device;
[0086] Determining a device identifier of each third device in the target area based on the target area identifier and the first mapping relationship, where the first mapping relationship is used to represent a correspondence between the area identifier and the device identifier;
[0087] The network information to be sent is determined based on the network fault type of each third device and the second mapping relationship, where the second mapping relationship represents a correspondence between the network fault type and the network information of the first device.
[0088] Here, the device identification of each third device in the target area can be determined based on the target area identification of the target area. Specifically, the device identification of each third device in the target area is determined based on the target area identification of the target area and the first mapping relationship, and the first mapping relationship is used to characterize the correspondence between the area identification and the device identification. Generally speaking, a target area contains multiple devices, that is, a region identification includes at least one device identification. The target area identification can be the same as the region identification of the area to which the first device belongs, or it can be different from the region identification of the area to which the first device belongs.
[0089] Here, the network information to be sent can be determined based on the network failure type of each third device. Specifically, the network failure type of each third device and the second mapping relationship determine the network information to be sent, and the second mapping relationship represents the correspondence between the network failure type and the network information of the first device. For example, if the network failure type of each third device is a routing password error, the routing password information of the first device corresponding to the routing password error can be searched in the first device based on the second mapping relationship. The routing password information of the first device here is the correct routing password information, that is, the network information to be sent, and the network information to be sent is used for the third device to perform repairs.
[0090] In some embodiments, determining the device identifier of each third device in the target area based on the target area identifier and the first mapping relationship includes:
[0091] If it is determined that the target area identifier is the same as the first device area identifier, the device identifier of each third device in the first device area is determined based on the first device area identifier and the first mapping relationship.
[0092] Here, when the region identifier of the first device is the same as the target region identifier, each third device belongs to the same region as the first device. In this case, the target region identifier is the same as the first device region identifier. Based on the first device region identifier and the first mapping relationship, the device identifier of each third device in the first device region is determined. This allows the first device to repair the networks of other devices in its region.
[0093] In some embodiments, the first network repair request includes: a region identifier of the second device and a device identifier of the second device, and the method further includes:
[0094] Based on the region identifier of the second device and the device identifier of the second device, a first mapping relationship is updated, where the first mapping relationship is used to represent a correspondence between the region identifier and the device identifier.
[0095] Here, the first network repair request sent by the second device may include the area identifier of the second device and the device identifier of the second device. The first device pre-stores a first mapping relationship for characterizing the correspondence between the area identifier and the device identifier. Based on the area identifier of the second device and the device identifier of the second device, the first mapping relationship can be updated so that the area identifier and device identifier of the second device stored in the first device are the latest.
[0096] In some embodiments, the method further comprises:
[0097] Sending a second network repair request to the user terminal, where the second network repair request includes the first device identifier and the network fault type of the first device;
[0098] Obtaining a second network repair instruction, where the second network repair instruction is a network repair instruction in response to the second network repair request, the second network repair instruction including network information of the user terminal corresponding to the network fault type of the first device, and instructing the first device to repair the first device based on the network information of the user terminal;
[0099] The device network is repaired based on the second network instruction.
[0100] Here, when a network failure occurs on the first device, the first device sends a second network repair request to the user terminal, and the second network repair request includes the device identifier of the first device. The first device here is the device to be repaired.
[0101] Here, the first device repairs the device network based on the second network repair instruction sent by the user terminal.
[0102] The present application also provides a network repair method, which is applied to a user terminal, as shown in FIG2 , and includes the following specific steps:
[0103] Step 210: Obtain a first network repair request sent by a second device in a target area that is forwarded by the first device.
[0104] Here, the user terminal obtains a first network repair request, where the first network repair request is a first network repair request sent by a second device in the target area and forwarded by a first device. In some embodiments, if the user terminal is within the target area, it can receive the first network repair request sent by the second device in the target area and forwarded by a device, and can also directly receive the first network repair request sent by the second device in the target area. If it is not within the target area, the first device forwards the first network repair request sent by the second device in the target area to the user terminal, and the user terminal obtains the first network repair request sent by the second device in the target area and forwarded by the first device, where the first device is the repaired device.
[0105] Step 220: In response to the first network repair request, confirm whether to perform repair;
[0106] If so, a first network repair instruction is generated to the first device, where the first network repair instruction is used to instruct the first device to repair at least one third device in the target area.
[0107] Here, upon receiving the first network repair request, the user terminal responds to the request and confirms whether to perform the repair. This ensures customer privacy by allowing the user terminal to confirm whether the repair is performed. If so, a first network repair instruction is generated and sent to the first device. The first network repair instruction instructs the first device to repair at least one third device in the target area.
[0108] Here, when confirming the repair, the user can specify at least one third device in the target area to be repaired. The second and third devices can be the same or different. The user can select to repair at least one second device in the target area or another device in the target area, and generate a first network repair instruction to the first device. The first device then repairs the at least one third device in the target area.
[0109] Here, when the user terminal is in the target area, in addition to receiving the first network request forwarded by the first device, it can also directly receive the first network repair request from the second device in the target area. In this case, the user terminal can also choose to directly repair the second device in the target area based on the first network request. However, the user needs to manually repair the second device in the target area, which is cumbersome. In this way, the user terminal obtains and confirms that the first device has automatically repaired at least one third device, which improves the efficiency of network repair, reduces the complexity of operation, and enhances the user experience.
[0110] In some embodiments, before generating the first network repair request, the method further includes:
[0111] Get the target area identifier of the target area;
[0112] Based on the target area identifier and the repair rule of the first device, determine whether the first device complies with the repair rule. If so, generate a first network repair instruction to the first device; if not, generate a reminder message of repair failure. The repair rule is the corresponding relationship between the first device identifier and the target area, which is used to characterize the area where the first device can be repaired.
[0113] Here, before generating the first network repair request, the user terminal obtains the target area identifier of the target area and, based on the target area identifier and the repair rule of the first device, determines whether the first device complies with the repair rule. The repair rule here is the corresponding relationship between the first device identifier and the target area, and is used to characterize the area that the first device can repair. If the target area identifier is not within the target area range that the first device can repair, the first device does not comply with the repair rule, and a repair failure reminder message is generated; if the target area identifier is within the target area range that the first device can repair, the first device complies with the repair rule, and a first network repair instruction is generated to the first device, thereby improving the accuracy of the network repair.
[0114] In some embodiments, the method further comprises:
[0115] Obtaining a second network repair request, where the second network repair request includes the first device identifier and the network fault type of the first device;
[0116] In response to the second network repair request, it is determined to perform repair, and a second network repair instruction is generated and sent to the first device. The second network repair instruction includes network information of the user terminal corresponding to the network fault type of the first device, and is used to instruct the first device to repair the first device based on the network information of the user terminal.
[0117] Here, when a failure occurs in the first device, when the user terminal is located in the area to which the first device belongs, the user terminal receives a second network repair request from the first device, where the second network repair request includes the first device identifier and the network failure type of the first device;
[0118] When the user terminal responds to the second network repair request and determines to perform repair, the user terminal determines the network information of the user terminal corresponding to the network fault type of the first device, generates and sends a second network repair instruction to the first device, and the second network repair instruction includes the network information of the user terminal corresponding to the network fault type of the first device, and is used to instruct the first device to repair the first device based on the network information of the user terminal.
[0119] Below, the embodiment of the present application is described in detail with reference to an application example.
[0120] Generally speaking, after a family replaces their router or changes their WiFi password, all their smart devices will go offline. At this point, it is usually necessary to re-enter the AP (access point) network configuration mode for each smart device in the home and bind the new network information to the home. Alternatively, all smart devices can be restored to factory settings and scan for network configuration through the Bluetooth network configuration function of the mobile phone application. The drawbacks of using the above solution to allow smart devices to enter the AP network configuration mode one by one include: if the network information of the router in a home area changes, each of the corresponding multiple devices must re-enter the pairing mode for network configuration, which is cumbersome and prone to timeout errors.
[0121] With the current trend of whole-home smart appliances, more and more people are building their own houses, villas, apartments, and factories. To ensure signal coverage for every household, each floor typically requires a dedicated router. However, if network information needs to be updated, the aforementioned solution for updating network information across multiple routers in villas and apartments presents drawbacks: Besides requiring reconfiguration of smart devices on each floor, there's also the risk of devices in one area connecting to routers in another, leading to poor network signal and reduced connection stability. This exponentially increases the user experience and time complexity.
[0122] Based on this, this application example provides a home appliance network repair method based on home partition multi-modality, which is applied to the scenario shown in Figure 3. Figure 3 is a home multi-area network distribution diagram. For a family, a family includes several rooms, i.e., several areas, such as area 1, i.e., the living room, area 2, i.e., bedroom 1, and area 3, i.e., bedroom 2. Different areas are connected to different routers. For example, area 1 is connected to router A, and area 2 is connected to router B. The area can include multiple devices, such as air conditioning equipment, refrigerator equipment, etc.
[0123] Based on the above scenario, this application example includes a master device (i.e., the first device), slave devices (i.e., the second and third devices), a user app (i.e., the user terminal), and a server device for the user terminal. Both the master device and the slave devices are home devices. The device operation flow chart for this application example is shown in Figure 4, including:
[0124] Step 401: Start.
[0125] Here, after the user updates the routing and network information at home, the home slave device goes offline and sends a first network request to the master device, and the master device starts repairing.
[0126] Step 402: Open the user APP on the homepage and scan and find nearby offline devices.
[0127] Here, when the user APP is opened on the homepage, the user APP will receive the first network request and discover nearby offline devices.
[0128] Step 403: The user APP pops up a page asking whether to repair immediately.
[0129] Here, when an offline slave device is found nearby, the mobile app pops up a page asking whether to repair it immediately.
[0130] If the answer is yes, proceed to step 404. If not, click "Do not process yet" and proceed to step 402.
[0131] Step 404: The user APP lists all offline home devices.
[0132] When the user confirms to repair immediately, the user APP lists all offline devices for the user to choose.
[0133] Step 405: The user APP selects the device to be repaired and confirms the one-click repair.
[0134] Here, the user can choose to repair all offline devices that sent the first network request, or select the device that the user believes needs to be repaired, that is, at least one third device. The device that needs to be repaired, that is, at least one third device, can be the same as or different from the device that sent the first network repair request, that is, the second device.
[0135] Step 406: The master device inputs the correct network information to the device to be repaired.
[0136] Here, after receiving the first repair instruction sent by the user APP, the master device inputs correct network information to the device to be repaired, that is, at least one third device.
[0137] Step 407: The device to be repaired starts connecting to the Internet
[0138] Here, the device to be repaired will start to connect to the Internet and bind based on the correct network information to repair the device network.
[0139] Step 408: Check whether the device to be repaired is connected successfully.
[0140] If yes, execute step 409 ; if no, select the failed device to retry and execute step 407 .
[0141] Step 409: Repair is completed.
[0142] Step 410: End.
[0143] The home appliance network repair solution in this application example includes three solutions. The overall flow chart of home appliance network repair is shown in Figure 5:
[0144] Solution 1: The user APP proactively repairs the main device.
[0145] The specific steps include:
[0146] Step 501: The master device sends a second network request to the user APP.
[0147] After the user updates the routing and network information at home, the user connects to the main device using the routing, such as air conditioner 1, and broadcasts a second network repair request to the user APP through the full-link broadcast technology. The second network repair request includes the main device identifier and the network fault type of the main device. Here, the network fault type of the main device is a router information error.
[0148] Step 502: The user APP obtains a second network repair request;
[0149] Taking the main device as air conditioner 1 as an example, referring to Figure 6, after the user opens the application mobile phone APP, Figure 6 is the UE diagram (user interface) of the user APP of solution one, and finds that the kitchen air conditioner 1 is offline and the main device with wrong routing information is found.
[0150] Step 503: The user APP prompts the user that the network information of the main device is incorrect.
[0151] After the user APP finds the prompt of kitchen air conditioner 1, the user enters the operation interface and will be prompted "Air conditioner 1 is found to be offline due to incorrect WIFI information, do you want to repair it?"
[0152] Step 504: The user enters the plug-in page to update.
[0153] When the user confirms that the repair is immediate, enter the correct SSID and password, click Next, and the user enters the plug-in page to update and obtain the correct routing network information.
[0154] Step 505: The user APP generates and sends a second network repair instruction to the main device.
[0155] The user APP generates and sends a second network repair instruction to the first device, namely air conditioner 1. The second network repair instruction includes correct routing network information. The second network repair request is used to instruct air conditioner 1 to repair the main device based on the correct routing network information of the user APP.
[0156] Step 506: The master device connects and logs in based on the new routing information.
[0157] The master device repairs the device network based on the second network instruction.
[0158] Here, the second network repair instruction includes the user terminal's network information corresponding to the first device's network fault type, i.e., new routing information, and is used to instruct the first device to repair the first device based on the user terminal's network information. As a result, the master device rebinds and logs in using the new routing network information.
[0159] In this way, based on the above solution, when the user's home routing network information is updated, the network information of the device can be conveniently repaired individually or in batches through the APP.
[0160] Solution 2: The master device repairs the slave device. The slave device and the master device belong to the same region, as shown in Figure 5. The specific steps are as follows:
[0161] Step 510: The master device obtains and forwards the first network repair request sent by the slave device in the kitchen area.
[0162] Referring to Figure 7, which is a UE diagram (user interface) of the user app for Solution 2, it is assumed that the target area of the above embodiment is the kitchen area, the master device and the slave devices are both air conditioners, the master device is air conditioner 1, and the slave devices are air conditioners 2 and 3. That is, the target areas of the areas to which the master device and the slave devices belong are the same, that is, the target area identifiers of the target areas are also the same. The master device, air conditioner 1, is the air conditioner 1 that has been actively repaired in the kitchen area. Air conditioner 1 automatically collects the first network request broadcasted by other air conditioners, i.e., slave devices, in the kitchen area through the full-link broadcast technology.
[0163] When the user is outside the kitchen area, only the master device can send the first network request to the user app. When the user is in the kitchen area, not only the master device can forward the first network request to the user app, but the slave device can also directly send the first network request to the user app.
[0164] Step 511: The user APP sends a confirmation message confirming the repair of the slave device to the server.
[0165] After obtaining the first network repair request sent by the second device in the target area forwarded by the first device, the user APP responds to the first network repair request to confirm whether to perform the repair; if so, it generates a first network repair instruction to the first device, and the first network repair instruction is used to instruct the first device to repair at least one third device in the target area.
[0166] Referring to Figure 7, after the user opens the mobile phone APP and enters the kitchen area, a prompt will be displayed: "The routing network information of the air conditioning equipment in the kitchen area is incorrect. Do you want to repair it?" The user can then select "Confirm to repair it immediately" and then select the slave device to be repaired, that is, at least one third device. The third device here can be the same as the second device or different. For example, the second device is air conditioner 2. After the user terminal receives the first network request and confirms to repair it immediately, it selects the slave device to be repaired on the operation interface. In this case, the user can choose to confirm to repair air conditioner 2. At this time, the third device is the same as the second device, both of which are air conditioner 2. The user can choose to confirm to repair air conditioners 2 and 3. At this time, at least one third device is air conditioner 2 and air conditioner 3, which are different from the second device.
[0167] Step 512: The user APP server triggers the update of the slave devices that comply with the family rules.
[0168] Here, after the user confirms to repair immediately, the server receives the confirmation information and obtains the target area identifier of the target area, i.e., the kitchen area; based on the target area identifier and the repair rules of the first device, it determines whether the first device meets the repair rules. Referring to Figure 7, if so, when the user confirms to repair immediately, enters the correct SSID and password, and clicks Next, a first network repair instruction is generated to the first device; if not, a reminder message of repair failure is generated. The repair rules are the areas that the first device can repair. The user can set the repair rules for the first device as needed, that is, which target areas the first device can repair. The repair rule is the corresponding relationship between the first device identifier and the target area, which is used to characterize the areas that the first device can repair. If the kitchen area is not in the repair rules of air conditioner 1, it indicates that air conditioner 1 cannot repair the equipment in the kitchen area, and the repair fails. If the repair is successful, the user APP server sends the first network repair instruction to the main device.
[0169] Step 513: The master device repairs the slave device.
[0170] The master device performs repairs based on the network of each third device in the target area.
[0171] The master device obtains a first network repair instruction, where the first network repair instruction is a network repair instruction sent by the user terminal in response to the first network repair request, and is used to instruct the first device to repair at least one third device in the kitchen area.
[0172] Repairing the network of each third device in the kitchen area based on the first network repair instruction includes:
[0173] Obtaining a device identifier of each third device and network information to be sent, where the network information to be sent is network information corresponding to a network fault type of each third device in the kitchen area;
[0174] Based on the device identification of each third device, network information is sent to each third device, so that each third device accesses the network according to the network information.
[0175] The device identification of each third device is determined based on the kitchen area identification and the first mapping relationship, and the first mapping relationship is used to represent the correspondence between the area identification and the device identification;
[0176] In some embodiments, the first network repair request may also include: a region identifier of the second device and a device identifier of the second device. The first device updates a first mapping relationship based on the region identifier of the second device and the device identifier of the second device. The first mapping relationship is used to represent the correspondence between the region identifier and the device identifier. In solution two, the slave device and the master device belong to the same region, i.e., the kitchen region identifier is the same as the first device region identifier, i.e., both belong to the kitchen region. Based on the first device region identifier and the first mapping relationship, the device identifier of each third device in the first device region is determined.
[0177] The network information to be sent here is determined based on the network fault type of each third device and the second mapping relationship, and the second mapping relationship represents the correspondence between the network fault type and the network information of the first device.
[0178] Step 514: Connect and log in using the new routing information.
[0179] The slave device repairs the device network based on the first network repair instruction.
[0180] After receiving the network information, ie, the new routing information, sent by the first device, the slave device, ie, at least one third device, accesses the network according to the new routing information, thereby repairing the device network.
[0181] After the user selects "Confirm Immediate Repair" and sends a command to Air Conditioner 1, the air conditioning equipment in the kitchen area is automatically repaired using full-link broadcast technology; the air conditioning equipment in the kitchen area rebinds and logs in using the new routing network information.
[0182] Step 515: The user APP synchronously completes the network self-repair of the device.
[0183] In this way, Solution 2 provides a point-to-surface network area sharing solution. When devices in the same area need network repair, it can automatically share the routing network information of the air-conditioning equipment in the area for repair, while reducing the complexity of user operations and improving the efficiency of network repair.
[0184] Solution 3: Cross-regional repair of home appliance network information. In this solution, the target area is different from the area to which the first device belongs. For example, in Figure 9, the first device is air conditioner 1, which is located in the kitchen area, and the area to which the slave device belongs is the living room area. That is, the target area is the living room area, and the slave devices include the second device and the third device. The second device can be the same as the third device or different. The specific steps are as follows:
[0185] Step 520: The slave device sends a first network repair request to the master device.
[0186] Here, it is the slave device that sends the first network repair request to the master device. Assume that the slave device is air conditioner 2, and assume that the network failure type of air conditioner 2 is a routing network information error. At this time, the first network request broadcasted by air conditioner 2 using the routing based on the full-link broadcast technology is sent to the master device.
[0187] Step 521: The master device forwards the first network repair request to the user.
[0188] After air conditioner 2 in the living room sends the first network repair request to the outside world, air conditioner 1 in the kitchen detects the first network repair request broadcast from the air conditioner in the living room. It then obtains the living room area identifier and the network fault type of each third device in the living room area. Based on the living room area identifier and a first mapping relationship, the device identifier of each third device in the living room area is determined. The first mapping relationship represents the correspondence between the area identifier and the device identifier. Based on the network fault type of each third device, the second mapping relationship represents the correspondence between the network fault type and the network information of the first device, which determines the network information to be sent.
[0189] Step 522: The user APP obtains the first network repair request forwarded by the master device.
[0190] 8 , which is a UE diagram (user interface) of a user APP in solution three, the user APP receives a first network repair request and finds that the network information of the device in the living room area is incorrect.
[0191] Step 523: The user APP server triggers the update of the slave devices that comply with the family rules.
[0192] Referring to Figure 8, when a user opens the mobile phone APP and enters the kitchen area, a prompt will appear: "The routing network information of the air conditioning equipment in the living room area is incorrect. Do you want to repair it?" The user can then select the slave device to be repaired, i.e., at least one third device, after confirming to repair it immediately. The third device here can be the same as or different from the second device. For example, the second device is air conditioner 2. After receiving the first network request and confirming to repair it immediately, the user terminal selects the slave device to be repaired on the operation interface. In this case, the user can choose to confirm to repair air conditioner 2 after comprehensive analysis. At this time, the third device is the same as the second device, both of which are air conditioner 2. The user can choose to confirm to repair air conditioner 2 and air conditioner 3. At this time, at least one third device is air conditioner 2 and air conditioner 3, which are different from the second device.
[0193] Step 524: The user APP sends a first network repair instruction to the master device.
[0194] Here, after the user confirms the immediate repair, the server receives the confirmation and obtains the target area identifier of the target area, i.e., the kitchen area. Based on the target area identifier and the repair rules of the first device, the server determines whether the first device meets the repair rules. Referring to Figure 8 , if so, the user confirms the immediate repair, enters the correct SSID and password, and clicks Next. A first network repair instruction is generated to the first device. If not, a repair failure reminder message is generated. The repair rules are the corresponding relationship between the first device identifier and the target area, which is used to indicate the area that the first device can repair. If the living room area is not included in the repair rules of air conditioner 1, it indicates that air conditioner 1 cannot repair the devices in the living room area, and the repair fails. If the repair is successful, the master device receives the first network repair instruction. Here, air conditioner 1 obtains the first network repair instruction. The first network repair instruction is the network repair instruction sent by the user app in response to the first network repair request. The first network repair instruction is used to instruct the first device to repair at least one third device in the living room area. Assuming that the at least one third air conditioner includes air conditioner 2 and air conditioner 3, air conditioner 1 repairs the network of air conditioners 2 and 3 in the living room area based on the first network repair instruction, including:
[0195] Obtain the device identifiers of air conditioners 2 and 3 and the network information to be sent. The network information to be sent is the network information corresponding to the routing information errors of air conditioners 2 and 3 in the living room.
[0196] Based on the device identifications of air conditioner 2 and air conditioner 3, network information is sent to air conditioner 2 and air conditioner 3, so that air conditioner 2 and air conditioner 3 access the network according to the network information.
[0197] The device identifications of air conditioners 2 and 3 are determined based on the living room area identification and the first mapping relationship, which is used to characterize the correspondence between the area identification and the device identification. In solution three, the slave device and the master device belong to different areas.
[0198] The network information to be sent here is determined based on the routing information error type of air conditioner 2 and air conditioner 3 and the second mapping relationship, which is the correspondence between the network fault type and the network information of the first device.
[0199] Step 525: The slave device receives the network information sent by the master device.
[0200] After receiving the network information from the first device, the slave device (i.e., at least one third device) connects to the network based on the information, thereby repairing the device network. After the user confirms the immediate repair and sends a command to Air Conditioner 1, Air Conditioner 1 automatically uses full-link broadcast technology to send the network information, specifically the correct routing information, to Air Conditioners 2 and 3, automatically repairing the air conditioners in the living room.
[0201] Step 526: The slave device connects and logs in based on the new routing information.
[0202] Air conditioners 2 and 3 in the living room are re-bound and logged in using the new routing network information. This allows the kitchen area to automatically share and repair the network information of the air conditioners in the living room.
[0203] In this way, Solution 3 provides a face-to-face network area sharing solution, which can automatically share the routing network information of the air-conditioning equipment for repair across regions, and while automatically sharing the routing network information of the air-conditioning equipment for repair across regions, it reduces the complexity of user operations and improves the efficiency of network repair.
[0204] It can be understood that in order to implement the network repair method of the embodiment of the present application, the embodiment of the present application also provides a network repair device, which is applied to the first device. The network repair device corresponds to the above-mentioned network repair method, and the various steps in the above-mentioned control method embodiment are also fully applicable to the control device embodiment of this air conditioner.
[0205] As shown in Figure 9, a network repair apparatus 900 according to an embodiment of the present application includes: a first acquisition module 901, a forwarding module 902, a second acquisition module 903, and a repair module 904. The first acquisition module 901 is configured to acquire a first network repair request sent by a second device in a target area; the forwarding module 902 is configured to forward the first network repair request to a user terminal; the second acquisition module 903 is configured to acquire a first network repair instruction, which is a network repair instruction sent by the user terminal in response to the first network repair request and is configured to instruct the first device to repair at least one third device in the target area; and the repair module 904 is configured to repair the network of each third device in the target area based on the first network repair instruction.
[0206] In some embodiments, the second acquisition module 902 is configured to acquire a device identifier of each third device and network information to be sent, where the network information to be sent is network information corresponding to a network fault type of each third device in the target area;
[0207] The network repair module further includes a sending module 905 for sending network information to each third device based on the device identification of each third device, so that each third device can access the network according to the network information.
[0208] In some embodiments, the second obtaining module 902 is further configured to obtain a target area identifier of the target area and a network fault type of each third device;
[0209] The network repair module 900 further includes a second determining module 906 for determining a device identifier of each third device in the target area based on the target area identifier and the first mapping relationship, wherein the first mapping relationship is used to represent a correspondence between the area identifier and the device identifier;
[0210] The network information to be sent is determined based on the network fault type of each third device and the second mapping relationship, where the second mapping relationship represents a correspondence between the network fault type and the network information of the first device.
[0211] In some embodiments, the second determining module 906 is further configured to determine that the target area identifier is the same as the first device area identifier, and then determine the device identifier of each third device in the first device area based on the first device area identifier and the first mapping relationship.
[0212] In some embodiments, the network repair apparatus 900 further includes an updating module 907 for updating a first mapping relationship based on the region identifier of the second device and the device identifier of the second device, where the first mapping relationship is used to represent the correspondence between the region identifier and the device identifier.
[0213] In some embodiments, the sending module 905 is further configured to send the second network repair request sent by the first device to the user terminal, where the second network repair request includes a device identifier of the first device;
[0214] The second acquisition module 903 is further configured to acquire a second network repair instruction, where the second network repair instruction is a network repair instruction in response to the second network repair request, and the second network repair instruction is configured to instruct the user terminal to repair the first device.
[0215] The repair module 904 is further configured to repair the device network based on the second network instruction.
[0216] The embodiment of the present application further provides a network repair device, which is applied to a user terminal. As shown in FIG10 , the network repair device 1000 includes a third acquisition module 1001 and a first determination module 1002. The third acquisition module 1001 is used to acquire a first network repair request sent by a second device in a target area forwarded by a first device; the first determination module 1002 is used to respond to the first network repair request and confirm whether to perform repair;
[0217] If so, a first network repair instruction is generated to the first device, where the first network repair instruction is used to instruct the first device to repair at least one third device in the target area.
[0218] In some embodiments, the third acquisition module 1001 is further configured to acquire a target area identifier of the target area;
[0219] The first determination module 1002 is also used to determine whether the first device complies with the repair rule based on the target area identifier and the repair rule of the first device. If so, a first network repair instruction is generated to the first device; if not, a reminder message of repair failure is generated. The repair rule is the corresponding relationship between the first device identifier and the target area, which is used to characterize the area where the first device can be repaired.
[0220] In some embodiments, the third acquisition module 1001 is also used to obtain a second network repair request, which includes the first device identifier and the network fault type of the first device; the first determination module is also used to respond to the second network repair request, determine to perform repair, generate and send a second network repair instruction to the first device, and the second network repair instruction includes the network information of the user terminal corresponding to the network fault type of the first device, and is used to instruct the first device to repair the first device based on the network information of the user terminal.
[0221] Based on the hardware implementation of the above program modules and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a first device. Figure 11 only shows an exemplary structure of the first device rather than the entire structure. Part or all of the structure shown in Figure 11 can be implemented as needed.
[0222] As shown in FIG11 , a first device 1100 provided in an embodiment of the present application includes at least one processor 1101, a memory 1102, and a user interface 1103. The various components in the first device 1100 are coupled together via a bus system 1104. It will be appreciated that the bus system 1104 is used to enable connections and communications between these components. In addition to a data bus, the bus system 1104 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG11 , all of the various buses are labeled as the bus system 1104.
[0223] The user interface 1103 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0224] The memory 1102 in the embodiment of the present application is used to store various types of data to support the operation of the first device. Examples of such data include: any computer program used to operate on the first device.
[0225] The control method of the first device disclosed in the embodiment of the present application can be applied to the processor 1101 or implemented by the processor 1101. The processor 1101 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the control method of the first device can be completed by the hardware integrated logic circuit in the processor 1101 or by instructions in the form of software. The above-mentioned processor 1101 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1101 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1102. The processor 1101 reads the information in the memory 1102 and, in combination with its hardware, completes the steps of the control method of the first device provided in the embodiment of the present application.
[0226] In an exemplary embodiment, the first device can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0227] As shown in Figure 12 , a user terminal 1200 provided in an embodiment of the present application includes at least one processor 1201, a memory 1202, and a user interface 1203. The various components in user terminal 1200 are coupled together via a bus system 1204. It will be appreciated that bus system 1204 is used to enable connectivity and communication between these components. In addition to a data bus, bus system 1204 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in Figure 12 , all of these buses are labeled as bus system 1204.
[0228] The user interface 1203 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0229] The memory 1202 in the embodiment of the present application is used to store various types of data to support the operation of the user terminal. Examples of such data include: any computer program used to operate on the user terminal.
[0230] The user terminal control method disclosed in the embodiments of the present application can be applied to the processor 1201 or implemented by the processor 1201. The processor 1201 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the user terminal control method can be completed by hardware integrated logic circuits or software instructions in the processor 1201. The above-mentioned processor 1201 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1201 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly implemented as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1202. The processor 1201 reads the information in the memory 1202 and, in combination with its hardware, completes the steps of the user terminal control method provided in the embodiments of the present application.
[0231] In an exemplary embodiment, the user terminal can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.
[0232] It is understood that memories 1102 and 1202 can be volatile memory or non-volatile memory, or can include both volatile and non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disk, or compact disc read-only memory (CD-ROM); magnetic surface memory can be magnetic disk memory or tape memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.
[0233] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, which can be a computer-readable storage medium. For example, the storage medium includes a memory 1102 storing a computer program. The computer program can be executed by the processor 1101 of the firewall management platform to complete the steps of the method of the embodiment of the present application. For another example, the storage medium includes a memory 1202 storing a computer program. The computer program can be executed by the node processor 1201 of the firewall system to complete the steps of the method of the embodiment of the present application. The computer-readable storage medium can be a memory such as ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0234] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0235] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
[0236] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by any person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A network repair method, applied to a first device, the method comprising: Obtain a first network repair request sent by a second device in a target area; forwarding the first network repair request to a user terminal; Acquire a first network repair instruction, where the first network repair instruction is a network repair instruction sent by the user terminal in response to the first network repair request, and the first network repair instruction is used to instruct the first device to repair at least one third device in the target area; Based on the first network repair instruction, the network of each of the third devices in the target area is repaired.
2. The method according to claim 1, wherein: The repairing of the network of each of the third devices in the target area based on the first network repair instruction includes: Acquire a device identification of each of the third devices and network information to be sent, where the network information to be sent is network information corresponding to a network fault type of each of the third devices in the target area; Based on the device identification of each of the third devices, the network information is sent to each of the third devices, so that each of the third devices accesses the network according to the network information.
3. The method according to claim 2, wherein: The method further comprises: Acquire a target area identifier of the target area and a network fault type of each of the third devices; Determine a device identifier of each of the third devices in the target area based on the target area identifier and a first mapping relationship, wherein the first mapping relationship is used to characterize a correspondence between an area identifier and a device identifier; The network information to be sent is determined based on the network failure type of each of the third devices and a second mapping relationship, wherein the second mapping relationship represents a corresponding relationship between the network failure type and the network information of the first device.
4. The method according to claim 3, wherein: The determining, based on the target area identifier and the first mapping relationship, a device identifier of each of the third devices in the target area includes: If it is determined that the target area identifier is the same as the first device area identifier, then based on the first device area identifier and the first mapping relationship, a device identifier of each of the third devices in the first device area is determined.
5. The method according to claim 1, wherein: The first network repair request includes: the area identifier of the second device and the device identifier of the second device, and the method further includes: Based on the area identifier of the second device and the device identifier of the second device, a first mapping relationship is updated, where the first mapping relationship is used to characterize a correspondence between the area identifier and the device identifier.
6. The method according to claim 1, wherein: The method further comprises: Sending a second network repair request to the user terminal, where the second network repair request includes the first device identifier and the network fault type of the first device; Acquire a second network repair instruction, where the second network repair instruction is a network repair instruction in response to the second network repair request, and the second network repair instruction includes network information of a user terminal corresponding to the network fault type of the first device, and is used to instruct the first device to repair the first device based on the network information of the user terminal; Based on the second network instruction, the device network is repaired.
7. A network repair method, applied to a user terminal, the method comprising: Acquire a first network repair request sent by a second device in a target area that is forwarded by the first device; In response to the first network repair request, confirm whether to perform repair; If so, a first network repair instruction is generated to the first device, where the first network repair instruction is used to instruct the first device to repair at least one third device in the target area.
8. The method according to claim 7, wherein: Before generating the first network repair request, the method further includes: Obtaining a target area identifier of the target area; Based on the target area identifier and the repair rule of the first device, determine whether the first device complies with the repair rule. If so, generate a first network repair instruction to the first device; if not, generate a reminder message of repair failure. The repair rule is the corresponding relationship between the first device identifier and the target area, which is used to characterize the area where the first device can be repaired.
9. The method according to claim 7, wherein: The method further comprises: Acquire a second network repair request, where the second network repair request includes the first device identifier and a network fault type of the first device; In response to the second network repair request, it is determined to perform repair, and a second network repair instruction is generated and sent to the first device, wherein the second network repair instruction includes network information of the user terminal corresponding to the network fault type of the first device, and is used to instruct the first device to repair the first device based on the network information of the user terminal.
10. A network repair device, wherein: Applied to a first device, comprising: A first acquisition module, configured to acquire a first network repair request sent by a second device in a target area; A forwarding module, used for forwarding the first network repair request to a user terminal; A second acquisition module, configured to acquire the first network repair instruction, where the first network repair instruction is a network repair instruction sent by the user terminal in response to the first network repair request, and the first network repair instruction is used to instruct the first device to repair at least one third device in the target area; A repair module is used to repair the network of each of the third devices in the target area based on the first network repair instruction.
11. A network repair device, applied to a user terminal, comprising: A third acquisition module is configured to acquire a first network repair request sent by a second device in a target area forwarded by the first device; The determination module is configured to respond to the first network repair request and confirm whether to perform repair; if so, generate a first network repair instruction to the first device, wherein the first network repair instruction is used to instruct the first device to repair at least one third device in the target area.
12. A first device, comprising: A processor and a memory for storing a computer program that can be executed on the processor, wherein: The processor is configured to execute the steps of the method according to any one of claims 1 to 6 when running a computer program.
13. A user terminal, comprising: A processor and a memory for storing a computer program that can be executed on the processor, wherein: The processor is used to execute the steps of the method according to any one of claims 7 to 9 when running a computer program.
14. A network communication system, comprising the first device according to claim 12 and the user terminal according to claim 13.
15. A storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Wireless configuration method and device, storage medium and electronic device
CN112188593A
Network distribution method, device and system, electronic equipment and storage medium
CN114286421A