A charging pile data processing method, electronic device and computer readable medium

By using charging devices that meet preset conditions as routing nodes in the distributed charging system to jump to the network, the problem of low service real-time due to failed connection between charging devices and networked hosts is solved, and more efficient data processing and user experience are achieved promote.

CN119017975BActive Publication Date: 2024-12-20HANGZHOU BAILAI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411533769.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2024-12-20
Estimated Expiration
2044-10-31

AI Technical Summary

Technical Problem

The service real-time performance of distributed charging devices is limited, especially due to the failed connection between charging devices and networked hosts and the inefficient data processing.

Method used

After the connection between the charging device and the networked host fails, by finding other charging devices that meet the preset conditions as routing nodes, jump to the network, ensuring the connection between the charging device and the networked host, and processing uplink and downlink data according to the preset data processing rules , to improve business real-time.

Benefits of technology

It effectively improves the real-time service of charging equipment and the communication distance between master and slaves, improves the charging service experience of users, and reduces construction costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119017975B_ABST
    Figure CN119017975B_ABST
Patent Text Reader

Abstract

The present application discloses a charging pile data processing method, an electronic device and a computer-readable medium. In a distributed charging system, after the second charging device fails to connect to the networked host, it is determined that the first charging device that has established a connection with the networked host meets the preset conditions, and a jump access request is sent to the first charging device. The first charging device sends a network access request for the second charging device to the networked host. The networked host verifies the network access request of the second charging device according to the networking command sent by the server; if the verification passes, the network access information of the second charging device is recorded and a network access notification of the second charging device is sent to the first charging device; and the data between the server and each charging device is processed according to the preset data processing rules. It can effectively improve the master-slave communication distance and business real-time performance of various distributed charging devices including two-wheeled electric vehicle charging piles, automobile AC / DC charging piles, charging and swapping cabinets, etc., and reduce construction costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of distributed charging equipment, and in particular, to a charging pile data processing method, an electronic device and a computer-readable medium. Background Art

[0002] In recent years, various distributed charging equipment such as charging piles and charging sockets have become popular rapidly. Distributed charging equipment can be used to provide charging services for electric vehicles, hybrid vehicles, two-wheeled electric vehicles, three-wheeled electric vehicles, etc. However, at present, the real-time performance of distributed charging equipment is still limited. Summary of the invention

[0003] The present application aims to solve one of the technical problems in the related art to a certain extent. To this end, the present application provides a charging pile data processing method, an electronic device and a computer readable medium.

[0004] As a first aspect of the present application, a charging pile data processing method is provided, which is used for a networked host in a distributed charging system, wherein the method comprises:

[0005] Receiving a network access request for a second charging device sent by a first charging device in the distributed charging system that has established a connection with the networked host; wherein the network access request for the second charging device is sent by the first charging device after receiving a jump network access request sent by the second charging device in the distributed charging system, and the jump network access request is sent by the second charging device when it is determined that the first charging device meets a preset condition after the second charging device fails to connect with the networked host;

[0006] Verifying the network access request of the second charging device according to the networking command sent by the server in the distributed charging system;

[0007] If the verification is passed, the network access information of the second charging device is recorded, and a network access notification of the second charging device is sent to the first charging device, so that the first charging device forwards the network access notification of the second charging device to the second charging device;

[0008] The data between the server and each of the charging devices are processed according to preset data processing rules.

[0009] Optionally, processing the data between the server and each of the charging devices according to a preset data processing rule includes:

[0010] When receiving the business data sent by any of the charging devices and the reporting period of the non-business data has arrived, sending the business data to the server; wherein the types of the non-business data include heartbeat signals and charging device status information;

[0011] In a case where a business data response sent by the server is received before the number of times the business data is sent to the server exceeds a preset number threshold, sending the non-business data to the server;

[0012] If no service data response sent by the server is received before the number of times the service data is sent to the server exceeds a preset threshold, an initial connection is established with the server.

[0013] Optionally, processing the data between the server and each of the charging devices according to a preset data processing rule includes:

[0014] When receiving the service data sent by the server and the processing cycle of the downlink non-service task arrives, sending the service data to the corresponding charging device;

[0015] Execute the downlink non-business task.

[0016] Optionally, the downlink non-business task includes a charging device status information polling task and a charging device online upgrade task; and executing the downlink non-business task includes:

[0017] When the charging device status information polling task is completed, the charging device online upgrade task is executed.

[0018] Optionally, the networking command includes a one-to-one correspondence between the charging device number information and the physical address of the charging device; and the verifying the network access request of the second charging device according to the networking command sent by the server in the distributed charging system includes:

[0019] In the case where it is determined that the physical address of the second charging device carried in the network access request of the second charging device exists in the corresponding relationship, it is determined that the verification is passed.

[0020] Optionally, when the verification is passed, recording the network access information of the second charging device, and sending a network access notification of the second charging device to the first charging device includes:

[0021] Determine the charging device number information corresponding to the physical address of the second charging device in the corresponding relationship;

[0022] According to the determined charging device number information, record the network access information of the second charging device;

