CN115033282A - Charging pile operation platform compatible method, device, equipment and storage medium - Google Patents

Charging pile operation platform compatible method, device, equipment and storage medium Download PDF

Info

Publication number
CN115033282A
CN115033282A CN202210761019.2A CN202210761019A CN115033282A CN 115033282 A CN115033282 A CN 115033282A CN 202210761019 A CN202210761019 A CN 202210761019A CN 115033282 A CN115033282 A CN 115033282A
Authority
CN
China
Prior art keywords
request
action
charging pile
h1trp
compatibility
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210761019.2A
Other languages
Chinese (zh)
Other versions
CN115033282B (en
Inventor
彭扬劼
唐立华
施苗根
包拯民
李文静
沈正华
叶凌霄
王元良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Zhejiang Electric Power Co Ltd Hangzhou Yuhang District Power Supply Co
Hangzhou Kaida Electric Power Construction Co ltd
Hangzhou Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd Hangzhou Yuhang District Power Supply Co
Hangzhou Kaida Electric Power Construction Co ltd
Hangzhou Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Zhejiang Electric Power Co Ltd Hangzhou Yuhang District Power Supply Co, Hangzhou Kaida Electric Power Construction Co ltd, Hangzhou Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd Hangzhou Yuhang District Power Supply Co
Priority to CN202210761019.2A priority Critical patent/CN115033282B/en
Publication of CN115033282A publication Critical patent/CN115033282A/en
Application granted granted Critical
Publication of CN115033282B publication Critical patent/CN115033282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/30Constructional details of charging stations
    • B60L53/31Charging columns specially adapted for electric vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S30/00Systems supporting specific end-user applications in the sector of transportation
    • Y04S30/10Systems supporting the interoperability of electric or hybrid vehicles
    • Y04S30/12Remote or cooperative charging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Transportation (AREA)
  • Public Health (AREA)
  • Mechanical Engineering (AREA)
  • Power Engineering (AREA)
  • Water Supply & Treatment (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a charging pile operation platform compatible method, device, equipment and storage medium, which relate to the technical field of platform compatibility and comprise the following steps: acquiring H1TrP requests of each charging pile platform, and sending the H1TrP requests to different actions of a service logic layer based on a preset configuration file; searching a business model component and a data processing component corresponding to the Action, and processing the Action to obtain a processed Action; and performing data persistence processing on the Action to be processed to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete the H1TrP request compatibility. According to the method and the device, the H1TrP request of each charging pile platform is delegated, the corresponding business model component is searched according to different actions, the H1TrP request in the actions is subjected to business logic processing according to the business model component and the corresponding data processing component, corresponding processing results are returned depending on objectification mapping and database interaction, and compatibility of front ends, rear ends and databases of different charging pile platforms is achieved.

Description

Charging pile operation platform compatible method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of platform compatibility, in particular to a charging pile operation platform compatibility method, a charging pile operation platform compatibility device, charging pile operation equipment and a charging pile operation platform compatibility storage medium.
Background
At present, charging equipment of individual charging pile manufacturers has the requirements of communication compatibility and protocol unification, perfect butt joint of various charging piles is realized in most software systems, and centralized management and control of charging pile stations are realized. The invention also discloses a multi-protocol adaptation system and a multi-protocol adaptation method for the charging pile, which are disclosed in CN112769866A, wherein the method comprises the steps of firstly developing a unified communication module, a data analysis module and constructing a data model base, quickly matching the model after charging pile charging data is obtained, and carrying out disassembly and recombination on the charging data to realize the perfect compatibility of the charging pile data of different manufacturers and different models. The prior art has the capability of fusion and model matching for various charging piles in a single platform, but does not have frame compatibility among charging pile operation platforms and is not compatible with a database.
In summary, how to realize the compatibility of the front end, the rear end and the database of different charging pile platforms is a technical problem to be solved in the field.
Disclosure of Invention
In view of this, the present invention aims to provide a method, an apparatus, a device, and a storage medium for compatibility of a charging pile operation platform, which can realize compatibility of front ends, back ends, and databases of different charging pile platforms. The specific scheme is as follows:
in a first aspect, the application discloses a charging pile operation platform compatible method, comprising:
acquiring an H1TrP request of each charging pile platform, and sending the H1TrP request to different actions of a service logic layer based on a preset configuration file;
searching a business model component and a data processing component corresponding to the Action, and processing the Action to obtain a processed Action;
and performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete H1TrP request compatibility.
Optionally, before sending the H1TrP request to different actions of a service logic layer based on a preset configuration file, the method further includes:
and setting the preset configuration file through the dependency relationship among the Spring actions.
Optionally, before sending the H1TrP request to different actions of a service logic layer based on a preset configuration file, the method further includes:
and separating the service model component, the view and the controller.
Optionally, the searching for the service model component and the data processing component corresponding to the Action, and processing the Action include:
and searching a pre-written object and a data processing component corresponding to the Action from the IOC container, and processing the Action.
Optionally, the performing data persistence processing on the processed Action to obtain a corresponding request compatibility result includes:
and accessing the processed Action and the database by using a DAO design mode, and performing data persistence processing on the processed Action stored in the DAO component to obtain a corresponding request compatibility result.
Optionally, the accessing the processed Action and the database by using the DAO design mode includes:
and accessing the processed Action and the database through a pre-written DAO interface and based on a DAO design mode.
Optionally, the returning the request compatibility result to the client layer further includes, before the H1TrP request compatibility is completed:
and the display and control of the client layer are realized by adopting a WebWork label library and Javascript.
In a second aspect, the application discloses a fill compatible device of electric pile operation platform, include:
the request acquisition module is used for acquiring the H1TrP request of each charging pile platform and sending the H1TrP request to different actions of a service logic layer based on a preset configuration file;
the request processing module is used for searching a service model component and a data processing component corresponding to the Action and processing the Action to obtain a processed Action;
and the request compatibility completion module is used for performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete H1TrP request compatibility.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
and a processor for executing the computer program to implement the steps of the charging pile operation platform compatible method disclosed above.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the steps of the disclosed charging pile operation platform compatible method.
Therefore, the application discloses a method for compatible operation of a charging pile operation platform, which comprises the following steps: acquiring an H1TrP request of each charging pile platform, and sending the H1TrP request to different actions of a service logic layer based on a preset configuration file; searching a business model component and a data processing component corresponding to the Action, and processing the Action to obtain a processed Action; and performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete H1TrP request compatibility. Therefore, the H1TrP requests of the charging pile platforms are delegated, the corresponding business model components are searched according to different actions, the business logic processing is carried out on the H1TrP requests in the actions according to the business model components and the corresponding data processing components, then the objectification mapping and the database interaction are relied on in the persistence processing process, and finally the corresponding processing results are returned, so that the compatibility of the front end, the rear end and the database of the different charging pile platforms is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a charging pile operation platform compatibility method disclosed in the present application;
fig. 2 is a flow chart of a J2EE lightweight Web development architecture disclosed in the present application;
fig. 3 is a flowchart of a specific charging pile operation platform compatibility method disclosed in the present application;
FIG. 4 is a flowchart illustrating a compatible architecture operating process of an integrated SSH framework disclosed herein;
fig. 5 is a schematic structural diagram of a charging pile operation platform compatible device disclosed in the present application;
fig. 6 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, charging equipment of individual charging pile manufacturers has the requirements of communication compatibility and protocol unification, perfect butt joint of various charging piles is realized in most software systems, and centralized management and control of charging pile stations are realized. The invention also discloses a multi-protocol adaptation system and a multi-protocol adaptation method for the charging pile, which are disclosed in CN112769866A, wherein the method comprises the steps of firstly developing a unified communication module, a data analysis module and constructing a data model base, quickly matching the model after charging pile charging data is obtained, and carrying out disassembly and recombination on the charging data to realize the perfect compatibility of the charging pile data of different manufacturers and different models. The prior art has the capability of fusion and model matching for various charging piles in a single platform, but does not have frame compatibility among charging pile operation platforms and is not compatible with a database.
Therefore, the application provides a compatible scheme of the charging pile operation platform, and the compatibility of the front end, the rear end and a database of different charging pile platforms can be realized.
Referring to fig. 1, an embodiment of the present invention discloses a charging pile operation platform compatibility method, including:
step S11: the method comprises the steps of obtaining H1TrP requests of charging pile platforms, and sending the H1TrP requests to different actions of a service logic layer based on a preset configuration file.
In the embodiment, four frame characteristics of J2EE are fused, and on the basis of the four frame characteristics, a current popular extension tool is applied to develop a frame structure with compatibility among different platforms. Referring to fig. 2, the J2EE open-source framework technology selects WebWork, Spring, and Hibemate3 framework technologies by comprehensively comparing advantages and disadvantages thereof, and forms the J2EE lightweight Web development framework of this embodiment by integration, where the entire framework is divided into four layers, which are a presentation layer, a client layer, a business logic layer, and a persistence layer. The whole framework uses WebWork as a development framework of a presentation layer, manages views and a controller part in a unified way, a client layer is expressed by JSP, the display and control of a client are realized by adopting a WebWork tag library and Javascript combined with AJAX technology, and the separation of the views and the models is realized by utilizing CSS; the presentation layer receives the H1TrP request of the client layer using ServletDispatcher of WebWork as a controller. Creating and calling a corresponding Action to complete interaction with the service logic layer, and returning an execution result to the client layer; the Service logic layer is a Service object written by using an interface and a separation realization mode, is registered as a Service model in an IOC (input/output) container of Spring, is responsible for managing and configuring DAO (data access object) components by the Spring, provides corresponding actions to finish Service logic, and provides container components such as transaction processing and a buffer pool to improve system performance and ensure data integrity; and the persistent layer adopts a Hibernate framework and uses a DAO design mode to complete the conversion and access between the final Java class and the database.
In this embodiment, before sending the H1TrP request to different actions of a service logic layer based on a preset configuration file, the method further includes: and setting the preset configuration file through the dependency relationship among the Spring actions. It can be understood that, because of the dependency relationship among Spring actions, the corresponding configuration file is configured in advance, and then the system integration of the presentation layer, the business logic layer and the data persistence layer is realized through the dependency relationship among the classes stated in the configuration file application context.
Step S12: searching a business model component and a data processing component corresponding to the Action, and processing the Action to obtain a processed Action.
In this embodiment, the searching for the corresponding component and the processing Action are performed in the Service logic layer, and the Service logic layer searches for the corresponding Service model component and the corresponding data processing component, wherein a Service object is written by using an interface separation method, and is registered as a Service model in an IOC container of Spring, and Spring is responsible for managing and configuring a DAO component and providing a corresponding component for the Action, so as to complete the Service logic. By adopting the mode, not only the respective advantages of Webwork, Spring, Hibernate and a framework are utilized, but also the view, the controller and the model are successfully and thoroughly separated, and a service logic layer and a persistent access layer are separated. In addition, the borrow separation strategy is also beneficial to further reducing the coupling degree among all layers, is beneficial to the flexibility and maintainability of the system, is also convenient for multiple persons to develop simultaneously and parallelly, and greatly improves the development progress of projects.
Step S13: and performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete H1TrP request compatibility.
In this embodiment, the processed Action is processed by integrating the Webwork, the Spring, and the Hibernate to form a persistence layer in a new lightweight J2EE framework, where the core idea of integrating the Webwork, the Spring, and the Hibernate is to use an IOC mechanism provided by the Spring, and the Spring realizes IOC in an injection-dependent manner. By using the dependency injection, an object in an application program can obtain the use right of the object depended on by the object without calling the API related to the container, the managed object only needs to expose the setter method of the JavaBean, and it needs to be noted that the setting method injection for presetting the use right of the managed object is used, the container is responsible for assembling the dependency relationship of the object during initialization without depending on the API or the interface of a specific container, and meanwhile, the mechanism also enables the Spring container to process the exception which may be thrown out when the resource is distributed, and by using the property, the system integration of the presentation layer, the business logic layer and the data persistence layer can be realized through the dependency relationship among various classes declared by the Spring configuration file application context. The technology of J2EE architecture, Spring architecture, Hibernate architecture, Swing and the like with J2EE characteristics can be considered, the integrated architecture of the charging pile operation platform in the left and right Hangzhou is constructed, and the integrated architecture has the characteristics of component integrity, data durability, reverse mapping performance, low module coupling novelty and the like.
Therefore, the application discloses a method for compatible operation of a charging pile operation platform, which comprises the following steps: acquiring an H1TrP request of each charging pile platform, and sending the H1TrP request to different actions of a service logic layer based on a preset configuration file; searching a business model component and a data processing component corresponding to the Action, and processing the Action to obtain a processed Action; and performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete H1TrP request compatibility. Therefore, the H1TrP requests of the charging pile platforms are delegated, the corresponding business model components are searched according to different actions, the business logic processing is carried out on the H1TrP requests in the actions according to the business model components and the corresponding data processing components, then the objectification mapping and the database interaction are relied on in the persistence processing process, and finally the corresponding processing results are returned, so that the compatibility of the front end, the rear end and the database of the different charging pile platforms is realized.
Referring to fig. 3, the embodiment of the present invention discloses a specific method for compatible operation of a charging pile operation platform, and compared with the previous embodiment, the present embodiment further describes and optimizes the technical solution. Specifically, the method comprises the following steps:
step S21: the method comprises the steps of obtaining H1TrP requests of charging pile platforms, and sending the H1TrP requests to different actions of a service logic layer based on a preset configuration file.
In this embodiment, before sending the H1TrP request to different actions of a service logic layer based on a preset configuration file, the method further includes: and separating the service model component, the view and the controller. It can be understood that the system integrating the SSH framework is divided into four layers in terms of responsibilities: the system comprises a presentation layer, a business logic layer, a data persistence layer and a domain module layer. The Struts is used as the overall infrastructure of the system and is responsible for the separation of MVC, namely the separation processing is carried out on the service model component, the view and the controller.
Step S22: and searching a pre-written object and a data processing component corresponding to the Action from the IOC container, and processing the Action to obtain a processed Action.
In this embodiment, in the model part of the Struts framework, a Hibernate framework is used to provide support for the persistent layer, and the business logic layer is supported by Spring. The specific method comprises the following steps: and providing a plurality of models according to requirements by using an object-oriented analysis method, realizing the models into basic Java objects, writing basic DAO interfaces, providing Hibernate DAO realization, realizing conversion and access between the Java classes and the database by using the DAO classes realized by the Hibernate architecture, and finally completing business logic by Spring.
Step S23: and accessing the processed Action and the database by using a DAO design mode, and performing data persistence processing on the processed Action stored in the DAO component to obtain a corresponding request compatibility result.
In the embodiment, in the presentation layer, an interactive interface is implemented through a page, and is responsible for transmitting requests and receiving responses, and then the received requests are delegated to corresponding processing according to a configuration file. Referring to fig. 4, in the process of performing business processing, in the business layer, the container for managing the service component is responsible for providing a business Model (Model) component and a collaboration object data processing component of the component to the Action to complete business logic, and providing container components such as transaction processing and a buffer pool to improve system performance and ensure data integrity. And in the persistence layer, the data requested by the DAO component is processed and the processing result is returned mainly by virtue of Hibernate-based objectification mapping and database interaction. Note that the processed actions and database are accessed through a pre-written DAO interface and based on the DAO design schema. Firstly, information is sent to a service logic layer, Context information of an application program is provided in Spring Web MVC, a declarative things manager of POJO is carried out in Spring Web, the Spring Context is used for self-defining service logic, then in the processing process, a form controller for processing form interaction is used for controlling a client layer of the form controller, a multi-part parser is used for processing file uploading, processed data are dynamically bound into a domain model, and finally the form controller is integrated with JSP, Velocity, XSLT, PDF and Excel, a Hibe mate DAOS is mapped by using a Hibe mate, and remote access is carried out through Session, Buap and Excel.
Step S24: and returning the request compatibility result to the client layer to complete the H1TrP request compatibility.
In this embodiment, returning the request compatibility result to the client layer further includes, before completing the H1TrP request compatibility: and the display and control of the client layer are realized by adopting a WebWork label library and Javascript. It can be understood that in the development framework of the presentation layer, the display and control of the client are realized by adopting the WebWork tag library and Javascript combined with AJAX technology in advance, the client layer is identified by JSP, and then the display of the request and the request compatible result of the client layer is correspondingly controlled by utilizing the presentation layer.
Therefore, by adopting the development model, the view, the controller and the model are completely separated, and the service logic layer and the persistence layer are separated. Therefore, no matter how the front end changes, the model layer only needs to be changed a little, and the change of the database does not influence the front end, thereby greatly improving the reusability of the system. And because the coupling degree between different layers is little, be favorable to filling the compatibility of electric pile platform front end, rear end and database to the difference, to filling electric pile business platform characteristic, realize the operation workflow framework that charges, possess advantages such as data sharing, business sharing, functional module transplantation between different electric pile platforms.
Referring to fig. 5, an embodiment of the present invention further discloses a device compatible with a charging pile operation platform, and the device includes:
the request acquisition module 11 is configured to acquire an H1TrP request of each charging pile platform, and send the H1TrP request to different actions of a service logic layer based on a preset configuration file;
the request processing module 12 is configured to search for a service model component and a data processing component corresponding to the Action, and process the Action to obtain a processed Action;
and a request compatibility completion module 13, configured to perform data persistence processing on the processed Action to obtain a corresponding request compatibility result, and return the request compatibility result to the client layer to complete H1TrP request compatibility.
Therefore, the application discloses a method for compatible operation of a charging pile operation platform, which comprises the following steps: acquiring an H1TrP request of each charging pile platform, and sending the H1TrP request to different actions of a service logic layer based on a preset configuration file; searching a business model component and a data processing component corresponding to the Action, and processing the Action to obtain a processed Action; and performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete H1TrP request compatibility. Therefore, the method and the device have the advantages that the H1TrP requests of the charging pile platforms are delegated, the corresponding business model components are searched according to different actions, the H1TrP requests in the actions are subjected to business logic processing according to the business model components and the corresponding data processing components, then the objectification mapping and the database interaction are relied on in the persistence processing process, and finally the corresponding processing results are returned, so that the compatibility of the front end, the rear end and the database of the different charging pile platforms is realized.
Further, an electronic device is disclosed in the embodiments of the present application, and fig. 6 is a block diagram of an electronic device 20 according to an exemplary embodiment, which should not be construed as limiting the scope of the application.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the charging pile operation platform compatible method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the present embodiment may be specifically an electronic computer.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage manner may be a transient storage manner or a permanent storage manner.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, and may be Windows Server, Netware, Unix, Linux, and the like. The computer programs 222 may further include computer programs that can be used to perform other specific tasks in addition to the computer programs that can be used to perform the charging pile operation platform compatible method performed by the electronic device 20 disclosed in any of the foregoing embodiments. The data 223 may include data received by the electronic device and transmitted from an external device, or may include data collected by the input/output interface 25 itself.
Further, the present application also discloses a computer readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the charging pile operation platform compatible method disclosed above. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method, the device, the equipment and the storage medium for compatible operation of the charging pile provided by the invention are described in detail, a specific example is applied in the description to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A charging pile operation platform compatible method is characterized by comprising the following steps:
acquiring an H1TrP request of each charging pile platform, and sending the H1TrP request to different actions of a service logic layer based on a preset configuration file;
searching a business model component and a data processing component corresponding to the Action, and processing the Action to obtain a processed Action;
and performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete H1TrP request compatibility.
2. The charging pile operation platform compatible method according to claim 1, wherein before sending the H1TrP request to an Action of a business logic layer based on a preset configuration file, the method further comprises:
and setting the preset configuration file through the dependency relationship among the Spring actions.
3. The charging pile operation platform compatible method according to claim 1, wherein before sending the H1TrP request to an Action of a business logic layer based on a preset configuration file, the method further comprises:
and separating the service model component, the view and the controller.
4. The charging pile operation platform compatible method according to claim 1, wherein the searching for a business model component and a data processing component corresponding to the Action and processing the Action include:
and searching a pre-written object and a data processing component corresponding to the Action from the IOC container, and processing the Action.
5. The charging pile operation platform compatible method according to claim 1, wherein the performing data persistence processing on the processed Action to obtain a corresponding request compatibility result comprises:
and accessing the processed Action and the database by using a DAO design mode, and performing data persistence processing on the processed Action stored in the DAO component to obtain a corresponding request compatibility result.
6. The charging pile operation platform compatible method of claim 5, wherein said accessing the processed actions and database using a DAO design schema comprises:
and accessing the processed Action and the database through a pre-written DAO interface and based on a DAO design mode.
7. The charging pile operation platform compatibility method according to any one of claims 1 to 6, wherein the step of returning the request compatibility result to the client layer further comprises, before completing the H1TrP request compatibility:
and the display and control of the client layer are realized by adopting a WebWork label library and Javascript.
8. The utility model provides a fill compatible device of electric pile operation platform which characterized in that includes:
the charging pile management system comprises a request acquisition module, a service logic layer and a service management module, wherein the request acquisition module is used for acquiring an H1TrP request of each charging pile platform and sending the H1TrP request to different actions of the service logic layer based on a preset configuration file;
the request processing module is used for searching a business model component and a data processing component corresponding to the Action and processing the Action to obtain a processed Action;
and the request compatibility completion module is used for performing data persistence processing on the processed Action to obtain a corresponding request compatibility result, and returning the request compatibility result to the client layer to complete the H1TrP request compatibility.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the charging pile operating platform compatible method of any of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the steps of a charging pile operating platform compatible method according to any one of claims 1 to 7.
CN202210761019.2A 2022-06-30 2022-06-30 Charging pile operation platform compatible method, device, equipment and storage medium Active CN115033282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210761019.2A CN115033282B (en) 2022-06-30 2022-06-30 Charging pile operation platform compatible method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210761019.2A CN115033282B (en) 2022-06-30 2022-06-30 Charging pile operation platform compatible method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115033282A true CN115033282A (en) 2022-09-09
CN115033282B CN115033282B (en) 2023-08-22

Family

ID=83127993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210761019.2A Active CN115033282B (en) 2022-06-30 2022-06-30 Charging pile operation platform compatible method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115033282B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005079A (en) * 2017-06-07 2018-12-14 普天信息技术有限公司 A kind of detection method and device of electric automobile charging pile communication protocol
JP2020109613A (en) * 2019-01-02 2020-07-16 哈爾濱鴻徳亦泰数碼科技有限責任公司 Smart irrigation area e-platform based on four-layered architecture and data processing method
CN113335122A (en) * 2021-05-26 2021-09-03 安徽工程大学 Shared charging pile and shared compatible charging system thereof
CN114301962A (en) * 2021-11-26 2022-04-08 杭州中恒电气股份有限公司 Charging pile communication method and system based on Internet of things cloud platform
CN114331755A (en) * 2021-11-15 2022-04-12 福建星云电子股份有限公司 Available charging pile management method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005079A (en) * 2017-06-07 2018-12-14 普天信息技术有限公司 A kind of detection method and device of electric automobile charging pile communication protocol
JP2020109613A (en) * 2019-01-02 2020-07-16 哈爾濱鴻徳亦泰数碼科技有限責任公司 Smart irrigation area e-platform based on four-layered architecture and data processing method
CN113335122A (en) * 2021-05-26 2021-09-03 安徽工程大学 Shared charging pile and shared compatible charging system thereof
CN114331755A (en) * 2021-11-15 2022-04-12 福建星云电子股份有限公司 Available charging pile management method and system
CN114301962A (en) * 2021-11-26 2022-04-08 杭州中恒电气股份有限公司 Charging pile communication method and system based on Internet of things cloud platform

Also Published As

Publication number Publication date
CN115033282B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN104737133B (en) Optimized using the Distributed Application of service group
US11172022B2 (en) Migrating cloud resources
US8127237B2 (en) Active business client
US8751558B2 (en) Mashup infrastructure with learning mechanism
CN111290854A (en) Task management method, device and system, computer storage medium and electronic equipment
CN110083455B (en) Graph calculation processing method, graph calculation processing device, graph calculation processing medium and electronic equipment
CN110658794B (en) Manufacturing execution system
CN108415710B (en) The method and system of API is issued, called in Intelligent dialogue development platform
WO2005083562A1 (en) System and method for building mixed mode execution environment for component applications
CN105897805A (en) Method and device for cross-layer scheduling of resources of data center with multi-layer architecture
US11194686B2 (en) Data agnostic monitoring service
CN117008923A (en) Code generation and compiling deployment method, platform and equipment based on AI large model
CN107222575B (en) The method that OPC is communicated between realization industrial control equipment
Yang et al. Construction of OSS-based e-learning cloud in China
CN111427665A (en) Quantum application cloud platform and quantum computing task processing method
CN103294459B (en) Map control generates method and apparatus
CN112104504B (en) Transaction management framework for large-scale resource access, design method and cloud platform
CN115033282B (en) Charging pile operation platform compatible method, device, equipment and storage medium
CN116232910A (en) Open cloud platform, construction method thereof and storage medium
CN106021624B (en) A kind of ETL model generating method and device
CN112418447B (en) System, method, medium, and apparatus for providing machine learning service
CN110750256A (en) Intelligent PaaS cloud service platform
Pitt Introduction to MVC
Treyer et al. Lightweight urban computation interchange (LUCI): a system to couple heterogeneous simulations and views
CN111414232B (en) Virtual machine template data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant