Automatic network protocol agnostic implementation for software application programs

The automatic generation of networking code in distributed computing environments addresses the complexity and security challenges of existing systems by enabling seamless protocol management and rapid vulnerability resolution, enhancing scalability and performance.

WO2024179910A1PCT designated stage expired Publication Date: 2024-09-06NOR2 AB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/054457
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-02
Filing Date
2024-02-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Current distributed computing environments face challenges in managing networking between nodes, requiring significant manual effort and expertise, leading to complexity, fragility, and security vulnerabilities due to the need for manual implementation and maintenance of networking code across various protocols and platforms.

Method used

A method and system that automatically generate networking code in an intermediate representation format, allowing for seamless communication across multiple protocols and platforms, reducing the need for manual intervention and enhancing security by automatically updating networking code to address vulnerabilities.

Benefits of technology

This approach simplifies the management of distributed computing environments, enhances security by automating vulnerability patches, and improves scalability and performance by allowing different parts of an application to use different protocols based on configuration, thereby reducing the time and effort required for maintenance and deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024054457_06092024_PF_FP
    Figure EP2024054457_06092024_PF_FP
Patent Text Reader

Abstract

A computer-implemented method (100) for providing a distributed execution of a software application program (10) in a distributed computing environment (40) is disclosed. The method (100) comprises automatically generating (130) networking code (30) for distributed computing services (42) orchestrated by the distributed computing environment (40), the generation being based on provided (110, 120) networking information (20) and software application code (12) of the program (10), and the networking code (30) defining respective communication protocols of the distributed computing services (42). The method (100) further involves, by a particular distributed computing service (42-1), loading (140) and linking (150) portions of the code (14, 30) with other distributed computing services (42-2, 42-n), and executing (160) the code across the services (42-1, 42-2, 42-n) by which the code (14, 30) have been linked with.
Need to check novelty before this filing date? Find Prior Art

Description

AUTOMATIC NETWORK PROTOCOL AGNOSTICIMPLEMENTATION FOR SOFTWARE APPLICATION PROGRAMSTECHNICAL FIELD

[0001] The disclosure relates generally to distributed computing. More specifically, the disclosure relates to a computer-implemented method for providing a distributed execution of a software application program in a distributed computing environment. The disclosure also relates to an associated computer-implemented system and a non-transitory computer- readable storage medium.BACKGROUND

[0002] In a distributed computing environment data is shared among a plurality of distributed units. These units are commonly referred to as computing nodes or services (e.g. microservices or nanoservices), and the following disclosure will adhere to either one of these terms. Despite the data being shared and distributed across multiple locations, actions or tasks associated with said data are still executed as if they are run on a computing environment of a single computer or node, thus making it possible to decentralize the execution of, for instance, a monolithic application program. Distributed computing environments provide many advantageous technical effects over conventional non-distributed computing environments relating to performance, resilience, robustness and scalability, to name a few advantages. Distributed computing models are hence becoming a very popular computing model in, e.g., database or application design, especially in line with the constant desire for new computing opportunities, more data and computationally demanding technical areas of applicability.

[0003] In order to function properly and thereby enable the technical effects as described above (as well as other related technical effects), it is of paramount importance that communication occurring within and around the distributed computing environment between the distributed nodes is managed accordingly. However, due to the distributed computing environment typically being run across various nodes being respectively associated with their own intricacies with respect to networks, protocols, peripherals, operating systems, hardware components, and so forth, it is a complex task to accurately manage networking between nodes that can set up, monitor, maintain, service and refactor the distributed computing environment without compromising its security. Moreover, it is desired to do this in an as efficient manner as possible such that developers instead may spend their time actuallyimproving the functionalities of software application programs without worrying about the technical intricacies of the respective nodes as described above.

[0004] The prior art suggests some solutions for managing networking in a distributed computing environment. Google’s Remote Procedure Call (gRPC) is one RPC infrastructure commonly utilized in distributed computing environments for connecting and communicating between microservices and data centers. gRPC uses Protocol Buffers as the interface description language (IDL) for providing instructions for data serialization, and networking code is generated before a software application program has been compiled. gRPC is insufficient in many aspects as it is a quite fragile and very complex tool to use. The complexity in gRPC partly lies with handling versioning, security, compatibility and integration. gRPC poses many challenges due to networking code typically being designed to function with specific computing platforms, operating systems or computing environments. In addition, gRPC involves various requirements with respect to its network configuration, which requires strong expertise in network engineering. gRPC therefore requires significant maintenance for networking professionals in order to function properly. Other tools commonly applied in the prior art to manage networking and running programs in a distributed computing environment include, for instance, Link-time code generation (LTCG), Apache Thrift, OpenAPI, AWS Smithy, Docker, Kubemetes, and many more. However, all of them are associated with their respective disadvantages which means that some of them are more suitably applied in some projects while others are more suitably applied in other projects. As of today, none of the existing tools are currently considered sufficiently satisfactory for a plurality of reasons as are discussed hereinbelow.

[0005] Existing solutions require developers to manually implement networking code and defining their own communication protocols. More specifically, developers are required to create, update and maintain networking code often without having a clear understanding of how the underlying network frameworks, libraries and protocols work. The above examples, such as gRPC’s Protocol Buffers, can make this easier, but there are still a lot of manual code that has to be created. Developers thus need to be aware of intricacies of selected communication protocols. In cases where communication protocols are changed, significant code-refactoring needs to be performed. Moreover, if vulnerabilities are detected in one or more libraries used for network communication, e.g., OpenSSL, software developers have to update the code project and its dependencies to resolve these issues which can take significant time if there are multiple applications. To this end, when a new security vulnerability is found in the networking code, a developer is required to first even be aware that the vulnerabilityexists, which in many cases can take a lot of time, depending on circumstances (e.g., number of developers, size of system, testing capabilities, skill of developers, company testing routines, etc.). After knowing about the vulnerability, the developers need to know how to patch networking code of each one of the applications of the system, and finally deploy a new version of the application where the vulnerability flaw is fixed. This can take significant time and it leaves the application vulnerable until new versions of the applications have been deployed. Having such time window open for a long period can become devastating in terms of security if malicious access to the system occurs. This is therefore a significant security concern that has not been addressed by the existing technologies.SUMMARY

[0006] The present inventors have realized the above-mentioned deficiencies of the prior art. It is accordingly an object of the present disclosure to provide a distributed networking approach that handles distributed execution of a software application program in a manner that is globally scalable, secure, robust, resilient, high-performing, versatile and demands very little maintenance for professionals.

[0007] According to a first aspect of the disclosure, a computer-implemented method for providing a distributed execution of a software application program in a distributed computing environment is provided. The method comprises providing software application code of the software application program in an intermediate representation format; providing networking information, the networking information at least being associated with the distributed computing environment; based on the networking information and the software application code being in the intermediate representation format, automatically generating networking code at least for a plurality of distributed computing services orchestrated by the distributed computing environment, the networking code defining respective communication protocols at least of said plurality of distributed computing services; and by a particular distributed computing service from among the plurality of distributed computing services: loading at least a portion of the networking code and at least a portion of the software application code being in the intermediate representation format; linking said loaded at least a portion of the networking code and said loaded at least a portion of the software application code being in the intermediate representation format at least with other distributed computing services of the plurality of distributed computing services; and executingsaid at least a portion of the software application code being in the intermediate representation format across the distributed computing services by which said at least a portion of the networking code and said at least a portion of the software application code being in the intermediate representation format have been linked with.

[0008] According to a second aspect, a computer-implemented system for providing a distributed execution of a software application program in a distributed computing environment is provided. The system comprises one or more processing units being configured to: provide software application code of the software application program in an intermediate representation format; provide networking information, the networking information at least being associated with the distributed computing environment; based on the networking information and the software application code being in the intermediate representation format, automatically generate networking code at least for a plurality of distributed computing services orchestrated by the distributed computing environment, the networking code defining respective communication protocols at least of said plurality of distributed computing services; and wherein a particular distributed computing service comprising said one or more processing units is further configured to: load at least a portion of the networking code and at least a portion of the software application code being in the intermediate representation format; link said loaded at least a portion of the networking code and said loaded at least a portion of the software application code being in the intermediate representation format at least with other distributed computing services of the plurality of distributed computing services; and execute said at least a portion of the software application code being in the intermediate representation format across the distributed computing services by which said at least a portion of the networking code and said at least a portion of the software application code being in the intermediate representation format have been linked with.

[0009] According to a third aspect, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium comprises instructions, which when executed by a processor device, cause the processor device to perform the method of the first aspect.

[0010] According to a fourth aspect, a computer program product is provided. The computer program product comprises instructions which, when executed by a processing unit, cause the processing unit to perform the method of the first aspect.

[0011] With the present solution according to the inventive aspects above, networking code is automatically generated for each one of the applications which allows the developer to focus on writing software application program logic. This also means that the developers are no longer required to make any changes to the software application program when a security vulnerability is found, because when the platform has the new patch applied it will automatically generate new networking code for the software application program that resolves the vulnerability that has been found. Another benefit involves that the software application program can change networking protocol or even switch out the entire networking stack to communicate over e.g., Bluetooth, by just changing a configuration value to have the new protocol or networking stack generated. The solution of the inventive aspects also allows the software application program to understand and communicate with multiple networking protocols at the same time, have different parts of a software application program use different protocols at the same time, or have different parts of a software application program use different protocols depending on the device it is running on.

[0012] The solutions of today requires software developers to use code created by a compiler, and the distributed computing environment needs to be rebuilt for each application. With the solution according to the inventive aspects, the programmer only needs to write an application as if it was a normal application (i.e., running on a centralized server), typically without regards taken to the distributed computing environment. The networking code may be centrally generated and converted into a binary blob for subsequent provisioning in respective computing services, or generated lazily on demand and optionally cached. With the solutions of today, it is difficult, if not impossible, to make a program globally scalable, which is a known issue in the cloud-world. This invention according to the inventive aspects efficiently replaces and boldly attempts to provide a state of the art solution to distributed networking.