[0023] A second charging device network access notification carrying the determined charging device number information, the charging device number information of the first charging device, and the intranet network number is sent to the first charging device.

[0024] As a second aspect of the present application, a charging pile data processing method is provided, which is used for a second charging device in a distributed charging system, wherein the method comprises:

[0025] If a connection with a networked host in the distributed charging system cannot be established during the network access period, each current channel is monitored according to a preset monitoring time;

[0026] When it is determined that the first charging device in the distributed charging system that has established a connection with the networked host meets a preset condition according to the monitored data of the first charging device, sending a jump network access request to the first charging device so that the first charging device can send a second charging device network access request to the networked host;

[0027] Receive a second charging device network access notification sent by the first charging device; wherein, the second charging device network access notification is recorded by the networked host and sent to the first charging device when the second charging device network access request is verified and passed according to the networking command sent by the server in the distributed charging system.

[0028] Optionally, determining that the first charging device meets a preset condition based on monitored data of the first charging device in the distributed charging system that has established a connection with the networked host includes:

[0029] Determine the signal strength between the first charging device and the networked host, the serial number information of the first charging device, and the intranet number according to the monitored data of the first charging device in the distributed charging system that has established a connection with the networked host;

[0030] When the signal strength is not less than a preset signal strength threshold, determining that the first charging device meets a preset condition;

[0031] The sending of the jump access request to the first charging device includes: sending the jump access request carrying the physical address of the second charging device, the determined numbering information of the first charging device, and the intranet number to the first charging device.

[0032] As a third aspect of the present application, an electronic device is provided, wherein the electronic device includes:

[0033] one or more processors;

[0034] A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the charging pile data processing method described in the first aspect or the second aspect of the present application.

[0035] As a fourth aspect of the present application, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the charging pile data processing method described in the first aspect or the second aspect of the present application is implemented.

[0036] In the charging pile data processing method provided in the embodiment of the present application, after the second charging device in the distributed charging system fails to connect to the networked host, it determines that the first charging device that has established a connection with the networked host meets the preset conditions, and sends a jump access request to the first charging device. After receiving the jump access request, the first charging device sends the second charging device access request to the networked host in the distributed charging system. After the networked host receives the second charging device access request, it verifies the second charging device access request according to the networking command sent by the server in the distributed charging system. If the verification passes, it records the network access information of the second charging device and sends the second charging device access notification to the first charging device, so that the first charging device can forward the second charging device access notification to the second charging device. In this way, the second charging device that fails to connect to the networked host successfully establishes a connection with the networked host and accesses the network through the first charging device that has established a connection with the networked host and meets the preset conditions, which facilitates the subsequent server to control the service of the second charging device and improves the service real-time performance of the second charging device. The networked host also processes the uplink data between the server and the downlink data between each charging device that has established a connection with the networked host according to preset data processing rules, further improving the real-time performance of the services of each charging device.

[0037] For various distributed charging equipment, such as two-wheeled electric vehicle charging piles, automobile AC / DC charging piles, charging and swapping cabinets, etc., the charging pile data processing method provided in the embodiment of the present application can effectively improve the master-slave communication distance and business real-time performance, thereby improving the user's charging service experience and reducing construction costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The present application is further described below in conjunction with the accompanying drawings:

[0039] Figure 1 It is a flowchart of an implementation method of the networked host-side charging pile data processing method provided in an embodiment of the present application;

[0040] Figure 2aIt is an architectural diagram of an implementation of a distributed charging system provided in an embodiment of the present application;

[0041] Figure 2b It is a schematic diagram of an implementation method of the network access process provided in an embodiment of the present application;

[0042] Figure 3 This is a flowchart of an implementation method of processing data according to preset data processing rules provided in an embodiment of the present application;

[0043] Figure 4 This is a flowchart of another implementation method of processing data according to preset data processing rules provided in an embodiment of the present application;

[0044] Figure 5 This is a flowchart of an implementation method of verifying a network access request of a second charging device provided in an embodiment of the present application;

[0045] Figure 6 This is a flowchart of an implementation method of recording network access information and sending network access notification provided in an embodiment of the present application;

[0046] Figure 7 It is a flowchart of an implementation method of the charging pile data processing method on the charging device side provided in an embodiment of the present application;

[0047] Figure 8 It is a flowchart of an implementation method of determining that a first charging device meets a preset condition provided in an embodiment of the present application;

[0048] Fig. 9 It is a module diagram of an implementation of an electronic device provided in an embodiment of the present application;

[0049] Fig.10 It is a schematic diagram of a computer-readable medium provided in an embodiment of the present application.

[0050] Description of Reference Numerals

[0051] 101: Processor 102: Memory

[0052] 103: I / O interface 104: bus DETAILED DESCRIPTION

[0053] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments based on the embodiments are intended to be used to explain the present application and cannot be understood as limiting the present application.

[0054] References to "one embodiment" or "an example" or "an example" in this specification mean that a particular feature, structure, or characteristic described in conjunction with the embodiment itself may be included in at least one embodiment disclosed in the present application. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily refer to the same embodiment.

