Method and device for securing endpoint in protocol for managing electric car charging / discharging infrastructure

The integration of JSON Web Signature and Encryption in communication protocols between electric vehicle charging station controllers and management systems addresses the vulnerability of existing security methods, providing robust end-to-end security and confidentiality for electric vehicle charging and discharging infrastructure.

WO2024205223A1PCT designated stage expired Publication Date: 2024-10-03HYUNDAI MOTOR CO LTD +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/003840
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-28
Filing Date
2024-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Current communication protocols for electric vehicle charging and discharging infrastructure, such as TLS, fail to guarantee end-to-end security, making them vulnerable to hacking, especially during billing processes.

Method used

Implementing an end-to-end security method using JSON Web Signature (JWS) and JSON Web Encryption (JWE) for message authentication and encryption between charging station controllers and management systems, ensuring reliability and confidentiality by signing key-value pairs and encrypting messages.

Benefits of technology

Enhances security by preventing hacking and ensuring robust end-to-end protection in communication protocols for electric vehicle charging and discharging infrastructure, particularly during billing processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024003840_03102024_PF_FP_ABST
    Figure KR2024003840_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are an endpoint security method and device applicable to a protocol for managing electric car charging / discharging infrastructure. The endpoint security method comprises the steps of: signing at least one key-value pair among elements in the main body of a message to be transferred to a second node of a communication architecture; and transmitting the message including the at least one signed key-value pair to the second node.
Need to check novelty before this filing date? Find Prior Art

Description

End-to-end security method and device in electric vehicle charging and discharging infrastructure management protocol

[0001] The present disclosure relates to an end-to-end security technology, and more particularly, to an end-to-end security method and device applicable to a protocol for managing an electric vehicle charging and discharging infrastructure.

[0002] A charging station (CS) is equipped with electric vehicle (EV) supply equipment (EVSE) and a charging station controller (CS controller, CSC) that manages the EVSE for charging and discharging electric vehicles (EVs).

[0003] The charging station controller (CSC) communicates with a charging infrastructure operator (CPO), charging station operator (CSO), or flexibility operator system (FOS) according to predefined communication protocol standards. These communication protocol standards include the IEC 63110 series and the Open Change Alliance (OCA)'s Open Change Point Protocol (OCPP). The CSO or CSO backend is equipped with a charging station management system (CSMS). The CSMS can be a central CSMS or a cloud CSMS.

[0004] Meanwhile, Transport Layer Security (TLS) is used for security in communications between the CSC and CSMS. However, TLS cannot guarantee end-to-end security with respect to third parties, and some inherent security issues within TLS make it vulnerable to hacking when processing charging messages for EV charging or discharging.

[0005] In this way, there is a need for a method to strengthen security in communication between CSC and local CSMS or cloud CSMS, or between local CSMS and resource manager (RM).

[0006] The present disclosure has been derived to meet the needs of the prior art as described above, and the purpose of the present disclosure is to provide an end-to-end security method and device that utilizes a signature for all or part of a message so as to enhance security in communication between a charging station controller (CSC) and a charging station management system (CSMS) or between a CSMS and a resource manager (RM), i.e., so as to improve end-to-end reliability in a management protocol of an electric vehicle charging and discharging infrastructure.

[0007] Another object of the present disclosure is to provide an end-to-end security method and device that utilizes encryption for all or part of a message to enhance end-to-end confidentiality in a management protocol of an electric vehicle charging and discharging infrastructure.

[0008] Another object of the present disclosure is to provide an end-to-end security method and device using JSON Web Signature and JSON Web Encryption for a JSON (JavaScript Object Notation) message or a portion thereof in a management protocol of an electric vehicle charging and discharging infrastructure.

[0009] An end-to-end security method according to one aspect of the present disclosure for solving the above technical problem is an end-to-end security method by a first node of a communication architecture in a protocol for managing an electric vehicle charging and discharging infrastructure, comprising: a step of signing at least one key-value pair among elements in a body of a message to be transmitted to a second node of the communication architecture; and a step of transmitting a message including at least one signed key-value pair to the second node.

[0010] According to one aspect of the present disclosure for solving the above technical problem, an end-to-end security device is provided that performs end-to-end security of a communication architecture in a protocol for managing an electric vehicle charging and discharging infrastructure, the end-to-end security device comprising: at least one command for end-to-end security; and a processor that performs the end-to-end security by the at least one command. The processor is configured to perform the steps of: signing at least one key-value pair among elements in a body of a message to be transmitted to a second node of the communication architecture; and transmitting a message including at least one signed key-value pair to the second node.

[0011] One of the at least one key-value pairs may include a key as a header of the message and a value as a payload of the message.

[0012] The processor may further perform the step of signing a key path for the at least one signed key-value pair.

[0013] In the step of signing the above key path, the key path value of the signed key path may include a path to a specific element of the body of the message in the path to the body, and may include a path to a specific sub-element of the specific element in the path to the specific element of the body.

[0014] The processor may be configured to perform at least one of the steps of signing the at least one key-value pair and signing the key path using a digital certificate.

[0015] The processor may be configured to sign the entire header of the message in the step of signing the at least one key-value pair.

[0016] The processor may be configured to sign a range that is a specific element of a protected header of the message in the step of signing the at least one key-value pair.

[0017] The processor may be configured such that the step of signing the at least one key-value pair binds the signed at least one key-value pair with a payload of the message.

[0018] The processor may be configured to use a JSON (JavaScript Object Notation) web token in the step of signing the at least one key-value pair.

[0019] The processor may further be configured to perform the step of encrypting the at least one signed key-value pair using JavaScript Object Notation (JSON) web encryption.

[0020] The processor may further be configured to perform the step of adding a signed key to a protected header of the message.

[0021] The processor may further be configured to perform the step of adding a signed key path to a protected header of the message.

[0022] The processor may further be configured to perform the step of adding a signed key and a signed key path to a protected header of the message.

[0023] The first node or the second node may include any one of a charging station controller (CSC) that manages at least one electric vehicle supply equipment (EVSE), a local charging station management system (CSMS) that transmits or receives the message to or from the CSC, a cloud CSMS that exchanges the message with the CSC or the local CSMS, and a resource manager (RM) that exchanges the message with the CSC or the local CSMS.

[0024] According to the present disclosure, end-to-end reliability can be improved in a management protocol of an electric vehicle charging and discharging infrastructure by configuring to sign messages or portions thereof in communication between a charging station controller (CSC) and a charging station management system (CSMS) or between a CSMS and a resource managing (RM).

[0025] Additionally, according to the present disclosure, end-to-end confidentiality can be improved in the management protocol of an electric vehicle charging and discharging infrastructure by encrypting messages or portions thereof in communication between a CSC and a CSMS or between a CSMS and an RM.

[0026] In addition, according to the present disclosure, by forming JSON web signature and JSON web encryption for JSON (JavaScript Object Notation) messages or parts thereof in the management protocol of electric vehicle charging and discharging infrastructure, it is possible to effectively provide end-to-end security that is robust against hacking in communications for billing processing between a CSC and a CSMS or between a CSMS and an RM.

[0027] FIG. 1 is a schematic block diagram illustrating a communication architecture that can employ a terminal security method according to one embodiment of the present disclosure.

[0028] FIG. 2 is an example diagram for explaining JWS compact, which is one of three forms of JWS (JSON Web Signature) serialization that can be employed in the terminal security method of the present embodiment.

[0029] Figure 3 is an exemplary diagram illustrating an application example of the JWS compact of Figure 2.

[0030] FIG. 4 is an exemplary diagram illustrating an application example of JWS JSON, which is another one of the three forms of JWS serialization that can be employed in the terminal security method of the present embodiment.

[0031] Figure 5 is an example diagram for explaining the signature format of JWS JSON of Figure 4.

[0032] FIG. 6 is an exemplary diagram illustrating an application example of JWS JSON flattened (hereinafter referred to as “simple JWS JSON”), which is the remaining one of the three forms of JWS serialization that can be employed in the terminal security method of the present embodiment.

[0033] FIG. 7 is an example diagram for explaining the form of a CALL, which is a request message among OCPP-J messages that can be employed in the terminal security method of the present embodiment.

[0034] FIG. 8 is an example diagram for explaining the format of a call result (CALLRESULT), which is a response message among OCPP-J messages that can be employed in the terminal security method of the present embodiment.