[0013] Some embodiments of the present invention according to the inventive aspects involve an increased security over existing prior art solutions, since they are able to quickly identify vulnerabilities, based on e.g. security researching organization and / or GIT issues, and thus reduce the time in which the vulnerability windows of the applications are open. Some embodiments of the present invention according to the inventive aspects are also robust as these are capable of identifying networking errors in real-time and cope with erroneous input in an efficient way. Additionally, some embodiments of the present invention according to the inventive aspects are versatile, since they provide a multi-tasking apparatus that can perform multiple tasks and instructions at a single given time due to different distributed computing services efficiently being configurable for different protocols at the same or different times.One such example is the fan-out messaging scenario in event driven systems. Yet additionally, some embodiments of the present invention according to the inventive aspects are globally scalable and thus excellent in handling growing amount of load as required by the addition of resources, such as additional microservices / runtimes to the system caused e.g. by an increased number of users on the platform or an increased number of tasks being run on the platform. Further, some embodiments of the present invention according to the inventive aspects are interoperable as it supports practically any number of communication mechanisms and / or protocols at the same time, as well as a mix-and-match thereof, which enables more performant and compact networking protocols to be deployed without the need for implementing or refactoring code. Some embodiments of the present invention according to the inventive aspects also provide an excellent computing performance as it allows for automatic distributed computing of a monolithic application which means that different parts of a the program are handled simultaneously and can scale across runtimes or computing nodes. Some embodiments of the present invention according to the inventive aspects are also resilient with respect to the management of self-recovery of system failures. Furthermore, some embodiments of the present invention according to the inventive aspects is redundant as it may duplicate network devices of the distributed computing environment wherever and whenever necessary. Moreover, some embodiments of the present invention according to the inventive aspects are cost efficient, as there is no need to spend significant time (several hours, days, or even more) on things that are computerized by the present solution, less time for error searching, and no need to have networking experts for providing a satisfactory system with regards to networking aspects. Further technical advantages of the teachings herein will be appreciated from by the appended embodiments / claims as well as the respective detailed descriptions of the embodiments and the accompanying drawings.

[0014] The above inventive aspects, accompanying claims / clauses, and / or examples disclosed herein above and later below may be suitably combined with each other as would be apparent to anyone of ordinary skill in the art.

[0015] Additional features and advantages are disclosed in the following description, claims, and drawings, and in part will be readily apparent therefrom to those skilled in the art or recognized by practicing the disclosure as described herein. There are also disclosed herein control units, computer readable media, and computer program products associated with the above discussed technical benefits.BRIEF DESCRIPTION OF THE DRAWINGS

[0016] With reference to the appended drawings, below follows a more detailed description of aspects of the disclosure cited as examples.

[0017] FIG. 1 shows an exemplary schematic block diagram of a centralized server where two different functions of a software application program are executed.

[0018] FIG. 2 shows an exemplary schematic block diagram of a distributed server where the execution of the functions of the software application program of FIG. 1 has been divided into two services.

[0019] FIG. 3 is an exemplary schematic block diagram of a visualization of how a distributed execution of a software application program is provided.

[0020] FIG. 4 is a schematic block diagram that visualizes networking code generation, serialization and transpiling according to some examples.

[0021] FIG. 5 is an exemplary schematic block diagram of an Ahead-of-Time, AOT, compilation.

[0022] FIG. 6 is an exemplary schematic block diagram of a Just-in-Time, JIT, compilation.

[0023] FIG. 7 is an exemplary schematic block diagram of an interpreter.

[0024] FIG. 8 is an exemplary schematic block diagram of a meshed networking model.

[0025] FIG. 9 is an exemplary schematic block diagram of an internal networking model.

[0026] FIG. 10 is an exemplary schematic block diagram of a traditional networking model.

[0027] FIG. 11 is an exemplary schematic block diagram of a hybrid networking model.

[0028] FIG. 12 is schematic block diagram of some exemplary platform components.

[0029] FIG. 13 is an exemplary schematic block diagram of a computer-implemented system.

[0030] FIG. 14 is an exemplary schematic block diagram of a computer-implemented method.

[0031] FIG. 15 is an exemplary visualization of a non-transitory computer-readable storage medium.DETAILED DESCRIPTION

[0032] The present invention will now be described more fully hereinafter. The invention may, however, be embodied in many different forms and should not be construed as limited tothe embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those persons skilled in the art. Like reference numbers refer to like elements or method steps throughout the description.

[0033] FIG. 1 shows an exemplary schematic block diagram of a centralized server where two different functions of a software application program are executed. This is to be interpreted as a conventional, non-distributed execution of two respective functions, Fund and Func2, of a software application program. In view of recent technological advancements made in the field of distributed computing, computerized means for distributing the execution of the functions Fund and Func2 has enabled two respective servers to be able to share the execution responsibility of the functions Fund and Func2. In the present disclosure, this is realized according to one general example in FIG. 2, where the servers Serverl and Server2 comprise a respective module, Generated send / receive modulel and Generated send / receive module2, which manage the networking aspects of the execution. In the present disclosure, this functionality involves linking of various capabilities between the servers Serverl and Server2. Said management of the networking aspects allow for coordination and the sharing of resources, results, and status updates between nodes. This enables the creation of a larger and more powerful computing system than what can be achieved with a single node, as depicted in FIG. 1, which in turn can increase the speed and reliability of the overall system. In addition, the architecture as seen in FIG. 2 reduces the size of the code being loaded since this is the only information needed for managing networking aspects, which further improves the performance of the system.

[0034] As explained in the Background section of the present disclosure, the existing solutions of the current state of the art for managing networking aspects are limiting with regards to the plurality of factors as has been discussed herein. To this end, the present inventors have developed an alternative approach. FIG. 3 depicts such an alternative approach in accordance with exemplary embodiments of the present disclosure.

[0035] FIG. 3 shows an exemplary schematic block diagram of how a distributed execution of a software application program is provided according to some of the teachings of the claimed solution.

[0036] The schematic block diagram depicts a computer-implemented system 200. The system 200 may operate in a production mode or a preparation mode. The preparation mode may include development, testing and staging modes. In the production mode, the computer- implemented system 200 refers to the state or condition where the system is running live andin use by end-users to perform real-world tasks, and the system 200 is expected to operate at optimal performance, with high availability, stability, and security. In the preparation mode, the computer-implemented system 200 is not yet ready for live use by end-users, but is instead being developed, sandboxed, tested, or prepared for deployment. The preparation mode may be interpreted as any stage before said deployment, with ongoing coding and design changes, subjected to various tests to validate its functionality, performance, and reliability, and so forth. The switch from one mode to another usually involves a formal process of testing, validation, and release management to ensure the smooth and error-free operation of the system in its intended environment.

[0037] The system 200 is configured to execute a step of providing 110 a software application program 10 (which is herein interchangeably referred to as an “application program”, “application” or “program”, for reasons of brevity). The software application program 10 comprises software application code 12 which, when executed by a processing device or unit, cause said processing device or unit to carry out one or more functionalities. The application program 10 is a type of computer software designed to perform specific computerized tasks. The application program 10 can range from simple, single-purpose tools like a calculating program, to complex, multi-faceted and data demanding programs like video editing software, word processors, search engines, artificial intelligence-powered services, and so forth. The application program 10 may be designed to run on a variety of different operating systems, devices, apparatuses, servers, etc., including personal computers, laptops, smartphones, tablets, data centers, loT devices, microprocessors, or other exemplary devices known to the skilled person. The application program 10 may be developed by third- party companies and are designed to solve specific problems or perform specific functions for the user. In alternative examples, a plurality of application programs 10 may be provided, each one of said plurality of application programs 10 having respective software application code 12.

[0038] The software application code 12 of the application program 10 may be stored in a package storage resource 50. The package storage resource 50 may be used in the production mode of the system 200 to store data not yet being used for networking code generation. The package storage resource 50 may include associated package files (for instance in TOML, YAML, JSON, XML, INI, HCL formats, but not limited to such formats), package metadata and / or modules including respective programming languages, dependencies, capabilities and / or policies. In one example, the package storage resource 50 is a package manager for an arbitrary runtime environment, such as node package manager (npm) for the JavaScriptruntime environment Node.js, that manages and shares packages including libraries, tools, frameworks, etc., required for a project associated with the application program 10. The skilled person will appreciate that various other types of package managers may be equally or alternatively suitable for acting as the package storage resource 50.

[0039] The application program 10 may be a monolithic application program, i.e., a self- contained application being designed as a single service and independent from other applications. The present disclosure makes it possible to automatically distribute the execution of the application program 10 being a monolithic application program.

[0040] The software application code 12 is not limited to a particular abstraction level. To this end, the software application code 12 may be provided in a high-level programming language. Alternatively, the software application code 12 may be defined in any other level of abstraction, including but not limited to an intermediate representation format 14 being any type of compiled language, or conceivably even a machine level language. For example, the intermediate representation format 14 may be in the form of a binary code such as Web Assembly Bytecode, a syntax tree, such as an abstract syntax tree, ELF code or machine code. Where the intermediate representation format 14 is in the form of Web Assembly Bytecode, the providing of the software application code 12 in the intermediate representation format 14 may be performed in compile-time or start-up operation, or by analyzing the software application code 12 or the intermediate representation format 14 thereof of the application program 10.

[0041] In the case where the software application code 12 is provided and defined in a high-level programming language, or practically any type of abstraction level, a step of compiling the software application code 12 into an intermediate representation format 14 is performed. Hence, regardless of the level of abstraction of the software application code 12, the software application code 12 will be provided in the intermediate representation format 14 at the step 110 in preparation for the networking code generation. This is in the figure indicated as two different steps 110, the first one (originating from the “Start” clause) being the providing of the software application code 12 in a high-level programming language and the second one being providing of the software application code 12 in the intermediate representation format 14 (which may include a step of compiling the software application code 12 if it is defined in a high-level programming language, as discussed above).

[0042] The software application code 12 to be provided in the intermediate representation format 14 may be fetched by a worker from the package storage resource 50 in response to one or more conditions being met. Said one or more conditions may include one of adeployment of the application program 10, allowing access of the application program 10 to the computing environment, or a start-up of the application program 10.

[0043] The system 200 is further configured to execute a step of providing 120 networking information 20. The networking information 20 is at least associated with a distributed computing environment 40 in which at least portions of the software application code being in the intermediate representation format 14 is to be executed. “At least” is in this case referring to that the networking information 20 may also be associated with another, externally accessible, distributed computing environment, devices or data centers, as will be discussed later on in this disclosure with reference to FIGS. 8-12.

[0044] The networking information 20 may be comprised in one or more configuration files, database records, blobs of data and / or other suitable data structures. The networking information 20 may comprise instructions for serializing and deserializing the code from and to the intermediate representation format 14 (or conceivably even to and from machine code). More specifically, function parameters of the code are to be serialized in a first location, sent to a different location, and deserialized at said different location. In order to accomplish this behaviour, the networking information 20 may comprise 1) instructions such that the code may be converted into a stream of bytes by means of the serialization. This may be performed by reading signatures of the code. Moreover, the networking information 20 may comprise 2) instructions for subsequent delivery of the streams of bytes to selected distributed computing services where the program 10 is to be executed. Additionally, the networking information 20 may comprise 3) instructions for deserializing said streams of bytes of the function parameters back to the intermediate representation format 14. The intermediate representation format 14 in which the streams of bytes are deserialized into may be the same format as the original intermediate representation format 14, or possibly another intermediate representation format 14. This is shown in FIG. 4.