[0055] At present, the real-time performance of distributed charging equipment is still limited. In this regard, the applicant of this application proposes that, although it is well known in the art that the real-time performance of charging equipment in a distributed charging system will be affected by many factors such as network transmission speed and data processing speed, the most critical influencing factor is often easily overlooked, that is, the charging equipment and the networked host usually use a wireless connection method. Affected by the geographical location of the charging equipment, it is often the case that the charging equipment cannot establish a connection with the networked host, which will cause the charging equipment to be unable to respond to the service control instructions from the server forwarded by the networked host. In this regard, the applicant of this application further proposes that after the charging equipment fails to connect to the networked host, it can find other charging devices that have established a connection with the networked host and meet the preset conditions, and use the other devices as routing nodes to complete the networking with the networked host, thereby improving the real-time performance of the charging equipment.

[0056] The applicant of this application also proposed that in the current distributed charging system, there are also unreasonable aspects in the way the networked host processes data between the server and each charging device. In this regard, by using preset data processing rules, the networked host can process the data between the server and each electrical device according to the preset data processing rules, which can also further improve the real-time performance of the charging device's business.

[0057] As a first aspect of an embodiment of the present application, a charging pile data processing method is provided for a networked host in a distributed charging system, such as Figure 1 As shown, the method may include:

[0058] In step S110, a network access request for a second charging device sent by a first charging device that has established a connection with the networked host in the distributed charging system is received; wherein the network access request for the second charging device is sent by the first charging device after receiving a jump network access request sent by the second charging device in the distributed charging system, and the jump network access request is sent by the second charging device when it is determined that the first charging device meets a preset condition after the second charging device fails to connect to the networked host;

[0059] In step S120, the network access request of the second charging device is verified according to the networking command sent by the server in the distributed charging system;

[0060] In step S130, if the verification is passed, the network access information of the second charging device is recorded, and a second charging device network access notification is sent to the first charging device, so that the first charging device forwards the second charging device network access notification to the second charging device;

[0061] In step S140, the data between the server and each of the charging devices is processed according to a preset data processing rule.

[0062] Among them, Figure 2a The figure shows an architecture diagram of an implementation of a distributed charging system provided in an embodiment of the present application. The distributed charging system may include a server (also referred to as a charging management platform), a networked host, and multiple charging devices. The types of charging devices may include charging piles, charging sockets, etc. The charging devices may provide charging services for electric vehicles, hybrid electric vehicles, electric two-wheelers, electric three-wheelers, etc. Users can establish a communication connection with the server through the client to obtain business information related to the charging service. It should be noted that Figure 2a Only three charging devices are shown in the figure, but the embodiment of the present application does not specifically limit the specific number of charging devices in the distributed charging system. In fact, the specific number of charging devices in the distributed charging system can also be other positive integers besides 3.

[0063] The networked host may include communication modules such as 4G (the 4 Generation mobile communication technology) modules and wireless modules, storage modules such as FLASH memory (Flash EEPROM), operating systems such as lightweight embedded operating systems FreeRTOS, LED (Light-Emitting Diode) indicators, etc. Among them, the 4G module is used to connect to the server, and receive or report data between the server in real time through the GPRS (General Packet Radio Service) thread, the wireless module is used to connect to the charging device, and receive or report data between the charging device in real time through the RF (Robot Framework) thread, the FLASH memory is used to store charging device related information, whitelists, network access information, other parameters, etc., and the LED indicator is used to indicate the current network status of the networked host. In addition, the charging device can also use the lightweight embedded operating system FreeRTOS. By using FreeRTOS, its multi-threading can effectively improve the data processing speed, thereby further improving the real-time performance of the charging device.

[0064] After the distributed charging system is turned on, the server will send a networking command to the networked host, and each distributed charging device will enter the direct connection network search mode, poll the current channels according to certain rules (for example, poll in sequence according to channel numbers 1-8, a total of 4 rounds of polling), and try to send a network access request to the networked host. If the networked host directly monitors the network access request sent by a charging device during the direct connection network search cycle, the networked host verifies the network access request according to the networking command sent by the server (for example, the physical address of the charging device carried in the network access request is compared with the physical address of the charging device carried in the networking command to determine whether the charging device is in the whitelist). If the verification passes, the network access information of the charging device is recorded and a network access notification is sent to the charging device. At this point, the charging device successfully establishes a connection with the networked host and completes networking with the networked host, that is, network access.

[0065] However, affected by the geographical location of the charging device, some charging devices may not be able to establish a connection with the networked host. To distinguish them, the charging device that establishes a connection with the networked host is called the first charging device, and the charging device that fails to connect to the networked host is called the second charging device. In the embodiment of the present application, the second charging device that fails to connect to the networked host can determine the first charging device that has established a connection with the networked host and meets the preset conditions, and send a jump access request to the first charging device. The first charging device then sends a second charging device access request to the networked host. The networked host then verifies the second charging device access request according to the networking command previously received from the server. If the verification passes, the networked host records the network access information of the second charging device for subsequent communication with the second charging device. The networked host also sends the second charging device access notification to the first charging device, and the first charging device then forwards the second charging device access notification to the second charging device. At this point, the second charging device also successfully accesses the network. In addition, the networked host also processes the uplink data between the server and the downlink data between each charging device that has established a connection with the networked host according to the preset data processing rules.