[0035] FIG. 9 is an example diagram for explaining the form of a call error (CALLERROR), which is a response message among OCPP-J messages that can be employed in the terminal security method of the present embodiment.

[0036] Figure 10 is an example of an original message to illustrate an OCPP signed message.

[0037] Figure 11 is an example of a signed message with a protected header from the original message of Figure 10.

[0038] Figure 12 is an example of an original message with an unprotected header from the original message of Figure 10.

[0039] Figure 13 is an example illustrating the signed payload of the original message with the unprotected header of Figure 12.

[0040] Figure 14 is an example for explaining the signature range of an IEC 63110 message that can be adopted in the terminal security method of the present embodiment.

[0041] Figure 15 is an example to explain the partial signature range of an IEC 63110 message.

[0042] Figure 16 is an example to explain the signature range excluded from an IEC 63110 message.

[0043] Figure 17 is an example for explaining the signed key binding problem of an IEC 63110 message that can be employed in the terminal security method of the present embodiment and hacking using this problem.

[0044] Figure 18 is an example for explaining the key-path binding problem of an IEC 63110 message that can be employed in the terminal security method of the present embodiment and hacking using this problem.

[0045] FIG. 19 is a diagram for explaining JWS (JSON Web Signature) of an IEC 63110 message that can be employed in the terminal security method of the present embodiment.

[0046] FIG. 20a is a diagram for explaining JWE (JSON Web Encryption) of an IEC 63110 message that can be employed in the terminal security method of the present embodiment.

[0047] Figure 20b is an example for explaining the application of the IEC 63110 message of Figure 20a to JWE.

[0048] FIG. 21 and FIG. 22 are examples for explaining a combination of JSON web signature and JSON web encryption of an IEC 63110 message that can be employed in the terminal security method of the present embodiment.

[0049] FIG. 23 is a schematic block diagram illustrating another form of a communication architecture that can employ the terminal security method according to the present embodiment.

[0050] FIG. 24 is a schematic block diagram illustrating another form of a communication architecture that can employ the terminal security method according to the present embodiment.

[0051] FIG. 25 is a schematic block diagram illustrating a terminal security device according to another embodiment of the present disclosure.

[0052] The present invention is susceptible to various modifications and embodiments. Specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to specific embodiments, but rather to encompass all modifications, equivalents, and alternatives falling within the spirit and technical scope of the present invention. Throughout the description of each drawing, similar reference numerals have been used to designate similar components.

[0053] Terms such as "first," "second," "A," and "B" may be used to describe various components, but these components should not be limited by these terms. These terms are used solely to distinguish one component from another. For example, without departing from the scope of the present invention, the first component could be referred to as the "second component," and similarly, the second component could also be referred to as the "first component." The term "and / or" includes any combination of multiple related items listed or any one of multiple related items listed.

[0054] When a component is referred to as being "connected" or "connected" to another component, it should be understood that it may be directly connected or connected to that other component, but that there may be other components intervening. Conversely, when a component is referred to as being "directly connected" or "connected" to another component, it should be understood that there are no other components intervening.

[0055] The terminology used in this application is only used to describe specific embodiments and is not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly indicates otherwise. In this application, it should be understood that the terms "comprise" or "have" indicate the presence of a feature, number, step, operation, component, part, or combination thereof described in the specification, but do not exclude in advance the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

[0056] Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. Terms defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and will not be interpreted in an idealized or overly formal sense unless explicitly defined herein.

[0057] Some terms used in this specification are defined as follows:

[0058] An 'electric vehicle (EV)' may refer to an automobile as defined in 49 CFR (code of federal regulations) 523.3, etc. An EV can be powered by electricity supplied by an on-board energy storage device, such as a battery, that is highway-capable and rechargeable from an external power source. The power source may include a residential or public electric service, or a generator that uses fuel on board the vehicle. An electric vehicle (EV) may be referred to as an electric car, electric automobile, electric road vehicle (ERV), plug-in vehicle (PV), or plug-in vehicle (xEV), and an xEV may be referred to or distinguished as a plug-in all-electric vehicle (BEV), plug-in electric vehicle (PEV), hybrid electric vehicle (HEV), hybrid plug-in electric vehicle (HEV), or plug-in hybrid electric vehicle (PHEV).

[0059] A 'plug-in electric vehicle (PEV)' can refer to an electric vehicle that recharges its onboard primary battery by connecting to the power grid.

[0060] A 'wireless power charging system (WCS)' may refer to a system for wireless power transmission, alignment, and communication between a ground assembly (GA) and a vehicle assembly (VA).

[0061] 'Wireless power transfer (WPT)' can refer to the transfer of power to or from electric vehicles through contactless means such as electromagnetic induction or resonance from power sources such as utilities, grids, energy storage devices, and fuel cell generators.

[0062] A utility provides electrical energy and can be defined as a collection of systems, typically including a Customer Information System (CIS), Advanced Metering Infrastructure (AMI), and Rates and Revenue (R&R) systems. Utilities enable electric vehicles to access electrical energy through price lists or discrete events. Utilities can also provide information on tax rates, metered power consumption intervals, and EV program qualifications for electric vehicles.

[0063] 'Smart charging' can refer to a method or system in which electric vehicle charging equipment and / or electric vehicles communicate with the power grid to optimize the vehicle's charge or discharge rate based on grid capacity or usage costs.

[0064] 'Interoperability' can refer to the state in which components of a system can work together to achieve the intended operation of the entire system. Information interoperability can refer to the ability of two or more networks, systems, devices, applications, or components to share information securely and effectively and easily with little or no user inconvenience.

[0065] An "inductive charging system" can refer to a system that electromagnetically transfers energy in the forward direction from the power supply network to an electric vehicle via a loosely coupled transformer. In this embodiment, the inductive charging system can be used in conjunction with a wireless charging system for electric vehicles.

[0066] 'Inductive coupling' can refer to the magnetic coupling between two coils. The two coils can refer to the ground assembly coil and the vehicle assembly coil.

[0067] 'OEM (Original equipment manufacturer)' may include the top-level certification authority (CA) or top-level certification server that issues OEM root certificates, such as the electric vehicle manufacturer or a server operated by the electric vehicle manufacturer.

[0068] A 'V2G operator' may refer to a primary actor participating in V2G communication using a transmission protocol, or may refer to an entity that initiates a blockchain for automatic authentication of electric vehicles or electric vehicle users and creates smart contracts on the blockchain, and may include at least one trusted certification authority or trusted authentication server.

[0069] A 'Mobility Operator (MO)' may refer to one of the entities within the Plug and Charge (PnC) architecture that has a contractual relationship with EV owners regarding charging, authorization, and payment to enable EV drivers to charge their EV batteries at charging stations, and may include at least one certificate authority or certificate server that issues and manages its own certificates.

[0070] A 'Charge Service Provider (CSP)' can refer to an entity that manages and authenticates the credentials of electric vehicle users and provides billing and other value-added services to customers. It can be viewed as a special type of MO and can be implemented in a combined form with an MO.

[0071] A "charging station (CS)" may refer to an entity equipped with one or more charging station controllers (CSCs) and one or more EV supply equipment (EVSEs), and responsible for energy transfer to and from EVs. The CSCs may be subsystems of the CS that manage one or more EVSEs. The EVSEs may further include an EVSE controller, an EVSE interface, and a plug.

[0072] A 'Customer Energy Manager (CEM)' is an internal automation function to optimize on-premises energy consumption and / or production according to customer preferences, using internal flexibility and typically based on external information received via a Smart Grid Connection Point (SGCP) and other data sources.

[0073] An "electro-Mobility Account Identifier (eMAID)" may refer to a unique identifier that links a contract certificate to the payment account of the owner of an electric vehicle (electroMobility). In this embodiment, the mobility account identifier may include an identifier of an electric vehicle certificate or an identifier of a provisioning certificate. The term "eMAID" may be replaced with "e-Mobility Account Identifier" or may be replaced with a contract ID.

[0074] A "clearing house (CH)" is an entity that handles cooperation between multiple MOs, CSPs, and CSOs. It may act as an intermediary, facilitating authorization, billing, and settlement procedures for EV charging service roaming, particularly between two settlements or between two settlement parties, in relation to different EMSP agreements. A "clearing house" may include an e-mobility clearing house (EMOCH).

[0075] 'Roaming' can refer to the information exchange and related provisions and schemes that enable electric vehicle users to access charging services provided by multiple CSPs or CSOs belonging to multiple mobility networks using a single credential and contract.

