Data processing method, storage medium, chip and electronic device

By establishing a communication link between the charging gun and the main unit cabinet, the relationship between the DC bus and the charging gun is automatically processed, solving the problem of low efficiency in the existing technology and realizing a more efficient and accurate matching process.

CN116886750BActive Publication Date: 2026-04-24AUTEL UNITED CREATION SOFTWARE DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
AUTEL UNITED CREATION SOFTWARE DEV CO LTD
Filing Date
2023-08-23
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

In existing technologies, the DC bus matching process between the main unit cabinet and the charging gun is inefficient and usually relies on manual operation, resulting in low efficiency and insufficient accuracy.

Method used

By establishing a communication link between the charging gun and the main unit cabinet, the charging gun obtains an IP address and establishes communication with the main unit cabinet. The main unit cabinet sends a voltage acquisition request, and the charging gun sends a voltage to instruct the main unit cabinet to perform association processing, thus automatically establishing the association between the DC bus and the charging gun.

Benefits of technology

It improves the efficiency and accuracy of establishing the correlation between the DC bus and the charging gun, and reduces the need for manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116886750B_ABST
    Figure CN116886750B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of wireless communication, and discloses a data processing method, a storage medium, a chip and an electronic device, which are applied to a first charging gun, the first charging gun is connected with a host cabinet through a direct-current bus, and the data processing method comprises the following steps: acquiring a first IP address; a first communication link is established between the first IP address and the host cabinet; in response to a voltage acquisition request sent by the host cabinet through the first communication link, a first voltage corresponding to the direct-current bus is acquired; and the first voltage is sent to the host cabinet through the first communication link, so that the host cabinet performs association processing on the direct-current bus corresponding to the first voltage and the first charging gun, and an association relationship between the direct-current bus and the first charging gun is obtained, thereby improving the technical problem that the efficiency is low when the direct-current bus in the existing host cabinet is matched with the charging gun.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of wireless communication and data processing technology, specifically to a data processing method, storage medium, chip, and electronic device. Background Technology

[0002] With the rapid development of new energy technologies, the number of electric vehicles is increasing, leading to a greater demand for charging infrastructure. To meet the higher power requirements of electric vehicles, charging piles are designed by dividing them into a main unit cabinet and charging guns. The main unit cabinet manages the power modules, while the charging guns handle information interaction with the vehicle, allowing software and hardware to focus more on the development of their respective modules. However, in existing solutions, the matching of the DC bus in the main unit cabinet with the charging gun is usually done manually during the installation of the charging pile, resulting in low efficiency in matching the DC bus with the charging gun. Summary of the Invention

[0003] One objective of this application is to provide a data processing method, storage medium, chip, and electronic device to improve the technical problem of low efficiency when matching DC buses and charging guns in existing main unit cabinets.

[0004] In a first aspect, embodiments of this application provide a data processing method applied to a first charging gun, wherein the first charging gun is connected to a main unit cabinet via a DC bus, and the data processing method includes:

[0005] Obtain the first IP address;

[0006] A first communication link is established between the first IP address and the main unit cabinet;

[0007] In response to the voltage acquisition request sent by the main unit cabinet through the first communication link, the first voltage corresponding to the DC bus is acquired;

[0008] The first voltage is sent to the main unit cabinet through the first communication link to instruct the main unit cabinet to associate the DC bus corresponding to the first voltage with the first charging gun, thereby obtaining the association relationship between the DC bus and the first charging gun.

[0009] In one possible implementation, obtaining the first IP address includes:

[0010] Send DHCP broadcast message;

[0011] Receive a DHCP response message sent by the DHCP server in the host rack, the DHCP response message including the first IP address;

[0012] Send a DHCP request message to the DHCP server, the DHCP request message being used to instruct the first charging gun to accept the first IP address;

[0013] The system receives a confirmation message from the DHCP server in response to the DHCP request message, the confirmation message indicating that the first charging gun is allowed to use the first IP address.

[0014] In one possible implementation, the data processing method further includes:

[0015] If no DHCP response message is received from the DHCP server in the host rack within a first time period after sending the DHCP broadcast message, the DHCP broadcast message is continuously sent, and a second time period is obtained, which is the time period between the current time and the time when the DHCP broadcast message was first sent;

[0016] If the second duration is longer than the preset duration, and no DHCP response message has been received from the DHCP server in the host rack before the current time, then an alarm message indicating an abnormal acquisition of the first IP address is determined.