[0066] It should be noted that if the verification fails, the networked host does not have to agree to the second charging device to access the network, so it can directly ignore the second charging device's network access request, or return a network access rejection notification. The embodiments of the present application do not specifically limit this.

[0067] In the charging pile data processing method provided in the embodiment of the present application, after the second charging device in the distributed charging system fails to connect to the networked host, it determines that the first charging device that has established a connection with the networked host meets the preset conditions, and sends a jump access request to the first charging device. After receiving the jump access request, the first charging device sends the second charging device access request to the networked host in the distributed charging system. After the networked host receives the second charging device access request, it verifies the second charging device access request according to the networking command sent by the server in the distributed charging system. If the verification passes, it records the network access information of the second charging device and sends the second charging device access notification to the first charging device, so that the first charging device can forward the second charging device access notification to the second charging device. In this way, the second charging device that fails to connect to the networked host successfully establishes a connection with the networked host and accesses the network through the first charging device that has established a connection with the networked host and meets the preset conditions, which facilitates the subsequent server to control the service of the second charging device and improves the service real-time performance of the second charging device. The networked host also processes the uplink data between the server and the downlink data between each charging device that has established a connection with the networked host according to preset data processing rules, further improving the real-time performance of the services of each charging device.

[0068] For various distributed charging equipment, such as two-wheeled electric vehicle charging piles, automobile AC / DC charging piles, charging and swapping cabinets, etc., the charging pile data processing method provided in the embodiment of the present application can effectively improve the master-slave communication distance and business real-time performance, thereby improving the user's charging service experience and reducing construction costs.

[0069] The applicant of this application further proposed that the networked host usually needs to periodically report some non-business data such as heartbeat signals to the server, but when there are tasks to report business data and tasks to report non-business data at the same time, the networked host may not consider the difference in importance between these data, but if the non-business data is reported first and then the business data, the real-time performance of the charging device will be affected. Therefore, by pre-setting data processing rules, when there are tasks to report business data and tasks to report non-business data at the same time, the business data is reported preferentially and multiple times until the business data response sent by the server is received before the number of reports exceeds the preset number threshold, which can further effectively improve the real-time performance of the charging device.

[0070] Accordingly, in some embodiments, Figure 3 As shown, the processing of data between the server and each of the charging devices according to a preset data processing rule (ie, step S140) may include:

[0071] In step S210, when the business data sent by any of the charging devices is received and the reporting period of the non-business data arrives, the business data is sent to the server; wherein the types of the non-business data include heartbeat signals and charging device status information;

[0072] In step S220, when a business data response sent by the server is received before the number of times the business data is sent to the server exceeds a preset number threshold, the non-business data is sent to the server;

[0073] In step S230, when no response to the service data sent by the server is received before the number of times the service data is sent to the server exceeds a preset number threshold, an initial connection is established with the server.

[0074] Among them, business data refers to data related to charging business, specifically, data directly related to the process of charging equipment providing charging services. For example, in the process of charging equipment providing charging services, users can request the server to obtain relevant information such as charging voltage, charging power, charging progress, billing information, etc. through the client. The server will then send business control instructions to the corresponding charging equipment through the networked host to request feedback of this information, and the charging equipment will feedback this information to the server through the networked host. During this period, the business control instructions transferred by the networked host between the server and the charging equipment, as well as relevant information such as charging voltage, charging power, charging progress, billing information, etc., are business data.

[0075] Among them, non-business data refers to data that is not related to the charging business. For example, the networked host needs to report a heartbeat signal to the server at a predetermined period, and determine whether the communication link between the two parties has been disconnected based on the server's response. For another example, the networked host needs to report charging device status information to the server at a predetermined period, such as network connection status, working environment parameters such as temperature and humidity, standby power consumption, etc. These data are not directly related to the process of the charging device providing charging services and are non-business data.

[0076] Among them, the embodiment of the present application does not specifically limit the preset number threshold, and can be set according to actual needs or experience. For example, the preset number threshold may be 3 times.

[0077] When there is a need to report both business data and non-business data, the networked host will report business data first according to the preset data processing rules, and if the server does not reply to the business data response in time, the networked host will report the business data again. If the number of reports has reached the preset threshold but the business data response sent by the server has not been received, the networked host can re-establish the initial connection with the server by resetting the communication module. If the business data response sent by the server is received before the number of reports exceeds the preset threshold, the networked host can then report non-business data.

[0078] In the charging pile data processing method provided in the embodiment of the present application, when the networked host receives the business data sent by any of the charging devices and the reporting period of non-business data arrives, the networked host sends the business data to the server; when the networked host receives the business data response sent by the server before the number of times the business data is sent to the server exceeds the preset number threshold, the networked host sends the non-business data to the server instead; when the networked host does not receive the business data response sent by the server before the number of times the business data is sent to the server exceeds the preset number threshold, the networked host establishes an initial connection with the server. By reporting business data preferentially and multiple times, and re-establishing an initial connection with the server when no response from the server is received after multiple reports of business data, the real-time performance of the charging device's business can be further improved.

[0079] The applicant of this application also proposed that the networked host periodically reports non-business data to the server and reports business data in real time, which are behaviors when the networked host and the server are in a connected state. When the networked host and the server are in a connected state, in order to effectively ensure the real-time performance of the charging device, if the networked host sends connection instructions to the server multiple times but does not receive a connection response from the server, then the networked host may also consider re-establishing an initial connection with the server. Accordingly, in some embodiments, the method further includes: establishing an initial connection with the server when the number of connection instructions sent to the server exceeds a preset number threshold and the connection response sent by the server is not received.

[0080] The embodiment of the present application does not specifically limit the preset number of times threshold, and can be set according to actual needs or experience. For example, the preset number of times threshold can be 3. The networked host can re-establish the initialization connection with the server by resetting the communication module.

[0081] The applicant of this application further proposed that the networked host usually needs to perform some downlink non-business tasks such as polling to obtain the status information of each charging device, judging whether it is necessary to perform online upgrades for each charging device, etc., but when it is necessary to perform downlink non-business tasks and send business data such as business control instructions at the same time, the networked host may not consider the importance difference between these tasks. However, if the downlink non-business tasks are performed first and then the business data is sent, the real-time performance of the charging device will be affected. Therefore, by pre-setting data processing rules, when it is necessary to perform downlink non-business tasks and send business data at the same time, business data is sent first, which can further effectively improve the real-time performance of the charging device.

[0082] Accordingly, in some embodiments, Figure 4 As shown, the processing of data between the server and each of the charging devices according to a preset data processing rule (ie, step S140) may include:

[0083] In step S310, when the service data sent by the server is received and the processing cycle of the downlink non-service task arrives, the service data is sent to the corresponding charging device;

[0084] In step S320, the downlink non-business task is executed.

[0085] Among them, business data refers to data related to charging business, specifically, data directly related to the process of charging equipment providing charging services. For example, in the process of charging equipment providing charging services, users can request the server to obtain relevant information such as charging voltage, charging power, charging progress, and billing information through the client. The server will then send business control instructions to the corresponding charging equipment through the networked host to request feedback of this information. During this period, the business control instructions transferred by the networked host between the server and the charging device are business data.

[0086] Among them, downlink non-business tasks refer to tasks related to each charging device but not directly related to the process of the charging device providing charging services, such as the task of polling to obtain the charging device status information of each charging device, determining whether it is necessary to perform an online upgrade for the charging device, and the task of performing an online upgrade for the charging device.

[0087] In the charging pile data processing method provided in the embodiment of the present application, when the networked host receives the business data sent by the server and the processing cycle of the downlink non-business task arrives, it first sends the business data to the corresponding charging device and then executes the downlink non-business task, which can further improve the real-time performance of the charging device.

[0088] The applicant of the present application further proposes that when the charging device status information polling task and the charging device online upgrade task need to be executed at the same time, the charging device status information polling task is executed first, which can also further improve the real-time performance of the charging device. Accordingly, in some embodiments, the downlink non-business task includes the charging device status information polling task and the charging device online upgrade task; the execution of the downlink non-business task (i.e., step S320) may include: when the charging device status information polling task is completed, executing the charging device online upgrade task.

[0089] Among them, the online upgrade task of charging equipment refers to the task of determining whether OTA (Over-the-Air Technology) is needed for the charging equipment, and the task of performing OTA for the charging equipment. The charging equipment status information polling task refers to the task of polling and paging each charging equipment in turn after the charging equipment roll call cycle arrives to obtain their status information such as network connection status, working environment parameters such as temperature and humidity, standby power consumption, etc.

[0090] As described above, the networked host will verify the network access request of the second charging device according to the networking command issued by the server. Accordingly, in some embodiments, the networking command includes a one-to-one correspondence between the charging device number information and the physical address of the charging device; Figure 5 As shown, the verifying the network access request of the second charging device according to the networking command sent by the server in the distributed charging system (ie, step S120) may include:

[0091] In step S121, when it is determined that the physical address of the second charging device carried in the network access request of the second charging device exists in the corresponding relationship, it is determined that the verification is passed.

[0092] Among them, the networking command sent by the server to the networked host includes a one-to-one correspondence between the charging device number information and the physical address of the charging device. The role of the charging device physical address in the corresponding relationship is equivalent to the white list of charging devices allowed to access the network sent by the server. When the physical address of a charging device exists in the white list, the networked host agrees to its access to the network.

[0093] The role of the charging device number information in the corresponding relationship is equivalent to the globally unique identifier of the charging device in the distributed charging system. Then, the networked host can issue a network access notification to the second charging device based on the number information of the first charging device and the second charging device. Figure 6As shown, if the verification is passed, recording the network access information of the second charging device and sending the second charging device network access notification to the first charging device (ie, the one involved in step S130) may include:

[0094] In step S410, the charging device number information corresponding to the physical address of the second charging device in the corresponding relationship is determined;

[0095] In step S420, the network access information of the second charging device is recorded according to the determined charging device number information;

[0096] In step S430, a second charging device network access notification carrying the determined charging device number information, the charging device number information of the first charging device, and the intranet network number is sent to the first charging device.

[0097] As a second aspect of an embodiment of the present application, a charging pile data processing method is provided, which is used for a second charging device in a distributed charging system, such as Figure 7 As shown, the method may include:

[0098] In step S510, when a connection with a networked host in the distributed charging system cannot be established within the network access period, each current channel is monitored according to a preset monitoring duration;

[0099] In step S520, when it is determined that the first charging device in the distributed charging system that has established a connection with the networked host meets a preset condition according to the monitored data of the first charging device, a jump network access request is sent to the first charging device, so that the first charging device can send a second charging device network access request to the networked host;

[0100] In step S530, a second charging device network access notification sent by the first charging device is received; wherein, the second charging device network access notification is recorded by the networked host and sent to the first charging device when the network access request of the second charging device is verified and passed according to the networking command sent by the server in the distributed charging system.

[0101] Among them, the network access cycle refers to the period in which the charging device searches for the network in a direct connection after the distributed charging system is turned on. Affected by the geographical location of the charging device, some charging devices may not be able to establish a connection with the networked host during the network access cycle, which means that the charging device fails to connect to the networked host. In an embodiment of the present application, the second charging device that failed to connect to the networked host at this time can determine the first charging device that has established a connection with the networked host and meets the preset conditions, and send a jump network access request to the first charging device. The first charging device then sends a second charging device network access request to the networked host. The networked host then verifies the second charging device network access request according to the networking command previously received from the server. If the verification passes, the networked host records the network access information of the second charging device to facilitate subsequent communication with the second charging device. The networked host also sends a second charging device network access notification to the first charging device, and the first charging device then forwards the second charging device network access notification to the second charging device. At this point, the second charging device also successfully accesses the network.

[0102] Among them, the embodiment of the present application does not make any specific limitation on the preset monitoring time, and can be set according to actual needs or experience. For example, the preset monitoring time can be 90 seconds, that is, each channel is monitored for 90 seconds in turn.

[0103] The charging pile data processing method provided in the embodiment of the present application can similarly be used for the first charging device in the distributed charging system. It can be understood that the data processing method on the first charging device side and the data processing method on the second charging device side have been explained together with the data processing method on the networked host side in the above text, so they will not be repeated here.

[0104] In the charging pile data processing method provided in the embodiment of the present application, after the second charging device in the distributed charging system fails to connect to the networked host, it determines that the first charging device that has established a connection with the networked host meets the preset conditions, and sends a jump access request to the first charging device. After receiving the jump access request, the first charging device sends the second charging device access request to the networked host in the distributed charging system. After the networked host receives the second charging device access request, it verifies the second charging device access request according to the networking command sent by the server in the distributed charging system. If the verification passes, it records the network access information of the second charging device and sends the second charging device access notification to the first charging device, so that the first charging device can forward the second charging device access notification to the second charging device. In this way, the second charging device that fails to connect to the networked host successfully establishes a connection with the networked host and accesses the network through the first charging device that has established a connection with the networked host and meets the preset conditions, which facilitates the subsequent server to control the service of the second charging device and improves the service real-time performance of the second charging device.

[0105] The applicant of the present application further proposes that the second charging device can identify whether the first charging device meets the preset condition based on the signal strength between the first charging device and the networked host. Accordingly, in some embodiments, Figure 8 As shown, determining that the first charging device meets the preset condition (i.e., the condition involved in step S530) based on the monitored data of the first charging device in the distributed charging system that has established a connection with the networked host may include:

[0106] In step S610, according to the monitored data of the first charging device in the distributed charging system that has established a connection with the networked host, the signal strength between the first charging device and the networked host, the serial number information of the first charging device and the intranet number are determined;

[0107] In step S620, when the signal strength is not less than a preset signal strength threshold, it is determined that the first charging device meets a preset condition.

[0108] Correspondingly, sending a jump access request to the first charging device (i.e., involved in step S540) may include: sending a jump access request to the first charging device that carries the physical address of the second charging device, the determined numbering information of the first charging device, and the intranet network number.

[0109] The embodiment of the present application does not specifically limit the preset signal strength threshold, and it can be set according to actual needs or experience. For example, the preset signal strength threshold can be -75dBm.

[0110] Among them, when the signal strength between the first charging device that has established a connection with the networked host and the networked host is not less than -75dBm (for example, -70 dBm), the first charging device can be considered to be a charging device with high communication quality. With the help of the first charging device as a routing node, the real-time performance of the service of the second charging device can be effectively improved.

[0111] It can be understood that the signal strength is a negative dBm value, and the larger the value, the better the signal quality, that is, the smaller the absolute value of the signal strength, the better the signal quality. For example, from a numerical point of view, -70 dBm is greater than -75 dBm, and -80 dBm is greater than -90 dBm, so a signal strength of -70 dBm is better than a signal strength of -75 dBm, and a signal strength of -80 dBm is better than a signal strength of -90 dBm.