[0045] FIG. 4 illustrates a way of transpiling (also known as transcompiling) the networking information 20 from a plurality of first serialization formats 20a-n into corresponding networking information 20’ of a plurality of second serialization formats 20a’- n’. Transpiling refers to the process of converting information in one programming language to another programming language while preserving its original meaning. By way of example, function parameters of the serialization of the code in the intermediate representation format 14 is performed using one or more serialization formats 20a-n of the networking information 20. Exemplary formats may include but is not limited to Protocol Buffers, JSON, YAML, BSON, XML, CBOR, MessagePack, FlatBuffers, Cap’n Proto or SBE. It is also possible touse known technologies that are based on any one of the above-mentioned serialization formats 20a-n, such as gRPC, GraphQL, OpenAPI, Avro, Thrift or Smithy, to name a few examples. Once serialization based on any of the above-mentioned serialization formats 20a- n has been carried out, function parameters of the code in the intermediate representation format 14 may be deserialized such that networking information 20’ of one or more other (or same) serialization formats 20a’-n’ are generated. These formats 20a’-n’ may be any one of the exemplary formats 20a-n as discussed above, or other formats. By way of another example, a similar transpiling procedure as discussed above may alternatively be carried out for transpiling WebAssembly Interface Types (WIT) into WebAssembly Interfaces (WAI), and vice versa.

[0046] The networking information 20 may comprise a default configuration being indicative of one or more pre-configured network protocols in which networking code is to be generated with. Hence, the default configuration is for networking information not being preconfigured by one or more configurable settings. The default configuration may be indicative of a binary network protocol, such as WIT, or other suitable binary network protocols.

[0047] In addition or as an alternative to the default configuration, the networking information 20 may comprise one or more configurable settings. The configurable settings allows for customization of networking code to be generated based on a variety of different factors. Such factors may involve types of computing environments, number and performance of computing services, operating systems, devices, runtime characteristics, portability aspects or network protocols, to name a few examples.

[0048] In some examples, the at least one configurable setting is an execution setting. The execution setting determines how the acts of fetching, decoding, and executing instructions in a sequence, as well as managing data and resources to complete a specific task should be performed. The execution setting may define different execution strategies for different computing services or environments, operating systems, devices, etc. The execution setting may be an Ahead-of-Time, AOT, a Just-in-Time, JIT, or an interpreter execution. These different types of executions will respectively be defined later on in the present disclosure with reference to FIGS. 5-7.

[0049] In some examples, the at least one configurable setting is a protocol, communication mechanism and serialization / deserialization setting. The protocol, communication mechanism and serialization / deserialization setting defines how the networking information 20 is to be serialized and / or deserialized, and also to and / or from what intermediate representation format(s) said serialization and / or deserialization should beserialized and / or deserialized. The configurable protocol, communication mechanism and serialization / deserialization setting allows for support of a plurality of different protocols and / or communication mechanisms at the same time. To this end, protocols and / or communication mechanism may be mixed and matched as suitable, for instance having one or more of the protocols Bluetooth, IR, LoRaWAN, TCP, UDP, OpenAPI, gRPC, Thrift, to name some examples. More examples will be discussed below when defining the term networking code. A technical effect of this involves fine grained control of different parts of the application program 10 by e.g. allowing a first part to use a first protocol and / or communication mechanism and a second part to use another protocol and / or communication mechanism, depending on prevailing operating conditions. Such operating conditions may involve type of device, computing environment or service, operating system, and so forth. By importing various protocols and / or communication mechanism and using them according to the above explained control procedure (i.e. mix and match procedure), a protocol and / or communication mechanism agnostic client implementation is automatically obtained can that can be switched out to another protocol and / or communication mechanism with the control of the configurable setting being the protocol, communication mechanism and serialization / deserialization setting.

[0050] In some examples, the at least one configurable setting is a resource availability setting. Resource availability refers to the ability of computing services and associated runtime instances to manage requests for resources, e.g. processing power, storage capacity, network connectivity, etc., when desired. The resource availability setting thus defines how much resources a particular computing service are available and is required to manage a particular workload without overloading the system or impacting other computing services.

[0051] In some examples, the at least one configurable setting is a scheduling setting. The scheduling setting may specify that specific runtime instances of a computing service are locally called upon the service being available. The scheduling setting may specify that specific runtime instances of a computing service are remotely called upon no or insufficient amount of resources being available on the computing service. These calls referred to above may be further configurable depending on what type of request is performed (for instance, for processing power, storage or connectivity).

[0052] In some examples, the at least one configurable setting is a communication trigger setting. The communication trigger setting may define events or conditions that carry out communication between nodes or other endpoints in a network, such as the distributed computing environment 40. The communication trigger setting may define triggers asdifferent types of inputs / outputs, changes in network status or a duration, etc. The communication trigger setting may be used to control the flow of communication between nodes in the network and ensure efficient and reliable data transmission. As an example, the communication trigger setting may set up a job scheduler on Unix-like operating systems, also referred to in the art as crow jobs, to periodically run at fixed or varied times, dates or intervals.

[0053] In some examples, the at least one configurable setting is a compiler backend support setting. The compiler backend generates machine code for a particular target architecture by taking the code in the intermediate representation format 14 and transforming it into machine code for said target architecture. The compiler backend support setting controls this behaviour by controlling actions relating to the compiler, including but not limited to register allocation, instruction selection, code optimization, memory layout and calling conventions. For example, the compiler backend support setting may be related to the compiler framework of Cranelift or Low Level Virtual Machine (LLVM), or other such frameworks, and can be utilized in both preparation mode and production mode.

[0054] In some examples, the at least one configurable setting is a policy setting. The policy setting may define an access scheme of permission associated with networks, files or other entities requiring access permission. By way of example, in case the application program 10 requires access to external entities, e.g. data centers, remote devices, or other computing environments, this is defined in the networking information 20 as a policy setting.

[0055] In some examples, the at least one configurable setting is a software module setting. The software module setting may define capabilities of a software module 16, which will be defined in further detail later on in this disclosure.

[0056] In some examples, the at least one configurable setting is a project setting. The project setting is related to the platform on which the software application code 12 is developed. To this end, the project setting may define environments, tools and processes that are used to manage and develop the software application code 12, including e.g. development methodologies, project management tools, coding standards, as well as hardware and software requirements.

[0057] In some examples, the at least one configurable setting is a CPU architecture setting. The CPU architecture setting is related to the AOT compilation, and may be hidden from the users. The choice of CPU architecture may impact the performance or compatibility of the software application code 12, so it is appropriately set based on the intended target platform and possible usage scenarios. The CPU architecture setting may define the specifictype of CPU architecture where the software application code 12 is to be executed, including but not limited to instruction set, platform components, memory addressing modes, and other such characteristics defining the architecture. For instance, the CPU architecture may include x86, x64, arm, RISC V, PowerPC, SPARC, as further shown as hardware platform components in FIG. 12. The target platform may be defined using Target Triples. Target Triples refer to a platform on which code runs are a core concept in the GNU build system. Target Triples define the three fields CPU family name / model, vendor and operating system name. The CPU architecture setting may allow cross-compilation of a first CPU architecture to a second CPU architecture having a respective first and second operating system, wherein said first and second CPU architecture or operating system is the same or different.

[0058] The networking information 20 may be independently configurable of the software application code 12, and the other way around, i.e., the software application code 12 may be independently configurable of the networking information 20. This advantageously allows for a decentralization of responsibilities. It is hence possible to switch between any one of the configurable settings and / or default settings of the networking information 20 without the software application code 12 requiring adaptations, or vice versa. For example, it is possible to control switches from local storage, to MinlO object storage, to AmazonS3, or even to hardware storage in e.g. RAM, without adapting the software application code 12. Of course, the other way around is possible, i.e. redesigning data storage structures without necessarily requiring adaptations of the networking information 20. A plurality of different scenarios can be realized, and the skilled person will appreciate that any one of the configurable settings or default settings can be adapted without requiring adaptations of the networking information 20, or the other way around.

[0059] Reference is once again made to FIG. 3. The system 200 is further configured to carry out a step of generating 130 networking code 30 at least for a plurality of distributed computing services 42 orchestrated by the distributed computing environment 40. Orchestration of a plurality of distributed computing services 42 by the distributed computing environment 40, as such, involves applying techniques readily known by the skilled person. The present disclosure is not limited to any such readily known orchestration scheme, since the generation of the networking code 30 is advantageously adaptable to function in conjunction with any suitable known tool applied in the prior art for orchestrating the distributed computing environment 40. For purely exemplary purposes, the skilled person may consider the following tools for orchestration of a plurality of distributed computing services 42: container orchestration (e.g. using tools such as Kubemetes or Docker), clustermanagement (e.g. using tools such as Apache Mesos, DC / OS or Amazon ECS), workflow management (e.g. using tools such as Apache Airflow or AWS Step Functions), service discovery (e.g. using tools such as Consul, etcd or ZooKeeper) and load balancing (e.g. using tools such as HAProxy, NGINX or Amazon ELB), to name some examples.

[0060] The distributed computing environment 40 may comprise one or more computing platforms. Such computing platforms may be cloud platforms (such as Amazon Web Services, Microsoft Azure or Google Cloud Platform), virtualized environments (such as Docker containers or virtual machines), on-premise servers, data centers, bare-metal servers or any other external device.

[0061] The distributed computing services 42 and a runtime instance (or node) are two distinct, albeit related terms. A runtime is a software environment being configured to provide relevant resources for the execution of the application program 10, including e.g. memory management, input / output handling and threading, to name a few examples. A distributed computing service 42, on the other hand, is a modular and independently deployable unit or software being configured to perform a particular function of the application program 10. In the present distributed computing environment 40, a plurality of distributed computing services 42 are configured to communicate with one another to carry out the execution of a plurality of functions associated with the application program 10. Moreover, they are designed to be highly scalable, fault-tolerant and replaceable. While the distributed computing services 42 are runnable on a variety of runtimes, they are deployed in the distributed computing environment 40 using various cloud-related tools as discussed above, thus taking advantage of fault tolerance, scalability, and other features offered by the distributed computing environment 40. Moreover, each one of the distributed computing services 42 may be configured to run multiple runtime instances, thereby allowing horizontal scaling for handling increase in traffic and workloads as well as a large number of simultaneously received requests.

[0062] The distributed computing services 42 may be nanoservices or microservices. The distributed computing services 42 may be queryable. It is thus possible to query a service’s runtime instance to identify what capabilities are associated therewith such that data can be quickly retrieved.

[0063] The networking code 30 defines respective communication protocols at least of the plurality of distributed computing services 42. A communication protocol is defined as a set of rules and standards that govern the exchange of data between entities in at least the distributed computing environment 40. Such rules and standards involve format and structureof the data, error detection and correction methods, and procedures for carrying out the transfer of data, for allowing said entities to effectively and reliably communication. Communication protocols may include both short-range or long-range standards known in the art. The following list of examples are some exemplary network / radio communication protocols that may defined by the networking code 30: HTTP(S), TCP / IP, UDP, FTP, SMTP, DNS, DHCP, SSH, POP3, SCP, NFS, SFTP, ICMP, ARP, RTP, RTCP IEEE 802.11, IEEE 802.15, ZigBee, WirelessHART, WiFi, Bluetooth®, BLE, RFID, WLAN, MQTT loT, CoAP, DDS, NFC, AMQP, LoRaWAN, Z-Wave, Sigfox, Thread, EnOcean, mesh communication, any form of proximity-based device-to-device radio communication, LTE Direct, W- CDMA / HSPA, GSM, UTRAN, LTE, IPv4, IPv6, 6L0WPAN, IrDA, or 5G NR. Other radio / network-based communication protocols may alternatively be realized.