[0017] Display the alarm information.

[0018] In one possible implementation, after displaying the alarm information, the data processing method further includes:

[0019] Send DHCP broadcast message;

[0020] The system receives a DHCP response message from the second charging gun. The DHCP response message includes a second IP address, which is the IP address obtained by the second charging gun from the host cabinet after receiving the alarm information. The second charging gun is a charging gun that has successfully associated with the DC bus in the host cabinet.

[0021] In one possible implementation, obtaining the first IP address includes:

[0022] Receive the first IP address information input by the target user;

[0023] Obtain the first IP address based on the first IP address information.

[0024] In a second aspect, embodiments of this application provide a data processing method applied to a main unit cabinet, wherein the main unit cabinet and a first charging gun are connected via a DC bus, and the data processing method includes:

[0025] A first communication link is established between the first charging gun and the first charging gun using the first IP address of the first charging gun;

[0026] A voltage acquisition request is sent to the first charging gun through the first communication link. The voltage acquisition request is used to instruct the first charging gun to acquire the first voltage corresponding to the DC bus connecting the first charging gun and the main cabinet.

[0027] The first voltage is received from the first charging gun via the first communication link;

[0028] The DC bus corresponding to the first voltage is associated with the first charging gun to obtain the association relationship between the DC bus and the first charging gun.

[0029] In one possible implementation, the host cabinet includes a DHCP server, and the data processing method further includes:

[0030] The DHCP server receives the DHCP broadcast message sent by the first charging gun;

[0031] In response to the DHCP broadcast message, the DHCP server determines the first IP address corresponding to the first charging gun;

[0032] The DHCP server sends a DHCP response message to the first charging gun, and the DHCP response message includes the first IP address;

[0033] The DHCP server receives a DHCP request message sent by the first charging gun, and the DHCP request message is used to instruct the first charging gun to accept the first IP address;

[0034] In response to the DHCP request message, the DHCP server sends an acknowledgment message to the first charging gun, indicating that the first charging gun is allowed to use the first IP address.

[0035] In one possible implementation, the data processing method further includes:

[0036] After receiving the alarm information sent by the first charging gun, the second charging gun sends an IP address acquisition request. The IP address acquisition request is used to request the IP address of the first charging gun. The second charging gun is the charging gun that has successfully associated with the DC bus in the host cabinet.

[0037] In response to the IP address acquisition request, a second IP address is obtained;

[0038] Send the second IP address to the second charging gun.

[0039] In a third aspect, embodiments of this application provide a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a first processor, cause the first processor to perform a data processing method as described in any one of the first aspects, and / or when executed by a second processor, cause the second processor to perform a data processing method as described in any one of the second aspects.

[0040] In a fourth aspect, embodiments of this application provide a chip, comprising:

[0041] At least one processor; and,

[0042] A memory communicatively connected to the at least one processor; wherein,

[0043] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of the first aspects.

[0044] In a fifth aspect, embodiments of this application provide a chip, comprising:

[0045] At least one processor; and,

[0046] A memory communicatively connected to the at least one processor; wherein,

[0047] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of the second aspects.

[0048] In a sixth aspect, embodiments of this application provide an electronic device, including:

[0049] At least one processor; and,

[0050] A memory communicatively connected to the at least one processor; wherein,

[0051] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of the first aspects.

[0052] In a seventh aspect, embodiments of this application provide an electronic device, including:

[0053] At least one processor; and,

[0054] A memory communicatively connected to the at least one processor; wherein,

[0055] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of the second aspects.

[0056] In the data processing method provided in this application embodiment, the charging gun obtains a first IP address and establishes a first communication link with the host cabinet through the first IP address. In response to the voltage acquisition request sent by the host cabinet through the first communication link, the charging gun obtains the first voltage corresponding to the DC bus and sends the first voltage to the host cabinet through the first communication link to instruct the host cabinet to associate the DC bus corresponding to the first voltage with the first charging gun, thereby obtaining the association relationship between the DC bus and the first charging gun. Therefore, the charging gun and the host cabinet can communicate data through the established communication link. The charging gun sends the voltage of its connected DC bus to the host cabinet through the established communication link and instructs the host cabinet to associate the DC bus corresponding to the first voltage with the first charging gun, thereby obtaining the association relationship between the DC bus and the first charging gun. This can automatically establish the association relationship between the DC bus and the first charging gun, improving the efficiency of establishing the association relationship between the DC bus and the first charging gun. At the same time, due to the reduction of manual operation, it can also improve the accuracy of establishing the association relationship between the DC bus and the first charging gun. Attached Figure Description