[0076] A 'credential' is a physical or digital asset that represents the personal information of an electric vehicle or an electric vehicle user. It may include a password, which is cryptographic information used to verify identity, a public key / private key pair used in a public key cryptographic algorithm, a public key certificate issued by a certification authority, and information related to a trusted root certification authority.

[0077] A 'certificate' can refer to an electronic document that binds a public key to an identifier (ID) through a digital signature.

[0078] A 'service session' may refer to a set of services related to electric vehicle charging at a charging point, assigned to a customer over a given timeframe with a unique identifier.

[0079] Hereinafter, with reference to the attached drawings, preferred embodiments of the present invention will be described in more detail. In order to facilitate an overall understanding in describing the present invention, identical reference numerals will be used for identical components in the drawings, and redundant descriptions of identical components will be omitted.

[0080] FIG. 1 is a schematic block diagram illustrating a communication architecture that can employ a terminal security method according to one embodiment of the present disclosure.

[0081] Referring to FIG. 1, the communication architecture includes a premises network (100) that can function as a smart grid connection point (SGCP), a charging station operator backend (CSO backend) (300), and secondary actors (SAs) (500). The premises network (100) may be referred to as a local area network or home network of a specific region.

[0082] The on-premise network (100) may be equipped with a charging station (CS: charging station, 110), a local charging station management system (local CSMS, 130), a resource manager (RM: resource manager, 150), and a customer energy manager (CEM: customer energy manager, 170). The on-premise network (100) may further be equipped with a meter (meter, 190). In addition, the on-premise network (100) may be equipped with power-related devices (195) including loads, an electricity production system, and an energy storage device.

[0083] In the on-premise network (100), the CS (110) may be equipped with one or more electric vehicle supply equipment (EVSE: 112) and one or more charging station controllers (CSC: 114) that manage one or more EVSEs (112). The CSC (114) may be a subsystem of the CS (110). And the EVSE (112) may be equipped with an EVSE controller, an EVSE interface, a plug, etc. In the present embodiment, the CS (110) is equipped with two EVSEs, that is, a first EVSE (112a) and a second EVSE (112b), but the present invention is not limited thereto and one or three or more may be equipped in the CS (110).

[0084] The first EVSE (112a) can exchange power with the first electric vehicle (EV: electric vehicle, 210) and communicate with the first EV user (EVU: EV user, 220). The first EV (210) and the first EVU can exchange signals and data with each other. Similarly, the second EVSE (112b) can exchange power with the second EV (230) and communicate with the second EVU (240). The second EV (230) and the second EVU can exchange signals and data with each other.

[0085] Additionally, in the on-premise network (100), the local CSMS (130) can exchange messages with the CSC (114), the cloud CSMS (310), and the resource manager (RM, 150) according to a protocol (hereinafter simply referred to as the "management protocol") for managing the electric vehicle charging and discharging infrastructure. Messages according to the management protocol may include JSON (JavaScript Object Notation) messages according to the IEC 63110 standard.

[0086] Additionally, a resource manager (RM, 150) of an on-premise network (100) may refer to a logical component or an entity that performs a corresponding function, typically implemented in software, that exclusively represents the energy flexibility of a single smart device or a group of devices for customer energy management of a building or vehicle and transmits relevant commands to the single device or group of devices using a device-specific protocol.

[0087] Here, flexibility may refer to the elasticity of resource use (demand, storage, generation), consumption adjustment, and / or energy / power generation at the individual or collective level in response to external signals (price signals or requests) to provide services within the energy system. The RM (150) may exchange messages, signals, and data with the Customer Energy Manager (CEM, 170) according to a predetermined protocol.

[0088] The Customer Energy Manager (CEM, 170) utilizes the internal flexibility of the on-premise network (100) and, based on external information typically received via a smart grid connection point (SGCP) and other data sources, is an internal automation function for optimizing on-premise energy consumption and / or production according to customer preferences. The CEM (170) may include a CEM system. Furthermore, the CEM (170) may be connected for communication with at least one secondary actor (SA, 500). The CEM (170) may be omitted as an optional component.

[0089] The meter (meter, 190) can measure the amount of power transferred between the EV (210; 230), load, storage device, etc. within the on-site network (100) when power is supplied from the secondary actor (500), or when power is supplied from the EV (210; 230), energy generation system, etc. within the on-site network (100) to the secondary actor (500). The meter (190) can include an integrated watt-hour meter, a two-way digital watt-hour meter, etc. The meter (190) can exchange signals and data with the CEM (170) according to a predetermined communication protocol.

[0090] The CSO backend (300) may be equipped with a charging station management system (CS management system, CSMS, 310). The CSMS (310) may include a cloud CSMS (310). The cloud CSMS (310) may exchange IEC 63110 JSON messages with the local CSMS (130).

[0091] Accordingly, the end-to-end security method of the present embodiment may be configured to perform at least one of signing and encryption on a message or a portion thereof transmitted from a cloud CSMS (310) to a local CSMS (130). In addition, the end-to-end security method of the present embodiment may be configured to perform at least one of signing and encryption on a message or a portion thereof transmitted from a local CSMS (130) to a cloud CSMS (310).

[0092] A secondary actor (SA, 500) may supply electricity or provide electricity-related services based on a contract with the on-premise network (100) or a part thereof. The secondary actor (SA, 500) may include a distribution system operator (DSO, 510), a flexibility operator (FO, 520), an electricity supplier (ES, ES), an electricity / energy provider (EP, 530), an electro-mobility service provider (EMSP, 540), an electric vehicle user (EVU, 550), a charging station operator (CSO, CSO), or other system operators.

[0093] A distributed system operator (DSO, 510) is an entity responsible for planning, operating, maintaining, and developing a specific area of ​​a distribution network. This specific area may be a low-voltage, medium-voltage, or high-voltage area. The DSO (510) may provide customers with electricity supply (power supply, voltage, etc.) and access to the electricity provider market through a system compliant with regulatory requirements. Additionally, the DSO (510) may mediate between two clearing partners to provide verification services for roaming under different EMSP contracts.

[0094] A flexibility operator (FO, 520) is an entity responsible for at least one service, such as aggregating load flexibility from different users of the low voltage grid and / or medium voltage grid and trading it with different third parties, such as transmission system operators (TSOs) and / or distribution system operators (DSOs, 510), to provide ancillary services or other flexibility markets (e.g., optimizing grid balancing).

[0095] An electricity provider (EP, 530) may refer to an entity or activity that purchases electricity wholesale and resells it directly to customers through a contract. The EP (530) may include an EP system. The EP (530) may provide energy-related services. Furthermore, the EP (530) may create flexibility by adjusting electricity prices, such as time-of-use and maximum cap rates, based on energy market prices or network operation prices.

[0096] An Electric Mobility Service Provider (EMSP, 540) is an entity that provides high-value services related to EV use. These high-value services may include, for example, EV rentals, parking reservations, navigation services, and energy services. The EMSP (540) may include a changing station provider (CSP) that collaborates with a charging station operator (CSO, 560).

[0097] An electric vehicle user (EVU, 550) is an entity that uses a vehicle and provides information about the vehicle's needs. The EVU (550) may include an EVU system.

[0098] A charging station operator (CSO, 560) may refer to an entity connected to the power grid and managing power to supply power requested by electric vehicles. CSO (560) may be a term synonymous with a charging infrastructure operator (CPO) or an electro-mobility service provider (EMSP), or may be included in or encompassed by a CPO or EMSP. A CSO, CPO, or EMSP may include at least one certification authority that issues or manages its own certificates.

[0099] The aforementioned CSO (560) is one of the secondary actors (500) and may include a CSO backend (CSO backend, 300). The CSO backend (300) may refer to a means for managing a server or database, which is an area invisible to the user of a web application, or a component that performs functions corresponding to such means. The CSO backend (300) may be a subsystem of the CSO (560).

[0100] The communication architecture of this embodiment illustrates a basic system overview of a communication architecture with a charging station installed behind an SGCP. The CEM (170) is responsible for power and energy optimization within the SGCP. The CEM (170) can exchange messages with a local CSMS (130) or a cloud CSMS (310) via an RM (150) implementing the IEC 63110 protocol. Furthermore, the CEM (170) can also establish out-of-range connections with other systems, depending on the actions of local or auxiliary users.