[0112] In an embodiment of the present application, when the second charging device determines that each first charging device that has established a connection with the networked host does not meet the preset condition (that is, when the signal strength between each first charging device and the networked host is less than -75dBm), the requirement for signal strength can be lowered. For example, it is determined whether the signal strength between the first charging device and the networked host is not less than -90dBm, and the first charging device with a signal strength between the first charging device and the networked host not less than -90dBm (for example, -80dBm) is determined as the first charging device that meets the preset condition.

[0113] The following reference Figure 2b As shown, the network access process in the charging pile data processing method provided in the embodiment of the present application is described in detail. Figure 2b As shown, after the distributed charging system is turned on:

[0114] First, the server sends a networking command to the networked host. The networking command may include the following: 1. The communication channel between the networked host and the charging device, that is, the communication frequency; 2. The one-to-one correspondence between the numbering information and the physical address of the charging device, where the numbering information can be a continuous positive integer such as 1, 2, 3...N, and the physical address is also the MAC address (Media Access Control Address).

[0115] Furthermore, each distributed charging device enters the direct connection network search mode and polls in sequence according to the channel number (such as 1-8), for a total of 4 rounds.

[0116] Furthermore, if a charging device cannot establish a connection with the networked host during the direct network search cycle, which is referred to as the second charging device, then the second charging device that fails to connect to the networked host will enter the jump network search mode, and monitor each channel for 90 seconds according to the channel number (such as 1-8), and determine the following based on the data of the first charging device that has established a connection with the networked host: 1. The signal strength between the first charging device and the networked host; 2. The numbering information of the first charging device; 3. The intranet network number.

[0117] Furthermore, the second charging device determines whether the signal strength between the first charging device that has established a connection with the networked host and the networked host is not less than -75dBm; if the signal strength between all the first charging devices that have established a connection with the networked host and the networked host is less than -75dBm, it enters the direct connection network search mode and still tries to establish a connection with the networked host; if there is a first charging device that has established a connection with the networked host and the signal strength between it and the networked host is not less than -75dBm, proceed to the next step.

[0118] Furthermore, the second charging device continuously sends a jump access request to the first charging device for 20 seconds, including the following contents: 1. The physical address of the second charging device; 2. The numbering information of the first charging device; 3. The intranet network number.

[0119] Furthermore, the first charging device sends a network access request for the second charging device to the networked host, including the following contents: 1. The physical address of the second charging device; 2. The serial number information of the first charging device.

[0120] Furthermore, the networked host compares the physical address of the second charging device to see if it is in the whitelist according to the networking command sent by the server, and if so, proceeds to the next step.

[0121] Furthermore, the networked host sends a network access notification of the second charging device to the first charging device, including number information allocated to the second charging device according to the networking command issued by the server. The first charging device forwards the network access notification of the second charging device to the second charging device.

[0122] Furthermore, the second charging device successfully joins the network, and the networked host records its network access information according to the numbering information of the second charging device. The second charging device records the following contents: 1. The assigned numbering information; 2. The numbering information of the first charging device; 3. The intranet network number.

[0123] The above is a case where a charging device cannot establish a connection with a networked host during the direct network search period. The charging device that successfully establishes a connection with the networked host during the direct network search period is called the first charging device. The process of establishing a connection between the first charging device and the networked host is as follows:

[0124] During the direct connection network search period, the first charging device sends a first charging device network access request to the network host, including the physical address of the first charging device. The network host directly monitors the first charging device network access request sent by the first charging device.

[0125] Furthermore, the networked host compares the physical address of the first charging device to see if it is in the whitelist according to the networking command sent by the server, and if so, proceeds to the next step.

[0126] Furthermore, the networked host sends a first charging device network access notification to the first charging device, including number information allocated to the first charging device according to the networking command issued by the server.

[0127] Furthermore, the first charging device successfully accesses the network, and the networked host records the network access information of the first charging device according to the numbering information of the first charging device. The first charging device records the following contents: 1. the assigned numbering information; 2. the intranet network number.

[0128] As a third aspect of the embodiments of the present application, an electronic device is provided, wherein: Fig. 9 As shown, the electronic device includes:

[0129] One or more processors 101;

[0130] The memory 102 stores one or more computer programs. When the one or more computer programs are executed by the one or more processors 101, the one or more processors 101 implement the charging pile data processing method provided in the first aspect or the second aspect of the embodiment of the present application.

[0131] The electronic device may further include one or more I / O interfaces 103 connected between the processor 101 and the memory 102 and configured to implement information interaction between the processor 101 and the memory 102 .

[0132] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the processor and the memory, including but not limited to a data bus (Bus), etc.

[0133] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.

[0134] As a fourth aspect of the embodiment of the present application, Fig.10 As shown, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the charging pile data processing method provided by the first aspect or the second aspect of the embodiment of the present application is implemented.