[0057] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0058] Figure 1 This is a schematic diagram of the structure of a charging pile provided in an embodiment of this application;

[0059] Figure 2A An interactive schematic diagram of a data processing method provided in an embodiment of this application;

[0060] Figure 2B An interactive schematic diagram illustrating a method for a first charging gun to obtain a first IP address, provided in an embodiment of this application;

[0061] Figure 2C An interactive schematic diagram illustrating a method for a first charging gun to obtain a second IP address, provided in an embodiment of this application;

[0062] Figure 3 A circuit structure diagram of an electronic device provided in an embodiment of this application;

[0063] Figure 4 This is a schematic diagram of the circuit structure of another electronic device provided in an embodiment of this application. Detailed Implementation

[0064] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0065] It should be noted that, unless there is a conflict, the various features in the embodiments of this application can be combined with each other, all of which are within the protection scope of this application. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than the module division in the device or the order in the flowchart. Moreover, the terms "first," "second," and "third" used in this application do not limit the data or execution order, but only distinguish identical or similar items with essentially the same function and effect.

[0066] To better understand the data processing method provided in this application embodiment, a brief introduction to the matching of DC buses and charging guns in the main unit cabinet of a charging pile is given below. The main unit cabinet includes multiple DC buses, each of which can be connected to a charging gun. After connection, the charging gun can charge electric vehicles. After the charging gun is connected to the DC bus, the main unit cabinet needs to obtain information about the charging gun connected to the DC bus. Since existing charging guns are not unique relative to the main unit cabinet after production, facilitating installation and replacement, existing solutions typically use manual matching during charging pile installation when associating and matching the DC buses and connected charging guns. This results in low efficiency in matching the DC buses and charging guns.

[0067] This application aims to solve the above problems and proposes a data processing method. The charging gun and the main unit cabinet can communicate through an established communication link. The charging gun sends the voltage of its connected DC bus to the main unit cabinet through the established communication link and instructs the main unit cabinet to associate the DC bus corresponding to the first voltage with the first charging gun to obtain the association relationship between the DC bus and the first charging gun. This can automatically establish the association relationship between the DC bus and the first charging gun, improving the efficiency of establishing the association relationship between the DC bus and the first charging gun. At the same time, by reducing manual operation, it can also improve the accuracy of establishing the association relationship between the DC bus and the first charging gun.

[0068] This application provides a charging pile, which includes a first charging gun and a main unit cabinet. The communication connection between the first charging gun and the main unit cabinet can be via WIFI, or via other frequency bands such as 2.4GHz, or other wireless connection methods, such as connection based on other IoT wireless protocols. A DC bus is also connected between the first charging gun and the main unit cabinet.

[0069] Please see Figure 1 The charging pile 100 includes a first charging gun 2 and a main unit cabinet 1. The main unit cabinet 1 includes a first antenna 11, a first physical interface 12, a first processor 13, and a first memory 14. At least one first processor 13 is communicatively connected to the first physical interface 12 and the first memory 14. The first memory 14 stores instructions that can be executed by at least one first processor 13. The instructions are executed by the at least one first processor 13 to enable the at least one first processor 13 to perform the data processing method described below.

[0070] Please continue reading. Figure 1 The first charging gun 2 includes a second antenna 21, a second processor 22, a second memory 23, and a second physical interface 24. At least one second processor 22 is communicatively connected to the second memory 23. The second processor 22 is connected to the second antenna 21 via a radio frequency circuit. The second processor 22 is connected to the second physical interface 24. The second memory 23 stores instructions that can be executed by at least one second processor 22. The instructions are executed by the at least one second processor 22 to enable the at least one second processor 22 to perform the data processing method described below.

[0071] As another aspect of this application, this application provides a data processing method applied to a charging pile, the charging pile including a first charging gun and a main unit cabinet. Please refer to... Figure 2A Data processing methods include:

[0072] S201, The first charging gun obtains the first IP address.

[0073] The first charging gun can obtain a first IP address from the DHCP (Dynamic Host Configuration Protocol) server in the host rack before establishing the first communication link with the host rack. Specifically, for example, the first charging gun can send a DHCP broadcast message to request an IP address, and the DHCP server in the host rack can send the IP address to it after receiving the DHCP broadcast message.

