Charging pile processing method and device, storage medium and electronic equipment
By obtaining the data transmission protocol type information of the charging pile and integrating the adapter, the problem of access to different protocols by the charging pile operation platform is solved, efficient and low-cost multi-protocol access is achieved, and the charging pile access effect is improved.
Patent Information
- Application Number
- CN202410992574.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-09-24
AI Technical Summary
When the existing charging pile operation platform is connected to charging piles of different brands, it needs to integrate the protocols of each brand, which results in high intrusion, high cost and low operational efficiency, and the access effect of different types of data transmission protocols is poor. .
By obtaining the data transmission protocol type information of each charging pile, the corresponding adapter is determined and integrated into the charging pile interactive service software to enable data interaction with the operation platform, thereby eliminating the need to pay attention to the specific protocol type and realizing multi-protocol Unified access.
It reduces the intrusion of charging piles and operating platforms, saves the integration costs of different protocols, improves access efficiency, and improves the access effect of charging piles with multiple protocols.
Smart Images

Figure CN118683384A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of charging piles, and in particular to a processing method and device for a charging pile, a storage medium, and an electronic device. Background Art
[0002] As the new energy field is increasingly valued, there will be more and more charging piles. Moreover, the data transmission protocols of most charging piles produced by pile companies are not the same. Therefore, pile companies generally have their own operating systems to connect. However, for charging pile operating companies, if they need to access charging piles of different brands, the operating platform in the relevant technology needs to integrate the pile protocol of each brand once, which will cause the charging pile protocols produced by different manufacturers to be accessed during the operation of the charging piles. The intrusion to the operating system is greater, and the coupling with the pile itself is greater. In addition, the operating platform in the relevant technology needs to integrate the pile protocol of each brand once, which will also lead to higher integration costs and lower operating efficiency for charging piles with different protocols to access the operating platform. Therefore, the effect of connecting charging piles with different types of data transmission protocols to the charging pile operating platform in the relevant technology is poor.
[0003] With regard to the problem in the related art that the effect of connecting charging piles with different types of data transmission protocols to a charging pile operation platform is poor, no effective solution has been proposed yet. Summary of the invention
[0004] The main purpose of the present application is to provide a processing method and device for a charging pile, a storage medium and an electronic device to solve the problem in the related art that the effect of connecting charging piles with different types of data transmission protocols to a charging pile operation platform is poor.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for processing a charging pile is provided. The method comprises: obtaining the data transmission protocol of each of a plurality of charging piles, wherein the plurality of charging piles are charging piles to be connected to a charging pile operation platform, the plurality of charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the plurality of charging piles; obtaining the type information of the data transmission protocol of each charging pile, and determining the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile; integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the charging pile interactive service software is used to connect the plurality of charging piles to the charging pile operation platform.
[0006] Furthermore, based on the type information of the data transmission protocol of each charging pile, determining the adapter corresponding to each type of data transmission protocol includes: obtaining multiple types of data transmission protocols based on the type information of the data transmission protocol of each charging pile; encapsulating each type of data transmission protocol to determine the adapter corresponding to each type of data transmission protocol.
[0007] Furthermore, determining the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile includes: judging whether each type of data transmission protocol has a corresponding adapter based on the type information of the data transmission protocol of each charging pile; if each type of data transmission protocol has a corresponding adapter, directly determining the adapter corresponding to each type of data transmission protocol; if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the adapter corresponding to the at least one type of data transmission protocol, and determining the adapter corresponding to each type of data transmission protocol based on the adapter corresponding to the at least one type of data transmission protocol.
[0008] Furthermore, if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the adapter corresponding to the at least one type of data transmission protocol includes: if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the at least one type of data transmission protocol; encapsulating the at least one type of data transmission protocol to obtain the adapter corresponding to the at least one type of data transmission protocol.
[0009] Furthermore, after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method also includes: determining whether it is necessary to connect the first charging pile to the charging pile operation platform, wherein the type of the data transmission protocol of the first charging pile is different from the type of the data transmission protocol of each charging pile; if it is necessary to connect the first charging pile to the charging pile operation platform, obtaining the type information of the data transmission protocol of the first charging pile to obtain the first type of data transmission protocol; determining the adapter corresponding to the first type of data transmission protocol, and integrating the adapter corresponding to the first type of data transmission protocol into the charging pile interactive service software to enable the first charging pile to connect to the charging pile operation platform.
[0010] Furthermore, after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method also includes: determining whether it is necessary to delete a second charging pile from the multiple charging piles, wherein the second charging pile is a charging pile with a second type of data transmission protocol; if it is necessary to delete the second charging pile from the multiple charging piles, determining the adapter corresponding to the second type of data transmission protocol, and deleting the adapter corresponding to the second type of data transmission protocol from the multiple adapters to obtain at least one adapter, wherein each adapter is an adapter corresponding to each type of data transmission protocol; integrating the at least one adapter into the charging pile interactive service software to enable the charging piles other than the second charging pile among the multiple charging piles to be connected to the charging pile operation platform.
[0011] Furthermore, after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software, the method also includes: connecting the charging pile interaction service software with the charging pile operation platform to obtain a connection result; if the connection result indicates that the charging pile interaction service software fails to connect with the charging pile operation platform, continuing to connect the charging pile interaction service software with the charging pile operation platform; if the connection result indicates that the charging pile interaction service software is successfully connected with the charging pile operation platform, based on the data transmission interface of the charging pile interaction service software, transmitting the data information in the charging pile interaction service software to the charging pile operation platform, wherein the charging pile operation platform is used to operate and manage the multiple charging piles based on the data information transmitted by the charging pile interaction service software.
[0012] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a processing device for a charging pile is provided. The device comprises: a first acquisition unit, used to acquire the data transmission protocol of each charging pile among a plurality of charging piles, wherein the plurality of charging piles are charging piles to be connected to a charging pile operation platform, and the plurality of charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the plurality of charging piles; a first processing unit, used to acquire the type information of the data transmission protocol of each charging pile, and determine the adapter corresponding to each type of data transmission protocol according to the type information of the data transmission protocol of each charging pile; a second processing unit, used to integrate the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the charging pile interactive service software is used to connect the plurality of charging piles to the charging pile operation platform.
[0013] Furthermore, the first processing unit includes: a first determination module, used to obtain multiple types of data transmission protocols based on the type information of the data transmission protocol of each charging pile; a first processing module, used to encapsulate each type of data transmission protocol and determine the adapter corresponding to each type of data transmission protocol.
[0014] Furthermore, the first processing unit includes: a first judgment module, used to judge whether each type of data transmission protocol has a corresponding adapter based on the type information of the data transmission protocol of each charging pile; a second determination module, used to directly determine the adapter corresponding to each type of data transmission protocol if each type of data transmission protocol has a corresponding adapter; a second processing module, used to obtain the adapter corresponding to the at least one type of data transmission protocol if there is at least one type of data transmission protocol that does not have a corresponding adapter, and determine the adapter corresponding to each type of data transmission protocol based on the adapter corresponding to the at least one type of data transmission protocol.
[0015] Furthermore, the second processing module includes: a first acquisition sub-module, used to obtain at least one type of data transmission protocol if there is at least one type of data transmission protocol that does not have a corresponding adapter; a first processing sub-module, used to encapsulate the at least one type of data transmission protocol to obtain the adapter corresponding to the at least one type of data transmission protocol.
[0016] Furthermore, the device also includes: a first judgment unit, used to judge whether it is necessary to connect the first charging pile to the charging pile operation platform after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the type of the data transmission protocol of the first charging pile is different from the type of the data transmission protocol of each charging pile; a second acquisition unit, used to obtain the type information of the data transmission protocol of the first charging pile if it is necessary to connect the first charging pile to the charging pile operation platform, and obtain the first type of data transmission protocol; a third processing unit, used to determine the adapter corresponding to the first type of data transmission protocol, and integrate the adapter corresponding to the first type of data transmission protocol into the charging pile interactive service software, so that the first charging pile can be connected to the charging pile operation platform.
[0017] Furthermore, the device also includes: a second judgment unit, used to judge whether it is necessary to delete a second charging pile from the multiple charging piles after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the second charging pile is a charging pile with a second type of data transmission protocol; a fourth processing unit, used to determine the adapter corresponding to the second type of data transmission protocol if it is necessary to delete the second charging pile from the multiple charging piles, and delete the adapter corresponding to the second type of data transmission protocol from the multiple adapters to obtain at least one adapter, wherein each adapter is an adapter corresponding to each type of data transmission protocol; a fifth processing unit, used to integrate the at least one adapter into the charging pile interactive service software so that the charging piles other than the second charging pile among the multiple charging piles can be connected to the charging pile operation platform.
[0018] Furthermore, the device also includes: a first connection unit, which is used to connect the charging pile interaction service software with the charging pile operation platform to obtain a connection result after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software; a sixth processing unit, which is used to continue to connect the charging pile interaction service software with the charging pile operation platform if the connection result indicates that the charging pile interaction service software with the charging pile operation platform has failed; a first transmission unit, which is used to transmit the data information in the charging pile interaction service software to the charging pile operation platform based on the data transmission interface of the charging pile interaction service software if the connection result indicates that the charging pile interaction service software with the charging pile operation platform has been successfully connected, wherein the charging pile operation platform is used to operate and manage the multiple charging piles based on the data information transmitted by the charging pile interaction service software.
[0019] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein the program executes any one of the above-mentioned charging pile processing methods.
[0020] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is provided, which includes one or more processors and a memory, and the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned charging pile processing methods.
[0021] Through the present application, the following steps are adopted: obtaining the data transmission protocol of each of the multiple charging piles, wherein the multiple charging piles are charging piles to be connected to a charging pile operation platform, the multiple charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the multiple charging piles; obtaining the type information of the data transmission protocol of each charging pile, and determining the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile; integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software, wherein the charging pile interaction service software is used to connect the multiple charging piles to the charging pile operation platform, which solves the problem in the related art that the effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform is poor. In the present application, when it is detected that a charging pile of each protocol needs to be connected to the charging pile operation platform, this type of data transmission protocol interaction is first encapsulated into an adapter, and then the adapter corresponding to each type of data transmission protocol is integrated into the universal charging pile interaction service. Then the universal charging pile interaction service interacts with the charging pile operation platform to connect the charging pile of each protocol to the charging pile operation platform. The charging pile operation platform only needs to interact with the universal charging pile interaction service for data, without having to care about the protocol of the pile, and the charging pile operation platform does not need to integrate each type of pile protocol once, avoiding the problem of high intrusion to the operation platform caused by connecting different types of charging pile protocols during charging pile operation. At the same time, it can save the integration cost of charging piles with different protocols to the operation platform, improve operational efficiency, and thereby improve the effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0023] Figure 1 The process of the charging pile processing method provided in the embodiment of the present application is as follows Figure 1 ;
[0024] Figure 2 The process of the charging pile processing method provided in the embodiment of the present application is as follows Figure 2 ;
[0025] Figure 3 It is a schematic diagram of connecting charging piles with different protocols to a charging pile operation platform according to an embodiment of the present application;
[0026] Figure 4 is a schematic diagram of a processing device for a charging pile provided according to an embodiment of the present application;
[0027] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0032] The present invention is described below in conjunction with preferred implementation steps. Figure 1 The process of the charging pile processing method provided in the embodiment of the present application is as follows Figure 1 ,like Figure 1 As shown, the method comprises the following steps:
[0033] Step S101, obtaining the data transmission protocol of each of the multiple charging piles, wherein the multiple charging piles are charging piles to be connected to the charging pile operation platform, the multiple charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the multiple charging piles.
[0034] For example, when it is detected that the charging pile operation platform needs to access charging piles of different brands, the data transmission protocol of each brand of charging pile can be obtained first. Moreover, the above-mentioned charging pile operation platform can also be called a charging pile operation system, and when multiple charging piles need to be operated and managed, these charging piles (corresponding to the above-mentioned multiple charging piles) can be first connected to the charging pile operation system (corresponding to the above-mentioned charging pile operation platform), and then the multiple connected charging piles can be operated and managed by using the charging pile operation system (corresponding to the above-mentioned charging pile operation platform).
[0035] Step S102, obtaining the type information of the data transmission protocol of each charging pile, and determining the adapter corresponding to each type of data transmission protocol according to the type information of the data transmission protocol of each charging pile.
[0036] For example, when it is detected that a charging pile of each protocol is connected to the charging pile operation platform, this type of protocol interaction can be encapsulated into an adapter first, and then each type of data transmission protocol can correspond to an adapter.
[0037] For example, when it is detected that the charging pile operation platform needs to connect to charging piles of different brands, the data transmission protocols of charging piles A, charging pile B and charging pile C that need to be connected to the operation platform (corresponding to the above-mentioned charging pile operation platform) can be obtained first, and then the data transmission protocol of charging pile A is obtained as type A data transmission protocol, the data transmission protocol of charging pile B is type B data transmission protocol, and the data transmission protocol of charging pile C is type C data transmission protocol. Then, the adapter corresponding to type A data transmission protocol, the adapter corresponding to type B data transmission protocol, and the adapter corresponding to type C data transmission protocol are determined.
[0038] Step S103, integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the charging pile interactive service software is used to connect multiple charging piles to the charging pile operation platform.
[0039] For example, the adapter corresponding to the determined type A data transmission protocol, the adapter corresponding to the type B data transmission protocol, and the adapter corresponding to the type C data transmission protocol can be integrated into the universal charging pile interaction service (corresponding to the above-mentioned charging pile interaction service software), and then the universal charging pile interaction service (corresponding to the above-mentioned charging pile interaction service software) can interact with the charging pile operation platform to enable charging pile A, charging pile B and charging pile C to access the operation platform (corresponding to the above-mentioned charging pile operation platform).
[0040] Through the above steps S101 to S103, when it is detected that the charging piles of each protocol need to be connected to the charging pile operation platform, this type of data transmission protocol interaction is first encapsulated into an adapter, and then the adapter corresponding to each type of data transmission protocol is integrated into the universal charging pile interaction service, and then the universal charging pile interaction service interacts with the charging pile operation platform to connect the charging piles of each protocol to the charging pile operation platform, so that the charging pile operation platform only needs to interact with the universal charging pile interaction service for data, and does not need to care about the protocol of the pile, and the charging pile operation platform does not need to integrate once for each type of pile protocol, avoiding the problem of greater invasiveness to the operation platform caused by connecting different types of charging pile protocols during charging pile operation, and at the same time can save the integration cost of charging piles with different protocols to the operation platform, improve operational efficiency, and thereby improve the effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform.
[0041] Figure 2 The process of the charging pile processing method provided in the embodiment of the present application is as follows Figure 2 ,like Figure 2 As shown, in the processing method of the charging pile provided in the embodiment of the present application, according to the type information of the data transmission protocol of each charging pile, determining the adapter corresponding to each type of data transmission protocol includes:
[0042] Step S201, obtaining multiple types of data transmission protocols according to the type information of the data transmission protocol of each charging pile;
[0043] Step S202: encapsulate each type of data transmission protocol and determine the adapter corresponding to each type of data transmission protocol.
[0044] For example, you can first obtain that the data transmission protocol of charging pile A that needs to access the operation platform (corresponding to the above-mentioned charging pile operation platform) is type A data transmission protocol, the data transmission protocol of charging pile B is type B data transmission protocol, and the data transmission protocol of charging pile C is type C data transmission protocol, and then interactively encapsulate the type A data transmission protocol into an adapter, interactively encapsulate the type B data transmission protocol into an adapter, and interactively encapsulate the type C data transmission protocol into an adapter, and you can get the adapter corresponding to the type A data transmission protocol, the adapter corresponding to the type B data transmission protocol, and the adapter corresponding to the type C data transmission protocol.
[0045] Through the above solution, different types of data transmission protocols can be conveniently and interactively encapsulated into adapters.
[0046] Optionally, in the processing method of the charging pile provided in the embodiment of the present application, determining the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile includes: judging whether each type of data transmission protocol has a corresponding adapter based on the type information of the data transmission protocol of each charging pile; if each type of data transmission protocol has a corresponding adapter, directly determining the adapter corresponding to each type of data transmission protocol; if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the adapter corresponding to at least one type of data transmission protocol, and determining the adapter corresponding to each type of data transmission protocol based on the adapter corresponding to at least one type of data transmission protocol.
[0047] For example, when it is detected that the charging pile operation platform needs to connect to charging piles A, B, and C of different brands, it is possible to first obtain that the data transmission protocol of charging pile A is type A data transmission protocol, the data transmission protocol of charging pile B is type B data transmission protocol, and the data transmission protocol of charging pile C is type C data transmission protocol, and then determine whether type A data transmission protocol has a corresponding adapter, determine whether type B data transmission protocol has a corresponding adapter, and determine whether type C data transmission protocol has a corresponding adapter; if it is determined that type A data transmission protocol has a corresponding adapter, it is determined that type B data transmission protocol also has a corresponding adapter, and it is determined that type C data transmission protocol also has a corresponding adapter, then the adapter corresponding to type A data transmission protocol, the adapter corresponding to type B data transmission protocol, and the adapter corresponding to type C data transmission protocol can be directly obtained; if it is determined that type A data transmission protocol has a corresponding adapter, it is determined that type B data transmission protocol does not have a corresponding adapter, and it is determined that type C data transmission protocol also does not have a corresponding adapter, then the adapter corresponding to type B data transmission protocol and the adapter corresponding to type C data transmission protocol can be established first, and then the adapter corresponding to type A data transmission protocol, the adapter corresponding to type B data transmission protocol, and the adapter corresponding to type C data transmission protocol can be obtained.
[0048] Through the above solution, the adapter corresponding to each type of data transmission protocol can be determined quickly and accurately.
[0049] Optionally, in the processing method of the charging pile provided in the embodiment of the present application, if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the adapter corresponding to the at least one type of data transmission protocol includes: if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining at least one type of data transmission protocol; encapsulating at least one type of data transmission protocol to obtain the adapter corresponding to the at least one type of data transmission protocol.
[0050] For example, if it is determined that type A data transmission protocol has a corresponding adapter, it is determined that type B data transmission protocol does not have a corresponding adapter, and it is determined that type C data transmission protocol does not have a corresponding adapter, then the type B data transmission protocol can be interactively encapsulated into an adapter, and the type C data transmission protocol can be interactively encapsulated into an adapter, so that the adapter corresponding to type B data transmission protocol and the adapter corresponding to type C data transmission protocol can be obtained.
[0051] Through the above solution, an adapter of a data transmission protocol that does not have a type corresponding to the adapter can be obtained quickly and accurately.
[0052] Optionally, in the charging pile processing method provided in the embodiment of the present application, after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method also includes: judging whether it is necessary to connect the first charging pile to the charging pile operation platform, wherein the type of data transmission protocol of the first charging pile is different from the type of data transmission protocol of each charging pile; if it is necessary to connect the first charging pile to the charging pile operation platform, obtaining the type information of the data transmission protocol of the first charging pile to obtain the first type of data transmission protocol; determining the adapter corresponding to the first type of data transmission protocol, and integrating the adapter corresponding to the first type of data transmission protocol into the charging pile interactive service software, so that the first charging pile can be connected to the charging pile operation platform.
[0053] For example, after charging piles A, B and C that need to be connected to the operation platform (corresponding to the above-mentioned charging pile operation platform) are connected to the operation platform (corresponding to the above-mentioned charging pile operation platform), it can be determined whether there is a new charging pile D (corresponding to the above-mentioned first charging pile) that needs to be connected to the operation management platform (corresponding to the above-mentioned charging pile operation platform), and the data transmission protocol of the new charging pile D is a D-type data transmission protocol (corresponding to the above-mentioned first type of data transmission protocol), which is different from the type of data transmission protocol of charging piles A, B and C; if it is determined that a new charging pile D (corresponding to the above-mentioned first charging pile) needs to be connected to the operation management platform (corresponding to the above-mentioned charging pile operation platform), the data transmission protocol of the new charging pile D can be obtained first, which is a D-type data transmission protocol (corresponding to the above-mentioned first type of data transmission protocol Protocol), then interactively encapsulate the D type data transmission protocol (corresponding to the above-mentioned first type of data transmission protocol) into an adapter, and then integrate the adapter corresponding to the obtained D type data transmission protocol (corresponding to the above-mentioned first type of data transmission protocol) into the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software), so that the new charging pile D (corresponding to the above-mentioned first charging pile) can be connected to the charging pile operation platform, that is, the charging piles connected to the charging pile operation platform at this time are charging pile A, charging pile B, charging pile C and charging pile D; if it is determined that no new charging pile D (corresponding to the above-mentioned first charging pile) needs to be connected to the operation management platform (corresponding to the above-mentioned charging pile operation platform), the adapter may not be added or deleted, and the charging piles A, charging piles B and charging piles C can still be connected to the operation platform (corresponding to the above-mentioned charging pile operation platform).
[0054] To sum up, when a new charging pile needs to be connected to the operation and management platform, the charging pile operation platform does not need to do any operation, and can quickly and accurately connect the charging pile with the new protocol to the charging pile operation platform.
[0055] Optionally, in the charging pile processing method provided in the embodiment of the present application, after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method also includes: determining whether it is necessary to delete the second charging pile from the multiple charging piles, wherein the second charging pile is a charging pile with a second type of data transmission protocol; if it is necessary to delete the second charging pile from the multiple charging piles, determining the adapter corresponding to the second type of data transmission protocol, and deleting the adapter corresponding to the second type of data transmission protocol from the multiple adapters to obtain at least one adapter, wherein each adapter is an adapter corresponding to each type of data transmission protocol; integrating at least one adapter into the charging pile interactive service software to enable the charging piles other than the second charging pile among the multiple charging piles to be connected to the charging pile operation platform.
[0056] For example, after charging piles A, B and C that need to be connected to the operation platform (corresponding to the above-mentioned charging pile operation platform) are connected to the operation platform (corresponding to the above-mentioned charging pile operation platform), it can be determined whether it is necessary to delete the charging pile C (corresponding to the above-mentioned second charging pile) with a data transmission protocol of type C (corresponding to the above-mentioned second type) from the operation platform (corresponding to the above-mentioned charging pile operation platform); if it is determined that the charging pile C (corresponding to the above-mentioned second charging pile) with a data transmission protocol of type C (corresponding to the above-mentioned second type) needs to be deleted from the operation platform (corresponding to the above-mentioned charging pile operation platform), the adapter corresponding to the data transmission protocol of type C (corresponding to the above-mentioned second type) can be deleted first. The adapter corresponding to the data transmission protocol of type A and the adapter corresponding to the data transmission protocol of type B are then integrated into the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) to enable charging pile A and charging pile B to access the operation platform (corresponding to the above-mentioned charging pile operation platform); if it is determined that there is no need to delete charging pile C (corresponding to the above-mentioned second charging pile) with a data transmission protocol of type C (corresponding to the above-mentioned second type) from the operation platform (corresponding to the above-mentioned charging pile operation platform), the adapter does not need to be added or deleted, and charging piles A, charging piles B and charging piles C can still be connected to the operation platform (corresponding to the above-mentioned charging pile operation platform).
[0057] Through the above solution, when a charging pile from a certain manufacturer is no longer needed, you only need to delete the adapter, which will not have any impact on the charging pile interactive service and charging pile operation system. Therefore, for the charging pile operation platform, charging piles from different manufacturers can be seamlessly connected.
[0058] Optionally, in the charging pile processing method provided in the embodiment of the present application, after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method also includes: connecting the charging pile interactive service software with the charging pile operation platform to obtain a connection result; if the connection result indicates that the charging pile interactive service software and the charging pile operation platform have failed to connect, then continuing to connect the charging pile interactive service software with the charging pile operation platform; if the connection result indicates that the charging pile interactive service software and the charging pile operation platform have been successfully connected, then based on the data transmission interface of the charging pile interactive service software, the data information in the charging pile interactive service software is transmitted to the charging pile operation platform, wherein the charging pile operation platform is used to operate and manage multiple charging piles based on the data information transmitted by the charging pile interactive service software.
[0059] For example, after integrating the adapter corresponding to type A data transmission protocol, the adapter corresponding to type B data transmission protocol, and the adapter corresponding to type C data transmission protocol into the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software), that is, after connecting charging pile A, charging pile B, and charging pile C that need to be connected to the operation platform (corresponding to the above-mentioned charging pile operation platform) to the operation platform (corresponding to the above-mentioned charging pile operation platform), the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) and the charging pile operation platform can be connected; if the connection between the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) and the charging pile operation platform fails, the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) and the charging pile operation platform can continue to be connected. , until the two are successfully connected; if the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) and the charging pile operation platform are successfully connected, the communication interface (corresponding to the above-mentioned data transmission interface) between the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) and the charging pile operation platform can be used to enable the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) to communicate data with the charging pile operation platform, and transmit the data information in the universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) to the charging pile operation platform, and then the charging pile operation platform can use the data information transmitted to it by the received universal charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software) to operate and manage charging piles A, charging pile B and charging pile C (corresponding to the above-mentioned multiple charging piles).
[0060] In summary, by using the charging pile operation platform, the operation and management of charging piles with different protocols connected to the operation platform can be realized quickly and accurately.
[0061] The main purpose of this embodiment is to solve the problem of invasive impact on the operation system caused by connecting to charging pile protocols produced by different manufacturers during charging pile operation, in the absence of a standardized and unified charging pile data transmission protocol.
[0062] For example, this embodiment is based on the adapter mode, and the operation of interacting with the pile side is extracted into a set of universal standards, which is the charging pile interaction service (corresponding to the above-mentioned charging pile interaction service software). For the charging pile operation-related system (corresponding to the above-mentioned charging pile operation platform), it only needs to interact with the universal charging pile interaction service for data, without having to care about the pile protocol; and when each charging pile of a protocol is connected, this type of protocol interaction is encapsulated into an adapter and integrated into the universal charging pile interaction service (corresponding to the above-mentioned charging pile interaction service software). Moreover, the adapter, the charging pile interaction service (corresponding to the above-mentioned charging pile interaction service software), and the charging pile operation system (corresponding to the above-mentioned charging pile operation platform) are independent of each other and communicate through the agreed interface. In addition, when a new pile needs to be connected to the operation management platform or the pile of a certain manufacturer is no longer needed, it is only necessary to add or delete the adapter, which will not have any impact on the charging pile interaction service and the charging pile operation system. Therefore, for the charging pile operation platform, charging piles from different manufacturers can be seamlessly connected.
[0063] For example, we can first define a set of standard interfaces for communication between the adapter, interactive services, and operation platform. Figure 3 is a schematic diagram of connecting charging piles with different protocols to a charging pile operation platform according to an embodiment of the present application, such as Figure 3 As shown, the charging pile is connected through the adapter, which is responsible for parsing the charging pile protocol and transmitting the data to the charging pile interactive service (corresponding to the above-mentioned charging pile interactive service software), and then the interactive service (corresponding to the above-mentioned charging pile interactive service software) encapsulates it and further communicates with the charging pile operation platform. If a new protocol is generated, only the adapter needs to be added, and the charging pile operation platform does not need to do anything.
[0064] In this embodiment, a method for adapting to charging piles with different protocols is provided based on the adapter mode. Moreover, the method provided in this embodiment can enable charging pile operating companies to seamlessly access charging piles from different manufacturers, saving integration costs and improving operational efficiency.
[0065] In summary, the charging pile processing method provided in the embodiment of the present application obtains the data transmission protocol of each charging pile among the multiple charging piles, wherein the multiple charging piles are charging piles to be connected to the charging pile operation platform, and the multiple charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the multiple charging piles; obtains the type information of the data transmission protocol of each charging pile, and determines the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile; integrates the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software, wherein the charging pile interaction service software is used to connect the multiple charging piles to the charging pile operation platform, which solves the problem of poor effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform in the related art. In the present application, when it is detected that a charging pile of each protocol needs to be connected to the charging pile operation platform, this type of data transmission protocol interaction is first encapsulated into an adapter, and then the adapter corresponding to each type of data transmission protocol is integrated into the universal charging pile interaction service. Then the universal charging pile interaction service interacts with the charging pile operation platform to connect the charging pile of each protocol to the charging pile operation platform. The charging pile operation platform only needs to interact with the universal charging pile interaction service for data, without having to care about the protocol of the pile, and the charging pile operation platform does not need to integrate each type of pile protocol once, avoiding the problem of high intrusion to the operation platform caused by connecting different types of charging pile protocols during charging pile operation. At the same time, it can save the integration cost of charging piles with different protocols to the operation platform, improve operational efficiency, and thereby improve the effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform.
[0066] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0067] The embodiment of the present application also provides a processing device for a charging pile. It should be noted that the processing device for a charging pile in the embodiment of the present application can be used to execute the processing method for a charging pile provided in the embodiment of the present application. The processing device for a charging pile provided in the embodiment of the present application is introduced below.
[0068] Figure 4 Schematic diagram of a processing device for a charging pile provided according to an embodiment of the present application. Figure 4 As shown, the device includes: a first acquisition unit 401, a first processing unit 402 and a second processing unit 403.
[0069] Specifically, the first acquisition unit 401 is used to acquire the data transmission protocol of each of the multiple charging piles, wherein the multiple charging piles are charging piles to be connected to the charging pile operation platform, the multiple charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the multiple charging piles;
[0070] The first processing unit 402 is used to obtain the type information of the data transmission protocol of each charging pile, and determine the adapter corresponding to each type of data transmission protocol according to the type information of the data transmission protocol of each charging pile;
[0071] The second processing unit 403 is used to integrate the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the charging pile interactive service software is used to connect multiple charging piles to the charging pile operation platform.
[0072] In summary, the processing device of the charging pile provided in the embodiment of the present application obtains the data transmission protocol of each of the multiple charging piles through the first acquisition unit 401, wherein the multiple charging piles are charging piles to be connected to the charging pile operation platform, and the multiple charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the multiple charging piles; the first processing unit 402 obtains the type information of the data transmission protocol of each charging pile, and determines the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile; the second processing unit 403 integrates the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the charging pile interactive service software is used to connect the multiple charging piles to the charging pile operation platform, which solves the problem of poor effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform in the related art. In the present application, when it is detected that a charging pile of each protocol needs to be connected to the charging pile operation platform, this type of data transmission protocol interaction is first encapsulated into an adapter, and then the adapter corresponding to each type of data transmission protocol is integrated into the universal charging pile interaction service. Then the universal charging pile interaction service interacts with the charging pile operation platform to connect the charging pile of each protocol to the charging pile operation platform. The charging pile operation platform only needs to interact with the universal charging pile interaction service for data, without having to care about the protocol of the pile, and the charging pile operation platform does not need to integrate each type of pile protocol once, avoiding the problem of high intrusion to the operation platform caused by connecting different types of charging pile protocols during charging pile operation. At the same time, it can save the integration cost of charging piles with different protocols to the operation platform, improve operational efficiency, and thereby improve the effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform.
[0073] Optionally, in the processing device of the charging pile provided in the embodiment of the present application, the first processing unit includes: a first determination module, used to obtain multiple types of data transmission protocols based on the type information of the data transmission protocol of each charging pile; a first processing module, used to encapsulate each type of data transmission protocol and determine the adapter corresponding to each type of data transmission protocol.
[0074] Optionally, in the processing device of the charging pile provided in the embodiment of the present application, the first processing unit includes: a first judgment module, used to judge whether each type of data transmission protocol has a corresponding adapter based on the type information of the data transmission protocol of each charging pile; a second determination module, used to directly determine the adapter corresponding to each type of data transmission protocol if each type of data transmission protocol has a corresponding adapter; a second processing module, used to obtain the adapter corresponding to at least one type of data transmission protocol if there is at least one type of data transmission protocol that does not have a corresponding adapter, and determine the adapter corresponding to each type of data transmission protocol based on the adapter corresponding to at least one type of data transmission protocol.
[0075] Optionally, in the processing device of the charging pile provided in the embodiment of the present application, the second processing module includes: a first acquisition sub-module, used to obtain at least one type of data transmission protocol if there is at least one type of data transmission protocol that does not have a corresponding adapter; a first processing sub-module, used to encapsulate at least one type of data transmission protocol to obtain an adapter corresponding to at least one type of data transmission protocol.
[0076] Optionally, in the processing device of the charging pile provided in the embodiment of the present application, the device also includes: a first judgment unit, used to judge whether it is necessary to connect the first charging pile to the charging pile operation platform after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the type of the data transmission protocol of the first charging pile is different from the type of the data transmission protocol of each charging pile; a second acquisition unit, used to obtain the type information of the data transmission protocol of the first charging pile if it is necessary to connect the first charging pile to the charging pile operation platform, and obtain the first type of data transmission protocol; a third processing unit, used to determine the adapter corresponding to the first type of data transmission protocol, and integrate the adapter corresponding to the first type of data transmission protocol into the charging pile interactive service software, so that the first charging pile can be connected to the charging pile operation platform.
[0077] Optionally, in the processing device of the charging pile provided in the embodiment of the present application, the device also includes: a second judgment unit, used to judge whether it is necessary to delete the second charging pile from the multiple charging piles after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the second charging pile is a charging pile with a second type of data transmission protocol; a fourth processing unit, used to determine the adapter corresponding to the second type of data transmission protocol if it is necessary to delete the second charging pile from the multiple charging piles, and delete the adapter corresponding to the second type of data transmission protocol from the multiple adapters to obtain at least one adapter, wherein each adapter is an adapter corresponding to each type of data transmission protocol; a fifth processing unit, used to integrate at least one adapter into the charging pile interactive service software so that other charging piles among the multiple charging piles except the second charging pile can be connected to the charging pile operation platform.
[0078] Optionally, in the processing device of the charging pile provided in the embodiment of the present application, the device also includes: a first connection unit, used to connect the charging pile interaction service software with the charging pile operation platform to obtain a connection result after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software; a sixth processing unit, used to continue to connect the charging pile interaction service software with the charging pile operation platform if the connection result indicates that the connection between the charging pile interaction service software and the charging pile operation platform fails; a first transmission unit, used to transmit the data information in the charging pile interaction service software to the charging pile operation platform based on the data transmission interface of the charging pile interaction service software if the connection result indicates that the connection between the charging pile interaction service software and the charging pile operation platform is successful, wherein the charging pile operation platform is used to operate and manage multiple charging piles based on the data information transmitted by the charging pile interaction service software.
[0079] The processing device of the charging pile includes a processor and a memory. The above-mentioned first acquisition unit 401, first processing unit 402 and second processing unit 403 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0080] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the effect of connecting charging piles with different types of data transmission protocols to the charging pile operation platform can be improved by adjusting kernel parameters.
[0081] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0082] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the processing method of the charging pile is implemented.
[0083] An embodiment of the present invention provides a processor, which is used to run a program, wherein the processing method of the charging pile is executed when the program is run.
[0084] like Figure 5 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: obtaining a data transmission protocol for each of a plurality of charging piles, wherein the plurality of charging piles are charging piles to be connected to a charging pile operation platform, and the plurality of charging piles have different types of data transmission protocols, and the charging pile operation platform is used to perform operation and management on the plurality of charging piles; obtaining type information of the data transmission protocol for each charging pile, and determining an adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol for each charging pile; integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software, wherein the charging pile interaction service software is used to connect the plurality of charging piles to the charging pile operation platform.
[0085] When the processor executes the program, the following steps are also implemented: based on the type information of the data transmission protocol of each charging pile, determining the adapter corresponding to each type of data transmission protocol includes: obtaining multiple types of data transmission protocols based on the type information of the data transmission protocol of each charging pile; encapsulating each type of data transmission protocol to determine the adapter corresponding to each type of data transmission protocol.
[0086] When the processor executes the program, the following steps are also implemented: determining the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile, including: judging whether each type of data transmission protocol has a corresponding adapter based on the type information of the data transmission protocol of each charging pile; if each type of data transmission protocol has a corresponding adapter, directly determining the adapter corresponding to each type of data transmission protocol; if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the adapter corresponding to at least one type of data transmission protocol, and determining the adapter corresponding to each type of data transmission protocol based on the adapter corresponding to at least one type of data transmission protocol.
[0087] When the processor executes the program, the following steps are also implemented: if there is at least one type of data transmission protocol that does not have a corresponding adapter, then obtaining the adapter corresponding to at least one type of data transmission protocol includes: if there is at least one type of data transmission protocol that does not have a corresponding adapter, then obtaining at least one type of data transmission protocol; encapsulating at least one type of data transmission protocol to obtain the adapter corresponding to at least one type of data transmission protocol.
[0088] When the processor executes the program, the following steps are also implemented: after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, it also includes: judging whether it is necessary to connect the first charging pile to the charging pile operation platform, wherein the type of data transmission protocol of the first charging pile is different from the type of data transmission protocol of each charging pile; if it is necessary to connect the first charging pile to the charging pile operation platform, obtaining the type information of the data transmission protocol of the first charging pile to obtain the first type of data transmission protocol; determining the adapter corresponding to the first type of data transmission protocol, and integrating the adapter corresponding to the first type of data transmission protocol into the charging pile interactive service software, so that the first charging pile can be connected to the charging pile operation platform.
[0089] When the processor executes the program, the following steps are also implemented: after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, it also includes: judging whether it is necessary to delete the second charging pile from the multiple charging piles, wherein the second charging pile is a charging pile with a second type of data transmission protocol; if it is necessary to delete the second charging pile from the multiple charging piles, determining the adapter corresponding to the second type of data transmission protocol, and deleting the adapter corresponding to the second type of data transmission protocol from the multiple adapters to obtain at least one adapter, wherein each adapter is an adapter corresponding to each type of data transmission protocol; integrating at least one adapter into the charging pile interactive service software to enable the charging piles other than the second charging pile among the multiple charging piles to be connected to the charging pile operation platform.
[0090] When the processor executes the program, the following steps are also implemented: after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software, it also includes: connecting the charging pile interaction service software with the charging pile operation platform to obtain a connection result; if the connection result indicates that the charging pile interaction service software and the charging pile operation platform have failed to connect, then continue to connect the charging pile interaction service software with the charging pile operation platform; if the connection result indicates that the charging pile interaction service software and the charging pile operation platform have been successfully connected, then based on the data transmission interface of the charging pile interaction service software, the data information in the charging pile interaction service software is transmitted to the charging pile operation platform, wherein the charging pile operation platform is used to operate and manage multiple charging piles based on the data information transmitted by the charging pile interaction service software.
[0091] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0092] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having the following method steps: obtaining a data transmission protocol for each of a plurality of charging piles, wherein the plurality of charging piles are charging piles to be connected to a charging pile operation platform, the plurality of charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the plurality of charging piles; obtaining type information of the data transmission protocol for each charging pile, and determining an adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol for each charging pile; integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software, wherein the charging pile interaction service software is used to connect the plurality of charging piles to the charging pile operation platform.
[0093] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: determining the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile, including: obtaining multiple types of data transmission protocols based on the type information of the data transmission protocol of each charging pile; encapsulating each type of data transmission protocol to determine the adapter corresponding to each type of data transmission protocol.
[0094] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: determining the adapter corresponding to each type of data transmission protocol based on the type information of the data transmission protocol of each charging pile, including: judging whether each type of data transmission protocol has a corresponding adapter based on the type information of the data transmission protocol of each charging pile; if each type of data transmission protocol has a corresponding adapter, directly determining the adapter corresponding to each type of data transmission protocol; if there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the adapter corresponding to at least one type of data transmission protocol, and determining the adapter corresponding to each type of data transmission protocol based on the adapter corresponding to at least one type of data transmission protocol.
[0095] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: if there is at least one type of data transmission protocol that does not have a corresponding adapter, then obtaining the adapter corresponding to at least one type of data transmission protocol includes: if there is at least one type of data transmission protocol that does not have a corresponding adapter, then obtaining at least one type of data transmission protocol; encapsulating at least one type of data transmission protocol to obtain the adapter corresponding to at least one type of data transmission protocol.
[0096] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, it also includes: judging whether it is necessary to connect the first charging pile to the charging pile operation platform, wherein the type of the data transmission protocol of the first charging pile is different from the type of the data transmission protocol of each charging pile; if it is necessary to connect the first charging pile to the charging pile operation platform, obtaining the type information of the data transmission protocol of the first charging pile to obtain the first type of data transmission protocol; determining the adapter corresponding to the first type of data transmission protocol, and integrating the adapter corresponding to the first type of data transmission protocol into the charging pile interactive service software to connect the first charging pile to the charging pile operation platform.
[0097] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, it also includes: judging whether it is necessary to delete the second charging pile from the multiple charging piles, wherein the second charging pile is a charging pile with a second type of data transmission protocol; if it is necessary to delete the second charging pile from the multiple charging piles, determining the adapter corresponding to the second type of data transmission protocol, and deleting the adapter corresponding to the second type of data transmission protocol from the multiple adapters to obtain at least one adapter, wherein each adapter is an adapter corresponding to each type of data transmission protocol; integrating at least one adapter into the charging pile interactive service software to enable the charging piles other than the second charging pile among the multiple charging piles to be connected to the charging pile operation platform.
[0098] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: after integrating the adapter corresponding to each type of data transmission protocol into the charging pile interaction service software, it also includes: connecting the charging pile interaction service software with the charging pile operation platform to obtain a connection result; if the connection result indicates that the connection between the charging pile interaction service software and the charging pile operation platform fails, then continue to connect the charging pile interaction service software with the charging pile operation platform; if the connection result indicates that the connection between the charging pile interaction service software and the charging pile operation platform is successful, then based on the data transmission interface of the charging pile interaction service software, the data information in the charging pile interaction service software is transmitted to the charging pile operation platform, wherein the charging pile operation platform is used to operate and manage multiple charging piles based on the data information transmitted by the charging pile interaction service software.
[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0103] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0104] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0105] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0106] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0107] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0108] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for processing a charging pile, characterized in that: include: Obtaining a data transmission protocol of each of a plurality of charging piles, wherein the plurality of charging piles are charging piles to be connected to a charging pile operation platform, the plurality of charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the plurality of charging piles; Obtain the type information of the data transmission protocol of each charging pile, and determine the adapter corresponding to each type of data transmission protocol according to the type information of the data transmission protocol of each charging pile; An adapter corresponding to each type of data transmission protocol is integrated into the charging pile interactive service software, wherein the charging pile interactive service software is used to connect the multiple charging piles to the charging pile operation platform.
2. The method according to claim 1, characterized in that According to the type information of the data transmission protocol of each charging pile, the adapter corresponding to each type of data transmission protocol is determined to include: According to the type information of the data transmission protocol of each charging pile, multiple types of data transmission protocols are obtained; Each type of data transmission protocol is encapsulated and the adapter corresponding to each type of data transmission protocol is determined.
3. The method according to claim 1, characterized in that According to the type information of the data transmission protocol of each charging pile, the adapter corresponding to each type of data transmission protocol is determined to include: According to the type information of the data transmission protocol of each charging pile, determine whether each type of data transmission protocol has a corresponding adapter; If each type of data transmission protocol has a corresponding adapter, then directly determine the adapter corresponding to each type of data transmission protocol; If there is at least one type of data transmission protocol that does not have a corresponding adapter, the adapter corresponding to the at least one type of data transmission protocol is obtained, and based on the adapter corresponding to the at least one type of data transmission protocol, the adapter corresponding to each type of data transmission protocol is determined.
4. The method according to claim 3, characterized in that If there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the adapter corresponding to the at least one type of data transmission protocol includes: If there is at least one type of data transmission protocol that does not have a corresponding adapter, obtaining the at least one type of data transmission protocol; The at least one type of data transmission protocol is encapsulated to obtain an adapter corresponding to the at least one type of data transmission protocol.
5. The method according to claim 1, characterized in that After integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method further includes: Determining whether it is necessary to connect the first charging pile to the charging pile operation platform, wherein the type of the data transmission protocol of the first charging pile is different from the type of the data transmission protocol of each charging pile; If the first charging pile needs to be connected to the charging pile operation platform, the type information of the data transmission protocol of the first charging pile is obtained to obtain a first type of data transmission protocol; An adapter corresponding to the first type of data transmission protocol is determined, and the adapter corresponding to the first type of data transmission protocol is integrated into the charging pile interactive service software, so that the first charging pile is connected to the charging pile operation platform.
6. The method according to claim 1, characterized in that After integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method further includes: Determining whether it is necessary to delete a second charging pile from the plurality of charging piles, wherein the second charging pile is a charging pile having a second type of data transmission protocol; If it is necessary to delete the second charging pile from the multiple charging piles, determine the adapter corresponding to the second type of data transmission protocol, and delete the adapter corresponding to the second type of data transmission protocol from the multiple adapters to obtain at least one adapter, wherein each adapter is an adapter corresponding to each type of data transmission protocol; The at least one adapter is integrated into the charging pile interactive service software so that the other charging piles among the plurality of charging piles except the second charging pile are connected to the charging pile operation platform.
7. The method according to claim 1, characterized in that After integrating the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, the method further includes: Connecting the charging pile interactive service software to the charging pile operation platform to obtain a connection result; If the connection result indicates that the charging pile interactive service software fails to connect to the charging pile operation platform, continue to connect the charging pile interactive service software to the charging pile operation platform; If the connection result indicates that the charging pile interactive service software is successfully connected to the charging pile operation platform, the data information in the charging pile interactive service software is transmitted to the charging pile operation platform based on the data transmission interface of the charging pile interactive service software, wherein the charging pile operation platform is used to operate and manage the multiple charging piles based on the data information transmitted by the charging pile interactive service software.
8. A charging pile processing device, characterized in that: include: A first acquisition unit is used to acquire a data transmission protocol of each of a plurality of charging piles, wherein the plurality of charging piles are charging piles to be connected to a charging pile operation platform, the plurality of charging piles have different types of data transmission protocols, and the charging pile operation platform is used to operate and manage the plurality of charging piles; A first processing unit, configured to obtain type information of a data transmission protocol of each charging pile, and determine an adapter corresponding to each type of data transmission protocol according to the type information of the data transmission protocol of each charging pile; The second processing unit is used to integrate the adapter corresponding to each type of data transmission protocol into the charging pile interactive service software, wherein the charging pile interactive service software is used to connect the multiple charging piles to the charging pile operation platform.
9. A computer-readable storage medium, characterized in that: The storage medium stores a program, wherein the program executes the charging pile processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the charging pile processing method described in any one of claims 1 to 7.
Citation Information
Cited By
Charging pile operation management method and system based on data analysis
CN119228087A
A charging pile operation management method and system based on data analysis
CN119228087B