[0064] The following list of examples are some exemplary light-based communication protocols that may be defined by the networking code 30: IrDA, VLC, Li-Fi(-X), FSOC, OCC, OWC, OBS, PON, or FSO. Other light-based communication protocols may alternatively be realized.

[0065] The following list of examples are some exemplary wired communication protocols that may be defined by the networking code 30: A2B, AFDX, ARINC 429, Byteflights, CAN, D2B, Ethernet, FlexRay, IDB-1394, lEBus, I2C, ISO 9141-1 / -2, J1708, J1587, J1850, J1939, ISO 11783, KWP2000, LIN, MOST, Multifunction Vehicle Bus, SMART wireX, SPI, VAN or UAVCAN. Other wired communication protocols may alternatively be realized.

[0066] The following list of examples are some exemplary communication protocols based on quantum computing that may be defined by the networking code 30: QKD, Quantum Teleportation, QIP or Entanglement-based quantum cryptography. Other quantum-based communication protocols may alternatively be realized.

[0067] As clearly indicated by the above examples, the networking code 30 may define practically any type of communication protocol based on various different technologies, none of which are to be interpreted as limiting to the scope of the present disclosure. In fact, this is an advantageous technical effect provided by the disclosed automatic networking code generation scheme, since its compatibility and adaptability is superior to known prior art technologies. The generated networking code 30, being configured to support multiple networking protocols, typically generates the protocol handling as individual modules that are only loaded if that protocol is being used.

[0068] The networking code 30 and the software application code 12 may be agnostic to the distributed computing environment 40. To this end, the code 12; 30 can run on any computing environment having different operating systems, communication protocols, programming languages, networking mechanisms, and so forth. This is the case for code 12; 30 both in intermediate representation formats as well as non-compiled formats. Similar to the code 12, the networking code 30 may also be represented in an intermediate representation format.

[0069] The networking code 30 is generated based on the networking information 20. This may be done according to what has been described hereinabove, i.e. using the information provided in the networking information for serializing / deserializing the code from and to various intermediate representation formats 14. To this end, “based on the networking information 20” may alternatively be interpreted as “in response to having received, read and carried out the steps as instructed by the networking information 20”. The networking code 30 is also generated based on the software application code 12 such that a distributed execution of the application program 10 can be carried out across at least the distributed computing environment 40 and networking aspects accordingly be managed.

[0070] As further seen in FIG. 3, the application code 12 being the intermediate representation format 14 may be compiled and bundled 112 into one or more software modules 16. The software modules 16 may thus be generated for some particular intermediate representation formats 14, for instance Web Assembly bytecode. Other examples may be dynamic libraries and / or ELF code. In this particular case, a plurality of Web Assembly software modules 16 are generated, although variations may be realized.

[0071] The software modules 16 may be stored 114 in a module storage resource 60 until a loading condition has been triggered. The module storage resource 60 may be a database, cache, repository, or other known storage structure capable of storing software modules 16 which can be loaded and executed by at least the distributed computing environment 40. The software module storage 60 may be disposed in several different formats, such as locally, in memory, remotely, and have one or more (different) layers for fallback in case of system failure or to reduce latency. The loading condition may be a start-up of the application program 10, an initiation of a particular program function of the application program 10, or any such similar condition that triggers loading of the associated software module 16.

[0072] The module storage resource 60 may be configured to store a respective state of the one or more software modules 16. This may serve as a failsafe measurement for handling interrupts or otherwise crashing distributed computing services 42. The states may be storedin memory and copied over to a second distributed computing service 42 whenever a failure has occurred in a first distributed computing service 42 for continued execution of said software module 16. For this particular purpose, the state may be replicated such that said second distributed computing service 42 configured for continued execution can carry on where the first distributed computing service 42 crashed, got interrupted or any other reason for failure. In addition, the memory state may be stored such that the memory of the crashed software modules 16 may be loaded and reused in a local runtime instance with enabled debugging functionality. In some cases, this is not necessarily a failsafe measurement since a similar procedure may be carried out where some distributed computing services 42 need to be switched out for some reasons, such as testing reasons. For example, Web Assembly which is a stack-based virtual machine uses a stack data structure to store and manage memory during program execution. It is thus possible to actively move the application program 10 when it is already running.

[0073] The software modules 16 may be assigned to accessible hardware components. The assignation may include a specific and / or growable amount of memory that can be dynamically resized up to a set amount of memory. The assignation may alternatively or additionally include a specific and / or growable amount of CPU / GPU resources that can be dynamically resized up to a set amount of GPU / CPU resources, or storage, Al processing or other types of hardware. By doing so, automatic vertical and horizontal scaling of said software modules 16 is achieved such that they may communicate with distributed computing services (e.g. services of different computing environments) different from the distributed computing services 42 orchestrated by the distributed computing environment 40.

[0074] The software modules 16 may be cached on a particular distributed computing service 42 by which it has been executed. This corresponds to a built-in local caching for latency sensitive workloads that can be utilized for time-sensitive workloads where each microsecond matters. The caching may be automatically performed. The caching may have a plurality of layers, e.g. local storage medium, regional caches, and global caches, etc. The software modules 16 may be fetched from any of these layers, and be configured to have any number of fallback layers if the requested data doesn’t exist in the requested layer.

[0075] The software modules 16 may comprise one or more environmental variables being loaded into the respective software module 16 before the loading condition is triggered. The environmental variables may be used to locate resources (e.g. through locations of executable files, system paths or temporary directories) and perform specific actions. The environmental variables may be customized by users to suit the particular distributedcomputing environment 40. The environmental variables may be secured by encryption, which are so called secrets. The environmental variables, or the secrets thereof, may be fetched through an API.

[0076] The software modules 16 may comprise execution policy data. The execution policy data defines where the software module 16 is allowed to execute (e.g. in a data center, specific region, or server, etc.), and maintains data residency. The configurable setting of the networking information 20 may be used to control the policy data.

[0077] The software modules 16 may comprise an activatable module invalidation functionality. Once activated, one or more executions of the software module 16 are stopped. The executions may be stopped for a duration determined by the module invalidation functionality. The executions may be stopped through an API call or a web portal. The executions may be stopped for all module instances and thus impact all users using said software module 16 through said module instances. Alternatively, any new instances of said software module 16 may be prevented from being instantiated, which will result in all users using said software module 16, after some time, eventually being stopped.

[0078] The software modules 16 may be short running modules or long running modules. Short running modules may be interpreted as an alternative to AWS Lambda, Microsoft Azure Functions and Google Cloud Functions, i.e. a Function-as-a-service (Faas) acting as a service deployment type where the application program 10 is started in response to a trigger and immediately shut down once the task has been carried out. The short running modules may be vertically and horizontally scaled. Long running modules may be interpreted as an alternative to container-based workloads and container-based platforms such as Kubemetes, Amazon ECS, Amazon Fargate, etc. The long running modules may also be alternatives to bare-metal servers or virtual machines. The long running modules may be vertically and horizontally scaled.

[0079] The system 200 is further configured to execute a step of loading 140 at least a portion of the networking code 30 and of the software application code 12 being in the intermediate representation format 14. In some embodiments, as explained above, the code in the intermediate representation format 14 is loaded as software modules 16 fetched from the module storage resource 60. The code in the intermediate representation format 14 may be loaded at the same time as the networking code 30, or one after the other in any order. The loading procedure will be initiated by one particular (“first”) distributed computing service 42-1 being configured to load what portions of the code in the intermediate representation format 14 and what portions of the networking code 30 that are required for that particularservice 42-1. Said particular distributed computing service 42-1 may be interpreted as a first entry point in a network, the network being the distributed computing environment 40.

[0080] The particular distributed computing service 42-1 having loaded the code according to the above is adapted to carry out a linking 150 procedure. The linking procedure is depicted in FIG. 3 as being performed by a respective linker module L42-1, L42-2, L42-n of the distributed computing services 42. During the linking 150 procedure, the distributed computing service 42-1 is adapted to link the loaded portions of the networking code 30 and of the code being in the intermediate representation format 14 with other distributed computing services 42-2, 42-n among the plurality of distributed computing services 42. Note that “the first service” 42-1 and “the other services” 42-2, 42-n as referred to herein may be any of the distributed computing services 42 and that the terms “first” and “other” are merely used for explanatory purposes. In addition, the reference to “n” in 42-n indicates that there may be any number of services 42 as required to provide a distributed execution of the application program 10. Moreover, the term “service” is used instead of “distributed computing service” for reasons of brevity.

[0081] An exemplary linking procedure may be carried out according to the following. The first service 42-1 initiates the linking procedure after having loaded 140 portions of the code in the intermediate representation format 14 and the networking code 30, thereby triggering activation of the other services 42-2, 42-n. In response to said initiation of the linking procedure by the first service 42-1, the other services 42-2, 42-n are configured to carry out respective function calls to respective portions of code being in the intermediate representation format 14 and to respective portions of the networking code 30. Hence, the networking code 30 and the code in the intermediate application format 14 are respectively linked among the services 42-1, 42-2, 42-n so as to enable a distributed execution of the application program 10 to be carried out.

[0082] Triggering activation of the other services 42-2, 42-n may be carried out by transmitting a request (e.g. http request), providing a message from a message queue, scheduling a cron job, using a billing trigger which is configured to allow execution of custom code upon a threshold value being reached in e.g. a weekly or monthly spend, or performing some other similar trigger actions known in the art. The triggering part of the linking 150 may be carried out in between said function calls, such that a similar behaviour as Link Time Code Generation (LTCG) and Link Time Optimization (LTO) is achieved. However, instead of just optimizing the code as is the case with LTCG and LTO, this procedure also involves the generation of all of the networking code 30 which is sequentially injected in between saidfunction calls to the respective services 42-2, 42-n. To this end, the networking code 30 is linked at e.g. start-up of the application program 10, but the generation and compilation of the software application code 12 of the program 10 as well as possible optimization steps (such as the generation of software modules 16) can be performed at any time before the linking 150 has occurred, or even at the same time as said linking 150 is occurring.

[0083] The linking 150 may involve linking of various data capabilities. The term “data capabilities” shall in this context be interpreted as technical functions that are related to data types, data sources, data technologies, data stores and data operations. The purpose of linking the data capabilities is to prepare the distributed computing environment 40 for execution of the application program 10. Data capabilities may include host capabilities, networking capabilities, and user-provided capabilities.