[0074] Furthermore, if the first charging gun fails to receive a response message from the DHCP server in the host cabinet for an extended period after sending a DHCP broadcast message, it can obtain the first IP address from the server through the second charging gun, thereby improving the reliability of establishing the connection between the first charging gun and the DC bus.

[0075] Of course, the first charging gun can also receive the IP address input by the target user before establishing the first communication link with the host rack, and determine the IP address input by the user as the first IP address. Specifically, the user can manually configure the IP address for the first charging gun and input the manually configured IP address into the first charging gun. After inputting the configured IP address into the first charging gun, the user also needs to synchronize the IP address to the host rack.

[0076] S202, the first charging gun and the main unit cabinet establish a first communication link through the first IP address.

[0077] The first charging gun and the main unit cabinet can establish a communication link using a common TCP / IP protocol method, which will not be elaborated here. If the first communication link establishment fails, the process will continue to attempt to establish the first communication link multiple times. If the first communication link still cannot be established successfully, the first charging gun can display an alarm message indicating that the first communication link establishment has failed.

[0078] After the communication link is established, the first charging gun cannot identify which DC bus it is specifically connected to in the main unit cabinet. Therefore, it cannot directly send the identifier of the specific DC bus it is connected to to the main unit cabinet.

[0079] S203. The main unit cabinet sends a voltage acquisition request to the first charging gun through the first communication link. The voltage acquisition request is used to instruct the first charging gun to acquire the first voltage corresponding to the DC bus connected between the first charging gun and the main unit cabinet.

[0080] After the first communication link is successfully established, the main unit cabinet can also detect whether the first charging gun is connected to it via the DC bus. After the first charging gun is connected to the DC bus, it sends a voltage acquisition request.

[0081] The main unit cabinet can obtain the first voltage of the DC bus detected by the first charging gun by sending a voltage acquisition request to the first charging gun, thereby enabling matching of subsequent DC buses with the first charging gun. Since the main unit cabinet stores the identifier of the DC bus and the output voltage amplitude of the DC bus, the corresponding DC bus identifier can be determined based on the first voltage. Finally, the association relationship is obtained by associating the DC bus identifier with the identifier information of the first charging gun.

[0082] S204. In response to the voltage acquisition request sent by the main unit cabinet through the first communication link, the first charging gun acquires the first voltage corresponding to the DC bus.

[0083] The first charging gun can detect the first voltage corresponding to the DC bus through its own voltage detection device.

[0084] S205, The first charging gun sends the first voltage to the main unit cabinet through the first communication link.

[0085] The first charging gun sends a first voltage to the main unit cabinet through the first communication link and instructs the main unit cabinet to associate the DC bus corresponding to the first voltage with the first charging gun to obtain the association relationship between the DC bus and the first charging gun.

[0086] The first voltage can be placed in the load field of the voltage response message, and the first voltage can be sent to the main cabinet through the voltage response message.

[0087] S206. The main unit cabinet receives the first voltage sent by the first charging gun through the first communication link.

[0088] The main unit can receive the first voltage from the voltage response message sent by the first charging gun via the first communication link. Specifically, for example, it can receive the first voltage from the load field of the voltage response message.

[0089] S207. The main unit cabinet associates the DC bus corresponding to the first voltage with the first charging gun to obtain the association relationship between the DC bus and the first charging gun.

[0090] The method for the main unit cabinet to associate the DC bus corresponding to the first voltage with the first charging gun can be as follows: associate the identification information of the DC bus corresponding to the first voltage with the identification information of the first charging gun to obtain the association relationship between the DC bus and the first charging gun.

[0091] The main unit cabinet stores the correspondence between voltage and DC bus. For example, the voltage of the first DC bus is 200V, the voltage of the second DC bus is 250V, and the voltage of the third DC bus is 300V. If the first voltage is 200V, the identifier of the first DC bus is associated with the identifier of the first charging gun to obtain the association between the first DC bus and the first charging gun. This is only an example and is not a specific limitation.

[0092] In this example, the charging gun and the main unit cabinet can communicate via an established communication link. The charging gun sends the voltage of its connected DC bus to the main unit cabinet through this established communication link. The main unit cabinet associates the DC bus corresponding to the first voltage with the first charging gun to obtain the association relationship between the DC bus and the first charging gun. This can automatically establish the association relationship between the DC bus and the first charging gun, improving the efficiency of establishing the association relationship between the DC bus and the first charging gun. At the same time, by reducing manual operation, it can also improve the accuracy of establishing the association relationship between the DC bus and the first charging gun.