[0101] And, all EVSEs (112) are connected to CS (110) through their own communication protocol. EVUs (220; 240) can interact with EVs (210; 230), EVSEs (112a; 112b), CSO backend (300), CSO (560), EMSP (540) etc. by sending and receiving JSON messages through adapted interfaces such as local display interface or remote app interface. There can be more CSs (110) within the same SGCP or same on-premise network (100) controlled by one or more local CSMSs (130). Optional local CSMSs (130) can be located in other devices including CSs (110).

[0102] The communication architecture of the present embodiment can apply at least one of JSON Web Signature and JSON Web Encryption to messages to enhance security in communication between the CSC (114) and the local CSMS (130), or in communication between the local CSMS (130) and the cloud CSMS (310), or in communication between the local CSMS (130) and the RM (150).

[0103] In particular, a specific entity of the communication architecture may be configured to sign a key-value pair consisting of a value corresponding to the payload of a message and a key corresponding to the header in an electric vehicle charging and discharging management protocol, or, if necessary, additionally sign a key-path, thereby protecting the message. An entity of the communication architecture may be referred to as a device or node having communication capabilities on a network including the communication architecture.

[0104] In this way, the end-to-end (E2E) security method of the present embodiment may be configured to sign a message or a part thereof for E2E authenticity, encrypt a message or a part thereof for E2E confidentiality, or encrypt a message or a part thereof while signing a message or a part thereof for E2E authenticity and confidentiality in a message between a local CSMS (130) and a CSC (114), a message between a local CSMS (130) and a cloud CSMS (310), and a message between a local CSMS (130) and a resource manager (RM, 150). The signature may be a JSON web signature (JWS), and the encryption may be a JSON web encryption (JWE).

[0105] According to the configuration of the aforementioned end-to-end security method, the security using TLS (transport layer security) in the protocol for managing the existing electric vehicle charging and discharging infrastructure can solve the problem of not being able to guarantee end-to-end security related to a third party, and thereby prevent loss due to hacking during billing processing due to some security issues of TLS.

[0106] The following describes the IEC 63110 JSON message described above in more detail.

[0107] FIG. 2 is an exemplary diagram illustrating JWS compact, which is one of three forms of JWS (JSON Web Signature) serialization that can be employed in the end-to-end security method of the present embodiment. FIG. 3 is an exemplary diagram illustrating an application example of JWS compact of FIG. 2, FIG. 4 is an exemplary diagram illustrating an application example of JWS JSON, which is another of the three forms of JWS serialization, and FIG. 5 is an exemplary diagram illustrating a signature format of JWS JSON of FIG. 4. In addition, FIG. 6 is an exemplary diagram illustrating an application example of JWS JSON flattened (hereinafter referred to as 'simple JWS JSON'), which is the remaining one of the three forms of JWS serialization that can be employed in the end-to-end security method of the present embodiment.

[0108] The Internet Engineering Task Force (IETF)'s JSON Object Signing and Encryption (JOSE) working group defines three JSON object formats: JSON Web Signature (JWS) (RFC 7515), JSON Web Encryption (JWE) (RFC 7516), and JSON Web Key (JWK) (RFC 7517). These three JSON object formats utilize JSON Web Algorithms (JWA) (RFC 7518) and JSON Web Tokens (JWT) (RFC 7518).

[0109] JWS consists of a JOSE header, payload, and signature, and the JOSE header consists of a type, signing algorithm, and certificate.

[0110] JWE consists of a JOSE header, an encrypted key, an initialization vector (IV), a ciphertext, and a message authentication code (MAC).

[0111] JWS and JWE can each be represented in three serialization methods: as a compact BASE64URL string, as a multi-key JSON object, and as a single-key JSON object. Furthermore, multi-key JSON objects can be represented as JWS JSON, and single-key JSON objects can be represented as JWS JSON flattened (hereinafter referred to as "simple JWS JSON").

[0112] First, for serialization using the BASE64URL function, the message data is encoded as BASE64, padding is performed to adjust the size of the data to an arbitrary size, converted to a URL-safe string, or B64( which is encoded with the BASE64URL function and has spaces removed. <data>) can be expressed as.

[0113] To be more specific about JWS serialization using the aforementioned BASE64URL function, JWS serialization supports a JWS compact with a single signature (signature, 23) for the header (header, 21) and payload (payload, 22), as shown in Fig. 2. Each of the header (21), payload (22), and signature (23) can have a size of 64 bytes. For example, a JWS compact can be a B64 ( <jose-header> ), B64( <payload>) and B64( <signature>) can be composed by serially connecting them without spaces. Here, the signature (23) can be expressed in the form of a signature function (SIG()) having a JOSE header (21) and a payload (22) separated by periods. For example, a message of a serialized JWS compact can be composed of a header (21a), a payload (22a), and a signature (23a) separated by periods (.) and serially connected without spaces, as shown in Fig. 3.

[0114] Additionally, JWS serialization can be expressed as a message (40) of JWS JSON having a protected header (21a) and a multi-signature (23a) for a payload (22a), as shown in Fig. 4. In JWS JSON, the signature (23a) is expressed as a signature function type SIG() consisting of a protected header (21a) and a payload (22a) separated by a period, as shown in Fig. 5, and the JOSE header (21a) can be expressed as a union of an unprotected header and a protected header.

[0115] Additionally, JWS serialization can be configured to generate a message (60) in simple JWS JSON or simply simple JSON with a protected header (21a), a payload (22a), and a signature (23a) thereon, as shown in FIG. 6. The JOSE header (21a) can be expressed as a union of the unprotected header and the protected header.

[0116] Meanwhile, JWE JSON serialization represents JWE as a JSON object, allowing multiple parties to encrypt the same content. However, this method is not currently optimized for compression or URL (Unified Resource Location) security.

[0117] In the JWS and JWE serialization methods described above, Compact and JSON have the following configurations of size, header protection, and number of signatures, as shown in Table 1 below, but do not support the Open Charge Point Protocol (OCPP). Furthermore, Simple JSON supports OCPP but does not use a protected header, and since a single signer signs a single key-value pair with a single signature for Compact, it cannot be applied when multiple signatures are required.

[0118] MethodsSizeHeader protection# ofsignaturesOCPPCompactSmallEntirelyOneXJSONLargePartlyManyXJSON flattenedMediumPartlyOneYes

[0119] Accordingly, this embodiment provides an end-to-end security method that can be used for OCPP, etc., using JWE Compact or JWE JSON. The end-to-end security method of this embodiment can be used for end-to-end security in the management protocol of electric vehicle charging and discharging infrastructure. Hereinafter, the Open Charge Point Protocol (OCPP) message (hereinafter simply referred to as "OCPP-J message" or "OCPP message") described above will be described.

[0120] Fig. 7 is an exemplary diagram illustrating the format of a CALL, which is a request message among OCPP-J messages that can be employed in the terminal security method of the present embodiment. Fig. 8 is an exemplary diagram illustrating the format of a CALLRESULT, which is a response message among OCPP-J messages. Fig. 9 is an exemplary diagram illustrating the format of a CALLERROR, which is a response message among OCPP-J messages.

[0121] OCPP-J messages have versions such as OCPP 1.6J or OCPP 2.1J, and include message types of CALL (request), CALLRESULT (response), and CALLERROR (response).

[0122] CALL(request) is a request message that represents a call and is composed of a message type identifier (MessageTypeId), a message identifier (MessageId), an action (Action), and a payload (Payload). For example, as shown in Fig. 7, in CALL(request), the action may include a boot notification (Boot Notification), and the payload may include a reason (reason), such as powerup, and charging station (CS) information. The charging station information may include a charger model (model), such as a single socket charger, and a vendor name (vendorName), such as "VendorX."

[0123] CALLRESULT(response) is a response message that represents the call result and may be composed of a message type identifier (MessageTypeId), a message identifier (MessageId), and a payload. For example, as shown in Fig. 8, the payload in CALLRESULT(response) may include the current time (currentTime), an interval such as 300 seconds, and a status such as "Accepted."

[0124] CALLERROR(response) is a response message that indicates a call error and may be composed of a message type identifier (MessageTypeId), a message identifier (MessageId), an error code (ErrorCode), an error description (ErrorDescription), and an error detail (ErrorDetails). For example, as shown in Fig. 9, in CALLERROR(response), the error code may be expressed as "NotSupported" and the error description may be expressed as "Set display message request not implemented." In addition, the content of the error detail may be omitted and expressed as a means ({}) indicating an empty state.