[0084] The linking 150 may involve linking of host capabilities of a service 42. The host capabilities may manage access of the code 12 in the intermediate representation format 14 (or software modules 16) to underlying hardware resources of services 42 of the distributed computing environment 40. The underlying hardware resources of the runtime instances 24 may depend on a plurality of different aspects including but not limited to capabilities, network loads, access rights, computing requirements, memory requirements, scheduling and balancing aspects. For example, a certain execution of the application program 10 may require access to a Bluetooth receiver or transmitter unit in order to effect data forwarding between two or more distributed computing services 42-1, 42-2, 42-n. In this example, the program 10 interacts with the networking code 30 such that access to said Bluetooth receiver or transmitter unit is provided. Other underlying hardware resources that may be accessed may be processing units, memories, FPGAs or sensors, to name a few examples. To this end, the access to underlying hardware resources may depend on the specific needs of the distributed computing service 42 or the application program 10.

[0085] The host capabilities of the service 42 depend on a variety of factors related to the platform on which it is hosted, i.e. the computing platforms associated with the distributed computing environment 40 (or other environments being in communication with) as discussed above. The host capabilities may be in the form of machine code that can run directly on a computing platform’s hardware. The host capabilities may include scalability data. The scalability data includes data pertaining to how a service manages an increased workload by scaling. The host capabilities may include availability data. The availability data includes data pertaining to assurance of availability of a service in the event of a failure, a switch, a request for availability, or other such scenarios. The host capabilities may include isolation data. Theisolation data includes data pertaining to a service’s ability to isolate itself from other processes / tasks running on the same host. The host capabilities may include resource management data. The resource management data includes data pertaining to a service’s ability to manage and allocate necessary resources, such as CPU, GPU, memory and storage for the service to run as intended. The host capabilities may include monitoring and management data. The monitoring and management data includes data pertaining to a service’s ability to performance and health monitoring, as well as management thereof and potential configuration updates. Other related host capabilities known to the skilled person may alternatively be realized.

[0086] The linking 150 may involve linking of networking capabilities and of user- provided capabilities. For the linking 150 of the networking capabilities and the user-provided capabilities, two different approaches can be realized, that will be referred to as a dynamic linking or a non-dynamic linking. The linking 150 may be performed dynamically, non- dynamically, or a combination of dynamically and non-dynamically.

[0087] In the first approach, the linking 150 is performed prior to the runtime operation of said loading 140. This may be interpreted as the non-dynamic linking. This stage is also referred to as build-compile time in the prior art. Hence, the networking capabilities and user- provided capabilities are loaded and linked to provide an executable of the application program 10 in preparation for the execution, before the runtime execution.

[0088] The non-dynamic linking involves building the code in the intermediate representation format 14 in an initial step. This initial step involves bundling the networking code 30 into one application bundle that is either stored in the module storage resource 60 or directly consumed in runtime by loading the entire application program 10 as the one application bundle. Since the networking code 30 is already bundled into the application bundle, a distributed computing service 42 may execute the application program 10 accordingly.

[0089] In the second approach, the linking 150 is a dynamic linking. Dynamic linking refers to said networking capabilities and user-provided capabilities being loaded and linked in runtime operation, instead of prior to the runtime operation. This allows a plurality of functions of the application program 10 (or even a plurality of application programs 10) to use the same library code, thereby reducing the size of each function / program. In addition, memory and disk space requirements are minimized and a more flexible use of libraries without the need to recompile and / or relink the functions / programs when updates or other types of redeployments are due. It has been shown that dynamic linking performs particularlywell when the code in the intermediate representation format 14 are compiled and bundled 112 into a plurality of software modules 16. However, as discussed above, linking as such is functional also without compiling and bundling 112 the code into said software modules 16. In cases where the code is not compiled into the software modules 16, software isolation provided by software module plugins can alternatively be replaced with other methods of software isolation known to the skilled person, such as modularization techniques. The data capabilities as discussed above are responsible for this isolation and specifies what a particular portion of the code in the intermediate representation format 14 is allowed to do.

[0090] With the dynamic linking approach using software modules 16, the networking code 30 in generated in build-compile time may be placed together the code in the intermediate representation format 14 in one or more software modules 16 that is being stored in the module storage resource 60. Upon a distributed computing service 42 loading said one or more software modules 16, dynamic linking is performed before execution of program 10. Since the distributed computing service 42 is aware of triggers used to trigger the loading of the one or more software modules 16, the distributed computing service 42 will know which particular software module 16 among the one or more software modules 16 to load for the application program 10 to be able to deserialize incoming information and forward said information for further execution. In the dynamic linking approach using software modules 16, the software modules 16 and the networking code 30 may be independently updated or modified with respect to one another without having to rebuild the other one. This allows for the networking code 30 to be swapped out wherever or whenever it is needed for another networking code 30 to be able to communicate using e.g. different protocols or communication mechanisms.

[0091] Upon a first software module 16 being executed by a first service 42-1, the generated networking code 30 may be used to invoke a second software module 16 having respective networking code 30, thereby enabling dynamic linking. This process may occur upon the first service 42-1 triggering the loading 140 of the first software module 16, which may be caused by an incoming request for the first software module 16. As a further optimization step, the first software module 16 being loaded by the first service 42-1 may cause the first service 42-1 to instruct itself or the other services 42-2, 42-n to pre-load software modules 16 and networking code 30 that will be called by the first service 42-1, i.e., when the execution of the first software module 16 has proceeded to the step of calling the other software modules 16 already being loaded and linked with the other services 42-2, 42-nsuch that the request may be handled directly. The latency for starting the application program 10 is thereby reduced.

[0092] Networking capabilities of the networking code 30 may include security-related data. The security-related data determines means for establishing secure communication between computing services, environments and external entities in a network, through mechanisms such as encryption schemes, firewalls, access controls schemes, etc. The networking capabilities may include load balancing data. The load-balancing data manages a service’s ability to distribute traffic or workloads across a plurality of runtime instances to obtain an improved performance and availability. The networking capabilities may include service discovery data which manages a service’s ability to discover and communication with other services within or external to the environment without requiring hardcoding of e.g. hostnames or IP addresses. The networking capabilities may include gateway data which pertains to proxies, triggers, authentication, rate limits, routing of information, etc. The networking capabilities may include troubleshooting and monitoring data which pertains to network traffic, latency, errors, vulnerabilities, etc.

[0093] User-provided capabilities of the software application code 12 being in the intermediate representation format 14 comprise data pertaining to specific functionalities or features being implemented by developers of the associated application program 10. The user- provided capabilities may include storage data which is related to the program’s 10 ability to store, retrieve and manipulate data using e.g. databases, data models or other data access mechanisms. The user-provided capabilities may include interface data which is related to the program’s 10 ability to provide interfaces for a user to interact with the program 10 through e.g. GUIs, CLIs, web-based interfaces, and so forth. The user-provided capabilities may include logic data pertaining to the program’s 10 ability to manage business logic and rules including calculations, validations and workflow management. The user-provided capabilities may also include other data related to the application program 10, including but not limited to communication data, security data, reporting data and customization data.

[0094] The linking 150 is not limited to any particular order of linking the networking code 30 or the code in the intermediate representation format 14. They may be linked simultaneously or one after the other, in any order.

[0095] The linking 150 may be automated in examples utilizing software modules 16. This may be beneficial for situations where the application program 10 is unlikely to be rebuilt very often, since the linking 150 does not have to occur every time the program is executed.

[0096] Once the linking 150 has prepared the application program 10 to be executed, a respective execution module E42-1, E42-2, E42-n of the distributed computing services 42 is configured to execute 160 the functionalities of the application program 10 across the distributed computing services 42-1, 42-2, 42-n by which the networking code 30 and the code being in the intermediate representation format 14 have been linked with. Hence, a distributed execution of the software application program 10 in the distributed computing environment 40 is achieved.

[0097] The system 200 may be configured to implement a real-time vulnerability detection functionality. This functionality performs vulnerability detection of one or more vulnerabilities in the software application code being in the intermediate representation format 14, or in the networking code 30. In response to said one or more vulnerabilities being detected, the functionality may further automatically trigger vulnerability handling. The vulnerabilities may be detected by a continuous monitoring performed by the system 200. The various vulnerabilities may be flagged for security risks that may appear, for instance in the SSL framework. The real-time vulnerability detection functionality may be implemented as a form of anomaly detection in runtime operation of the program 10. . In the event that a vulnerability is detected, the system 200 may, as a part of the vulnerability handling, automatically trigger regeneration of the networking code 30 having corrected the vulnerability, and cause re-load, re-link, and re-execution of the application program 10. This may be done without ever affecting the software application code 12, so that the developers do not have to spend significant time on refactoring the code 12 in case a vulnerability is detected.

[0098] The real-time vulnerability detection functionality may be combined with vulnerability reporting organizations, such as NIST, for flagging potential vulnerabilities. The reporting may be provided for developers or any other security management service. The reporting may include information pertaining to a cause of an error, a solution of how to handle the error, effect of the error, and / or if and then how the error was solved. The reporting may also include potentially missing networking capabilities, user-provided capabilities, host capabilities, policies, environment variables, secrets, or any other settings (such as the configurable settings in the networking information 20), and so forth.

[0099] The subject matter associated with FIG. 3 has now been explained in detail. To summarize, some of the most important aspects for providing the distributed execution of the application program 10 and all of the associated technical advantages are related to how, where, and when the generating 130 of the networking code 30 is performed, andsubsequently how the linking 150 thereof is managed, along with the software application code 12 being in the intermediate representation format 14, among the distributed computing services 42 of the distributed computing environment 40. These acts differ significantly from what is known in the art. The networking code 30 is automatically generated for the application program 10, which results in that there is no need to modify the networking code 30 whenever a system vulnerability is found, a new update needs to be deployed, or some other event that requires refactoring of the networking code 30. The generation of the networking code 30 further allows customized changes to any of the configurable settings as described above, as well as allowing the networking code 30 to communicate and / or understand multiple networking protocols / mechanisms at the same time. In addition, the application program 10 may have different protocols / mechanisms that execute different parts of the functionalities defined therein in different devices / servers / systems, etc. Hence, one or more of the advantageous technical effects as laid down in the Background section can be realized.

[0100] Reference is now made to FIGS. 5-7, which show different exemplary execution strategies. These correspond to the step of how the code is executed, i.e. step 160 as was shown and explained with reference to FIG. 3, once the linking 150 has been performed, as was also discussed in FIG. 3. As also discussed above, the execution strategies may be defined by the configurable setting being an execution setting in the networking information 20. Additionally or alternatively, the execution strategy can be directly determined in runtime operation of one or more of the distributed computing services 42.

[0101] FIGS. 5-7 show different compilation and execution procedures 500; 600; 700 for carrying out the execution 160 of the present disclosure. These may be set by the networking information 20, for instance as a default setting or in the at least one configurable setting, or be determined by the distributed computing services. In these procedures 500; 600; 700, only one distributed computing service 42 is shown for reasons of brevity. However, it is assumed that the respective linker modules L42 are configured to carry out the linking procedure as has been discussed herein prior to the execution of the code. Although the linking in these examples are explained to occur in runtime, i.e., using the dynamic linking procedure, it is understood that the non-dynamic approach can be realized as well.