[0093] In one possible implementation, such as Figure 2B As shown, Figure 2B An interactive schematic diagram illustrating a method for a first charging gun to obtain a first IP address is shown. For example... Figure 2B As shown, the host cabinet includes a DHCP server, and the method for the first charging gun to obtain the first IP address includes:

[0094] A1. The first charging gun sends a DHCP broadcast message;

[0095] A2. The DHCP server receives the DHCP broadcast message sent by the first charging gun;

[0096] A3. In response to the DHCP broadcast message, the DHCP server determines the first IP address corresponding to the first charging gun;

[0097] A4. The DHCP server sends a DHCP response message to the first charging gun. The DHCP response message includes the first IP address.

[0098] A5. The first charging gun receives a DHCP response message sent by the DHCP server in the main unit cabinet. The DHCP response message includes the first IP address.

[0099] A6. The first charging gun sends a DHCP request message to the DHCP server. The DHCP request message is used to instruct the first charging gun to accept the first IP address.

[0100] A7. The DHCP server receives the DHCP request message sent by the first charging gun. The DHCP request message is used to instruct the first charging gun to accept the first IP address.

[0101] A8. In response to the DHCP request message, the DHCP server sends an acknowledgment message to the first charging gun to indicate that the first charging gun is allowed to use the first IP address.

[0102] A9. The first charging gun receives an acknowledgment message from the DHCP server in response to the DHCP request message. The acknowledgment message indicates that the first charging gun is allowed to use the first IP address.

[0103] The first charging gun sends a DHCP broadcast message, which requests the DHCP server to assign it an IP address.

[0104] After receiving a DHCP broadcast message, the DHCP server can assign an IP address from among available IP addresses to obtain the first IP address. The assignment can be random or in a specific order, such as according to the last digits of the IP address.

[0105] The payload field of the DHCP response message can carry the first IP address. After receiving the DHCP response message, the first charging gun can extract the first IP address from the payload field of the DHCP response message. After extracting the first IP address, if the first charging gun decides to accept the use of the first IP address, it can send a DHCP request message to the DHCP server to instruct it to accept the use of the first IP address.

[0106] Finally, the DHCP server sends an acknowledgment message to the first charging gun in response to the DHCP request message. Upon receiving this acknowledgment, the first charging gun can then use the first IP address to establish the first communication link. Therefore, in this example, dynamically obtaining the first IP address improves flexibility during communication link establishment.

[0107] In one possible implementation, if the first charging gun does not receive a DHCP response message from the DHCP server within a certain period after the DHCP broadcast message is sent, an alarm can be triggered, as follows:

[0108] B1. If no DHCP response message is received from the DHCP server in the host rack within the first time period after sending the DHCP broadcast message, the first charging gun will continue to send DHCP broadcast messages and obtain a second time period, which is the time between the current time and the time when the DHCP broadcast message is first sent.

[0109] B2. If the second duration is longer than the preset duration, and no DHCP response message has been received from the DHCP server in the host cabinet before the current time, the first charging gun will determine the alarm information of the first IP address acquisition anomaly.

[0110] B3. Display alarm information.

[0111] The first duration and the preset duration are durations set based on experience or historical data. The alarm information for the first charging gun to determine the first IP address acquisition anomaly can be: the preset alarm information can be determined as the alarm information for the first IP address acquisition anomaly, or other alarm information can be determined as the alarm information for the first IP address acquisition anomaly, without specific limitations here.

[0112] Alarm information can be displayed by playing the alarm message aloud, or by sending an SMS message.

[0113] In one possible implementation, after the first charging gun displays an alarm message, a second IP address can be obtained again, such as... Figure 2C As shown, the details are as follows:

[0114] C1. The first charging gun sends a DHCP broadcast message;

[0115] C2. After receiving the alarm information, the second charging gun receives a DHCP broadcast message;

[0116] C3. The second charging gun sends an IP address acquisition request to the DHCP server;

[0117] C4. After receiving the alarm information sent by the first charging gun, the DHCP server receives the IP address acquisition request sent by the second charging gun.

[0118] The IP address acquisition request is used to request the IP address of the first charging gun, and the second charging gun is the charging gun that has been successfully associated with the DC bus in the host cabinet.

