Remote debugging method and system for charging equipment
Through Bluetooth and WebSocket communication between mobile terminals and charging devices and cloud servers, the problem of high hardware and labor costs in charging device debugging and maintenance is solved, efficient remote debugging and firmware upgrades are achieved, and the cost and time of on-site debugging is reduced.
Patent Information
- Application Number
- CN202510727911.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-08-15
AI Technical Summary
There are problems such as high hardware costs, high labor costs and communication difficulties during the debugging and maintenance of existing charging equipment, especially when debugging abroad on-site.
Through the mobile terminal as a communication relay node, the Bluetooth 5.0 protocol is used to establish a connection between the charging device and the mobile terminal, and a connection is established with the cloud server through the WebSocket communication protocol, realizing remote debugging and firmware upgrades, reducing labor and time costs.
It realizes online remote maintenance and debugging of charging equipment, reduces labor and time costs, and improves debugging efficiency and accuracy.
Smart Images

Figure CN120499167A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things communication technology, and in particular to a remote debugging method for a charging device; in addition, the present invention also relates to a remote debugging system for a charging device. Background Art
[0002] Currently, charging equipment directly uses cellular or Wi-Fi modules during commissioning and maintenance, increasing hardware costs. Upgrades require disassembly and wiring, requiring time-consuming communication with professionals. Older equipment in warehouses requires batch program upgrades, requiring disassembly and upgrades, which consumes significant time and labor costs. Furthermore, when equipment is inspected and upgraded overseas, customer cooperation can be challenging, leading to communication difficulties and requiring on-site dispatch of engineers for commissioning, upgrades, and problem investigations, further increasing maintenance costs. Summary of the Invention
[0003] To address the problems of the prior art, at least one embodiment of the present invention provides a remote debugging method for charging equipment, which reduces labor and time costs by performing maintenance and debugging of the charging equipment online. To this end, at least one embodiment of the present invention also provides a remote debugging system for charging equipment.
[0004] In a first aspect, the present invention provides a remote debugging method for a charging device, comprising: The charging device and the mobile terminal establish a communication connection via the Bluetooth communication protocol, and the mobile terminal establishes a real-time communication connection with the cloud server via the full-duplex communication protocol; The mobile terminal receives the debugging information sent by the cloud server in real time, and sends the debugging information to the charging device via the Bluetooth communication protocol; The charging device sends feedback information to the mobile terminal via the Bluetooth communication protocol, and the mobile terminal sends the feedback information to the cloud server in real time.
[0005] Preferably, in a remote debugging method for a charging device provided by the present invention, a mobile terminal establishes a real-time communication connection with a cloud server via a full-duplex communication protocol, including: The mobile terminal sends a WebSocket connection request to the cloud server, and the cloud server responds to the WebSocket connection request and establishes a WebSocket communication connection.
[0006] Preferably, in a remote debugging method for a charging device provided by the present invention, the mobile terminal receives debugging information sent by a cloud server in real time, including: The cloud server sends debugging instructions to the mobile terminal in real time through the WebSocket communication protocol, and the mobile terminal sends them to the charging device through the Bluetooth communication protocol for real-time debugging.
[0007] Preferably, the present invention provides a remote debugging method for a charging device, the method further comprising: The mobile terminal downloads the firmware upgrade package from the cloud server through the application and sends it to the charging device via the Bluetooth communication protocol.
[0008] In a second aspect, the present invention further provides a charging device remote debugging system, comprising: A Bluetooth module is used to establish a communication connection between the charging device and the mobile terminal via the Bluetooth communication protocol; Full-duplex communication module, used for mobile terminals to establish real-time communication connections with cloud servers through full-duplex communication protocols; The debugging information transmission module is used for the mobile terminal to receive the debugging information sent by the cloud server in real time, and send the debugging information to the charging device via the Bluetooth communication protocol; The feedback module is used for the charging device to send feedback information to the mobile terminal through the Bluetooth communication protocol, and the mobile terminal sends the feedback information to the cloud server in real time.
[0009] Preferably, in a charging device remote debugging system provided by the present invention, the full-duplex communication module includes: The WebSocket communication module is used for the mobile terminal to send a WebSocket connection request to the cloud server, and the cloud server responds to the WebSocket connection request and establishes a WebSocket communication connection.
[0010] Preferably, in the charging device remote debugging system provided by the present invention, the Bluetooth module adopts the Bluetooth 5.0 protocol.
[0011] In a third aspect, the present invention also provides a remote debugging device for a charging device, comprising at least one processor; a memory coupled to the at least one processor, the memory storing executable instructions, which, when executed by the at least one processor, implement the steps of any one of the methods of the first aspect above.
[0012] In a fourth aspect, the present invention further provides a chip for executing the steps of the method of the first aspect. Specifically, the chip includes: a processor for calling and executing a computer program from a memory, so that a device equipped with the chip executes the steps of the method of the first aspect.
[0013] In a fifth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any one of the methods in the first aspect when executed by a processor.
[0014] It can be seen that the remote debugging method and system of a charging device of the present invention utilizes the user's mobile terminal as a communication relay node, establishes a local connection between the mobile terminal and the charger through the Bluetooth 5.0 protocol, and establishes a WebSocket communication connection between the mobile terminal and the cloud server, enabling maintenance engineers to perform maintenance and debugging of the charging equipment online, thereby reducing labor costs and time costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 Shown is a flow chart of a remote debugging method for a charging device according to an embodiment of the present invention; Figure 2 Shown is a schematic diagram of the framework of a remote debugging system for charging equipment according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0018] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. In this document, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
[0019] [Example 1] In the prior art, electrical equipment directly uses cellular modules or WiFi modules during the debugging and maintenance process, which increases hardware costs. Charging equipment is upgraded by disassembling and wiring, which requires professionals to spend a lot of time on communication. Old machines in the warehouse need batch program upgrades, which require disassembly and upgrading, consuming a lot of time and labor costs. Furthermore, when the equipment is inspected and upgraded abroad, customers may not cooperate, resulting in communication difficulties. Engineers are dispatched on business trips to the site for debugging, upgrading, and problem inspections, further increasing maintenance costs. Example 1 of the present invention provides the following solution: like Figure 1 As shown, this embodiment provides a remote debugging method for a charging device, including: Step 1: The charging device establishes a communication connection with the mobile terminal via the Bluetooth communication protocol, and the mobile terminal establishes a real-time communication connection with the cloud server via the full-duplex communication protocol.
[0020] In some embodiments, the mobile terminal sends a Bluetooth connection request to the charging device, and the charging device responds to the Bluetooth connection request and establishes a Bluetooth communication connection with the mobile terminal. The mobile terminal sends a WebSocket connection request to the cloud server, and the cloud server responds to the WebSocket connection request and establishes a WebSocket communication connection with the mobile terminal.
[0021] It should be noted that the mobile terminal may be a mobile phone, a tablet computer, a laptop computer, a PDA, and a wearable device, such as a smart watch and a smart bracelet.
[0022] Step 2: The mobile terminal receives the debugging information sent by the cloud server in real time, and sends the debugging information to the charging device via the Bluetooth communication protocol.
[0023] In some embodiments, the cloud server sends debugging instructions to the mobile terminal in real time via the WebSocket communication protocol, and the mobile terminal sends them to the charging device via the Bluetooth communication protocol for real-time debugging.
[0024] It should be noted that after connecting to the cloud server and obtaining an invitation code, maintenance engineers remotely connect to the corresponding mobile terminal app or mini-program through the cloud server's web platform using the invitation code, communicating with it in real time. This supports concurrent connections and information logging for 100,000 devices. They then issue debugging commands to the charging device via the Bluetooth communication protocol, allowing for maintenance and debugging. Maintenance engineers can also upload and download charging device program upgrade packages in real time.
[0025] In some embodiments, the mobile terminal downloads the firmware upgrade package from the cloud server through an application and sends it to the charging device through the Bluetooth communication protocol.
[0026] Step 3: The charging device sends the feedback information to the mobile terminal via the Bluetooth communication protocol, and the mobile terminal sends the feedback information to the cloud server in real time.
[0027] It should be noted that every debugging of the charging equipment by the maintenance engineer will be fed back to the maintenance engineer through the WebSocket communication protocol, thereby ensuring the real-time and accuracy of the maintenance test.
[0028] [Example 2] like Figure 2 As shown, this embodiment provides a charging device remote debugging system, including: The Bluetooth module is used to establish a communication connection between the charging device and the mobile terminal via the Bluetooth communication protocol.
[0029] In some embodiments, the Bluetooth module adopts the Bluetooth 5.0 protocol, the mobile terminal sends a Bluetooth connection request to the charging device, and the charging device responds to the Bluetooth connection request and establishes a Bluetooth communication connection with the mobile terminal.
[0030] The full-duplex communication module is used for the mobile terminal to establish a real-time communication connection with the cloud server through the full-duplex communication protocol.
[0031] In some embodiments, the full-duplex communication module includes a WebSocket communication module, which is used for the mobile terminal to send a WebSocket connection request to the cloud server, and the cloud server responds to the WebSocket connection request and establishes a WebSocket communication connection with the mobile terminal.
[0032] It should be noted that the mobile terminal may be a mobile phone, a tablet computer, a laptop computer, a PDA, and a wearable device, such as a smart watch and a smart bracelet.
[0033] The debugging information transmission module is used for the mobile terminal to receive the debugging information sent by the cloud server in real time, and send the debugging information to the charging device through the Bluetooth communication protocol.
[0034] In some embodiments, the cloud server sends debugging instructions to the mobile terminal in real time via the WebSocket communication protocol, and the mobile terminal sends them to the charging device via the Bluetooth communication protocol for real-time debugging.
[0035] It should be noted that after connecting to the cloud server and obtaining an invitation code, maintenance engineers remotely connect to the corresponding mobile terminal app or mini-program through the cloud server's web platform using the invitation code, communicating with it in real time. This supports concurrent connections and information logging for 100,000 devices. They then issue debugging commands to the charging device via the Bluetooth communication protocol, allowing for maintenance and debugging. Maintenance engineers can also upload and download charging device program upgrade packages in real time.
[0036] In some embodiments, the mobile terminal downloads the firmware upgrade package from the cloud server through an application and sends it to the charging device through the Bluetooth communication protocol.
[0037] The feedback module is used for the charging device to send feedback information to the mobile terminal through the Bluetooth communication protocol, and the mobile terminal sends the feedback information to the cloud server in real time.
[0038] It should be noted that every debugging of the charging equipment by the maintenance engineer will be fed back to the maintenance engineer through the WebSocket communication protocol, thereby ensuring the real-time and accuracy of the maintenance test.
[0039] [Example 3] This embodiment provides a remote debugging device for a charging device, including: At least one processor; a memory coupled to the at least one processor, the memory storing executable instructions, wherein the executable instructions, when executed by the at least one processor, implement the method steps of embodiment 1 of the present invention.
[0040] In an embodiment of the present invention, a remote debugging device for a charging device is provided, wherein the processor and the memory may be provided separately or integrated together.
[0041] For example, the memory may include random access memory, flash memory, read-only memory, programmable read-only memory, non-volatile memory, or registers. The processor may be a central processing unit (CPU), or a graphics processing unit (GPU). The memory may store executable instructions. The processor may execute the executable instructions stored in the memory to implement the various processes described herein.
[0042] It is understood that the memory in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be ROM (Read-Only Memory), PROM (Programmable ROM), EPROM (Erasable PROM), EEPROM (Electrically EPROM), or flash memory. The volatile memory can be RAM (Random Access Memory), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as SRAM (Static RAM), DRAM (Dynamic RAM), SDRAM (Synchronous DRAM), DDR SDRAM (Double Data Rate SDRAM), ESDRAM (Enhanced SDRAM), SLDRAM (Synchlink DRAM), and DRRAM (Direct Rambus RAM). The memories described herein are intended to include, but are not limited to, these and any other suitable types of memory.
[0043] In some embodiments, the memory stores the following elements, upgrade packages, executable units or data structures, or a subset or extended set thereof: an operating system and applications.
[0044] The operating system includes various system programs, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and handle hardware-based tasks. The application program includes various application programs used to implement various application services. The program implementing the method of the embodiment of the present invention can be included in the application program.
[0045] In the embodiment of the present invention, the processor calls a program or instruction stored in the memory, specifically, a program or instruction stored in an application program, and the processor is used to execute the method steps of embodiment 1 of the present invention.
[0046] [Example 4] This embodiment provides a chip for executing the method of the first embodiment of the present invention. Specifically, the chip includes a processor for calling and running a computer program from a memory, so that a device equipped with the chip executes the method of the first embodiment of the present invention.
[0047] [Example 5] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method of embodiment 1 of the present invention are implemented.
[0048] For example, machine-readable storage media may include, but are not limited to, various known and unknown types of non-volatile memory.
[0049] In summary, embodiments 1-5 of the present invention provide a remote debugging method and system for charging equipment, which utilizes the user's mobile terminal as a communication relay node, establishes a local connection between the mobile terminal and the charger through the Bluetooth 5.0 protocol, and establishes a WebSocket communication connection between the mobile terminal and the cloud server, enabling maintenance engineers to perform maintenance and debugging of the charging equipment online, thereby reducing labor costs and time costs.
[0050] It will be understood by those skilled in the art that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0051] In the embodiments of the present application, the disclosed systems, devices, and methods can be implemented in other ways. For example, the division of units is merely a logical functional division, and other division methods can be used in actual implementation. For example, multiple units or components can be combined or integrated into another system. In addition, the coupling between the various units can be direct coupling or indirect coupling. In addition, the various functional units in the embodiments of the present application can be integrated into a processing unit, or can exist separately physically, etc.
[0052] It should be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0053] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a machine-readable storage medium. Therefore, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a machine-readable storage medium, which can include several instructions for enabling an electronic device to execute all or part of the process of the technical solution described in the embodiments of the present application. The above-mentioned storage medium can include various media that can store program codes, such as ROM, RAM, removable disk, hard disk, magnetic disk or optical disk.
[0054] The above content is only a specific embodiment of the present application, and the protection scope of the present application is not limited thereto. Those skilled in the art may make changes or substitutions within the technical scope disclosed in the present application, and these changes or substitutions should all be within the protection scope of the present application.
Claims
1. A remote debugging method for a charging device, characterized in that: include: The charging device and the mobile terminal establish a communication connection via the Bluetooth communication protocol, and the mobile terminal establishes a real-time communication connection with the cloud server via the full-duplex communication protocol; The mobile terminal receives the debugging information sent by the cloud server in real time, and sends the debugging information to the charging device via the Bluetooth communication protocol; The charging device sends feedback information to the mobile terminal via the Bluetooth communication protocol, and the mobile terminal sends the feedback information to the cloud server in real time.
2. The remote debugging method for charging equipment according to claim 1, characterized in that: The mobile terminal establishes a real-time communication connection with the cloud server through a full-duplex communication protocol, including: The mobile terminal sends a WebSocket connection request to the cloud server, and the cloud server responds to the WebSocket connection request and establishes a WebSocket communication connection.
3. The remote debugging method for charging equipment according to claim 2, characterized in that: The mobile terminal receiving the debugging information sent by the cloud server in real time includes: The cloud server sends debugging instructions to the mobile terminal in real time through the WebSocket communication protocol, and the mobile terminal sends them to the charging device through the Bluetooth communication protocol for real-time debugging.
4. The remote debugging method for charging equipment according to claim 1, characterized in that: The method further comprises: The mobile terminal downloads the firmware upgrade package from the cloud server through the application and sends it to the charging device via the Bluetooth communication protocol.
5. A remote debugging system for charging equipment, characterized in that: include: A Bluetooth module is used to establish a communication connection between the charging device and the mobile terminal via the Bluetooth communication protocol; Full-duplex communication module, used for mobile terminals to establish real-time communication connections with cloud servers through full-duplex communication protocols; The debugging information transmission module is used for the mobile terminal to receive the debugging information sent by the cloud server in real time, and send the debugging information to the charging device via the Bluetooth communication protocol; The feedback module is used for the charging device to send feedback information to the mobile terminal through the Bluetooth communication protocol, and the mobile terminal sends the feedback information to the cloud server in real time.
6. The charging equipment remote debugging system according to claim 5, characterized in that: The full-duplex communication module includes: The WebSocket communication module is used for the mobile terminal to send a WebSocket connection request to the cloud server, and the cloud server responds to the WebSocket connection request and establishes a WebSocket communication connection.
7. The charging equipment remote debugging system according to claim 5, characterized in that: The Bluetooth module adopts the Bluetooth 5.0 protocol.
8. A remote debugging device for a charging device, comprising at least one processor; a memory coupled to the at least one processor, the memory storing executable instructions, characterized in that: The executable instructions, when executed by the at least one processor, enable the implementation of the steps of the method according to any one of claims 1 to 4.
9. A chip, characterized in that: The device comprises a processor configured to call and run a computer program from a memory, so that a device equipped with the chip executes the steps of the method according to any one of claims 1 to 4.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Visual remote operation and maintenance method and system based on fault state remote sensing technology
CN111031137A
Internet-of-things resource access system and method
US20230033284A1
Cited By
FTU remote connection debugging method and system
CN121078414A