[0125] In the CALL(request), CALLRESULT(response), and CALLERROR(response) described above, the message type identifiers may be set in the order described, for example, 2, 3, and 4, respectively, and the message identifiers may be set in the order described, for example, "19223201", "19223201", and "162376037", respectively. In addition, the message types of CALL(request), CALLRESULT(response), and CALLERROR(response) may be simply expressed as CALL, CALLRESULT, and CALLERROR, respectively.

[0126] The aforementioned OCPP signed message may have additional elements for end-to-end security between the charging station (CS), the CS management system (CSMS), the local controller, and third parties.

[0127] That is, an OCPP signed message may include a signed action (SignedAction) and a signed payload (SignedPayload), which sign only a portion of a message composed of a message type identifier (MessageTypeId), a message identifier (MessageId), an action (Action), and a payload (Payload). Here, the signed action (SignedAction) is " <action>-Signed" format, and the signed payload (SignedPayload) can be expressed as a simple JWS JSON serialization with a protected header. In addition, the protected header can include an action recorded in the OCPP action (OCPPAction) field, a message type identifier (MessageTypeId) recorded in the OCPP message type identifier field, and a certificate (SHA256-of-Signing-Certificate) cryptographically signed with SHA (Secure Hash Algorithm) 256, etc.

[0128] Processing of OCPP signed messages can be configured to check if signing is optional and, if signing is supported, to reply with a signed message.

[0129] OCPP signed messages can use encryption algorithms such as ES256, RS256, and RS384. ES256 represents ECDSA (elliptic curve digital signature algorithm) using P-256 and SHA-256, RS256 represents RSASSA-PKCS1-v1_5 using SHA-256, and RS384 represents RSASSA-PKCS1-v1_5 using SHA-384.

[0130] Table 2 below shows the encryption algorithms available for OCPP signed messages.

[0131] "alg" Parm ValueDigital Signature or MAC algorithmHS256HMAC using SHA-256HS384HMAC using SHA-384HS512HMAC using SHA-512RS256RSASSA-PKCS1-v1_5 using SHA-256RS384RSASSA-PKCS1-v1_5 using SHA-384RS512RSASSA-PKCS1-v1_5 using SHA-512ES256ECDSA using P-256 and SHA-256ES384ECDSA using P-384 and SHA-384ES512ECDSA using P-512 and SHA-512PS256RSASSA-PSS using SHA-256 and MGF1 with SHA-256PS384RSASSA-PSS using SHA-384 and MGF1 with SHA-384PS512RSASSA-PSS using SHA-512 and MGF1 with SHA-512noneNo digital signature or MAC performed

[0132] In Table 2, the parameter value (Parm Value) of the algorithm ("alg") field in an OCPP signed message can indicate a specific digital signature algorithm or message authentication code (MAC) algorithm. That is, in the parameter value, HSxxx indicates Hash-based Message Authentication Code (HMAC) using SHA-xxx, RSxxx indicates RSASSA-PKCS1-v1_5 using SHA-xxx, ESxxx indicates elliptic curve digital signature algorithm (ECDSA) using P-xxx and SHA-xxx, and PSxxx indicates RSASSA-PSS using SHA-xxx and MGF1 with SHA-xxx, respectively. Here, RSASSA-PKCS1 indicates RSA Signature Scheme with Appendix Public - Key Cryptography Standards #1. RSASSA-PKCS1 includes RSASSA-PKCS1-v1_5, which represents version (v) 1.5. RSASSA-PSS stands for RSASSA-Signature and Encryption Schemes. A parameter value of none indicates that no digital signature or message authentication code (MAC) is performed. The aforementioned OCPP-signed message is illustrated in FIGS. 10 to 13 as follows.

[0133] Figure 10 is an example of an original message for explaining an OCPP signed message. Figure 11 is an example of a signed message with a protected header in the original message of Figure 10. Figure 12 is an example of an original message with an unprotected header in the original message of Figure 10. And Figure 13 is an example for explaining a signed payload of the original message with an unprotected header in Figure 12.

[0134] As shown in Fig. 10, when the original message (10) has a composition of a message type identifier, a message identifier, an action, and a payload, the OCPP signed message has a composition of a message type identifier, a message identifier, a signed action, and a signed payload.

[0135] For example, as shown in FIG. 11, the signed message (11) can be configured to express the OCPP message type identifier (OCPPMessageTypeId) as "2", the signed action OCPP action (OCPPAction) as "BootNotification", and the signed payload ("x5t#S256") as a hash value of a signed certificate encrypted with an EC256 encryption algorithm according to a parameter value of an encryption algorithm ("alg"). The hash value can be expressed as, for example, "YmFzZTY0dXJsKCBTSEEyNTYoPFNpZ25pbmctQ2VydGlmaW".

[0136] Additionally, if the original message has an unprotected header, the original message can be converted into a signed message (12) as shown in FIG. 12. That is, the signed message (12) can be generated to have elements of a message type identifier (MessageTypeId), a message identifier (MessageId), a signed action, and a signed payload (SignedPayload).

[0137] In this embodiment, the signed action is exemplified by a signed boot notification (“BootNotification-Signed”), but the configuration of the present invention is not limited to this configuration.

[0138] The signed payload (SignedPayload, 13) may include a payload, a header, a protected value, and a signature, as illustrated in FIG. 13. Here, the header may be expressed to include information such as the type ("typ") being JWT (JSON web token) and parameter values ​​for the encryption algorithm EC256 (e.g., "x5t#S256").

[0139] As mentioned above, OCPP messages can only sign the entire message, not just parts of it. Furthermore, the message identifier is not signed. This means that if a third party signs a message as a signer, they may not know the message ID. Furthermore, OCPP messages only support {128,192}-bit security and do not allow multi-signatures. Multi-signatures indicate support for multiple algorithms, multiple keys, or multiple signers. Furthermore, end-to-end encryption is not supported.

[0140] Therefore, the existing OCPP cannot be directly applied to end-to-end security in areas such as management protocols for electric vehicle charging and discharging infrastructure. Specifically, the existing OCPP cannot be directly applied in situations such as when partial message signing is desired, when selecting which signing algorithm to support based on security level, when multiple signatures are required to achieve a secure environment such as end-to-end security and interoperability, or when selective encryption of all or part of a message is supported.

[0141] Meanwhile, the IEC 63110 standard specifies the use of extensible messaging and presence protocol (XMPP) messages to transmit messages between primary actors. XMPP is an application profile of extensible markup language (XML) that enables the exchange of structured but extensible data between multiple actors in near real time.

[0142] XMPP is based on a distributed architecture of XMPP servers that act as message brokers, allowing clients to exchange messages containing payloads even when connected to different XMPP servers. End-to-end message routing relies on communication between servers within the XMPP network. XMPP provides session layer functionality and shields clients from the actual transport layer.

[0143] The IEC 63110-2 standard uses XMPP as a communication layer, which was introduced to clearly distinguish the services provided by XMPP from lower layers of the protocol stack. XMPP itself uses a TLS (Transmission Layer Security) connection over TCP / IP (Transmission Control Protocol / Internet Protocol) as the transport layer.

[0144] The XMPP message described above consists of a JSON header and a JSON body. At this time, there is no need to support signing the entire JSON message. For example, since the JSON header is protected by TLS and is not part of the end-to-end communication, there is no need to sign the JSON header by default.

[0145] In this way, the end-to-end security device of the present embodiment can be configured to basically sign the entire JSON body or a portion thereof. Signing the entire body or a portion thereof can be used when transmitting a message from a third party to the CS / CSMS, or when transmitting a message from the CS / CSMS to a third party. Here, the signer, including the CS / CSMS / RM or a third party, may have knowledge of the entire contents of the body.

[0146] Hereinafter, a configuration for implementing an end-to-end security method by performing partial signing on an XMPP message will be described in more detail with reference to FIGS. 14 to 18.

[0147] Fig. 14 is an example for explaining the signature range of an IEC 63110 message that can be employed in the terminal security method of the present embodiment. Fig. 15 is an example for explaining the partial signature range of an IEC 63110 message. Fig. 16 is an example for explaining the signature range excluded from an IEC 63110 message. Fig. 17 is an example for explaining the signed key binding problem of an IEC 63110 message that can be employed in the terminal security method of the present embodiment and hacking that uses this problem. And Fig. 18 is an example for explaining the key-path binding problem of an IEC 63110 message that can be employed in the terminal security method of the present embodiment and hacking that uses this problem.