[0119] C5. The DHCP server responds to the IP address acquisition request and obtains a second IP address;

[0120] C6. The DHCP server sends the second IP address to the second charging gun;

[0121] C7. The second charging gun sends the second IP address to the first charging gun.

[0122] After the first charging gun displays an alarm message, the second charging gun can receive the alarm message. Upon receiving the alarm message, the second charging gun can temporarily act as a relay device for obtaining an IP address. The second charging gun is the one successfully associated with the DC bus in the host cabinet. The second charging gun can receive DHCP broadcast messages sent by the first charging gun. After receiving the DHCP broadcast message, it sends an IP address acquisition request to the DHCP server. After receiving the IP address acquisition request, the DHCP server assigns a second IP address to the first charging gun. The specific method for assigning the second IP address can refer to the method for assigning the first IP address in the previous embodiment, and will not be repeated here.

[0123] After receiving the second IP address, the first charging gun can establish a communication connection with the main unit cabinet based on the second IP address, which can then be used for subsequent voltage acquisition, etc. Therefore, in this example, a temporary second charging gun can be used to obtain the IP address, thereby improving the reliability of communication link establishment and further enhancing the reliability of subsequent association establishment.

[0124] In one possible implementation, another method for the first charging gun to obtain the first IP address includes:

[0125] D1. The first charging gun receives the first IP address information input by the target user;

[0126] D2. The first charging gun obtains the first IP address based on the first IP address information.

[0127] The first IP address information can be information that includes the first IP address, or it can be the first IP address itself.

[0128] In this example, the first IP address is obtained by receiving the first IP address information input by the target user. This method can be used after the automatic acquisition of the first IP address fails, thereby improving the reliability of obtaining the first IP address and further improving the reliability of establishing subsequent associations.

[0129] It should be noted that in the above embodiments, there is no necessarily a certain order between the steps. Those skilled in the art can understand from the description of the embodiments of this application that the above steps may have different execution orders in different embodiments, that is, they may be executed in parallel or in turn, etc.

[0130] Please see Figure 3 , Figure 3This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device 300 includes one or more processors 301 and a memory 302. The processors 301 and the memory 302 are communicatively connected.

[0131] The memory 302, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the data processing method on the first charging gun side in the embodiments of this application. The processor 301 executes the functions of the data processing method on the first charging gun side provided in the above method embodiments by running the non-volatile software programs, instructions, and modules stored in the memory 302.

[0132] Memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 302 may optionally include memory remotely located relative to processor 301, and these remote memories may be connected to processor 301 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0133] The program instructions / modules are stored in the memory 302. When executed by one or more processors 301, they perform the data processing method on the first charging gun side in any of the above method embodiments.

[0134] Please see Figure 4 , Figure 4 This is a schematic diagram of the circuit structure of another electronic device provided in an embodiment of this application. For example... Figure 4 As shown, the electronic device 400 includes one or more processors 401 and a memory 402. The processors 401 and the memory 402 are communicatively connected.

[0135] The memory 402, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for establishing a Bluetooth connection in the embodiments of this application. The processor 401 executes the functions of the data processing method on the host rack side provided in the above method embodiments by running the non-volatile software programs, instructions, and modules stored in the memory 402.

[0136] Memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 402 may optionally include memory remotely located relative to processor 401, which can be connected to processor 401 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0137] The program instructions / modules are stored in the memory 402 and, when executed by one or more processors 401, perform the data processing method on the main unit rack side in any of the above method embodiments.

[0138] This application also provides a computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, for example... Figure 3 One of the processors can be configured to execute the data processing method on the first charging gun side of any of the above method embodiments, or, for example, Figure 4 One of the processors 401 enables the one or more processors to execute the data processing method on the main rack side in any of the above method embodiments.

[0139] This application also provides a chip, which includes at least one processor and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the data processing method on the first charging gun side in any of the above method embodiments.

[0140] This application also provides a chip, which includes at least one processor and a memory communicatively connected to the at least one processor. The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the data processing method on the mainframe side in any of the above method embodiments.

[0141] This application also provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions that, when executed by an electronic device, cause the electronic device to perform any of the data processing methods described above.

