Method for designing an architecture of an electronic system, method for performing functions in an electronic system and associated electronic system
Patent Information
- Application Number
- EP2021899328
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2024-10-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing micro-service architectures for electronic systems often fail to adequately address security concerns during the design phase, leading to the need for costly security measures post-deployment, and do not effectively balance security with complexity and performance.
A method for designing electronic system architectures that selects and rearranges micro-services based on security metrics, including confidentiality, integrity, and availability levels, using machine learning algorithms to optimize micro-service combinations and potentially adding gateways or duplicating services to meet target security levels while managing complexity.
This approach ensures the electronic system conforms to a desired security level without additional costly measures, optimizing security and complexity, thereby enhancing reliability and performance.
Smart Images

Figure 1.1
Abstract
Description
[0001] Method for designing an architecture of an electronic system, method for performing functions in an electronic system and associated electronic system
[0002] Technical field of the invention
[0003] The invention relates to the field of micro-service architectures for electronic systems.
[0004] More particularly, the invention relates to a method for designing an architecture of an electronic system, a method for performing functions in an electronic system and an associated electronic system.
[0005] Background information
[0006] It has been proposed to implement functions that are to be carried out in an electronic system using micro-services, each such micro-service performing a limited number of functions, with limited interactions between the various micro-services.
[0007] Decomposition of a service into micro-services generally seeks to improve nonfunctional requirements, such as performance, reliability, maintainability, and complexity.
[0008] For instance, the article “Optimising Microservice-based Reliable NFV Management & Orchestration Architectures" , by T. Soenen, W. Tavernier, D. Colle, and M. Pickavet, in 2017 9th International Workshop on Resilient Networks Design and Modeling (RNDM), 2017, pp. 1-7 considers a microservice-based architecture for a MANO framework (MANO standing for “Management and Orchestration" and being used in the frame of Network Function Virtualization).
[0009] This article seeks to quantitatively characterise the trade-offs between the degree of reliability and the associated cost in terms of bandwidth and computing power.
[0010] Summary of the invention
[0011] In this context, the invention provides a method for designing an architecture of an electronic system providing a plurality of functions, wherein said method comprises a step of selecting a combination of micro-services jointly providing the plurality of functions based on at least one security metric associated with said combination of micro-services.
[0012] Security is hence taken into account when defining the combination of microservices that shall form the architecture of the electronic system. The obtained electronic system can thus conform to a sought security level thanks to its particular design, which avoids the need for adding costly security measures to compensate for security issues that would be detected after the electronic system is designed.
[0013] Other optional features of the proposed method are the following:
[0014] - steps of rearranging an initial combination of micro-services into an updated combination of micro-services are performed until at least one security metric associated with the updated combination of micro-services conforms to a target security level;
[0015] - for at least one step of rearranging an initial combination of micro-services into an updated combination of micro-services, the updated combination of micro-services includes a chain of micro-services including an interface micro-service adapted to provide connectivity to electronic devices external to said electronic system, and a security micro-service located opposite the interface micro-service in the chain of micro-services;
[0016] - at least one step of rearranging an initial combination of micro-services into an updated combination of micro-services includes adding a gateway connected to a plurality of security micro-services defined in the initial combination of micro-services;
[0017] - at least one step of rearranging an initial combination of micro-services into an updated combination of micro-services includes duplicating at least one micro-service defined in the initial combination of micro-services;
[0018] - the method comprises execution of a machine learning algorithm receiving as an input a description of the service and producing data defining said plurality of functions;
[0019] - the combination of micro-services jointly providing the plurality of functions is selected based on said at least one security metric associated with said combination of micro-services and based on at least a complexity metric associated with said combination of micro-services;
[0020] - the security metric is representative of a confidentiality level associated with at least part of the combination of micro-services, or an integrity level associated with at least part of the combination of micro-services, or an availability level associated with at least part of the combination of micro-services;
[0021] - the provided functions participate in operating a telecommunications network.
[0022] The proposed method may also comprise the following steps: - constructing a plurality of candidate combinations of micro-services, the candidate combinations of micro-services corresponding to distinct combinations of micro-services;
[0023] - determining values of said security metric respectively associated with said candidate combinations of micro-services.
[0024] The selected combination may then be the candidate combination associated with an optimal value among said values.
[0025] The invention also provides a method for performing functions in an electronic system, comprising the following steps:
[0026] - designing an architecture of said electronic system for providing said functions according to the method proposed above;
[0027] - performing said functions by executing micro-services of the selected combination of micro-services.
[0028] The invention also proposes an electronic system having an architecture designed using a method as defined above.
[0029] Lastly, the invention provides computer program comprising instructions executable by a processor and designed such that the processor carries out a method as proposed above when these instructions are executed by the processor.
[0030] Correspondingly, the invention provides a (non-transitory) computer readable medium storing a computer program as just mentioned.
[0031] Detailed description of example(s)
[0032] The following description with reference to the accompanying drawings will make it clear what the invention consists of and how it can be achieved. The invention is not limited to the embodiment / s illustrated in the drawings. Accordingly, it should be understood that where features mentioned in the claims are followed by reference signs, such signs are included solely for the purpose of enhancing the intelligibility of the claims and are in no way limiting on the scope of the claims.
[0033] In the accompanying drawings:
[0034] - Figure 1 is a flowchart representing a first possible embodiment of a method of designing an architecture of an electronic system;
[0035] - Figure 2 schematically represents a first possible re-arrangement of microservices usable in the method of Figure 1 ;
[0036] - Figure 3 schematically represents a second possible re-arrangement of micro-services usable in the method of Figure 1 ;
[0037] - Figure 4 schematically represents a third possible re-arrangement of microservices usable in the method of Figure 1 ;
[0038] - Figure 5 shows a combination of micro-services considered in a first example of use of the method of Figure 1 ;
[0039] - Figure 6 shows another combination of micro-services considered in the first example of use of the method of Figure 1 ;
[0040] - Figure 7 shows a combination of micro-services considered in a second example of use of the method of Figure 1 ;
[0041] - Figure 8 shows another combination of micro-services considered in the second example of use of the method of Figure 1 ;
[0042] - Figure 9 is a flowchart showing an alternative embodiment of the method of designing an architecture of an electronic system according to the invention.
[0043] A first possible embodiment of a method of designing an architecture of an electronic system is now described referring to Figure 1 .
[0044] The electronic system is for instance a telecommunication network operating system.
[0045] The architecture is meant to provide a service including a plurality of functions. In the example just mentioned, as further explained below, these functions participate in operating a telecommunication network.
[0046] The method of Figure 1 is for instance performed by a computer comprising a processor and a memory storing computer program instructions designed such that the processor carries out the method of Figure 1 when these computer program instructions are executed by the processor. This computer program may be stored on a computer readable medium and read by the computer for transfer to the memory for being executed by the processor.
[0047] The method of Figure 1 starts with a step S2 of receiving data defining the functions included in the service to be provided by the electronic system, and at least one target security level.
[0048] The data defining the functions can be a list of descriptors of the functions.
[0049] According to a possible variation, the data defining the functions can be a description of an existing combination of micro-services performing the service, i.e. the functions. The at least one target security level may include a target confidentiality level and / or a target integrity level and / or a target availability level.
[0050] In some embodiments, step S2 also includes receiving a complexity threshold.
[0051] According to another possibility, step S2 includes receiving at least one security level (and possibly a complexity threshold) and a description of the service. In this situation, the functions can be determined from the service using dedicated algorithms, for instance as described below with reference to Figure 9.
[0052] The method of Figure 1 continues with a decomposition step S4 during which an initial architecture for the service is rearranged into an updated combination of micro-services.
[0053] Both the initial architecture for the service and the updated combination of micro-services are suitable to provide the service, i.e. perform the functions received in step S2. However, as further explained below, the initial architecture for the service and the updated combination of micro-services may differ as regards their respective security levels.
[0054] When the step S4 is implemented for the first time (i.e. when this step is not performed subsequently to a loop from the step T1 described below), the initial architecture for the service may in some embodiments be a description of the service, for instance a list of descriptors of the functions to be provided by the service as already mentioned. In this case, in this first iteration, step S4 may include a step of randomly distributing the functions in a predetermined number of micro-services.
[0055] The initial architecture for the service may also be an initial combination of micro-services, in particular when the step S4 is implemented subsequently to the step T1 described below (in which case the initial combination of micro-services results from a previous execution of step S4).
[0056] Examples of possible decomposition (or re-arrangement) of an initial architecture into an updated combination of micro-services are given below referring to Figures 2-4.
[0057] The re-arrangement of micro-services performed in step S4 may include merging at least two micro-services (of the initial combination of micro-services) into a single micro-service (in the updated combination of micro-services) and / or decomposing a micro-service (of the initial combination of micro-services) into 2 or more micro-services (in the updated combination of micro-services). The rearrangement of micro-services performed in step S4 may thus involve a change of the size of micro-services and / or a change in the respective position of the micro-services in the combination.
[0058] The method of Figure 1 continues with a step S6 of computing at least one security metric associated with the updated combination of micro-services produced by step S4.
[0059] Such a security metric can be representative of the security of a particular micro-service of the updated combination of micro-services, or representative of the overall security of the updated combination of micro-services.
[0060] The computed security metric can be representative of a confidentiality level associated with at least part of the updated combination of micro-services, or representative of an integrity level associated with at least part of the updated combination of micro-services, or representative of an availability level associated with at least part of the updated combination of micro-services.
[0061] The security metric is for instance computed using one of the formulae proposed in the article “Impacts of Service Decomposition Models on Security Attributes: A Case Study with 5G Network Repository Function", by S. Behrad, D Espes, P. Bertin and C.T. Phan, ,” in 2021 IEEE 7th International Conference on Network Softwarization (NetSoft), 2021 , pp. 470-476.
[0062] Several such security metrics may be computed in step S6.
[0063] Step S6 may also include the computation of a complexity value associated with the updated combination of micro-services.
[0064] This complexity value is for instance representative of the time complexity resulting from security measures used in the updated combination of micro-services.
[0065] This complexity value C may in practice be computed as the sum of complexity orders Oaof security algorithms applied to entry points EPi (i.e. points providing connectivity to electronic devices external to the electronic system) in the updated combination of micro-services, for instance according to the following formula: where Ai is the set of security algorithms applied to a given entry point EPi.
[0066] The method of Figure 1 then continues with a step T1 of testing whether the at least one security metric (computed in step S6) conforms to the corresponding target security level (received in step S2).
[0067] In practice, several security metrics can respectively be compared to several corresponding target security levels to check conformance of these security metrics to these target security levels.
[0068] In addition, it can be tested in step T1 whether the complexity value C (possibly computed in step S6) is below the complexity threshold (possibly received in step S2 as indicated above). Other criteria (such as performance criteria) relating to the current combination of micro-services may also be taken into account in the test of step T 1 .
[0069] If (any of) the security metric(s) does not conform to the corresponding target security level (or if the complexity value C is above the complexity threshold), the method loops to step S4 for a further rearrangement of the current combination of micro-services.
[0070] If (all) the security metric(s) conforms (conform) the corresponding target security level (and, when computed, the complexity value is below the complexity threshold), the method proceeds to step S8.
[0071] In step S8, the current combination of micro-services ( / .e. the updated combination of micro-services obtained in the last occurrence of step S4) is selected for use as the architecture of the electronic system.
[0072] The electronic system can thus be produced with the architecture designed as per steps S2-S8 just described, i.e. based on the selected combination of microservices.
[0073] Functions of the service can then be performed by the electronic system, by executing the various micro-services of the selected combination of micro-services (step S10).
[0074] Figure 2 schematically represents a first possible re-arrangement of microservices usable in step S4 mentioned above.
[0075] The initial combination Ch1 of micro-services is a chain of microservices including an interface micro-service COM, a security micro-service SEC and at least another micro-service ANY.
[0076] The interface micro-service COM provides connectivity to electronic devices external to the electronic system and thus comprises an entry point for the electronic system. The security micro-service SEC contains a key asset (that has to be protected from attacks), such as security (cryptographic) keys.
[0077] Compared to the security micro-service SEC, the interface micro-service COM and the other micro-service ANY contain normal assets.
[0078] In the initial combination Ch1 of micro-services, the security micro-service SEC is situated between the interface micro-service COM and the other micro-service ANY in the chain of micro-services.
[0079] The re-arrangement described here (usable in step S4 as already indicated) moves the security micro-service SEC to the end of the chain.
[0080] Thanks to this re-arrangement, in the updated combination Ch2 of microservices, the security micro-service SEC is located opposite the interface microservice COM in the chain of micro-services.
[0081] With this updated combination Ch2 of micro-services, the probability PCk of compromising the security micro-service SEC can be estimated to: where pk is the probability of compromising the security micro-service SEC (considered in isolation) and (pi) (i = 1 , .... m) are the respective probabilities of compromising the m other micro-services of the chain (each taken in isolation).
[0082] Figure 3 schematically represents a second possible re-arrangement of micro-services usable in step S4 mentioned above.
[0083] In the example shown in Figure 3, the initial combination Combi of microservices includes ten micro-services M1-M10.
[0084] The second possible re-arrangement involves adding a gateway G connected to a plurality of micro-services (in particular security micro-services M8, M9, M10) defined in the initial combination Combi of micro-services. Each of the security micro-services M8, M9, M10 is for instance a micro-service including sensitive assets, such as security (cryptographic) keys.
[0085] Some of the micro-services connected to the gateway G (in particular security micro-services M8, M9, M10 connected to the gateway G) may then be located at the opposite of micro-services M1 , M2 that provide connectivity to electronic devices external to the electronic system ES, i.e. opposite to entry points EP1 , EP2 of the electronic system ES, with respect to the gateway G.
[0086] From the outside of the electronic system ES, security micro-services M8, M9, M10 are thus accessible only through the gateway G in the updated combination Comb2 of micro-services.
[0087] The re-arrangement described here thus makes it possible to increase the confidentiality level and the integrity level of the electronic system ES, but has a negative impact on availability (because an attack on the gateway will affect microservices M8, M9 and M10).
[0088] The re-arrangement proposed here is thus used in the step S4 of the method of Figure 1 when there is a need to increase the confidentiality level and the integrity level (i.e. when the confidentiality level and / or the integrity level associated with the initial combination Combi of micro-services is lower than the corresponding target security level).
[0089] Figure 4 schematically represents a third possible re-arrangement of microservices usable in step S4 mentioned above.
[0090] The initial combination Comb3 of micro-services includes a plurality of microservices N1-N6.
[0091] The re-arrangement proposed here involves duplicating at least some of the micro-services N3, N4, N6 defined in the initial combination Comb3 of micro-services.
[0092] The updated combination Comb4 of micro-services thus includes at least one pair of micro-services providing the same functions, here several pairs N3, N3’; N4, N4’; N6, N6’ of micro-services, each such pair of micro-services including two micro-services both providing a given set of functions.
[0093] The redundancies in the updated combination Comb4 of micro-services increases the availability level of the electronic system. The re-arrangement proposed here is thus used in the step S4 of the method of Figure 1 when there is a need to increase the availability level (i.e. when the availability level associated with the initial combination Comb3 of micro-services is lower than the target availability level).
[0094] The re-arrangement proposed here may also involve adding at least a gateway G1 , G2 for connecting at least a microservice N2; N5 to a plurality of redundant micro-services N3, N3’; N6, N6’ (redundant micro-services being microservices providing the same set of functions).
[0095] A first example of use of the method of Figure 1 is now presented with reference to Figures 5 & 6.
[0096] In this first example, it is sought to design the architecture of a Network Repository Function, a particular network function defined by the 3GPP standardization body for the 5G core network.
[0097] In this frame, each network function has to be informed about the existence of the other network functions and the services they provide. The Network Repository Function is responsible for keeping the information of the all network functions and providing this information to the requesters.
[0098] The Network Repository Function provides the following services:
[0099] - NFManagement: using this service, the network functions in 5G core can register, deregister and update their profiles; they can also subscribe to be notified about any changes happen in the profiles of their intended network functions;
[0100] - NFDiscovery: using this service, the network function in 5G core can discover their intended network function in 5G core and their provided services;
[0101] - AccessToken: with this service, the network functions are authorized in the Network Repository Function and get authentication tokens for accessing the services of the other network functions;
[0102] - Bootstrapping: using this service, the network functions know about the service endpoints that the Network Repository Function supports without using the NFDiscovery service.
[0103] It is proposed here to use the method of Figure 1 to design the architecture of an electronic system performing the Network Repository Function.
[0104] In step S2, a list of the various functions that the Network Repository Function should provide is received by the computer carrying out the method of Figure 1.
[0105] A target security level, here a target integrity level, is also received by this computer. Here, the received target integrity level is expressed as a maximum allowable integrity risk:
[0106] 2(1 - (1 — p)4x® )
[0107] MaxIntegrityRisk = - - - where N is the number of software vulnerabilities in the whole code meant to perform the Network Repository Function when executed and p is the probability of exploiting these vulnerabilities for an attacker.
[0108] It is considered here that the code is divided into the six micro-services listed below and that the vulnerabilities are uniformly distributed among the codes: - a subscription micro-service SUB;
[0109] - a registration micro-service REG;
[0110] - a notification micro-service NOT;
[0111] - a discovery micro-service DIS;
[0112] - an access token micro-service TOK;
[0113] - a bootstrapping micro-service BTS.
[0114] It may be noted that the subscription micro-service SUB, the registration micro-service NOT and the discovery micro-service DIS are suitable for performing the functions of the NFManagement service mentioned above.
[0115] A complexity threshold is also received by the computer in step S2, here a complexity threshold of value 2 x O(r).
[0116] The computer then implements a first occurrence of step S4 resulting in the combination of micro-services shown in Figure 5. In this first iteration of step S4, the computer performs a random decomposition leading to the combination of microservices shown in Figure 5.
[0117] As shown in Figure 5, in this combination, the subscription micro-service SUB and the registration micro-service REG are connected to other network functions NF via a gateway micro-service GW. The notification micro-service NOT is connected to the registration micro-service REG and can receive requests therethrough. The notification micro-service NOT may however transmit data directly to other network functions NF.
[0118] The subscription micro-service SUB and the registration micro-service REG (as well as the notification micro-service via the registration micro-service) can thus be accessed through one URL that belongs to the gateway micro-service GW.
[0119] The discovery micro-service DIS, the access token micro-service TOK and the bootstrapping micro-service BTS are each connected directly to other network functions NF.
[0120] Each micro-service is in addition directly connected to the Network Repository Function External Database DB.
[0121] In the present case, it is considered that all the micro-services have a high integrity impact, i.e. that the undesirable changes in their provided information highly affect the system. In addition, interfaces are here designed with integrity protection using SHA-3-256. In this case, as explained in the above-cited article “Impacts of Service Decomposition Models on Security Attributes: A Case Study with 5G Network Repository Function”, the integrity level (evaluated as per step S6) is defined by the following integrity risk:
[0122] 4(1 - (1 - p)4x®) IntegrityRisk = - - -
[0123] The combination shown in Figure 5 is thus associated with an integrity risk higher than the maximum allowable integrity risk defined above, i.e. with an integrity level which is not in conformance with the target integrity level.
[0124] (It may be noted in addition that use of four entry points in the combination shown in Figure 5 results in a complexity value of 4 x O(n) , which is higher than the complexity threshold defined above.)
[0125] The test at step T 1 thus results in a loop to step S4 (as the evaluated security metric, here the integrity level, does not conform with the target security level, here the target integrity level).
[0126] The second occurrence of step S4 results in the combination of microservices shown in Figure 6. The re-arrangement performed in this second occurrence of step S4 involves adding a gateway, as proposed and described above with reference to Figure 3.
[0127] In this combination, the subscription micro-service SUB, the registration micro-service REG, the discovery micro-service DIS, the access token micro-service TOK and the bootstrapping micro-service BTS are connected to other network functions NF via an API gateway micro-service APIGW.
[0128] The notification micro-service NOT is connected to the registration microservice REG and can receive requests therethrough. The notification micro-service NOT may however transmit data directly to other network functions NF.
[0129] Each micro-service is in addition directly connected to the Network Repository Function External Database DB.
[0130] In this iteration, as explained in the above-cited article “Impacts of Service Decomposition Models on Security Attributes: A Case Study with 5G Network Repository Function”, the computation of the integrity level as per step S6 results in an integrity level defined by the following integrity risk: l - (l - p)® Integrity Risk = - - - which is lower than the maximum allowable integrity risk.
[0131] In addition, as the combination of Figure 6 uses a single entry point, the complexity value is O(n).
[0132] The computed security metric (here the integrity level) associated with the current combination of micro-services conforms to the target security level (here the target integrity level) and the complexity value associated with the current combination of micro-services conforms to the complexity threshold, such that the test at step T1 leads to step S8 where the current combination of micro-services (shown in Figure 6) is selected as an architecture of the electronic system (here the Network Repository Function).
[0133] A second example of use of the method of Figure 1 is now presented with reference to Figures 7 & 8.
[0134] In this second example, it is sought to design the architecture of an Authentication Server Function ALISF, a particular network function defined by the 3GPP standardization body for authenticating the devices and user equipment (UE) in the 5G network.
[0135] The Authentication Server Function ALISF is defined to provide the following services:
[0136] - UE authentication service to the requester network function;
[0137] - steering of roaming information protection service to the requester network function;
[0138] - UE parameters update protection service to the requester network function. In step S2, the computer implementing the method of Figure 1 receives the target confidentiality level, expressed as the maximum tolerable confidentiality risk:
[0139] In the present embodiment, confidentiality is the only security parameter considered.
[0140] The computer also receives the complexity threshold 3 x O(r).
[0141] It is considered here that, at a given iteration of the method of Figure 1 , the initial combination of micro-services is as shown in Figure 7.
[0142] This initial combination of micro-services may possibly be received by the computer (under the format of a description of this combination) is step S2. As an alternative, the initial combination of micro-services shown in Figure 7 could result from previous iterations of steps S4 and S6 in the method of Figure 1 .
[0143] The initial combination of micro-services shown in Figure 7 includes the following micro-services:
[0144] - an UE authentication micro-service AUT;
[0145] - an UDM (standing for Unified Data Management) selection micro-service UDM;
[0146] - a steering of roaming information protection micro-service SOR;
[0147] - an UE parameters update protection micro-service UPU.
[0148] In the initial combination shown in Figure 7, the UE authentication microservice AUT, the steering of roaming information protection micro-service SOR and the UE parameters update protection micro-service UPU are directly connected to other network functions NF’. The initial combination thus uses 3 entry points.
[0149] In addition, the UE authentication micro-service AUT, the steering of roaming information protection micro-service SOR and the UE parameters update protection micro-service UPU may exchange data with a database DB’ storing in particular an authentication key.
[0150] The UDM selection micro-service may exchange data with the UE authentication micro-service AUT only.
[0151] In the present case, the confidentiality impact of the UE authentication microservice AUT is high, while the steering of roaming information protection micro-service SOR and the UE parameters update protection micro-service UPU have no confidentiality impact. Correspondingly, only the exchange of data between the UE authentication micro-service AUT and other network functions NF’ ( / '.e. only one entry point) is protected by both authentication and FIP-S encryption (e.g., AES).
[0152] In this context, using the confidentiality metrics proposed in the above-cited article “Impacts of Service Decomposition Models on Security Attributes: A Case Study with 5G Network Repository Function", the confidentiality risk of the initial combination of micro-services shown in Figure 7 is:
[0153] This confidentiality risk is thus higher than the maximum tolerable confidentiality risk and the confidentiality level of the initial combination does not therefore conform to the target confidentiality level.
[0154] A re-arrangement of this initial combination of micro-services is therefore needed.
[0155] In the embodiment mentioned above where this initial combination of microservices results from a previous iteration of step S4, this means that the confidentiality level evaluated in the previous iteration of step S6 (expressed as the confidentiality risk mentioned above) does not conform with the target confidentiality level and that a previous iteration of test step T1 leads to performing a re-arrangement of the initial combination shown in Figure 7 (thanks to a new iteration of step S4).
[0156] Thus, as per step S4, a re-arrangement of the initial combination of microservices shown in Figure 7 is performed, here using the re-arrangement described above with reference to Figure 3 (addition of a gateway micro-service GW’) and leading to the updated combination of micro-services shown in Figure 8.
[0157] In the updated combination of micro-services, the UE authentication microservice AUT is still directly connected to other network functions NF’. The steering of roaming information protection micro-service SOR and the UE parameters update protection micro-service UPU are however connected to other network functions NF’ via the added gateway micro-service GW’.
[0158] The updated combination thus uses 2 entry points. In addition, as the gateway micro-service GW’ is not connected to sensitive micro-services, it is not protected by authentication or encryption.
[0159] As in the initial combination, the UE authentication micro-service AUT, the steering of roaming information protection micro-service SOR and the UE parameters update protection micro-service UPU may exchange data with the database DB’, and the UDM selection micro-service may exchange data with the UE authentication microservice AUT only.
[0160] The security metric representative of the confidentiality level is evaluated by the computer as per step S6, which results in the present case in the following confidentiality risk associated with the updated combination shown in Figure 8:
[0161] This confidentiality risk is lower than the maximum tolerable confidentiality risk, such that the confidentiality level associated with the updated combination of micro-services shown in Figure 8 conforms to the target confidentiality level (received in step S2).
[0162] In addition, the complexity value (also computed in step S6) is 2 x O(n) (as two entry points are used in the updated combination) and is thus lower than the complexity threshold (received in step S2).
[0163] Thus, in step T1 , the method goes to step S8 where the updated combination shown in Figure 8 is used as the architecture of the Authentication Server Function.
[0164] Figure 9 is a flowchart showing an alternative embodiment of the method of designing an architecture of an electronic system according to the invention.
[0165] The electronic system has to be designed to perform a service including a plurality of functionalities.
[0166] The method of Figure 9 starts with a step S20 of receiving a description of the service and target security levels (i.e. a target confidentiality level, a target integrity level and a target availability level).
[0167] The method of Figure 9 continues with a step S21 of producing a list of functionalities and classifying each functionality of the service in one of the following groups:
[0168] - the functionalities with no security concerns;
[0169] - the functionalities with confidentiality security concerns;
[0170] - the functionalities with integrity security concerns;
[0171] - the functionalities with availability security concerns,
[0172] - the functionalities with confidentiality and integrity security concerns;
[0173] - the functionalities with integrity and availability security concerns;
[0174] - the functionalities with confidentiality and availability security concerns;
[0175] - the functionalities with confidentiality, integrity and availability security concerns.
[0176] This determination and classification of functionalities can be performed by a machine learning algorithm.
[0177] The machine learning algorithm can receive the description of the service as input and provide data defining the functionalities and the classification of the functionalities as outputs.
[0178] Use is made for instance of a supervised machine learning algorithm. The machine learning algorithm is in this case trained using known list and classifications of functionalities.
[0179] The machine learning algorithm can be designed to compute, for each functionality, the respective probabilities that this functionality corresponds to the various groups listed above, the group with the higher probability being chosen as the resulting classification for the concerned functionality.
[0180] As a possible variation, a Support Vector Machine algorithm can be used. As such an algorithm provides a binary classification, it is implemented 7 times to classify among the 8 groups mentioned above.
[0181] The method of Figure 9 then continues with a step S22 of setting a variable N to 1.
[0182] Then, in step S24, a plurality of candidate combinations of micro-services are constructed by distributing in different manners the functionalities into N microservices so as to obtain distinct combinations of micro-services. The distribution of the functionalities may be done according to their classes as determined in step S21 . For instance, functionalities of a given class can be put in the same microservice. (This step is not implemented in the first iteration where N is equal to 1 .)
[0183] In step S26, security metrics (here a confidentiality level, an integrity level and an availability level) are computed for each candidate combination of microservices and the candidate combination which maximizes a fitness function depending on the security metrics ( / .e. a fitness function depending on the confidentiality level and / or the integrity level and / or the availability level) is selected.
[0184] Steps S24 and 26 thus implement a so-called genetic algorithm.
[0185] The method of Figure 9 then continues with a step T2 where it is tested whether the combination selected in step S26 is suitable for use as the architecture of the electronic system.
[0186] In practice, it is for instance determined in step T2 whether the security metrics (e.g. the confidentiality level and / or the integrity level and / or the availability level) associated with the selected combination conform to the target security level(s).
[0187] In case the security metrics associated with the selected combination do not conform to the target security levels, the method continues to step S27 where the variable N is incremented and loops to step S24.
[0188] In case the security metrics associated with the selected combination conform to the target security levels, the method ends at step S28 by the choice of the last selected combination as the combination to be used for the architecture of the electronic system.
Claims
Claims1 . A method for designing an architecture of an electronic system (NRF; AUSF) providing a plurality of functions, wherein said method comprises a step of selecting a combination of micro-services jointly providing the plurality of functions based on at least one security metric associated with said combination of micro-services.
2. A method according to claim 1 , wherein steps (S4) of rearranging an initial combination of micro-services into an updated combination of micro-services are performed until at least one security metric associated with the updated combination of micro-services conforms to a target security level.
3. A method according to claim 2, wherein, for at least one step of rearranging an initial combination of micro-services into an updated combination of micro-services, the updated combination of micro-services includes a chain (Ch2) of micro-services including an interface micro-service (COM) adapted to provide connectivity to electronic devices external to said electronic system, and a security micro-service (SEC) located opposite the interface micro-service in the chain (Ch2) of micro-services.
4. A method according to claim 2 or 3, wherein at least one step of rearranging an initial combination of micro-services into an updated combination of micro-services includes adding a gateway (G; APIGW; GW’) connected to a plurality of security micro-services defined in the initial combination of micro-services.
5. A method according to any one of claims 2 to 4, wherein at least one step of rearranging an initial combination of micro-services into an updated combination of micro-services includes duplicating at least one micro-service (N3; N4; N6) defined in the initial combination of micro-services.
6. A method according to claim 1 , comprising the following steps:- constructing (S24) a plurality of candidate combinations of micro-services, the candidate combinations of micro-services corresponding to distinct combinations of micro-services;- determining (S26) values of said security metric respectively associated with said candidate combinations of micro-services, wherein the selected combination is the candidate combination associated with an optimal value among said values.
7. A method according to any of claims 1 to 6, comprising execution of a machine learning algorithm (S21 ) receiving as an input a description of the service and producing data defining said plurality of functions.
8. A method according to any one of claims 1 to 7, wherein the combination of microservices jointly providing the plurality of functions is selected based on said at least one security metric associated with said combination of micro-services and based on at least a complexity metric associated with said combination of micro-services.
9. A method according to any one of claims 1 to 8, wherein the security metric is representative of a confidentiality level associated with at least part of the combination of micro-services.
10. A method according to any one of claims 1 to 8, wherein the security metric is representative of an integrity level associated with at least part of the combination of micro-services.
11. A method according to any one of claims 1 to 8, wherein the security metric is representative of an availability level associated with at least part of the combination of micro-services.
12. A method according to any one of claims 1 to 11 , wherein the provided functions participate in operating a telecommunications network.
13. A method for performing functions in an electronic system, comprising the following steps:- designing an architecture of said electronic system for providing said functions according to the method of any one of claims 1 to 12;- performing (S10) said functions by executing micro-services of the selected combination of micro-services.
14. An electronic system (NRF; ALISF) having an architecture designed using a method according to any one of claims 1 to 12.
15. A computer program comprising instructions executable by a processor and designed such that the processor carries out a method according to any one of claims 1-13 when these instructions are executed by the processor.
16. A computer readable medium storing a computer program according to claim 15.