[0102] FIG. 5 shows an AOT procedure 500. Prior to the loading of the networking code and the software application code in the intermediate representation format 14, the AOT procedure 500 involves a step of compiling 505 the code in the intermediate representation format 14 into machine code 15. Subsequently, the machine code 15 is stored in a machinecode storage resource, for instance as software modules 16 in a software module storage resource. To this end, an ahead-of-runtime compilation to machine code 15 is performed. The loading and linking (by the linker module L42) is then performed, and finally the code is executed 510 by an AOT execution module E42-AOT in response to an execution condition being met. This condition may be an application program start-up, a finished linking, or any other suitable execution condition determining when the machine code 15 needs to run. In order to prevent a person or malware with malicious intent from accessing the machine code 15 and, for instance, swapping it out with harmful code that can potentially cause security concerns for the whole system, the machine code 15 may be signed. Before running the machine code 15, the service 42 may perform a validation procedure for verifying the authenticity of the signed machine code 15 such that it is safe to run. Any suitable signing and validation technique applied in the art may be used for this purpose, including but not limited to Digital Signatures, Hash-based Message Authentication Code (HMAC), Code signing certificates, Trusted Platform Module (TPM), Address Space Layout Randomization (ASLR), Data Execution Prevention (DEP) or Control Flow Integrity (CFI). An advantage of applying the AOT procedure 500 involves that it is possible to further optimize the machine code 15, for instance using known tools such as LLVM or Cranelift.

[0103] FIG. 6 shows a JIT procedure 600. With the JIT procedure 600, machine code is dynamically compiled 605 in runtime operation of the service 42. In runtime, the code in the intermediate representation format 14 is loaded and interpreted by the JIT runtime, potentially in the form of software modules 16. After the linking has been performed by the linker module L42, the code to be executed by the JIT execution module E42-JIT is executed 610 accordingly. In short, the execution involves: 1) the JIT runtime manages frequently executed portions of the code; 2) (optional step) once said portions of the code have been executed a sufficient number of times the compilation 605 is performed for said portions of the code; 3) compiled portions of the code are then executed instead of the loaded and interpreted code in the intermediate representation format 14; and 4) the JIT runtime continues to monitor the execution of the compiled code and recompile portions of code as needed to ensure that said frequently executed portions of the code are optimized for performance. Advantages of applying the JIT procedure 600 involve that it improves the performance of interpreted programming languages (for instance the software modules 16 or other intermediate representation formats 14). The JIT procedure 600 does not rely on pre-compiled code, as the AOT procedure 500 does that may not be optimized for the particular computing platform of the service 42. In addition, there is no need for applying any additional security standardssuch as signing and validation since the machine code being part of the software modules 16 has already been compiled and optimized and cannot be tampered with. However, an additional module verification step may still be performed to identify where modules are originating from.

[0104] FIG. 7 shows an interpreter procedure 700. The interpreter procedure 700 is similar to the JIT procedure 600 in that the code in the intermediate representation format 14 is loaded and interpreted. However, the interpreted code is typically not compiled in the traditional sense (such as in AOT and JIT). Instead, the interpreted code is executed statement (or expression) by statement by an interpreter that evaluates each statement and carries out corresponding actions. The code in the intermediate representation format 14 (possibly being compiled and optimized into software modules 16) is thus read and immediately executed on the CPU by calling native machine code. The interpreter procedure 700 provides the advantage of allowing for quick development and testing, such that executed code is practically associated with very short or no start-up time.

[0105] FIGS. 8-11 show different exemplary networking models 800; 900; 1000; 1100 that can be implemented by a distributed computing environment 40. In any of these networking models 800; 900; 1000; 1100, the distributed computing environment 40 may be a server-side computing environment, a client-side computing environment, or a combination thereof. The distributed computing environment 40 may be configured to communicate with one or more remote services, the one or more remote services being external devices 72, data centers 74 or additional distributed computing environments 76 having respective distributed computing services 78. To this end, when referring to “at least” in the present disclosure, this essentially means that these actions may be carried out with respect to any of the remote services as well. For these four examples, the skilled person will thus appreciate that networking code may be generated for any of the remote services, networking code may define protocols of any of the remote services, networking information may be associated with any of the remote services, and code may be linked with any of the remote services. This may be performed such that the distributed computing environment 40 can communicate with the remote services and distribute the execution of the application program also to any of the remote services.

[0106] In any of the exemplary networking models 800; 900; 1000; 1100, the distributed computing environment 40 may be configured to orchestrate the plurality of distributed computing services 42 as a capability-based security model. This is related to the data capabilities as discussed with reference to the linking procedure. An application programrunning in the capability-based security model will only do what it is explicitly allowed to do, as set by the capabilities. Different portions of the code in the intermediate representation format will thus be scheduled to run at a service having the desired capabilities. In situations where there are no services currently available or all available services are already being occupied by other running portions of the code, the code will be scheduled at a service without the desired capabilities. This may be useful in case the application program will perform or function better on services having the desired capabilities, but it is still relevant for running the program if there are no available services, or if all services are occupied. Such scenario may be realized where the computing environment has a small set of services that are enough to handle normal load conditions, although sometimes heavy load spikes causes other services to temporarily assist in the execution of the program. An exemplary scenario may be an application program directed at graphics rendering where the related services have the desired capabilities of a GPU. However, if all these are occupied or non-available, the graphics rendering may be executed on another service. The skilled person will appreciate that other such scenarios may be realized where services without the desired capabilities may step in and still execute functionality of the application program, for instance upon features being omitted or the code running at a reduced performance (in the case of replacing GPU rendering with CPU). The capability-based security model is thus a very flexible model.

[0107] FIG. 8 shows an exemplary meshed networking model 800. Each entity shown in the model 800 acts as a transceiver, which allows for multiple paths for data to flow between said entities. This provides a greater redundancy and resiliency, as data can be transmitted along multiple paths to the various entities in the event of failure or congestion on one particular path. The meshed networking model 800 is commonly used for wireless networks, particularly in ad-hoc networks where a central infrastructure is unavailable. The meshed networking model 800 is implemented by the distributed computing environment 40 being configured to orchestrate the distributed computing services 42-1, 42-2, 42-3, 42-4. The distributed computing environment 40 is configured to be able to communicate, in runtime operation or prior to runtime operation (e.g. build-compile time) with an additional distributed computing environment 76 being configured to orchestrate the additional distributed computing services 78-1, 78-2, 78-3, 78-4, data centers 74-1, 74-2, 74-3, 74-4, a remote device 72 (such as a user phone), and a module storage resource 60. The skilled person will appreciate that the exemplary meshed networking model 800 may have any additional or fewer such entities, and it may be dynamically scalable (both increased and decreased) in response to incoming traffic or workload. The networking aspects of the model 800 isdetermined by the information specified in the networking information 20 and consequently the networking code 30 being generated based thereon. The communication may thus be established based on any protocol defined by the networking code 30 and discussed in conjunction therewith.

[0108] FIG. 9 shows an exemplary internal networking model 900. The internal networking model 900 comprises similar aspects as the meshed networking model, with the difference that the distributed computing services 42-1, 42-2, 42-3, 42-4; 78-1, 78-2, 78-3, 78- 4 are respectively configured to, in runtime operation, only be able to communicate with other services orchestrated by the same distributed computing environment 40; 76. The internal networking model may take the form of a star network, a bus network, a ring network or a meshed network, depending on different specifications as determined by the networking code.

[0109] FIG. 10 shows an exemplary traditional networking model 1000. The traditional networking model 1000 refers to models that resemble earlier models of computer networks. The traditional networking model 1000 involves that the distributed computing environments 40; 76 are adapted to communicate with remote devices 72, e.g., via an application, through a respective API Gateway API-GW1, API-GW2. The API gateways may be based on technologies such as Amazon API Gateway, Kong, Tyk, Apigee, Microsoft Azure API or NGINX Plus. Alternatively, the API Gateway of the traditional networking mode 1000 may in some examples be replaced with reverse proxies, routers, other gateways, service meshes, or other such means known to the skilled person.

[0110] FIG. 11 shows an exemplary hybrid networking model 1100. The hybrid networking mode 1100 combines the aspects of a meshed networking model and a traditional networking model.

[0111] With reference to FIG. 12 some exemplary platform components 1200 of the computer-implemented system 200 as discussed herein, for instance with reference to FIG. 3, are shown. The platform components 1200 comprises a plurality of hardware components, in this particular example being based on x86, x64, arm and RISC V architectures Other examples may be realized, for instance quantum computing hardware components. These hardware components are in operative communication with an external device 72 comprising software functionality for orchestrating at least one distributed computing service 42 being operable to provide respective runtime instances. A plurality of application programs 10-1, 10-2, 10-n may be configured to be executed by said at least one distributed computing service 42 such that the hardware device 72 and respective hardware components carry out the intended functionality of the respective application programs 10-1, 10-2, 10-n.

[0112] As shown in FIG. 13, the system 200 may include a number of units known to the skilled person for implementing the functionalities as described in the present disclosure. The system 200 may comprise one or more computing units capable of including firmware, hardware, and / or executing software instructions to implement the functionality described herein. The system 200 may comprise one or more processor devices (may also be referred to as a control unit) 230, one or more memories 235 and one or more buses 240. The system 200 may include at least one computing device, such as the external device 72, having the processor device 230. A system bus 240 may provide an interface for system components including, but not limited to, the memories 235 and the processor devices 230. The processor device 230 may include any number of hardware components for conducting data or signal processing or for executing computer code stored in the memories. The processor device 230 may, for example, include a general -purpose processor, an application specific processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a circuit containing processing components, a group of distributed processing components, a group of distributed computers configured for processing, or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. The processor device 230 may further include computer executable code that controls operation of the programmable device.

[0113] The system bus 240 may be any of several types of bus structures that may further interconnect to a memory bus (with or without a memory controller), a peripheral bus, and / or a local bus using any of a variety of bus architectures. The memories 235 may be one or more devices for storing data and / or computer code for completing or facilitating methods described herein. The memories 235 may include database components, object code components, script components, or other types of information structure for supporting the various activities herein. Any distributed or local memory device may be utilized with the systems and methods of this description. The memories 235 may be communicably connected to the processor device 230 (e.g., via a circuit or any other wired, wireless, or network connection) and may include computer code for executing one or more processes described herein. The memories may include non-volatile memories (e.g., read-only memory (ROM), erasable programmable read-only memories (EPROM), electrically erasable programmable read-only memories (EEPROM), etc.), and volatile memories (e.g., random-access memory (RAM)), or any other medium which can be used to carry or store desired program code in the form of machine-executable instructions or data structures and which can be accessed by acomputer or other machine with a processor device. A basic input / output system (BIOS) may be stored in the non-volatile memories and can include the basic routines that help to transfer information between elements within the computer system.