[0148] Referring to FIG. 14, the end-to-end security device can be configured to sign the entire body (141) as a form of partial signature of a JSON message (14) belonging to an XMPP message.

[0149] Additionally, the end-to-end security device may be configured to selectively sign some elements in the body of a JSON message (14), as illustrated in FIG. 15.

[0150] For example, the end-point security device can be configured to sign a key-path (kpath) in case 1. In addition, the end-point security device can be configured to sign a time range in case 2. The time range can include start, end, and unit as subfields, and the unit can be set to minutes. In addition, the end-point security device can be configured to sign the reason for a trigger in case 3. The trigger field can have an "origin" subfield that designates a specific actor, such as a CSMS, and a "reason" subfield that stores a specific value, such as a preset code ("123", "124").

[0151] The terminal security device of the present embodiment may be configured to perform partial signing for any one or a combination of Cases 1 to 3 described above.

[0152] Meanwhile, the end-to-end security device can be configured to exclude the "range" subfield, which is a due subfield, and the "reason" subfield, which is a trigger subfield, from the signature scope of a partial signature. This exclusion of the signature scope is because signing can become complicated, as multiple key-value pairs must be signed simultaneously. Therefore, the end-to-end security device can be configured to combine multiple key-value pairs into a single key pair or sign them individually, if necessary.

[0153] On the other hand, in the case of other forms of partial signatures, signing multiple key-value pairs at once can become complex. Therefore, the end-to-end security device can be configured to sign multiple key-value pairs by combining them into a single key pair, or to sign multiple key-value pairs individually, as shown in Figure 16, if necessary. In this case, the signature can be replaced with at least one period.

[0154] Alternatively, in another form of partial signature scope, the end-to-end security device can be configured to sign JSON objects if binding a signature to the object is difficult.

[0155] This partial signature can essentially refer to supporting signing for a single key-value pair. In this case, the signer, including the CS / CSMS / RM or a third party, may know the key-value pair when signing. Accordingly, the end-to-end security device of the present embodiment can be configured to use a method of adding a signature to a JSON message and binding it to the payload. The signed range can be added as a JSON Web Token (JWT). In this way, the end-to-end protection method of the present embodiment can be configured to prevent signature movement problems by signing the original key "range" of the protected header. Furthermore, this method can also be applied to OCPP messages.

[0156] Meanwhile, the aforementioned partial signature, as shown in Fig. 17, has a signed key binding problem, i.e., there is no binding between the JWS signature and the signed key, so the signed key (e.g., "reason-Singed": <jws>) to an expired signature ("expire-Singed") and insert an arbitrary reason value (e.g., "789") into the reason field, leaving the endpoint vulnerable to external attacks such as hacking. To address this security vulnerability, the endpoint security device can be configured to add the signed key to the JOSE protected header.

[0157] Additionally, the aforementioned partial signature may suffer from a key-path binding problem, as illustrated in FIG. 18, i.e., a lack of binding between the locations of multiple signed keys in a JWS-signed message, making it vulnerable to external attacks that alter their locations. To address this key-path binding problem, the end-point security device can be configured to add the key path of the signed key to the JOSE-protected header.

[0158] In this way, in this embodiment, when performing JSON Web Signature on a JSON message, it can be designed to use JWS compact serialization or JWS JSON serialization. This configuration can prevent key-spoofing attacks due to the aforementioned signed key binding problem or key-path spoofing attacks due to the key-path binding problem.

[0159] Below we describe in more detail the JSON Web Signature process in messages according to the IEC 63110 standard.

[0160] First, for example, in the case of JWS Compact, the endpoint security device can be configured to sign key-value pairs, with the header as the key and the payload as the value, and, if necessary, sign the key path. It can also be configured to assume a digital signature using a digital certificate. Furthermore, it can be configured to sign the entire JOSE header to ensure that no headers are unprotected.

[0161] The end-to-end security device can use ES256, ES512, etc. as a signing algorithm. Here, ES256 refers to an encryption algorithm that uses an elliptic curve such as sep256r1, SHA256, and 128-bit security, and ES512 refers to an encryption algorithm that uses an elliptic curve such as sep512r1, SHA512, and 256-bit security.

[0162] To explain more specifically how to sign a JWS compact message, the endpoint security device first removes the payload corresponding to the key in the key-value pair to sign the payload. Then, it adds the JWS token as the signed key.

[0163] JWS tokens are "B64( <jose-header> ).B64( <payload> ).B64( <signature>) can be created.

[0164] The header included in the aforementioned JWS token ( <jose-header>) format is as shown in [Example 1] below.

[0165] [Example 1]

[0166]

[0167] Additionally, the signature included in the JWS token ( <signature>) is "SIG(B64( <jose-header> ).B64( <payload>))) can have a format like this.

[0168] Additionally, in the header included in the JWS token (see Example 1), the key path of the signed key path ("signed-key-path") <key-path>) can be created as in the following [Example 2].

[0169] [Example 2]

[0170]

[0171] In the above [Example 2], the key path ( <key-path>) indicates the exact location of the signed key-value pair within the message.

[0172] The signed key path within the message (19) can be defined as {"body":{"trigger": {"reason":{}}}} as illustrated in FIG. 19.

[0173] Next, let's explain how to sign a JWS JSON. The endpoint security device removes the key from the payload within the message and sends the signed key ( <key>-signed) can be added in the form of a JWS token.

[0174] A JWS token can have a payload and a signature. The signature can have a protected header and a signature. The header ( <jose-header>) may have the same format as the above-mentioned [Example 1]. And, the signature ( <signature>) is "SIG(B64( <jose-header> ).B64( <payload>))) can have a format like this.

[0175] An example of the JWS token mentioned above is as follows [Example 3].

[0176] [Example 3]

[0177]

[0178] In this way, end-to-end security can be implemented in JWS JSON messages using a JWS token signed as a pair of protected headers and signatures.

[0179] The following describes JWE encryption, which can be used for end-to-end security in management protocols for electric vehicle charging and discharging infrastructure.

[0180] FIG. 20a is a diagram illustrating JWE (JSON Web Encryption) of an IEC 63110 message that can be employed in the terminal security method of the present embodiment. FIG. 20b is an example illustrating an application example of the JWE of the IEC 63110 message of FIG. 20a.

[0181] In this embodiment, the end-to-end security device can utilize JSON compact encryption for JWE encryption. JWE compact encryption excludes encryption with multiple keys for multiple recipients. For JWE encryption, the end-to-end security device can be configured to replace the key and payload pair within a message with an encrypted key and JWE.

[0182] That is, the end-to-end security device, within the JWE message, " <key> : <payload>"instead of elements" <key>-Encypt: <jwe>" elements can be added. The added JWE elements can have a format like the following [Example 4].

[0183] [Example 4]

[0184]

[0185] As can be seen from [Example 4] above, the key used for encryption is <jwe>is the header (<jose header> ), password-key encryption (Encrypt( <encryption-key>)), initial vector (<initialization vector> ), payload encryption (Encrypt( <payload>)), and authentication tags(<authentication tag> ) can have a serialized form with the elements separated by periods (.). Here, the elements of the password-key encryption (B64(Encrypt( <encryption-key>))) can be used in key wrapping methods.

[0186] Used for key encryption <jwe>The header of (<jose header> ) is as shown in the following [Example 5].

[0187] [Example 5]

[0188]

[0189] As an example of application of JWE encryption, the end-to-end security device can perform encryption on a specific element ("contracID":"123") in the original JWE message in the format shown in [Example 6] below, as shown in FIG. 20a.

[0190] [Example 6]

[0191]

[0192] That is, JWE encryption is performed by adding the "contracID":"123" element included in the original message (20a) to the "contractID-Enc": element in the encrypted message (20b), as illustrated in FIG. 20b. <jwe>It may include a process of being converted into a form and added.

[0193] FIG. 21 and FIG. 22 are examples for explaining a combination of JSON web signature and JSON web encryption of an IEC 63110 message that can be employed in the terminal security method of the present embodiment.