[0135] It will be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. Accordingly, the computer program can be stored in a non-volatile computer-readable storage medium, and the computer program can implement the method of any of the above-mentioned embodiments when executed. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the embodiments of the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0136] The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Those skilled in the art should understand that the present application includes but is not limited to the contents described in the drawings and the above specific embodiments. Any modification that does not deviate from the functional and structural principles of the present application will be included in the scope of the claims.

Claims

1. A charging pile data processing method, used for a networked host in a distributed charging system, characterized in that: The method comprises: Receiving a network access request for a second charging device sent by a first charging device in the distributed charging system that has established a connection with the networked host; wherein the network access request for the second charging device is sent by the first charging device after receiving a jump network access request sent by the second charging device in the distributed charging system, and the jump network access request is sent by the second charging device when it is determined that the first charging device meets a preset condition after the second charging device fails to connect with the networked host; Verifying the network access request of the second charging device according to the networking command sent by the server in the distributed charging system; If the verification is passed, the network access information of the second charging device is recorded, and a network access notification of the second charging device is sent to the first charging device, so that the first charging device forwards the network access notification of the second charging device to the second charging device; Processing data between the server and each of the charging devices according to preset data processing rules; The processing of data between the server and each of the charging devices according to a preset data processing rule includes: When receiving the business data sent by any of the charging devices and the reporting period of the non-business data has arrived, sending the business data to the server; wherein the types of the non-business data include heartbeat signals and charging device status information; In a case where a business data response sent by the server is received before the number of times the business data is sent to the server exceeds a preset number threshold, sending the non-business data to the server; If no service data response sent by the server is received before the number of times the service data is sent to the server exceeds a preset threshold, an initial connection is established with the server.

2. The method according to claim 1, characterized in that The processing of data between the server and each of the charging devices according to a preset data processing rule includes: When receiving the service data sent by the server and the processing cycle of the downlink non-service task arrives, sending the service data to the corresponding charging device; Execute the downlink non-business task.

3. The method according to claim 2, characterized in that The downlink non-business tasks include a charging device status information polling task and a charging device online upgrade task; The performing of the downlink non-business task comprises: When the charging device status information polling task is completed, the charging device online upgrade task is executed.

4. The method according to claim 1, characterized in that The networking command includes a one-to-one correspondence between the charging device number information and the physical address of the charging device; the verifying the network access request of the second charging device according to the networking command sent by the server in the distributed charging system includes: In the case where it is determined that the physical address of the second charging device carried in the network access request of the second charging device exists in the corresponding relationship, it is determined that the verification is passed.

5. The method according to claim 4, characterized in that If the verification is passed, recording the network access information of the second charging device and sending a network access notification of the second charging device to the first charging device includes: Determine the charging device number information corresponding to the physical address of the second charging device in the corresponding relationship; According to the determined charging device number information, record the network access information of the second charging device; A second charging device network access notification carrying the determined charging device number information, the charging device number information of the first charging device, and an intranet network number is sent to the first charging device.

6. A charging pile data processing method, used for a second charging device in a distributed charging system, characterized in that: The method comprises: If a connection with a networked host in the distributed charging system cannot be established during the network access period, each current channel is monitored according to a preset monitoring time; When it is determined that the first charging device in the distributed charging system that has established a connection with the networked host meets a preset condition according to the monitored data of the first charging device, sending a jump network access request to the first charging device so that the first charging device can send a second charging device network access request to the networked host; Receive a second charging device network access notification sent by the first charging device; wherein, the second charging device network access notification is recorded by the networked host and sent to the first charging device when the network access request of the second charging device is verified and passed according to the networking command sent by the server in the distributed charging system; the networked host processes the data between the server and each of the charging devices according to the preset data processing rules, including: when the business data sent by any of the charging devices is received and the reporting period of non-business data arrives, send the business data to the server, wherein the types of the non-business data include heartbeat signals and charging device status information; when the business data response sent by the server is received before the number of times the business data is sent to the server exceeds a preset number threshold, the non-business data is sent to the server, and when the business data response sent by the server is not received before the number of times the business data is sent to the server exceeds a preset threshold, establish an initialization connection with the server.

7. The method according to claim 6, characterized in that The determining that the first charging device meets a preset condition based on the monitored data of the first charging device in the distributed charging system that has established a connection with the networked host includes: Determine the signal strength between the first charging device and the networked host, the serial number information of the first charging device, and the intranet number according to the monitored data of the first charging device in the distributed charging system that has established a connection with the networked host; When the signal strength is not less than a preset signal strength threshold, determining that the first charging device meets a preset condition; The sending of the jump access request to the first charging device includes: sending the jump access request carrying the physical address of the second charging device, the determined numbering information of the first charging device, and the intranet number to the first charging device.

8. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the charging pile data processing method according to any one of claims 1-7.

9. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the charging pile data processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Micro-power wireless networking method

    CN102548038A

  • Communication system of a distributed charging pile and a communication method thereof

    CN109769153A

  • Method for using cellular communication function and related device

    CN113630910A

  • Network access method of slave equipment and related device

    CN115515204A

  • Distributed charging pile system and wireless ad hoc network method

    CN118804214A