Addressing device and method without server computing, equipment and storage medium

By adopting addressing devices with traffic awareness, multi-protocol support, intelligent cache and protocol stack integration in serverless computing environments, the performance bottleneck problem of traditional addressing methods in high concurrency and multi-protocol scenarios is solved, and low-latency and high-efficiency service calls are achieved to meet users' high-performance needs.

CN120110987APending Publication Date: 2025-06-06SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510332970.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

Traditional DNS query and routing table search methods are prone to encounter performance bottlenecks when facing large-scale, high-frequency, and multiple communication protocol service calls, resulting in increased network latency, low addressing efficiency, and affecting user experience.

Method used

A serverless computing addressing device is adopted, including a traffic-aware addressing module, a multi-protocol addressing module, an intelligent cache module and a protocol stack integration module. Determine the target addressing strategy through real-time network traffic analysis, analyze the current communication request to determine whether protocol conversion is required, and combine the target policy to call the services in the network protocol stack, optimize the cache management of service addresses and routing information, and integrate service discovery tools to manage services in the protocol stack.

Benefits of technology

Effectively reduce network delay, improve the response speed and accuracy of service calls, reduce cross-protocol communication overhead, and improve cross-protocol communication efficiency, thereby improving the performance and efficiency of serverless computing addressing, and meeting users' high requirements for service quality and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120110987A_ABST
    Figure CN120110987A_ABST
Patent Text Reader

Abstract

The invention discloses an addressing device and method without server computing, equipment and a storage medium, and relates to the technical field of computers, and the device comprises a traffic sensing addressing module which is used for analyzing a network state based on real-time network traffic collected by a distributed network traffic monitoring system so as to determine a target addressing strategy corresponding to a current communication request; the multi-protocol addressing module is used for analyzing the current communication request through a network protocol stack to judge whether protocol conversion is carried out on the current communication request or not, and calling service based on a judgment result and a target addressing strategy to complete addressing; the intelligent cache module is used for performing cache management on the recorded service address and routing information through a network protocol stack, historical and real-time network traffic and historical and real-time service calling information; and the protocol stack integration module is used for integrating a preset service discovery tool into the network protocol stack so as to manage services in the stack based on the integrated network protocol stack. According to the method and the device, the server-free calculation addressing performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an addressing device, method, equipment and storage medium for serverless computing. Background Art

[0002] As serverless computing and microservices architecture become increasingly popular, dynamic creation and destruction of service instances have become the norm. This highly dynamic environment places higher demands on network addressing mechanisms. However, traditional DNS (Domain Name System) queries and routing table lookups often encounter performance bottlenecks when faced with large-scale, high-frequency, and multi-communication protocol service calls, resulting in increased network latency and low addressing efficiency, which in turn affects user experience. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide an addressing device, method, equipment and storage medium for serverless computing, which can effectively reduce network delay, improve the response speed and accuracy of service calls, reduce cross-protocol communication overhead, and improve cross-protocol communication efficiency, thereby improving the performance and efficiency of serverless computing addressing, and thus meeting users' high requirements for service quality and performance. The specific scheme is as follows:

[0004] In a first aspect, the present application provides an addressing device for serverless computing, comprising:

[0005] A traffic-aware addressing module is used to perform network status analysis based on real-time network traffic collected through a distributed network traffic monitoring system, and use the status analysis results to determine a target addressing strategy corresponding to the current communication request;

[0006] A multi-protocol addressing module, used to parse the current communication request through the network protocol stack, and use the parsing result to determine whether to perform protocol conversion on the current communication request, so as to make a service call based on the determination result and the target addressing strategy to complete the addressing operation;

[0007] An intelligent cache module, used for cache management of recorded service addresses and routing information through the network protocol stack, historical network traffic, historical service call information, the real-time network traffic and real-time service call information;

[0008] The protocol stack integration module is used to obtain a preset service discovery tool and integrate the preset service discovery tool into the network protocol stack, so as to manage the services in the stack based on the integrated network protocol stack.

[0009] Optionally, the traffic-aware addressing module includes:

[0010] A data collection unit is used to collect traffic from each network node and each service instance through a distributed network traffic monitoring system to obtain real-time network traffic;