[0194] Referring to Figure 21, the terminal security device defines a key-value pair " within a JSON message, which is a specific element. <key> : <val>"(21a) Among the values ​​( <val>) is signed with JSON Web Signature (JWS) (S211), and the signed JWS value ( <key>-Sig:<JWS(val)> )(21b) can be encrypted with JSON Web Encryption (JWE) (S212). According to this process, the end-to-end security device can encrypt the encrypted signed JWS value ( <key>-Sig-Enc: <JWE(<JWS(val)> ))(21c) elements can be created. The created elements can be inserted into messages used in management protocols for electric vehicle charging and discharging infrastructure, etc.

[0195] In addition, as an example of the application process for the combination of JSON Web Signature and JSON Web Encryption, as shown in Fig. 22, the end-to-end security device, when the access identifier (contactID, contID, 22a) has the value of "1234", <val>) is signed with JWS (S221), and the signed JWS value (contID-Sig: <s-hdr> . <val> . <sig>)(22b) can be encrypted with JSON Web Encryption (JWE) (S223). According to this process, the end-to-end security device encrypts the signed JWS value (contID-Sig-Enc: <e-hdr> .. <iv> . <ctext> . <tag>)(22c) elements can be created.

[0196] Additionally, the end-to-end security device must encrypt the signed JWS value (contID-Sig-Enc: <e-hdr> .. <iv> . <ctext> . <tag>)(22c) Decrypt the JWE element (S225) and decrypt the signed JWS value (contID-Sig: <s-hdr> . <val> . <sig>)(22b) can remove the JWS signature (S227). By this process, the end-to-end security device can obtain the access identifier of the original JWE decrypted and JWS-signature removed.

[0197] As such, the end-to-end security method in the management protocol for the electric vehicle charging and discharging infrastructure according to this embodiment may consist of JSON Web Signature, JSON Web Encryption, or a combination thereof. In particular, by utilizing double encryption, which re-encrypts signed elements, confidentiality and integrity can be effectively secured simultaneously in billing processing messages using IEC 63110 messages.

[0198] FIG. 23 is a schematic block diagram illustrating another form of a communication architecture that can employ the terminal security method according to the present embodiment.

[0199] Referring to Figure 23, the communication architecture includes a home network (100a) functioning as a smart grid connection point (SGCP), a CSO backend (300), and a secondary actor (500). The home network (100a) may correspond to a local area network or an on-premise network of a specific region.

[0200] A home network (100a) may include a charging station (CS, 111) and a meter (meter, 190). In the home network (100a), the CS (111) may include one or more electric vehicle charging equipment (EVSE, 112), one or more charging station controllers (CSC, 114) managing one or more EVSEs (112), and a control interface (control interface, 116). The CSC (114) may be a subsystem of the CS (110). The EVSE (112) may include an EVSE controller (1121), an EVSE interface (1123), and a plug (1125).

[0201] Additionally, in the home network (100a), the CSC (114) can exchange messages with the cloud CSMS (310) according to a protocol for managing the electric vehicle charging and discharging infrastructure (hereinafter, simply referred to as the "management protocol"). Messages according to the management protocol may include JSON messages according to the IEC 63110 standard.

[0202] The CSO backend (300) may include a cloud CSMS (310). Furthermore, the secondary actor (500) may include a DSO (510), an FO (520), an EP (530), an EMSP (540), an EVU (550), a CSO (560), etc. These cloud CSMS (310) and secondary actors (500) may be substantially identical to the corresponding components described above with reference to FIG. 1.

[0203] The end-to-end (E2E) security method of the present embodiment may be configured to sign a message or a portion thereof for E2E authenticity, encrypt a message or a portion thereof for E2E confidentiality, or sign a message or a portion thereof and encrypt the signed message or a portion thereof for E2E authenticity and confidentiality in a message between a CSC (114) and a cloud CSMS (310). The signature may be JSON Web Signature (JWS), and the encryption may be JSON Web Encryption (JWE).

[0204] According to the configuration of this end-to-end security method, the security using TLS (Transport Layer Security) in the protocol for managing the existing electric vehicle charging and discharging infrastructure can solve the problem of not being able to guarantee end-to-end security related to third parties, and thereby prevent losses due to hacking during billing processing due to some security issues of TLS.

[0205] FIG. 24 is a schematic block diagram illustrating another form of a communication architecture that can employ the terminal security method according to the present embodiment.

[0206] Referring to FIG. 24, the communication architecture includes a home network (100b) that functions as a smart grid connection point (SGCP), a CSO (560), and a secondary actor (500). The home network (100b) may correspond to a local area network or an on-premise network in a specific region.

[0207] The home network (100b) may be equipped with a first charging station (110a), a second charging station (110b), a local CSMS (130a), a resource manager (RM, 150), and a customer energy manager (CEM, 170). In addition, the home network (100b) may be equipped with power-related devices (195) such as loads, an electricity production system, and an energy storage device.

[0208] In a home network (100b), a first CS (110a) may include one or more first electric vehicle charging equipment (EVSE) 112a and one or more first CS controllers (CSCs, 114a) that manage the one or more first EVSEs (112a). The first CSC (114a) may be a subsystem of the first CS (110a). In addition, a second CS (110b) may include one or more second EVSEs (112b) and one or more second CSCs (114b) that manage the one or more second EVSEs (112b). The second CSC (114b) may be a subsystem of the second CS (110b). In addition, each of the first EVSE (112a) and the second EVSE (112b) may include an EVSE controller, an EVSE interface, a plug, and the like.

[0209] In the home network (100a), the local CSMS (130a) may be connected to the first CSC (114a) and the second CSC (114b) via at least one of wired, wireless, and satellite communication methods. Furthermore, the local CSMS (130) may be connected to the RM (150) and the cloud CSMS (310), respectively. Here, the cloud CSMS (310) may be included in the CSO (560). Furthermore, the RM (150) may be connected to the CEM (170), and the CEM (170) may be connected to the secondary actor (500) and the on-site power-related device (195). The secondary actor (500) may be connected to a local CSMS (130a) via a CSO (560) and may include a DSO (510), FO (520), EP (530), EMSP (540), EVU (550), etc. Each component of the secondary actor (500) may be substantially identical to the corresponding component described above with reference to FIG. 1.

[0210] In this way, the local CSMS (130a) can exchange messages with the first CSC (114a), the second CSC (114b), and the cloud CSMS (310) according to a protocol for managing the electric vehicle charging and discharging infrastructure. These messages may include JSON messages according to the IEC 63110 standard.

[0211] The end-to-end (E2E) security method of the present embodiment may be configured to sign a message or a portion thereof for E2E authenticity, encrypt a message or a portion thereof for E2E confidentiality, or sign a message or a portion thereof and encrypt the signed message or a portion thereof for E2E authenticity and confidentiality in a message between a local CSMS (130a) and a first CSC (114a), a message between a local CSMS (130a) and a second CSC (114b), a message between a local CSMS (130a) and a cloud CSMS (310), and a message between a local CSMS (130a) and a resource manager (RM, 150). The signature may be JSON Web Signature (JWS), and the encryption may be JSON Web Encryption (JWE).

[0212] According to the configuration of this end-to-end security method, the security using TLS (Transport Layer Security) in the protocol for managing the existing electric vehicle charging and discharging infrastructure can solve the problem of not being able to guarantee end-to-end security related to third parties, and thereby prevent losses due to hacking during billing processing due to some security issues of TLS.

[0213] FIG. 25 is a schematic block diagram of an end-to-end security device applicable to a management protocol of an electric vehicle charging / discharging infrastructure according to another embodiment of the present disclosure.

[0214] Referring to FIG. 25, the terminal security device (1000) may include at least one processor (1010) and memory (1020). In addition, the terminal security device (1000) may further include at least one of a transceiver (1030), an input interface device (1040), an output interface device (1050), and a storage device (1060). The components of the terminal security device (1000) may be connected to each other via a bus (1700) or a dedicated interface.

[0215] The processor (1010) can execute program instructions stored in the memory (1020) and / or the storage device (1060). The processor (1010) can be implemented by at least one central processing unit (CPU) or graphics processing unit (GPU), or can be implemented by any other processor capable of performing the method according to the present invention.

[0216] The memory (1020) may include non-volatile memory such as ROM (Read Only Memory) and volatile memory such as RAM (Random Access Memory). The memory (1020) may load program instructions stored in the storage device (1060) and provide them to the processor (1010).

[0217] The storage device (1060) is a recording medium suitable for storing program commands and data, and may include, for example, magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs (Compact Disk Read Only Memory) and DVDs (Digital Video Disks), magnetic-optical media such as floptical disks, and semiconductor memory such as flash memory or EPROMs (Erasable Programmable ROMs) or SSDs manufactured based on these.