[0114] A storage 245 may be operably connected to the system 200 via, for example, I / O interfaces (e.g., card, device) 250 and I / O ports 255. The storage 245 can include, but is not limited to, devices like a magnetic disk drive, a solid state drive, an optical drive, a flash memory card, a memory stick, etc. The storage 245 may also include a cloud-based server implemented using any commonly known cloud-computing platform, as described above. The storage 245 or memory 235 can store an operating system that controls and allocates resources of the system 200.

[0115] The system 200 may interact with network devices 260 via the I / O interfaces 250, or the I / O ports 255. Through the network devices 260, the system 200 may interact with a network. Through the network, the system 200 may be logically connected to remote computers. Through the network, the server-side platform 210 may communicate with the client-side platform 220, as described above. The networks with which the system 200 may interact include, but are not limited to, a local area network (LAN), a wide area network (WAN), and other networks.

[0116] FIG. 14 shows an exemplary method 100 for providing a distributed execution of a software application program 10 in a distributed computing environment 40. The method 100 comprises providing 110 software application code 12 of the software application program 10 in an intermediate representation format 14. The method 100 further comprises providing 120 networking information 20, the networking information 20 at least being associated with the distributed computing environment 40. The method 100 further comprises, based on the networking information 20 and the software application code 12, automatically generating networking code 30 at least for a plurality of distributed computing services 42 orchestrated by the distributed computing environment 40, the networking code 30 defining respective communication protocols at least of said plurality of distributed computing services 42. The method 100 further comprises, by a particular distributed computing service 42-1 from among the plurality of distributed computing services 42: loading 140 at least a portion of the networking code 30 and at least a portion of the software application code being in the intermediate representation format 14, linking 150 said loaded at least a portion of the networking code 30 and said loaded at least a portion of the software application code being in the intermediate representation format 14 at least with other distributed computing services 42-2, 42-n of the plurality of distributed computing services 42, and executing 160 said atleast a portion of the software application code being in the intermediate representation format 14 across the distributed computing services 42-1, 42-2, 42-n by which said at least a portion of the networking code 30 and said at least a portion of the software application code being in the intermediate representation format have been linked with.

[0117] With reference to FIG. 15, a schematic illustration of a (non-transitory) computer- readable (storage) medium 300 is shown according to one exemplary embodiment. The computer-readable medium 300 may be associated with or connected to the system 200 as described herein, and is capable of storing a computer program product 310. The computer- readable medium 300 in the disclosed embodiment is a memory stick, such as a Universal Serial Bus (USB) stick. The USB stick 300 comprises a housing 330 having an interface, such as a connector 340, and a memory chip 320. In the disclosed embodiment, the memory chip 320 is a flash memory, i.e., a non-volatile data storage that can be electrically erased and reprogrammed. The memory chip 320 stores the computer program product 310 which is programmed with computer program code (instructions) that when loaded into a processor device, will perform a method, for instance the method 100 explained with reference to FIG. 14, the USB stick 300 is arranged to be connected to and read by a reading device for loading the instructions into the processor device. It should be noted that a computer-readable medium can also be other mediums such as compact discs, digital video discs, hard drives or other memory technologies commonly used. The computer program code (instructions) can also be downloaded from the computer-readable medium via a wireless interface to be loaded into the processing device.

[0118] The operational steps described in any of the exemplary aspects herein are described to provide examples and discussion. The steps may be performed by hardware components, may be embodied in machine-executable instructions to cause a processor to perform the steps, or may be performed by a combination of hardware and software. Although a specific order of method steps may be shown or described, the order of the steps may differ. In addition, two or more steps may be performed concurrently or with partial concurrence.

[0119] The terminology used herein is for the purpose of describing particular aspects only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items. It will be further understood that the terms "comprises," "comprising," "includes," and / or "including" when used herein specify the presence of stated features, integers, steps, operations, elements, and / or components, but donot preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0120] It will be understood that, although the terms first, second, etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element without departing from the scope of the present disclosure.

[0121] Relative terms such as "below" or "above" or "upper" or "lower" or "horizontal" or "vertical" may be used herein to describe a relationship of one element to another element as illustrated in the Figures. It will be understood that these terms and those discussed above are intended to encompass different orientations of the device in addition to the orientation depicted in the Figures. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or intervening elements may be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present.

[0122] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms used herein should be interpreted as having a meaning consistent with their meaning in the context of this specification and the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

[0123] It is to be understood that the present disclosure is not limited to the aspects described above and illustrated in the drawings; rather, the skilled person will recognize that many changes and modifications may be made within the scope of the present disclosure and appended claims. In the drawings and specification, there have been disclosed aspects for purposes of illustration only and not for purposes of limitation, the scope of the inventive concepts being set forth in the appended claims.

[0124] Modifications and other variants of the described embodiments will come to mind to one skilled in the art having benefit of the teachings presented in the foregoing description and associated drawings. Therefore, it is to be understood that the embodiments are not limited to the specific example embodiments described in this disclosure and that modifications and other variants are intended to be included within the scope of this disclosure. For example, while embodiments of the invention have been described withreference to providing a distributed execution of a software application program in a distributed computing environment, it should be appreciated that the provisioning of an execution of a software application program by a single computing service (alternatively interpreted as runtime, or node) may be realized. In the following, a certain use case scenario will be described in more detail. In this use case, interrelated communication is realized between particular software modules being associated with a respective functionality of the software application program. To this end, the execution of the application program is decentralized among the plurality of software modules rather than distributed among a plurality of distributed computing services, in the sense that a plurality of software bundles of code making up the application program are configured for interrelated communication to execute the functionality of the application program. The following numbered example embodiments (NEE) are realized.

[0125] NUMBERED EXAMPLE EMBODIMENTS

[0126] NEE1. A computer-implemented method for providing a decentralized execution of a software application program in a computing environment, the method comprising

[0127] providing software application code of the software application program in an intermediate representation format;

[0128] bundling the software application code being in the intermediate representation format into a plurality of software modules, each software module respectively being associated with a functionality or a part thereof of the software application program;

[0129] providing networking information, the networking information being associated with the computing environment;

[0130] based on said networking information and the plurality of software modules, automatically generating networking code for said plurality of software modules, the networking code being indicative of one or more communication protocols configured for interrelated communication between the plurality of software modules upon said plurality of software modules being executed by a computing service orchestrated by the computing environment; and

[0131] by the computing service:

[0132] loading said plurality of software modules and the networking code; and

[0133] executing the plurality of software modules, the executing involving, for each one of the plurality of software modules, executing said associated functionality of the software application program and invoking, using the networking code, another software moduleamong said plurality of software modules for continued execution of the application program until the application program has finished executing.

[0134] NEE2. The method according to the embodiment NEE1, wherein the networking code and the software application code are agnostic to the computing environment.

[0135] NEE3. The method according to the embodiment NEE1 or NEE2, wherein the networking information is independently configurable of the software application code, and vice versa.

[0136] NEE4. The method according to any one of the embodiments NEE1-NEE3, further comprising linking networking capabilities of the networking code and user-provided capabilities of the software modules, wherein the linking is performed prior to runtime operation of the application program.

[0137] NEE5. The method according to any one of the embodiments NEE1-NEE3, further comprising dynamically linking networking capabilities of the networking code and user- provided capabilities of the software modules.

[0138] NEE6. The method according to any one of the embodiments NEE1-NEE5, wherein the networking information comprises instructions for serializing said plurality of software modules, said automatic generation of the networking code comprising serializing and deserializing function parameters of the plurality of software modules.

[0139] NEE7. The method according to any one of the embodiments NEE1-NEE6, wherein the serializing is performed using a serialization format, the serialization format being one or more of Protocol Buffers, JSON, YAML, BSON, XML, CBOR, MessagePack, FlatBuffers, Cap’n Proto or SBE.

[0140] NEE8. The method according to embodiment NEE6 or NEE7, further comprising deserializing said function parameters of the plurality of software modules such that the networking information of one or more serialization formats are generated, the one or more serialization formats being Protocol Buffers, JSON, YAML, BSON, XML, CBOR, MessagePack, FlatBuffers, Cap’n Proto or SBE.

[0141] NEE9. The method according to any one of the embodiments NEE1-NEE8, wherein the intermediate representation format is in the form of a binary code format, a syntax tree or machine code.

[0142] NEE10. The method according to any one of the embodiments NEE1-NEE9, wherein the plurality of software modules are stored in a module storage resource until a loading condition being triggered.

[0143] NEE11. The method according to the embodiment NEE10, wherein the module storage resource is configured to store a respective state of the plurality of software modules.

[0144] NEE12. The method according to the embodiment NEE10 or NEE11, further comprising caching the plurality of software modules on the computing service by which they have been executed.

[0145] NEED. The method according to any one of the embodiments NEE 1 -NEE 12, wherein the plurality of software modules comprise an activatable module invalidation functionality, wherein an activated module invalidation functionality stops one or more executions of one or more of the plurality of software modules.

[0146] NEE14. The method according to any one of the embodiments NEE1-NEE13, wherein the one or more software modules are short running modules or long running modules.

[0147] NEED. The method according to any one of the embodiments NEE 1 -NEE 14, wherein the networking information has at least one configurable setting.

[0148] NEED. The method according to the embodiment NEED, wherein the at least one configurable setting is a runtime optimization setting, the runtime optimization setting configuring the plurality of software modules to run on one runtime instance of the computing service.

[0149] NEE17. The method according to any one of the embodiments NEE1-NEE16, further comprising a real-time vulnerability detection functionality, the real-time vulnerability detection functionality being configured to detect one or more vulnerabilities in the plurality of software modules or in the networking code, and in response to said one or more vulnerabilities being detected, automatically trigger vulnerability handling

[0150] NEED. The method according to any one of the embodiments NEE1-NEE17, wherein the networking information is configured to provide default instructions from a binary network protocol for networking information not being pre-configured.

[0151] NEED. The method according to any one of the embodiments NEE1-NEE18, wherein the computing environment is a distributed computing environment, wherein the distributed computing environment is configured to orchestrate a plurality of distributed computing services, wherein the plurality of software modules and networking code are loaded into and linked between two or more of the plurality of distributed computing services, and wherein the execution is carried out across the two or more distributed computing services by which said networking code and plurality of software modules have been loaded into and linked with.

[0152] NEE20. A computer-implemented system for providing an execution of a software application program in a computing environment, the system comprising one or more processing units being configured to carry out the steps of the method according to any of the embodiments NEE1-NEE19.

[0153] NEE21. A non-transitory computer-readable storage medium comprising instructions which, when executed by a processing unit, cause the processing unit to perform the method according to any of the embodiments NEE1-NEE19.

[0154] NEE22. A computer program product comprising instructions which, when executed by a processing unit, cause the processing unit to perform the method according to any one of the embodiments NEE1-NEE19.

Claims