[0142] The device or equipment embodiments described above are merely illustrative. The unit modules described as separate components may or may not be physically separate. The components shown as module units may or may not be physical units; that is, they may be located in one place or distributed across multiple network module units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of this application as described above, which are not provided in detail for the sake of brevity; although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A data processing method, characterized in that, Applied to the first charging gun, which is connected to the main unit cabinet via a DC bus, the data processing method includes: Obtain the first IP address; A first communication link is established between the first IP address and the main unit cabinet; In response to the voltage acquisition request sent by the main unit cabinet through the first communication link, the first voltage corresponding to the DC bus is acquired; The first voltage is sent to the main unit cabinet through the first communication link to instruct the main unit cabinet to associate the DC bus corresponding to the first voltage with the first charging gun, thereby obtaining the association relationship between the DC bus and the first charging gun.

2. The data processing method according to claim 1, characterized in that, Obtaining the first IP address includes: Send DHCP broadcast message; Receive a DHCP response message sent by the DHCP server in the host rack, the DHCP response message including the first IP address; Send a DHCP request message to the DHCP server, the DHCP request message being used to instruct the first charging gun to accept the first IP address; The system receives a confirmation message from the DHCP server in response to the DHCP request message, the confirmation message indicating that the first charging gun is allowed to use the first IP address.

3. The data processing method according to claim 2, characterized in that, The data processing method further includes: If no DHCP response message is received from the DHCP server in the host rack within a first time period after sending the DHCP broadcast message, the DHCP broadcast message is continuously sent, and a second time period is obtained, which is the time period between the current time and the time when the DHCP broadcast message was first sent; If the second duration is longer than the preset duration, and no DHCP response message has been received from the DHCP server in the host rack before the current time, then an alarm message indicating an abnormal acquisition of the first IP address is determined. Display the alarm information.

4. The data processing method according to claim 3, characterized in that, After displaying the alarm information, the data processing method further includes: Send DHCP broadcast message; The system receives a DHCP response message from the second charging gun. The DHCP response message includes a second IP address, which is the IP address obtained by the second charging gun from the host cabinet after receiving the alarm information. The second charging gun is a charging gun that has successfully associated with the DC bus in the host cabinet.

5. The data processing method according to claim 1, characterized in that, Obtaining the first IP address includes: Receive the first IP address information input by the target user; Obtain the first IP address based on the first IP address information.

6. A data processing method, characterized in that, Applied to a main unit cabinet, wherein the main unit cabinet and the first charging gun are connected via a DC bus, the data processing method includes: A first communication link is established between the first charging gun and the first charging gun using the first IP address of the first charging gun; A voltage acquisition request is sent to the first charging gun through the first communication link. The voltage acquisition request is used to instruct the first charging gun to acquire the first voltage corresponding to the DC bus connecting the first charging gun and the main cabinet. The first voltage is received from the first charging gun via the first communication link; The DC bus corresponding to the first voltage is associated with the first charging gun to obtain the association relationship between the DC bus and the first charging gun.

7. The data processing method according to claim 6, characterized in that, The host cabinet includes a DHCP server, and the data processing method further includes: The DHCP server receives the DHCP broadcast message sent by the first charging gun; In response to the DHCP broadcast message, the DHCP server determines the first IP address corresponding to the first charging gun; The DHCP server sends a DHCP response message to the first charging gun, and the DHCP response message includes the first IP address; The DHCP server receives a DHCP request message sent by the first charging gun, and the DHCP request message is used to instruct the first charging gun to accept the first IP address; In response to the DHCP request message, the DHCP server sends an acknowledgment message to the first charging gun, indicating that the first charging gun is allowed to use the first IP address.

8. The data processing method according to claim 6, characterized in that, The data processing method further includes: After receiving the alarm information sent by the first charging gun, the second charging gun sends an IP address acquisition request. The IP address acquisition request is used to request the IP address of the first charging gun. The second charging gun is the charging gun that has successfully associated with the DC bus in the host cabinet. In response to the IP address acquisition request, a second IP address is obtained; Send the second IP address to the second charging gun.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a first processor, cause the first processor to perform the data processing method as described in any one of claims 1-5, and / or the program instructions, when executed by a second processor, cause the second processor to perform the data processing method as described in any one of claims 6-8.

10. A chip, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of claims 1 to 5.

11. A chip, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of claims 6 to 8.

12. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of claims 1 to 5.

13. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method as described in any one of claims 6 to 8.

Citation Information

Patent Citations

  • Method for establishing an IP-based communications connection between an electric vehicle and a charge control unit

    CN103476630A

  • Direct current charging gun with monitoring module and charging pile of the direct current charging gun

    CN109969020A