[0011] A traffic analysis unit, configured to analyze the historical traffic data corresponding to each network node and each service instance and the real-time network traffic based on a machine learning algorithm and a data mining algorithm to obtain a traffic analysis result;

[0012] A strategy determination unit, configured to perform network performance prediction and service load prediction based on the traffic analysis result, and determine a target addressing strategy corresponding to a current communication request using the current state prediction result;

[0013] The failover unit is used to update the addressing strategy based on the current state prediction result when a preset network state abnormality occurs during the addressing process of the current communication request, so as to obtain a new target addressing strategy corresponding to the current communication request.

[0014] Optionally, the multi-protocol addressing module includes:

[0015] A communication request processing unit, used to perform communication protocol identification and content analysis on the current communication request through the network protocol stack to obtain corresponding protocol identification results and content analysis results;

[0016] A protocol conversion unit, configured to trigger a protocol conversion operation corresponding to the current communication request when it is determined based on the protocol adaptation strategy, the protocol identification result and the content parsing result that a preset protocol conversion condition is met, so as to obtain a converted current communication request;

[0017] The addressing unit is used to determine a target service or a target network node based on the converted current communication request and a target addressing strategy, so as to determine an addressing result based on the target service or the target network node.

[0018] Optionally, the intelligent cache module includes:

[0019] A first data analysis unit, configured to perform data analysis on historical network traffic and historical service call information through a network protocol stack and a machine learning algorithm to obtain a first data analysis result;

[0020] a first cache management unit, configured to predict access frequencies of recorded service addresses based on the first data analysis result, and trigger a first cache management operation for the service addresses that meet a first preset condition using the access frequency prediction result;

[0021] A second data analysis unit, configured to perform data analysis on the real-time network traffic and the real-time service call information through the network protocol stack to obtain a second data analysis result;

[0022] The second cache management unit is used to trigger a second cache management operation on the service address or router information that meets a second preset condition based on the second data analysis result.

[0023] Optionally, the protocol stack integration module includes:

[0024] A tool acquisition unit, used to acquire a pre-selected service discovery tool;

[0025] A tool integration unit, configured to embed the service discovery logic corresponding to the service discovery tool into the network protocol stack based on a protocol stack extension mechanism, so as to obtain the integrated network protocol stack;

[0026] A first service management unit, configured to register and parse services in the stack based on the integrated network protocol stack;

[0027] The second service management unit is configured to update and maintain status information of a service instance in a service address list corresponding to the service in the stack based on the integrated network protocol stack.

[0028] Optionally, the device further includes:

[0029] A data encryption module, used to perform end-to-end encryption operations on target type data transmitted during the addressing process based on a preset encryption mechanism in the network protocol stack, and to manage the life cycle of used encryption keys based on a key management system;

[0030] The confidentiality monitoring module is used to detect abnormal behavior by monitoring the encryption operation, so as to determine whether to trigger an encryption mechanism adjustment operation or an abnormal response operation based on the detection result.

[0031] Optionally, the device further includes:

[0032] A cross-domain addressing module is used to select a network path and a cloud service provider based on a cross-domain routing algorithm and a target address corresponding to the current communication request during the addressing operation corresponding to the current communication request based on a cross-domain protocol adaptation strategy and the target addressing strategy, so as to complete the addressing operation based on the selection result.

[0033] In a second aspect, the present application provides an addressing method for serverless computing, comprising:

[0034] Perform network status analysis based on real-time network traffic collected through a distributed network traffic monitoring system, and use the status analysis results to determine a target addressing strategy corresponding to the current communication request;

[0035] Parsing the current communication request through the network protocol stack, and using the parsing result to determine whether to perform protocol conversion on the current communication request, so as to perform a service call based on the determination result and the target addressing strategy to complete the addressing operation;

[0036] Cache management of recorded service addresses and routing information is performed through the network protocol stack, historical network traffic, historical service call information, the real-time network traffic and real-time service call information;

[0037] A preset service discovery tool is obtained, and the preset service discovery tool is integrated into the network protocol stack, so as to manage the services in the stack based on the integrated network protocol stack.

[0038] In a third aspect, the present application provides an electronic device, including:

[0039] Memory, used to store computer programs;

[0040] A processor is used to execute the computer program to implement the steps of the aforementioned serverless computing addressing method.

[0041] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, which, when executed by a processor, implements the steps of the aforementioned addressing method for serverless computing.

[0042] It can be seen that in this application, the traffic-aware addressing module is used to perform network status analysis based on the real-time network traffic collected by the distributed network traffic monitoring system, and use the status analysis results to determine the target addressing strategy corresponding to the current communication request; the multi-protocol addressing module is used to parse the current communication request through the network protocol stack, and use the parsing results to determine whether to perform protocol conversion on the current communication request, so as to call the service based on the judgment result and the target addressing strategy to complete the addressing operation; the intelligent cache module is used to cache and manage the recorded service address and routing information through the network protocol stack, historical network traffic, historical service call information, real-time network traffic and real-time service call information; the protocol stack integration module is used to obtain the preset service discovery tool, and integrate the preset service discovery tool into the network protocol stack, so as to manage the services in the stack based on the integrated network protocol stack. That is to say, in this application, the target addressing strategy corresponding to the current communication request is determined by analyzing the network status through real-time network traffic, and whether protocol conversion is required by parsing the current communication request, and the service in the network protocol stack is called in combination with the target addressing strategy to complete the addressing. Moreover, for the service addresses and routing information recorded in the network protocol stack, historical network traffic, historical service call information, real-time network traffic and real-time service call information will be used for cache management. In addition, a preset service discovery tool will be integrated into the network protocol stack to manage the services in the stack based on the integrated network protocol stack. In this way, network latency can be effectively reduced, the response speed and accuracy of service calls can be improved, and the cross-protocol communication overhead can be reduced, and the cross-protocol communication efficiency can be improved, thereby improving the performance and efficiency of serverless computing addressing, and thus meeting users' high requirements for service quality and performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0044] Figure 1 A schematic diagram of the structure of an addressing device for serverless computing provided in this application;

[0045] Figure 2 A serverless cloud native schematic diagram provided for this application;

[0046] Figure 3 A schematic diagram of an address prediction process based on a machine learning algorithm provided for this application;

[0047] Figure 4 A flow chart of an addressing method for serverless computing provided for this application;

[0048] Figure 5 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] As serverless computing and microservice architectures become increasingly popular, the dynamic creation and destruction of service instances has become the norm. This highly dynamic environment places higher demands on network addressing mechanisms. However, traditional DNS queries and routing table lookups often encounter performance bottlenecks when faced with large-scale, high-frequency, and multiple communication protocol service calls, resulting in increased network latency and low addressing efficiency, which in turn affects user experience. To this end, the present application provides an addressing solution for serverless computing that can effectively reduce network latency, improve the response speed and accuracy of service calls, reduce cross-protocol communication overhead, and improve cross-protocol communication efficiency, thereby improving the performance and efficiency of serverless computing addressing.

[0051] See also Figure 1 As shown, the embodiment of the present application also discloses a serverless computing addressing device, which includes:

[0052] Traffic-aware addressing module 11, multi-protocol addressing module 12, intelligent cache module 13, and protocol stack integration module 14.

[0053] The traffic-aware addressing module 11 is used to perform network status analysis based on real-time network traffic collected by a distributed network traffic monitoring system, and use the status analysis results to determine a target addressing strategy corresponding to a current communication request.

[0054] Combination Figure 2As shown, in this embodiment, addressing is performed based on a serverless computing system. When addressing, the addressing strategy of the service is adjusted in real time to cope with network congestion or service load peak by combining network traffic monitoring and analysis technology. Specifically, the traffic-aware addressing module 11 includes: a data collection unit, which is used to collect traffic from each network node and each service instance through a distributed network traffic monitoring system to obtain real-time network traffic; a traffic analysis unit, which is used to analyze the historical traffic data and real-time network traffic corresponding to each network node and each service instance based on a machine learning algorithm and a data mining algorithm to obtain a traffic analysis result; a strategy determination unit, which is used to perform network performance prediction and service load prediction based on the traffic analysis result, and determine the target addressing strategy corresponding to the current communication request using the current state prediction result; a fault transfer unit, which is used to update the addressing strategy based on the current state prediction result when a preset network state abnormality occurs during the addressing process of the current communication request, so as to obtain a new target addressing strategy corresponding to the current communication request. The network traffic data includes indicators such as bandwidth utilization, delay, and service call frequency. By using the monitored traffic data and adopting intelligent algorithms for analysis and prediction, we can automatically adjust the service addressing strategy and automatically and effectively direct the traffic to backup service instances or better network paths to achieve load balancing and failover, thereby improving the availability and performance of the service.

[0055] Furthermore, the implementation of the above traffic-aware addressing covers several key technologies and steps as shown below:

[0056] (1) By deploying a network traffic monitoring system, network traffic data can be captured and analyzed in real time. The monitoring system can adopt a distributed architecture, so that it can cover multiple network nodes and service instances in the network to fully understand the operating status of the entire serverless computing system.

[0057] (2) Combination Figure 3 As shown, by utilizing machine learning and data mining techniques, the serverless computing system can process and quantify historical network traffic data (i.e., historical network traffic) to train the model, and then predict possible future network congestion or service load peaks based on the trained model, real-time network traffic data (i.e., real-time network traffic) pattern recognition and prediction algorithms. Figure 3The models in the algorithm include the ARIMA model (Autoregressive Integrated Moving Average Model) and the BP model (Back Propagation Model). The ARIMA model is used to predict possible future network congestion or service load peaks based on traffic data, and then the prediction model error is sent to the BP model. The BP model outputs its prediction results based on the error, and then the final prediction results are determined by combining the prediction results output by the BP model and the ARIMA model. This intelligent analysis can not only perceive potential problems in advance, but also provide a scientific basis for adjusting addressing strategies.

[0058] (3) When the prediction result obtained in step (2) finds that the network will be congested or the service load will increase abnormally in the future, the automated scheduling system will immediately direct the traffic to the backup service instance or the network path with lower latency according to the preset strategy and algorithm. This automated response mechanism can greatly shorten the fault recovery time and reduce the service interruption caused by single point failure.

[0059] (4) Through effective load balancing algorithms, serverless computing systems can evenly distribute network traffic among multiple service instances, preventing a service instance from experiencing performance degradation due to excessive load. At the same time, the failover mechanism ensures that when a service instance fails, traffic can be promptly transferred to a backup instance, thereby ensuring service continuity and stability and improving service availability and performance.

[0060] The multi-protocol addressing module 12 is used to parse the current communication request through the network protocol stack, and use the parsing result to determine whether to perform protocol conversion on the current communication request, so as to make a service call based on the determination result and the target addressing strategy to complete the addressing operation.

[0061] In this embodiment, in a serverless computing environment, addressing optimization under multi-protocol support is a key challenge to achieve efficient communication and system performance. In such an environment, multiple communication protocols are usually involved, such as HTTP (Hypertext Transfer Protocol), gRPC (Google Remote Procedure Call, a remote procedure call architecture), WebSocket (a full-duplex application layer communication protocol), etc., each protocol has different characteristics and applicable scenarios. In order to effectively support these protocols, this embodiment optimizes the network protocol stack to achieve fast addressing and efficient forwarding, thereby reducing the overhead of cross-protocol communication and improving the overall communication efficiency and response speed of the system. Specifically, the multi-protocol addressing module 12 includes: a communication request processing unit, which is used to perform communication protocol identification and content analysis on the current communication request through the network protocol stack to obtain corresponding protocol identification results and content analysis results; a protocol conversion unit, which is used to trigger the protocol conversion operation corresponding to the current communication request when it is determined based on the protocol adaptation strategy, the protocol identification result and the content analysis result that the preset protocol conversion conditions are met to obtain the converted current communication request; an addressing unit, which is used to determine the target service or target network node based on the converted current communication request and the target addressing strategy to determine the addressing result based on the target service or target network node.

[0062] Furthermore, the implementation of the above multi-protocol addressing covers several key technologies and steps as shown below:

[0063] (1) In this embodiment, the network protocol stack (hereinafter referred to as the protocol stack) is optimized to have flexible protocol adaptation capabilities, to be able to identify and parse communication requests of different protocols, and to perform protocol conversion when necessary. For example, when a request is converted from HTTP protocol to gRPC or WebSocket, the protocol stack should be able to perform corresponding adaptation and conversion operations according to the target protocol of the current communication request to ensure that data can be transmitted and processed in the best way.

[0064] (2) The protocol stack in this embodiment can adopt an efficient routing and forwarding strategy, which includes fast matching and routing decisions based on the content or metadata of the current communication request to determine the target service or processing node of the current communication request to achieve fast addressing. At the same time, an effective routing table and cache mechanism (see intelligent cache module 13) will be established to enable the protocol stack to quickly locate the target service when processing the request, avoiding unnecessary resource waste and delay.

[0065] (3) Considering the efficiency and overhead control of protocol conversion. When performing protocol conversion, the protocol stack in this embodiment can minimize the data parsing and repackaging process to avoid introducing additional delays and resource consumption. The use of efficient data structures and algorithms can help the protocol stack maintain high performance and low latency when processing a large number of requests.

[0066] (4) Encrypt and authenticate data of different protocols to ensure the confidentiality and integrity of communications. At the same time, by implementing appropriate error handling and retry mechanisms, the protocol stack can maintain a stable operating state in the face of network anomalies or communication failures.

[0067] The intelligent cache module 13 is used to cache and manage the recorded service addresses and routing information through the network protocol stack, historical network traffic, historical service call information, the real-time network traffic and real-time service call information.

[0068] In order to solve the problem that frequent DNS queries and routing table lookups in traditional network communication processes not only consume a large amount of system resources, but also cause unnecessary delays, affecting the response speed and overall performance of the service. In this embodiment, an intelligent cache mechanism is introduced into the network protocol stack, thereby effectively optimizing the management and call of service addresses and routing information. Specifically, the intelligent cache module 13 includes: a first data analysis unit, which is used to perform data analysis on historical network traffic and historical service call information through a network protocol stack and a machine learning algorithm to obtain a first data analysis result; a first cache management unit, which is used to predict the access frequency of the recorded service address based on the first data analysis result, and use the access frequency prediction result to trigger a first cache management operation for a service address that meets a first preset condition; a second data analysis unit, which is used to perform data analysis on real-time network traffic and real-time service call information through a network protocol stack to obtain a second data analysis result; a second cache management unit, which is used to trigger a second cache management operation for a service address or router information that meets a second preset condition based on the second data analysis result.

[0069] Furthermore, the implementation of the above intelligent caching mechanism covers several key technologies and steps as follows:

[0070] (1) Combination Figure 3 As shown in the figure, by using machine learning and data analysis algorithms, serverless computing systems can learn and predict the access patterns of service addresses and routing information by analyzing historical network traffic data and service call patterns. In this way, service addresses that may be frequently accessed in the future can be predicted and cached locally or at the edge of the network, thereby reducing dependence on centralized DNS servers and reducing DNS resolution latency.

[0071] (2) By combining real-time data stream processing technology and monitoring real-time network traffic and service calls, the serverless computing system can dynamically adjust and update cached service addresses and routing information. For example, when it detects that the call frequency of a service suddenly increases, the serverless computing system can automatically add it to the cache to avoid repeated DNS queries and routing table lookups, thereby improving the service response speed.

[0072] (3) Utilize efficient cache storage and retrieval technology. High-speed storage media and optimized cache algorithms, such as LRU (Least Recently Used) or LFU (Least Frequently Used), can be used to ensure efficient management and fast access to cached data. In addition, distributed cache technology can be used to distribute cached data across multiple network nodes to improve the scalability and fault tolerance of serverless computing systems.

[0073] The protocol stack integration module 14 is used to obtain a preset service discovery tool and integrate the preset service discovery tool into the network protocol stack, so as to manage the services in the stack based on the integrated network protocol stack.

[0074] In this embodiment, the service discovery mechanism is directly integrated into the network protocol stack by selecting a service discovery tool, so that the protocol stack can realize automatic registration, discovery and resolution of services. Through this integration, the serverless computing system can dynamically manage service instances so that service calls can automatically adapt to changing environments, thereby improving the flexibility, reliability and scalability of the system. In achieving this goal, the main technical approaches include selecting suitable service discovery tools and protocol stack extension mechanisms, and designing strategies for automatically updating and resolving service address lists. Specifically, the protocol stack integration module 14 includes: a tool acquisition unit for acquiring a pre-selected service discovery tool; a tool integration unit for embedding the service discovery logic corresponding to the service discovery tool into the network protocol stack based on the protocol stack extension mechanism to obtain an integrated network protocol stack; a first service management unit for registering and resolving services in the stack based on the integrated network protocol stack; and a second service management unit for updating and maintaining the status information of service instances corresponding to the services in the stack in the service address list based on the integrated network protocol stack. That is, the relevant steps of the above integration are as follows:

[0075] (1) Choosing a suitable service discovery tool is the first step. Tools such as Consul, Etcd, ZooKeeper, and Eureka provide core functions such as service registration, health check, and service discovery. These tools are selected according to the needs of the serverless computing system, taking into account factors such as performance, consistency requirements, and reliability.

[0076] (2) Protocol stack extension is one of the key technologies for implementing service discovery integration. Service discovery logic can be embedded into the network protocol stack by developing kernel modules, drivers, or using user space agents. Kernel-level extensions can provide higher performance and lower latency, but the development and maintenance costs are also higher; user space agents are relatively simple and implement service discovery logic through plug-ins or libraries, such as the Nginx Lua plug-in.

[0077] Regarding the integrated protocol stack, being able to automatically update and parse the service address list requires the protocol stack to be able to process service registration and parsing messages, and to be able to update and maintain the status of service instances in real time, including timely notification and processing when service instances go online, offline, and when their status changes. Through monitoring mechanisms and event-driven methods, the protocol stack can ensure the continuity and accuracy of service calls, ensuring that clients can always find available service instances.

[0078] It should be understood that for cross-domain (such as cross-cloud service providers, cross-data centers, and cross-geographic regions) service call scenarios that may be involved in serverless computing, the network protocol stack needs to be expanded and optimized accordingly to achieve cross-domain addressing based on the optimized protocol stack. In this embodiment, it also includes: a cross-domain addressing module, which is used to select the network path and cloud service provider based on the cross-domain routing algorithm and the target address corresponding to the current communication request in the process of performing the addressing operation corresponding to the current communication request based on the cross-domain protocol adaptation strategy and the target addressing strategy, so as to complete the addressing operation based on the selection result. In order to achieve cross-domain addressing, the expansion and optimization of the protocol stack involves the following technical steps:

[0079] (1) Taking into account the particularity of cross-domain communication, including the different network topologies, security policies, and performance indicators between cloud service providers, this embodiment introduces new cross-domain routing algorithms in the protocol stack. These algorithms can automatically select the optimal network path and cloud service provider based on the target address of the service call to maximize service quality and performance.

[0080] (2) Since the communication protocols, security authentication mechanisms, and data formats used by different cloud service providers or data centers may differ, in order to enable the protocol stack to support a cross-domain protocol adaptation mechanism, this embodiment configures a unified adapter in the protocol stack so that cross-domain communications between different protocols can be seamlessly converted and compatible. For example, a model similar to a message converter can be used to achieve dynamic conversion from one protocol to another, ensuring the interoperability of cross-domain service calls and the stability of communications.

[0081] (3) The extension of the protocol stack also includes the ability to perform real-time monitoring, performance analysis, and fault diagnosis of cross-domain service calls. In this way, by integrating real-time monitoring and feedback mechanisms, network traffic, resource allocation, and routing strategies can be quickly responded to and adjusted to optimize service response time and user experience.

[0082] In addition, the expansion and optimization of the protocol stack in this embodiment is modular and scalable. This means that the introduction of new functions and algorithms will not affect the stability and performance of the original serverless computing system, and can be flexibly updated and upgraded according to future technological evolution. The use of modern software design principles and architectural patterns, such as microservices and containerization technologies, can help achieve modular management and rapid deployment of the protocol stack.

[0083] It is further necessary to understand that, in a serverless computing environment, it is crucial to ensure the secure transmission of sensitive information (including service addresses, authentication information, etc.) involved in the service addressing process, which will directly affect the overall security of the system and the protection of user data. In order to address this challenge, in this embodiment, an efficient encryption mechanism is integrated in the protocol stack to ensure the security and integrity of information during transmission. That is, this embodiment also includes: a data encryption module, which is used to perform end-to-end encryption operations on the target type data transmitted during the addressing process based on the preset encryption mechanism in the network protocol stack, and manage the life cycle of the used encryption keys based on the key management system; a confidentiality monitoring module, which is used to detect abnormal behavior by monitoring encryption operations, so as to determine whether to trigger the encryption mechanism adjustment operation or abnormal response operation based on the detection results. In addition, targeted security training and continuous education can be provided to developers, operation and maintenance personnel, and other relevant personnel to help understand and respond to security challenges, which is an important factor in ensuring the effective operation of encryption addressing technology.

[0084] In summary, this embodiment optimizes the network protocol stack to achieve intelligent addressing caching, traffic-aware dynamic addressing, protocol stack integration based on service discovery, addressing optimization under multi-protocol support, cross-domain addressing protocol stack extension, and encrypted addressing to ensure security.

[0085] It can be seen that in this application, the target addressing strategy corresponding to the current communication request is determined by analyzing the network status through real-time network traffic, and whether protocol conversion is required by parsing the current communication request, and the service in the network protocol stack is called in combination with the target addressing strategy to complete the addressing. In addition, for the service address and routing information recorded in the network protocol stack, historical network traffic, historical service call information, real-time network traffic and real-time service call information will be used for cache management. In addition, a preset service discovery tool will be integrated into the network protocol stack to manage the services in the stack based on the integrated network protocol stack. In this way, network latency can be effectively reduced, the response speed and accuracy of service calls can be improved, and the cross-protocol communication overhead can be reduced, and the cross-protocol communication efficiency can be improved, thereby improving the performance and efficiency of serverless computing addressing, and thus being able to meet users' high requirements for service quality and performance.

[0086] See also Figure 4 As shown, an embodiment of the present invention discloses an addressing method for serverless computing, including:

[0087] Step S11: Perform network status analysis based on the real-time network traffic collected by the distributed network traffic monitoring system, and use the status analysis result to determine the target addressing strategy corresponding to the current communication request.

[0088] Step S12: parsing the current communication request through the network protocol stack, and using the parsing result to determine whether to perform protocol conversion on the current communication request, so as to perform a service call based on the determination result and the target addressing strategy to complete the addressing operation.

[0089] Step S13: Cache management of recorded service addresses and routing information is performed through the network protocol stack, historical network traffic, historical service call information, the real-time network traffic and real-time service call information.

[0090] Step S14: Obtain a preset service discovery tool, and integrate the preset service discovery tool into the network protocol stack, so as to manage the services in the stack based on the integrated network protocol stack.

[0091] For the specific contents of steps S11, S12, S13 and S14, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be elaborated here.

[0092] It can be seen that in this application, the target addressing strategy corresponding to the current communication request is determined by analyzing the network status through real-time network traffic, and whether protocol conversion is required by parsing the current communication request, and the service in the network protocol stack is called in combination with the target addressing strategy to complete the addressing. In addition, for the service address and routing information recorded in the network protocol stack, historical network traffic, historical service call information, real-time network traffic and real-time service call information will be used for cache management. In addition, a preset service discovery tool will be integrated into the network protocol stack to manage the services in the stack based on the integrated network protocol stack. In this way, network latency can be effectively reduced, the response speed and accuracy of service calls can be improved, and the cross-protocol communication overhead can be reduced, and the cross-protocol communication efficiency can be improved, thereby improving the performance and efficiency of serverless computing addressing, and thus being able to meet users' high requirements for service quality and performance.

[0093] Furthermore, the present application also discloses an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0094] Figure 5 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the addressing method for serverless computing disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0095] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0096] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0097] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the addressing method of serverless computing performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0098] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed serverless computing addressing method is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

[0099] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0100] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0101] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0102] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0103] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An addressing device for serverless computing, characterized in that: include: A traffic-aware addressing module is used to perform network status analysis based on real-time network traffic collected through a distributed network traffic monitoring system, and use the status analysis results to determine a target addressing strategy corresponding to the current communication request; A multi-protocol addressing module, used to parse the current communication request through the network protocol stack, and use the parsing result to determine whether to perform protocol conversion on the current communication request, so as to make a service call based on the determination result and the target addressing strategy to complete the addressing operation; An intelligent cache module, used for cache management of recorded service addresses and routing information through the network protocol stack, historical network traffic, historical service call information, the real-time network traffic and real-time service call information; The protocol stack integration module is used to obtain a preset service discovery tool and integrate the preset service discovery tool into the network protocol stack, so as to manage the services in the stack based on the integrated network protocol stack.