[0218] In this embodiment, some elements within the electric vehicle charging and discharging infrastructure may communicate with each other end-to-end via wired, wireless, satellite, or a combination thereof. Wireless communication may include wireless local area network (WLAN)-based communication, such as Wi-Fi according to the IEEE 802.11 standard. Furthermore, wireless communication may include peer-to-peer signaling (P2PS) communication using low frequency (LF) signals and low power excitation (LPE) signals. Furthermore, in addition to the aforementioned communication methods, wireless communication may further include or be used as a substitute for at least one of various communication methods, such as Bluetooth, Zigbee, cellular, and satellite.

[0219] Additionally, the end devices can exchange messages based on extensible markup language (XML) or efficient XML interchange (EXI)-based data representation formats for mutual communication to carry out wireless power transfer (WPT) or charging processes. During the electric vehicle charging and discharging process, an end-to-end secure channel can be established to verify the identity of the electric vehicle or user and protect communications from unauthorized access. The secure channel can use transport layer security (TLS) as a basic specification. The TLS session can be established according to the TLS session establishment procedure after the Internet Protocol (IP)-based communication connection establishment procedure.

[0220] Additionally, in the aforementioned embodiments, electric vehicle charging and discharging may include rapid charging, slow charging, or a combination thereof. Slow charging may be used when the amount of power supplied per unit time is relatively less than rapid charging.

[0221] Meanwhile, although the above-described embodiment has focused on end-to-end security in messages between a CSC and a local CSMS, messages between a CSC and a cloud CSMS, messages between a local CSMS and a cloud CSMS, and messages between a local CSMS and an RM, the present invention is not limited to such configurations. The end-to-end security of the present embodiment can be extended to messages between an EV and an EVSE, between an EVSE and a CS / CSC, between a CS / CSC and a CSO / CMSM, between a CSO / CMSM and a CSP / MO / EP / CPO, and between a CSP / MO / EP / CPO and a CH based on the security configuration in the above-described messages. For example, the end-to-end security of the present embodiment may be applied to all or at least a portion of the channels that are connected in the order described in EV, EVSE, CSC, CSMS / CSO, CSP / MO / EP / CPO and CH or in the reverse order thereof, and when other secondary actors, such as FOs not described herein, participate, the end-to-end security method of the present invention may also be applied to the communication channels in which these secondary actors are involved.

[0222] The method described in the above-described embodiments can be implemented as a computer-readable program or code on a computer-readable recording medium. A computer-readable recording medium includes any type of recording device that stores data readable by a computer system. Furthermore, a computer-readable recording medium can be distributed across network-connected computer systems, allowing the computer-readable program or code to be stored and executed in a distributed manner.

[0223] A computer-readable recording medium may include hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, or flash memory. The program instructions may include not only machine language codes produced by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc.

[0224] While some aspects of the present invention have been described in the context of a device, they may also represent descriptions of corresponding methods. That is, a block or device may correspond to a method step or a feature of a method step. Similarly, aspects described in the context of a method may also be described as a corresponding block or module or a feature of a corresponding device. Some or all of the method steps may be performed by (or using) a hardware device, such as, for example, a microprocessor, a programmable computer, or an electronic circuit. In some embodiments, one or more of the most important method steps may be performed by such a device.

[0225] In embodiments, a programmable logic device, for example, a field programmable gate array, may be used to perform some or all of the functions of the methods described herein. The field programmable gate array may operate in conjunction with a microprocessor to perform one of the methods described herein.

[0226] Although the present invention has been described above with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various modifications and changes may be made to the present invention without departing from the spirit and scope of the present invention as set forth in the claims below.< / sig> < / val> < / s-hdr> < / tag> < / ctext> < / iv> < / e-hdr> < / tag> < / ctext> < / iv> < / e-hdr> < / sig> < / val> < / s-hdr> < / val> < / key> < / key> < / val> < / val> < / key> < / jwe> < / jwe> < / payload> < / jwe> < / jwe> < / key> < / payload> < / key> < / payload> < / jose-header> < / signature> < / key> < / payload> < / jose-header> < / signature> < / signature> < / payload> < / jose-header> < / jws> < / action> < / signature> < / payload> < / jose-header> < / data>

Claims

1. A method for end-to-end security by the first node of the communication architecture in a protocol for managing electric vehicle charging and discharging infrastructure, A step of signing at least one key-value pair among the elements in the body of a message to be transmitted to a second node of the above communication architecture; and An end-to-end security method comprising the step of transmitting a message comprising at least one signed key-value pair to the second node.

2. In claim 1, An end-to-end security method, wherein one of the at least one key-value pair comprises a key as a header of the message and a value as a payload of the message.

3. In claim 2, An end-to-end security method, further comprising the step of signing a key path for at least one of the signed key-value pairs.

4. In claim 3, An end-to-end security method, wherein, in the step of signing the key path, the key path value of the signed key path includes a path to a specific element of the body of the message in the path to the specific element of the body, and a path to a specific sub-element of the specific element in the path to the specific element of the body.

5. In claim 3, An end-to-end security method, wherein at least one of the steps of signing at least one key-value pair and signing the key path is performed with a digital certificate.

6. In claim 2, An end-to-end security method further comprising the step of adding a signed key to a protected header of said message.

7. In claim 6, An end-to-end security method, wherein the step of signing at least one key-value pair comprises binding the signed at least one key-value pair with a payload of the message.

8. In claim 7, An end-to-end security method, wherein the step of signing at least one key-value pair utilizes a JavaScript Object Notation (JSON) web token.

9. In claim 2, An end-to-end security method further comprising the step of adding a signed key path to a protected header of said message.

10. In claim 1, An end-to-end security method further comprising the step of encrypting at least one of the signed key-value pairs using JavaScript Object Notation (JSON) web encryption.

11. In claim 1, The first node or the second node, A charging station controller (CSC) that manages at least one electric vehicle supply equipment (EVSE); A local charging station management system (CSMS) that transmits or receives the above CSC and the above message; A cloud CSMS that exchanges messages with the above CSC or the above local CSMS, and An end-to-end security method comprising one of the CSC and the local CSMS and a resource manager (RM) exchanging messages.

12. As an end-to-end security device that performs end-to-end security of a communication architecture in a protocol for managing an electric vehicle charging and discharging infrastructure, At least one command for end-to-end security; and A processor performing said end-to-end security by at least one command; , and the processor comprises: A step of signing at least one key-value pair among the elements in the body of a message to be transmitted to a second node of the above communication architecture; and An end-to-end security device configured to perform the step of transmitting a message including at least one signed key-value pair to the second node.

13. In claim 12, An end-to-end security device, wherein one of the at least one key-value pair comprises a key as a header of the message and a value as a payload of the message.

14. In claim 13, An end-to-end security device, wherein the processor is further configured to perform the step of signing a key path for at least one of the signed key-value pairs.

15. In claim 14, An end-to-end security device, wherein, in the step of signing the key path, the key path value of the signed key path includes a path to a specific element of the body of the message in the path to the specific element of the body, and a path to a specific sub-element of the specific element in the path to the specific element of the body.

16. In claim 14, An end-to-end security device, wherein the processor is configured to perform at least one of the steps of signing the at least one key-value pair and signing the key path using a digital certificate.

17. In claim 13, An end-to-end security device, wherein the processor is configured to sign the entire header of the message or a range of specific elements of the protected header of the message in the step of signing the at least one key-value pair.

18. In claim 17, An end-to-end security device, wherein the processor is configured to bind the signed at least one key-value pair with the payload of the message in the step of signing the at least one key-value pair.

19. In claim 18, An end-to-end security device, wherein the processor is configured to perform a step of signing the at least one key-value pair using a JavaScript Object Notation (JSON) web token.

20. In claim 12, An end-to-end security device, wherein the processor is further configured to perform the step of encrypting the at least one signed key-value pair with JavaScript Object Notation (JSON) web encryption.

Citation Information

Patent Citations

  • Secure client authentication and network service authorization

    JP5755805B2

  • The duster

    KR102214955B1

  • Apparatus and method for integrated encryption key management for train control system

    KR102499018B1

  • Two way security communication apparatus for electric vehicle

    KR102501522B1

  • Tumor memory killer cell and method for producing the same

    KR102651627B1