CLAIMS1. A computer-implemented method (100) for providing a distributed execution of a software application program (10) in a distributed computing environment (40), the method (100) comprising: providing (110) software application code (12) of the software application program (10) in an intermediate representation format (14); providing (120) networking information (20), the networking information (20) at least being associated with the distributed computing environment (40); based on the networking information (20) and the software application code being in the intermediate representation format (14), automatically generating (130) networking code (30) at least for a plurality of distributed computing services (42) orchestrated by the distributed computing environment (40), the networking code (30) defining respective communication protocols at least of said plurality of distributed computing services (42); and by a particular distributed computing service (42-1) from among the plurality of distributed computing services (42): loading (140) at least a portion of the networking code (30) and at least a portion of the software application code being in the intermediate representation format (14); linking (150) said loaded at least a portion of the networking code (30) and said loaded at least a portion of the software application code being in the intermediate representation format (14) at least with other distributed computing services (42-2, 42- n) of the plurality of distributed computing services (42); and executing (160) said at least a portion of the software application code being in the intermediate representation format (14) across the distributed computing services (42-1, 42-2, 42-n) by which said at least a portion of the networking code (30) and said at least a portion of the software application code being in the intermediate representation format (14) have been linked with.

2. The computer-implemented method (100) of any claim 1, wherein the networking code (30) and the software application code (12) are agnostic to the distributed computing environment (40).

3. The computer-implemented method (100) of claim 1 or 2, wherein the networking information (20) is independently configurable of the software application code (12), and vice versa.

4. The computer-implemented method (100) of any preceding claim, wherein the linking (150) comprises causing said other distributed computing services (42-2, 42-n) to perform respective function calls to respective portions of the software application code being in the intermediate representation format (14) and to respective portions of the networking code (30) to be executed in said other distributed computing services (42-2, 42-n).

5. The computer-implemented method (100) of any preceding claim, wherein the linking (150) comprises linking host capabilities of the particular distributed computing service (42-1) with said other distributed computing services (42-2, 42-n).

6. The computer-implemented method (100) of any preceding claim, wherein the linking (150) is a dynamic linking of networking capabilities of the at least a portion of the networking code (30) and of user-provided capabilities of the at least a portion of the software application code being in the intermediate representation format (14) with said other distributed computing services (42-2, 42-n).

7. The computer-implemented method (100) of any one of the claims 1-5, wherein the linking (150) comprises linking of networking capabilities of the at least a portion of the networking code (30) and of user-provided capabilities of the at least a portion of the software application code being in the intermediate representation format (14) with said other distributed computing services (42-2, 42-n), the linking (150) being performed prior to the runtime operation.

8. The computer-implemented method (100) of any preceding claim, wherein the networking information (20) comprises instructions for serializing said software application code being in the intermediate representation format (14), said automatic generation (130) of the networking code (30) comprising serializing and deserializingfunction parameters of the software application code being in the intermediate representation format (14) or in machine code format.

9. The computer-implemented method (100) of claim 8, wherein the serializing is performed using a serialization format, the serialization format being one or more of Protocol Buffers, JSON, YAML, BSON, XML, CBOR, MessagePack, FlatBuffers, Cap’n Proto or SBE.

10. The computer-implemented method (100) of claim 8 or 9, further comprising deserializing said function parameters of the software application code being in the intermediate representation format (14), or in machine code format, such that networking information (20’) of one or more serialization formats are generated, the one or more serialization formats being Protocol Buffers, JSON, YAML, BSON, XML, CBOR, MessagePack, FlatBuffers, Cap’n Proto or SBE.

11. The computer-implemented method (100) of any preceding claim, wherein the intermediate representation format (14) is in the form of a binary code format, a syntax tree or machine code.

12. The computer-implemented method (100) of claim 11, wherein the intermediate representation format (14) is in the form of bytecode, the providing (110) being performed in compile-time operation.

13. The computer-implemented method (100) of claim 11 or 12, wherein prior to the loading (140), the bytecode is compiled and bundled (112) into one or more software modules (16), wherein the one or more software modules (16) are stored (114) in a module storage resource (60) until a loading condition being triggered.

14. The computer-implemented method (100) of claim 13, wherein the module storage resource (60) is configured to store a respective state of the one or more software modules (16).

15. The computer-implemented method (100) of claim 13 or 14, further comprising assigning the one or more software modules (16) to accessible hardware components.

16. The computer-implemented method (100) of any one of the claims 13-15, further comprising caching the one or more software modules (16) on a distributed computing service (42) by which it has been executed.

17. The computer-implemented method (100) of any one of the claims 13-16, wherein the one or more software modules (16) comprise one or more environmental variables being loaded into the one or more software module (16) before the loading condition being triggered.

18. The computer-implemented method (100) of any one of the claims 13-17, wherein the one or more of software modules (16) comprise execution policy data.

19. The computer-implemented method (100) of any one of the claims 13-18, wherein the one or more of software modules (16) comprise an activatable module invalidation functionality, wherein an activated module invalidation functionality stops one or more executions of the one or more software modules (16).

20. The computer-implemented method (100) of any one of the claims 13-19, wherein the one or more of software modules (16) are short running modules or long running modules.

21. The computer-implemented method (100) of any preceding claim, wherein the networking information (20) has at least one configurable setting.

22. The computer-implemented method (100) of claim 21, the at least one configurable setting being an execution setting.

23. The computer-implemented method (100) of claim 22, wherein the execution setting is an Ahead-of-Time, AOT, execution.

24. The computer-implemented method (100) of claim 22, wherein the execution setting is a Just-in-Time, JIT, execution.

25. The computer-implemented method (100) of claim 22, wherein the execution setting is an interpreter execution.

26. The computer-implemented method (100) of any one of the claims 21-25, the at least one configurable setting being is a protocol, communication mechanism and serialization / deserialization setting.

27. The computer-implemented method (100) of any one of the claims 21-26, the at least one configurable setting being a resource availability setting.

28. The computer-implemented method (100) of any one of the claims 21-27, the at least one configurable setting being a scheduling setting.

29. The computer-implemented method (100) of any one of the claims 21-28, the at least one configurable setting being a communication trigger setting.

30. The computer-implemented method (100) of any one of the claims 21-29, the at least one configurable setting being a compiler backend support setting.

31. The computer-implemented method (100) of any one of the claims 21-30, the at least one configurable setting being a policy setting.

32. The computer-implemented method (100) of any one of the claims 21-31, the at least one configurable setting being a software module setting.

33. The computer-implemented method (100) of any one of the claims 21-32, the at least one configurable setting being a project setting.

34. The computer-implemented method (100) of any one of the claims 21-33, the at least one configurable setting being a CPU architecture setting.

35. The computer-implemented method (100) of any preceding claim, wherein the distributed computing environment (40) is a server-side computing environment, a client-side computing environment, or a combination thereof.

36. The computer-implemented method (100) of any preceding claim, wherein the distributed computing environment (40) is configured to orchestrate the plurality of distributed computing services (42) as a capability-based security model.

37. The computer-implemented method (100) of any preceding claim, wherein the networking information (20) is further associated with one or more remote services, the one or more remote services being external devices (72), data centers (74) or additional distributed computing environments (76).

38. The computer-implemented method (100) of claim 37, wherein the distributed computing environment (40) is configured to orchestrate the plurality of distributed computing services (42) as an internal networking model where said plurality of distributed computing services (42) are configured to only be able to communicate, in runtime operation, between other distributed computing services (42; 78) orchestrated by the same distributed computing environment (40) or one of the additional distributed computing environments (76).

39. The computer-implemented method (100) of claim 37, wherein the distributed computing environment (40) is configured to orchestrate the plurality of distributed computing services (42) as a meshed networking model where said plurality of distributed computing services (42) are configured to be able to communicate, in runtime operation or prior to runtime operation, with each other or other distributed computing services (78) orchestrated by one of the additional distributed computing environments (76), one or more of said data centers (74), and / or one or more of said remote devices (72).

40. The computer-implemented method (100) of any of claim 37, wherein the distributed computing environment (40) is configured to orchestrate the plurality of distributed computing services (42) as a traditional networking model where thedistributed computing environment (40) is configured to communicate with an internal network through a gateway, router, load balancer, or reverse proxy.

41. The computer-implemented method (100) of claim 39 and 40, wherein the distributed computing environment (40) is configured to orchestrate the plurality of distributed computing services (42) as a hybrid networking model, the hybrid networking module being a combination of the meshed networking model and the traditional networking model.

42. The computer-implemented method (100) of any preceding claim, wherein the plurality of distributed computing services (42) are nanoservices or microservices.

43. The computer-implemented method (100) of any preceding claim, wherein the plurality of distributed computing services (42) are queryable.

44. The computer-implemented method (100) of any preceding claim, further comprising a real-time vulnerability detection functionality, the real-time vulnerability detection functionality being configured to detect one or more vulnerabilities in the software application code being in the intermediate representation format (14), or in the networking code (30), and in response to said one or more vulnerabilities being detected, automatically trigger vulnerability handling.

45. The computer-implemented method (100) of any preceding claim, wherein prior to the compilation of the software application code into the intermediate representation format (14), the software application program (10) is stored (102) in a package storage resource (50), wherein the software application code (12) to be compiled is fetched (104) by a worker from the package storage resource (50) in response to one or more conditions being met.

46. The computer-implemented method (100) of any preceding claim, wherein said linking (150) of the software application code being in the intermediate representation format (14) is performed in between function calls of the software application program (10).

47. The computer-implemented method (100) of any preceding claim, wherein the software application program (10) is a monolithic application program, wherein the software application code (12) of the monolithic application program is defined in a programming language of any abstraction level.

48. The computer-implemented method (100) of any preceding claim, wherein the networking information (20) is configured to provide default instructions from a binary network protocol for networking information not being pre-configured.

49. A computer-implemented system (200) for providing a distributed execution of a software application program (10) in a distributed computing environment (40), the system (200) comprising one or more processing units being configured to: provide software application code (12) of the software application program (10) in an intermediate representation format (14); provide networking information (20), the networking information (20) at least being associated with the distributed computing environment (40); based on the networking information (20) and the software application code being in the intermediate representation format (14), automatically generate networking code (30) at least for a plurality of distributed computing services (42) orchestrated by the distributed computing environment (40), the networking code (30) defining respective communication protocols at least of said plurality of distributed computing services (42); and wherein a particular distributed computing service (42-1) comprising said one or more processing units is further configured to: load at least a portion of the networking code (30) and at least a portion of the software application code being in the intermediate representation format (14); link said loaded at least a portion of the networking code (30) and said loaded at least a portion of the software application code being in the intermediate representation format (14) at least with other distributed computing services (42-2, 42- n) of the plurality of distributed computing services (42); and execute said at least a portion of the software application code being in the intermediate representation format (14) across the distributed computing services (42- 1, 42-2, 42-n) by which said at least a portion of the networking code (30) and said atleast a portion of the software application code being in the intermediate representation format (14) have been linked with.

50. A non-transitory computer-readable storage medium comprising instructions which, when executed by a processing unit, cause the processing unit to perform the method (100) of any of claims 1-48.

51. A computer program product comprising instructions which, when executed by a processing unit, cause the processing unit to perform the method (100) of any of claims 1-48.