2. The addressing device for serverless computing according to claim 1, characterized in that: The traffic-aware addressing module includes: A data collection unit is used to collect traffic from each network node and each service instance through a distributed network traffic monitoring system to obtain real-time network traffic; A traffic analysis unit, configured to analyze the historical traffic data corresponding to each network node and each service instance and the real-time network traffic based on a machine learning algorithm and a data mining algorithm to obtain a traffic analysis result; A strategy determination unit, configured to perform network performance prediction and service load prediction based on the traffic analysis result, and determine a target addressing strategy corresponding to a current communication request using the current state prediction result; The failover unit is used to update the addressing strategy based on the current state prediction result when a preset network state abnormality occurs during the addressing process of the current communication request, so as to obtain a new target addressing strategy corresponding to the current communication request.

3. The addressing device for serverless computing according to claim 1, characterized in that: The multi-protocol addressing module comprises: A communication request processing unit, used to perform communication protocol identification and content analysis on the current communication request through the network protocol stack to obtain corresponding protocol identification results and content analysis results; A protocol conversion unit, configured to trigger a protocol conversion operation corresponding to the current communication request when it is determined based on the protocol adaptation strategy, the protocol identification result and the content parsing result that a preset protocol conversion condition is met, so as to obtain a converted current communication request; The addressing unit is used to determine a target service or a target network node based on the converted current communication request and a target addressing strategy, so as to determine an addressing result based on the target service or the target network node.

4. The addressing device for serverless computing according to claim 1, characterized in that: The intelligent cache module comprises: A first data analysis unit, configured to perform data analysis on historical network traffic and historical service call information through a network protocol stack and a machine learning algorithm to obtain a first data analysis result; a first cache management unit, configured to predict access frequencies of recorded service addresses based on the first data analysis result, and trigger a first cache management operation for the service addresses that meet a first preset condition using the access frequency prediction result; A second data analysis unit, configured to perform data analysis on the real-time network traffic and the real-time service call information through the network protocol stack to obtain a second data analysis result; The second cache management unit is used to trigger a second cache management operation on the service address or router information that meets a second preset condition based on the second data analysis result.

5. The addressing device for serverless computing according to claim 1, characterized in that: The protocol stack integration module comprises: A tool acquisition unit, used to acquire a pre-selected service discovery tool; A tool integration unit, configured to embed the service discovery logic corresponding to the service discovery tool into the network protocol stack based on a protocol stack extension mechanism, so as to obtain the integrated network protocol stack; A first service management unit, configured to register and parse services in the stack based on the integrated network protocol stack; The second service management unit is configured to update and maintain status information of a service instance in a service address list corresponding to the service in the stack based on the integrated network protocol stack.

6. The addressing device for serverless computing according to claim 1, characterized in that: Also includes: A data encryption module, used to perform end-to-end encryption operations on target type data transmitted during the addressing process based on a preset encryption mechanism in the network protocol stack, and to manage the life cycle of used encryption keys based on a key management system; The confidentiality monitoring module is used to detect abnormal behavior by monitoring the encryption operation, so as to determine whether to trigger an encryption mechanism adjustment operation or an abnormal response operation based on the detection result.

7. The addressing device for serverless computing according to any one of claims 1 to 6, characterized in that: Also includes: A cross-domain addressing module is used to select a network path and a cloud service provider based on a cross-domain routing algorithm and a target address corresponding to the current communication request during the addressing operation corresponding to the current communication request based on a cross-domain protocol adaptation strategy and the target addressing strategy, so as to complete the addressing operation based on the selection result.

8. An addressing method for serverless computing, characterized in that: include: Perform network status analysis based on real-time network traffic collected through a distributed network traffic monitoring system, and use the status analysis results to determine a target addressing strategy corresponding to the current communication request; Parsing the current communication request through the network protocol stack, and using the parsing result to determine whether to perform protocol conversion on the current communication request, so as to perform a service call based on the determination result and the target addressing strategy to complete the addressing operation; Cache management of recorded service addresses and routing information is performed through the network protocol stack, historical network traffic, historical service call information, the real-time network traffic and real-time service call information; A preset service discovery tool is obtained, and the preset service discovery tool is integrated into the network protocol stack, so as to manage the services in the stack based on the integrated network protocol stack.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the addressing method for serverless computing as claimed in claim 8.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the addressing method for serverless computing as claimed in claim 8.