Loading management method for data networking core service
Through the analysis and component selection of data packets requested by logarithmic networking service, load management that meets server conditions without additional customization time is realized in digital networking service, solving the problems of high customization and configuration requirements, and improving system flexibility and scalability.
Patent Information
- Application Number
- CN202411403444.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-07
AI Technical Summary
When using application servers for loading deployment management, existing digital networking services require the service to be loaded based on a specific development framework, resulting in an increase in development workload, affecting portability, and causing high resource requirements, making it difficult to run on servers with lower configurations. .
By performing data analysis on the service request data packet, the environment parameters and service configuration parameters of the network service are obtained, and the target component is determined in the preset multiple network service execution components according to these parameters, and their configuration parameter items are adjusted to instantiate and Process service request packets to achieve wide range and rapid response of network services.
It does not require additional real-time customization time, meets the server operating conditions, completes the establishment process of digital networking services, solves the problems of customization and high server configuration requirements, and enhances the flexibility and scalability of the system.
Smart Images

Figure CN119276904A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of digital networking services, and specifically relates to a loading management method, device, equipment and storage medium for digital networking core services. Background Art
[0002] With the rapid development of the Internet and new generation information technology, data has become a basic strategic resource and key production factor. As a new type of virtual data network, the digital network efficiently connects various data platforms and systems through open software architecture and standardized protocols, supports the interconnection and interoperability of heterogeneous, heterogeneous domains, and heterogeneous master data, and forms a data space with the characteristics of "data interconnection, on-demand scheduling, intra-domain autonomy, and inter-domain collaboration".
[0003] At present, the mainstream technology of the Internet of Things is based on the Digital Object Architecture (DOA), which fully realizes the basic functions of the Internet of Things, such as access, identification, discovery, exchange, use and management of data between multiple systems or components.
[0004] However, in the prior art, when using application servers for loading, deployment and management of Internet of Things services, the services to be loaded are usually required to be based on a specific development framework. This, on the one hand, increases the development workload, affects the portability of Internet of Things services, and forms a dependency on application servers; on the other hand, it also causes an overload of the application server, resulting in higher resource requirements and difficulty running on servers with lower configurations. Summary of the invention
[0005] The present application aims to provide a loading management method, device, electronic device and computer-readable storage medium for core services of a digital network, which at least solves the problems of customization requirements for establishing a digital network service and high requirements for server configuration.
[0006] In a first aspect, an embodiment of the present application discloses a loading management method for a core service of a data network, which is applied to a server and includes: Responding to a service request data packet sent from an application device for a network service, and performing data parsing on the service request data packet to obtain environment parameters and service configuration parameters of the network service; In the case where the environment parameter matches a preset local environment parameter threshold, determining a target network service execution component from among a plurality of preset network service execution components according to the service configuration parameter; the service configuration parameter item of the network service execution component is in a state to be initialized; According to the service configuration parameters of the network service, adjusting the configuration parameter items of the target network service execution component to instantiate the target network service execution component after the configuration parameter items are adjusted; The service request data packet is processed by the instantiated target network service execution component to execute the network service.
[0007] In a second aspect, the embodiment of the present application further discloses a loading management device for a core service of a digital network, which is applied to a server and includes: A parsing module, used to respond to a service request data packet sent from an application device for a network service, and perform data parsing on the service request data packet to obtain environment parameters and configuration parameters of the network service; A component selection module, configured to determine a target network service execution component from among a plurality of preset network service execution components according to the service configuration parameters when the environment parameter matches a preset local environment parameter threshold; the configuration parameter items of the network service execution component are in a state to be initialized; An instantiation module, used to adjust the configuration parameter items of the target network service execution component according to the service configuration parameters of the network service, so as to instantiate the target network service execution component after the configuration parameter items are adjusted; The service execution module is used to process the service request data packet through the instantiated target network service execution component to execute the network service.
[0008] In a third aspect, an embodiment of the present application further discloses an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0009] In a fourth aspect, an embodiment of the present application further discloses a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In summary, in the embodiment of the present application, by performing data parsing on the service request data packet to accurately obtain the environmental parameters and service configuration parameters of the network service, the accuracy of the environmental parameters and service configuration parameters of the network service is ensured; then, according to the service configuration parameters, the target component is determined from the preset multiple network service execution components to select the most suitable execution component for different service requests, thereby enhancing the flexibility and scalability of the system and adapting to different types of service requests; and then, by adjusting the configuration parameter items of the target network service execution component, the adjusted execution component is instantiated to make it run, and finally, the service request data packet is processed by the instantiated target network service execution component, thereby achieving a wide range and rapid response and execution of the network service. Therefore, based on the method of the embodiment of the present application, the establishment process of the digital network service can be completed without spending extra time on the instant customization of the network service, while ensuring that the established network service meets the server operating conditions. The problem of high customization requirements and high server configuration requirements in the establishment process of the digital network service is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In the attached picture: Figure 1 It is a flowchart of the steps of a loading management method for a core service of a digital network provided by an embodiment of the present application; Figure 2 It is a flowchart of another method for loading management of a core service of a digital network provided by an embodiment of the present application; Figure 3 It is a server architecture diagram established according to an embodiment of the present application; Figure 4 This is a flow chart of a digital networking service loading solution based on an embodiment of the present application; Figure 5 This is a flow chart of a configuration scheme for a digital networking service based on an embodiment of the present application; Figure 6 This is a flow chart of a monitoring solution for a digital networking service based on an embodiment of the present application; Figure 7 It is a block diagram of a loading management device for a core service of a digital network provided by an embodiment of the present application; Figure 8 is a block diagram of an electronic device according to an embodiment of the present application; Fig. 9 It is a block diagram of an electronic device of another embodiment provided by the embodiments of the present application. DETAILED DESCRIPTION
[0012] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0013] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0014] Figure 1 This embodiment provides a loading management method for core services of a digital network, and the method is applied to a server.
[0015] The method may include the following steps: Step 101, responding to a service request data packet sent from an application device for a network service, and parsing the service request data packet to obtain environment parameters and service configuration parameters of the network service.
[0016] In some embodiments of the present application, when the server receives a service request data packet from an application device, the data packet is first parsed to extract the environmental parameters and service configuration parameters of the network service contained therein. Environmental parameters generally include the server's hardware and software configuration, central processing unit (CPU) model, memory, operating system, etc., while service configuration parameters include specific configuration items of the service, such as port number, path, dependency, etc. By parsing these parameters, the system can accurately understand the operating environment and configuration requirements of the current network service, providing a basis for subsequent service loading and execution.
[0017] For example, a device applying for a certain Internet service sends a service request data packet to the server. The data packet contains the service's environmental parameters (such as the operating system is an open source interactive operating system (GNU / Linux, Linux), the memory is 8GB) and the service configuration parameters (such as the service port number is 8080, and the dependent database is a relational database management system (MyStructured Query Language, MySQL)). After receiving the data packet, the server first parses it to extract the environmental parameters and service configuration parameters. The parsing results show that the service needs to run on the Linux operating system and requires 8GB of memory. At the same time, the service needs to listen to port 8080 and connect to the MySQL database. With these parsing results, the system can prepare for the loading and execution of the service.
[0018] Step 102 : when the environment parameter matches the preset local environment parameter threshold, determine the target network service execution component from among the preset multiple network service execution components according to the service configuration parameter.
[0019] Among them, the service configuration parameter item of the network service execution component is in a state to be initialized.
[0020] In some embodiments of the present application, when the environmental parameters match the preset local environmental parameter threshold, the target network service execution component is determined from the preset multiple network service execution components according to the service configuration parameters. Specifically, when the parsed environmental parameters match the local environmental parameter threshold preset by the system, the system will select the most suitable one from the multiple preset network service execution components as the target network service execution component according to the service configuration parameters. At this time, the service configuration parameter items of the selected target network service execution component are in a pending initialization state, which means that these parameters have not yet been concretized or applied.
[0021] For example, suppose the system's preset local environment parameter thresholds require the operating system to be Linux and the memory to be at least 8GB. When the parsed environment parameters (operating system is Linux, memory is 8GB) match these thresholds, the system will select from the preset multiple network service execution components based on the service configuration parameters (such as the service port number is 8080 and the dependent database is MySQL). Assuming there are three preset network service execution components A, B, and C, where component A supports the MySQL database and the port number can be configured to 8080, the system will select component A as the target network service execution component. At this point, the service configuration parameter items of component A (such as port number and database connection information) are in a pending initialization state, waiting for subsequent steps to be concretized and applied.
[0022] Step 103: adjusting the configuration parameter items of the target network service execution component according to the service configuration parameters of the network service, so as to instantiate the target network service execution component after the configuration parameter items are adjusted.
[0023] In some embodiments of the present application, the configuration parameter items of the target network service execution component will be adjusted according to the service configuration parameters of the network service, so as to instantiate the target network service execution component after the configuration parameter items are adjusted. Specifically, after determining the target network service execution component, the system will adjust the configuration parameter items of the component according to the service configuration parameters previously parsed. These configuration parameter items may include port numbers, database connection information, cache settings, etc. By adjusting these parameter items, the system can instantiate a network service execution component that meets specific requirements, for example, by dynamically loading the execution component by means of plug-in execution components, so that it can run normally in the current environment, so as to realize the execution component lifecycle management and operation monitoring.
[0024] For example, suppose the target network service execution component A needs to be configured with a port number and database connection information. Based on the parsed service configuration parameters (port number is 8080, database type is MySQL, and database address is 192.168.1.100), the system will adjust the configuration parameter items of component A, set the port number to 8080, and configure the database connection information to MySQL database, with an address of 192.168.1.100. After completing these configuration adjustments, the system instantiates the adjusted component A and loads it as a dynamic system plug-in, enabling it to run in the current environment and process corresponding service requests. In this way, the system ensures that the network service execution component can be flexibly adjusted and instantiated according to the specific service configuration parameters.
[0025] Step 104 , processing the service request data packet through the instantiated target network service execution component to execute the network service.
[0026] In some embodiments of the present application, the service request data packet will be processed by the instantiated target network service execution component to execute the network service. Specifically, after the target network service execution component is instantiated and configured, the system will use the component to process the received service request data packet. This process includes parsing the request content in the data packet, executing the corresponding service logic, and returning the processing result. In this way, the system can effectively respond to and process service requests from the application device to ensure the normal operation and delivery of the network service.
[0027] For example, assume that the target network service execution component A has been instantiated and configured, and is ready to process a service request data packet. The data packet requests to query the detailed information of a certain user. Component A will parse the request content in the data packet received in the previous step, for example, to determine the account name to be queried. Then, component A queries the user table in the MySQL database based on the configured database connection information to obtain the detailed information of the corresponding user. After the query is completed, component A encapsulates the query results into a response data packet and returns it to the requesting device. In this way, component A successfully processes the service request data packet, executes the network service, and ensures the normal operation of the user information query service.
[0028] In summary, in the embodiment of the present application, by performing data parsing on the service request data packet to accurately obtain the environmental parameters and service configuration parameters of the network service, the accuracy of the environmental parameters and service configuration parameters of the network service is ensured; then, according to the service configuration parameters, the target component is determined from the preset multiple network service execution components to select the most suitable execution component for different service requests, thereby enhancing the flexibility and scalability of the system and adapting to different types of service requests; and then, by adjusting the configuration parameter items of the target network service execution component, the adjusted execution component is instantiated to make it run, and finally, the service request data packet is processed by the instantiated target network service execution component, thereby achieving a wide range and rapid response and execution of the network service. Therefore, based on the method of the embodiment of the present application, the establishment process of the digital network service can be completed without spending extra time on the instant customization of the network service, while ensuring that the established network service meets the server operating conditions. The problem of high customization requirements and high server configuration requirements in the establishment process of the digital network service is solved.
[0029] Figure 2 Another method for loading management of core services of a digital network provided in an embodiment of the application is applied to a server.
[0030] The method may include the following steps: Step 201, responding to a service request data packet sent from an application device for a network service, and performing data analysis on the service request data packet to obtain environment parameters and service configuration parameters of the network service.
[0031] The method shown in this step has been explained in step 101 and will not be repeated here.
[0032] Optionally, step 201 includes the following sub-steps: Sub-step 2011, in response to the reception information of the data packet, scanning the cache folder used to store the service request data packet to obtain the service request data packet.
[0033] In some embodiments of the present application, the server will scan the cache folder used to store service request data packets based on the received information of the data packets to obtain the service request data packets. Specifically, when the system receives a service request data packet, it will store it in a predefined cache folder. The system will scan the cache folder regularly or when receiving a specific signal to find and obtain new service request data packets. In this way, the system can process the newly received service request data packets in a timely manner to ensure timely response and execution of the service.
[0034] For example, a device applying for a certain Internet service sends a service request data packet to the server. The server stores the data packet in the predefined cache folder "C / C1". The system receives a signal indicating that a new service request data packet needs to be processed. The system scans the cache folder "C / C1" and finds a new service request data packet "request1.zip". The system obtains the data packet and prepares for subsequent decompression and parsing operations. In this way, the system can promptly discover and process new service request data packets to ensure efficient operation of the service.
[0035] Sub-step 2012, decompressing the service request data packet, and determining the environment parameter configuration file and the service configuration parameter configuration file from the decompressed files.
[0036] In some embodiments of the present application, the service request data packet is decompressed, and the environment parameter configuration file and the service configuration parameter configuration file are determined from the decompressed file. Specifically, when the system obtains the service request data packet, it will decompress the data packet. After decompression, the system will search and determine the configuration file containing the environment parameters and service configuration parameters in the decompressed file. The environment parameter configuration file usually contains the hardware and software configuration of the server, while the service configuration parameter configuration file contains the specific configuration items of the service. By determining these configuration files, the system can further parse and obtain the required parameter information to provide support for subsequent service loading and execution.
[0037] For example, the system obtains a service request data packet "request1.zip" from the cache folder. The system decompresses the data packet and obtains the following files after decompression: env_config.json service_config.json request_payload.xml; The system finds and determines that "env_config.json" is the environment parameter configuration file and "service_config.json" is the service configuration parameter configuration file. In this way, the system can accurately locate and extract the configuration files containing environment parameters and service configuration parameters, and prepare for subsequent parameter parsing and service loading.
[0038] Sub-step 2013, scans the parameter configuration file to obtain environment parameters, and scans the service configuration parameter configuration file to obtain service configuration parameters.
[0039] In some embodiments of the present application, a parameter configuration file is scanned to obtain environmental parameters, and a service configuration parameter configuration file is scanned to obtain service configuration parameters. Specifically, after determining the environmental parameter configuration file and the service configuration parameter configuration file, the system scans and parses these files. The environmental parameter configuration file usually contains the hardware and software configuration of the server, such as CPU, memory, operating system, etc. The service configuration parameter configuration file contains specific configuration items of the service, such as port number, path, dependency, etc. By scanning and parsing these configuration files, the system can accurately obtain the required environmental parameters and service configuration parameters, and provide necessary information for subsequent service loading and execution.
[0040] For example, the system has determined that "env_config.json" is the environment parameter configuration file, and "service_config.json" is the service configuration parameter configuration file. The system first scans the "env_config.json" file and parses the following environment parameters: JSON: { "os": "Linux", "memory": "8GB", "cpu": "4 cores" }; Next, the system scans the "service_config.json" file and parses the following service configuration parameters: JSON: { "port": 8080, "database": "MySQL", "db_address": "192.168.1.100" }; In this way, the system can accurately obtain environmental parameters and service configuration parameters to provide support for subsequent service loading and execution.
[0041] Step 202: when the environment parameter matches the preset local environment parameter threshold, determine the target network service execution component from among the preset multiple network service execution components according to the service configuration parameters.
[0042] Among them, the service configuration parameter item of the network service execution component is in a state to be initialized.
[0043] The method shown in this step has been explained in step 102 and will not be repeated here.
[0044] Optionally, the service configuration parameter includes a service identifier of the network service. Step 202 includes the following sub-steps: Sub-step 2021, according to the service identifier, searching for the target network service name corresponding to the service identifier in a preset service identifier relationship table.
[0045] The service identifier relationship table is used to record the corresponding relationship between the service identifier and the service name of the network service.
[0046] In some embodiments of the present application, the target network service name corresponding to the service identifier will be searched in the preset service identifier relationship table according to the service identifier. Specifically, the service identifier relationship table records the correspondence between the service identifier and the network service name. When the system receives a service request data packet and parses the service identifier, it will search the service identifier relationship table for the target network service name corresponding to the service identifier. In this way, the system can accurately determine the network service name that needs to be loaded and executed, providing a basis for subsequent component determination and instantiation.
[0047] For example, the system parses the service identifier "serviceX" from the service request data packet. The system searches for the target network service name corresponding to the service identifier in the preset service identifier relationship table. Assume that the service identifier relationship table is as follows: { "serviceX": "UserInformationService", "serviceY": "OrderProcessingService" } Then the system can find that the target network service name corresponding to the service identifier "serviceX" is "UserInformationService". In this way, the system can accurately determine the network service name that needs to be loaded and executed, and prepare for subsequent component determination and instantiation.
[0048] Sub-step 2022, determining the target network service component in a preset network service execution component folder according to the target network service name.
[0049] In some embodiments of the present application, the target network service component will be determined in a preset network service execution component folder according to the target network service name. Specifically, after determining the target network service name, the system will search for the network service component corresponding to the service name in the preset network service execution component folder. The network service execution component folder contains multiple predefined network service components, each component corresponding to a different network service. By searching and determining the target network service component, the system can provide specific component support for subsequent service loading and execution.
[0050] For example, the system has determined that the target network service name is "UserInformationService". The system searches for the network service component corresponding to the service name in the preset network service execution component folder " / C / C2". Assume that the folder structure is as follows: / C / C2 / UserInformationService / componentA.jar , / C / C2 / UserInformationService / componentB.jar , / C / C2 / OrderProcessingService / componentC.jar / C / C2 / OrderProcessingService / componentD.jar / C / C2 / PaymentService / componentE.jar / C / C2 / PaymentService / componentF.jar; Then the system can find the "UserInformationService" directory in the folder and determine that the component files "componentA.jar" and "componentB.jar" in the directory are the target network service components. In this way, the system can accurately locate and determine the network service components that need to be loaded and executed, and prepare for subsequent instantiation and execution.
[0051] Sub-step 2023, generating a corresponding target network service execution folder according to the target network service component.
[0052] In some embodiments of the present application, a corresponding target network service execution folder will be generated according to the target network service component. Specifically, after determining the target network service component, the system will generate a dedicated execution folder for these components. This execution folder will be used to store and manage all relevant files and resources of the target network service component. By generating a dedicated execution folder, the system can ensure that each network service component runs in an independent environment, avoid mutual interference between different service components, and facilitate subsequent management and maintenance.
[0053] For example, suppose the system has determined that the target network service components "componentA.jar" and "componentB.jar" correspond to the service name "UserInformationService". The system will generate a new execution folder " / C / C3 / UISExecution" under the predefined path " / C / C3". And copy the target network service components "componentA.jar" and "componentB.jar" to the newly generated execution folder " / C / C3 / UISExecution". In this way, the system creates an independent execution environment for the target network service component, ensuring that it can run in an isolated environment and facilitating subsequent management and maintenance.
[0054] Step 203: adjusting the configuration parameter items of the target network service execution component according to the service configuration parameters of the network service, so as to instantiate the target network service execution component after the configuration parameter items are adjusted.
[0055] The method shown in this step has been explained in step 103 and will not be repeated here.
[0056] Optionally, the service configuration parameters are stored in a service configuration parameter configuration file, and the target network service execution component is stored in a corresponding target network service execution folder. Step 203 includes the following sub-steps: Sub-step 2031, injecting the service configuration parameter configuration file into the target network service execution folder.
[0057] In some embodiments of the present application, a service configuration parameter configuration file is injected into a target network service execution folder. Specifically, after determining the target network service execution folder, the system will copy or move the parsed service configuration parameter configuration file to the folder. The service configuration parameter configuration file contains specific configuration items required for the network service to run, such as port number, database connection information, etc. By injecting these configuration files into the target network service execution folder, the system can ensure that the network service execution component can correctly read and apply these configuration parameters when it is started, thereby ensuring the normal operation of the service.
[0058] For example, the server has generated the target network service execution folder " / C / C3 / UISExecution" and has determined that the service configuration parameter configuration file is "service_config.json". Then, the system will copy the "service_config.json" file to the target network service execution folder. In this way, the system ensures that the target network service execution folder contains all necessary configuration files, so that the network service execution component can correctly read and apply these configuration parameters when it is started, ensuring the normal operation of the service.
[0059] Sub-step 2032, starting the service startup file in the target network service execution folder to run the target network service execution component.
[0060] In some embodiments of the present application, the service startup file in the target network service execution folder is started to run the target network service execution component. Specifically, after the service configuration parameter configuration file is injected into the target network service execution folder, the system will locate the service startup file in the folder. The service startup file is usually an executable file or script used to initialize and start the network service execution component. The system loads and runs the target network service execution component by executing the startup file, so that it starts to process service requests and provide corresponding services.
[0061] For example, the system has injected the service configuration parameter configuration file "service_config.json" into the target network service execution folder " / C / C3 / UISExecution". The folder contains a service startup file "start.sh" to start the execution component in the folder. Then the system will start the target network service execution component by executing the "start.sh" script. In this way, the system successfully starts the target network service execution component, enabling it to read the configuration file and start running, providing user information query services.
[0062] Step 204 , processing the service request data packet through the instantiated target network service execution component to execute the network service.
[0063] The method shown in this step has been described in step 104 and will not be repeated here.
[0064] Optionally, the service data request packet includes network loading address information of the network service, and step 204 includes the following sub-steps: Sub-step 2041, extracting network loading address information from the service data request packet.
[0065] In some embodiments of the present application, the network loading address information is extracted from the service data request packet. Specifically, when the system receives the service data request packet, it will parse it to extract the network loading address information contained therein. The network loading address information usually indicates the network location or uniform resource locator (Uniform Resource Locator, URL) of the application device, and the system needs to establish a communication connection with the application device through the address information. Extracting the network loading address information is a prerequisite for establishing interactive communication in subsequent steps, ensuring that the system can correctly locate and access the application device.
[0066] For example, the service data request packet received by the system is "request1.zip", and it has been decompressed and parsed. During the parsing process, the system finds that the data packet contains the following network loading address information: JSON: { "network_load_address": "tcp: / / 192.168.1.50:8080 " }; Then the system will extract the network loading address information: "tcp: / / 192.168.1.50:8080", providing the necessary address information for the establishment of subsequent interactive communication. In this way, the system can accurately obtain the network location of the application device and ensure the smooth progress of subsequent communication.
[0067] Sub-step 2042, establishing interactive communication with the application device according to the network loading address information to execute the network service.
[0068] In some embodiments of the present application, interactive communication with the application device will be established based on the network loading address information to perform network services. Specifically, after extracting the network loading address information, the system will use the address information to establish a communication connection with the application device. This usually includes sending a Digital Object Interface Protocol (DOIP) request or other network protocol request to a specified address to start interaction with the application device. By establishing this communication connection, the system is able to receive further requests from the application device and execute the corresponding network service to ensure that the service request is processed and responded to.
[0069] For example, the system has extracted the network loading address information "tcp: / / 192.168.1.50:8080". The system will use this address information to establish a communication connection with the applicant device through the DOIP protocol. For example, a standard test request (hello request) is sent to the specified network loading address, which contains the request data for querying user information. After receiving the request, the applicant device processes and returns the response data. In this way, the system successfully establishes interactive communication with the applicant device and executes network services to ensure that the service request is processed and responded to.
[0070] Step 205: Acquire communication information generated by the network service, and generate log information of the executed network service according to the communication information.
[0071] In some embodiments of the present application, the communication information generated by the network service during execution is obtained, and log information is generated based on the communication information. Specifically, when the network service execution component processes the service request data packet, a series of communication information is generated, which includes the details of the request, the result of the response, the execution time, error information, etc. The system collects these communication information and records them in a log file. The generated log information can be used for subsequent service monitoring, troubleshooting and performance analysis to ensure the stable operation and maintenance of the network service.
[0072] For example, suppose that when the target network service execution component A processes a user information query request, it generates certain communication information: the request time is X, the user account name is Y, the query result is successful, and the response time is 200 milliseconds. The system will collect this communication information and record it in a log file. By recording this log information, the system can track the processing process of each service request in detail, making it easier for operation and maintenance personnel to monitor and troubleshoot.
[0073] Optionally, in order to obtain the communication information generated by the network service, step 205 includes the following sub-steps: Sub-step 2051, in the case where the network service is executed through the digital object interface protocol, determining the test request of the digital object interface protocol as the communication information.
[0074] In some embodiments of the present application, when a network service is executed through the Digital Object Interface Protocol (DOIP), a test request (Hello request) of DOIP is determined as communication information. Specifically, when a network service is executed using DOIP, the system sends and receives a series of test requests and responses. The Hello request is a standard test request in DOIP, which is used to verify the availability and responsiveness of a network service. The system records these Hello requests and responses as communication information for subsequent analysis and logging. In this way, the system can track the communication activities of the network service during the execution of DOIP in detail to ensure the normal operation and diagnosis of the service.
[0075] For example, a network service is executed using DOIP. The system sends a DOIP Hello request to the target service. When the target service receives the Hello request and returns a response, the system records the Hello request and response as communication information. In this way, the system can record the communication information of the network service during the DOIP execution process in detail, which is convenient for subsequent diagnosis, analysis and inspection.
[0076] Sub-step 2052, when the network service is executed through the hypertext transfer protocol, determine the data acquisition request of the hypertext transfer protocol as communication information.
[0077] In some embodiments of the present application, when a network service is executed via the Hypertext Transfer Protocol (HTTP), a data acquisition request of HTTP is determined as communication information. Specifically, when a network service is executed using HTTP, the system sends and receives a series of data acquisition requests and responses. These requests and responses are used to obtain and transmit the data required by the network service. The system records these HTTP requests and responses as communication information for subsequent analysis and logging. In this way, the system can track the communication activities of the network service during the HTTP execution process in detail to ensure the normal operation of the service and the accuracy of data transmission.
[0078] For example, a network service uses HTTP for execution. The system sends an HTTP GET request to the target service to obtain user information. When the target service receives the request and returns a response, the system will record the HTTP request and response as communication information. In this way, the system can record the communication information of the network service during the HTTP execution process in detail, which is convenient for subsequent monitoring, analysis and inspection.
[0079] Step 206: In response to the query command for the log information, display the log information.
[0080] In some embodiments of the present application, the corresponding log information will be displayed according to the query command for the log information. Specifically, when the system receives the query command, the corresponding log information will be retrieved from the log file according to the query conditions in the command. Then, the system displays these log information to the user or operation and maintenance personnel so that they can view and analyze the execution of the network service. The displayed log information can include request time, request content, response result, execution time, error information, etc., to help users understand the operating status and performance of the service.
[0081] For example, suppose an operator sends a query command to view the log information of all user information query requests at time X. After receiving the query command, the system retrieves the qualified log information from the log file and displays it. By displaying these log information, the operator can understand the processing and results of each request in detail, which is convenient for monitoring and analysis.
[0082] refer to Figure 3 A server architecture and data flow process established according to an embodiment of the present application: exist Figure 3In the architecture, the environment parameters of the digital networking service are set to the network development language environment (such as Java) operating environment, the World Wide Web (Web) service environment of the asynchronous framework web server (Nginx), and the preset database environment. The Java operating environment refers to a collection of environments required to run Java programs, including the Java Virtual Machine (JVM) standard implementation and the Java core class library (Java Development Kit, JDK). In order to improve the loading and running performance of the digital networking service, the method provided in the embodiment of the present application can be adjusted according to the actual server hardware environment, such as using the Dragonwell JDK and using the stack-symmetric coroutine (Wisp) to load the digital networking service. The Wisp coroutine supports transparent thread switching, can convert thread interception into coroutines, and automatically convert locks into events. It supports the work-stealing algorithm, that is, allowing a thread to steal tasks from other thread queues to execute in order to achieve thread scheduling balance. Wisp coroutines can be used to load data networking services seamlessly without modification, which solves the problem of thread scheduling affecting performance to a certain extent, improves the utilization of system resources by data networking services, and reduces the overall resource usage of data networking services. Nginx is a lightweight web server and reverse proxy server that occupies little memory and has strong concurrency capabilities, and performs well among web servers of the same type. The method provided in the embodiment of the present application uses Nginx as a reverse proxy server as an access entry for the service. The database environment includes a relational database and a distributed search data engine (such as Elasticsearch). The relational database is mainly used to store data for data networking services. Elasticsearch is an open source, highly scalable distributed full-text search engine that can store and retrieve data in near real time. The method provided in the embodiment of the present application mainly uses Elasticsearch to provide search services.
[0083] Under the above architecture, the process of steps S1 to S5 is specifically performed as follows: Step S1: The system first determines the environmental parameters of the data networking service. In this way, the system can ensure that the data networking service runs in an appropriate environment and optimize resource utilization.
[0084] Step S2: The system receives the service request data packet from the application device and parses it. During the parsing process, the system extracts the environment parameters and service configuration parameters in the service request data packet. The environment parameters include the hardware and software configuration of the server, while the service configuration parameters include the specific configuration items of the service, such as port number, path, dependency, etc. By parsing these parameters, the system can accurately understand the operating environment and configuration requirements of the current network service.
[0085] Step S3: The system determines the target network service execution component based on the parsed environment parameters and service configuration parameters. The system selects the most suitable one from the preset multiple network service execution components as the target component. At this time, the service configuration parameter items of the target component are in a pending initialization state, waiting for subsequent steps to be concretized and applied. In this way, the system can select the most suitable execution component for each service request, ensuring the flexibility and scalability of the service.
[0086] Step S4: The system adjusts the configuration parameter items of the target network service execution component according to the service configuration parameters, and instantiates the adjusted component. Specifically, the system injects the parsed service configuration parameter configuration file into the target network service execution folder, and starts the service startup file in the folder to run the target network service execution component. In this way, the system can ensure that the network service execution component can correctly read and apply these configuration parameters when it is started, ensuring the normal operation of the service.
[0087] Step S5: The system processes the service request data packet through the instantiated target network service execution component to execute the network service. The system will obtain the communication information generated during the execution of the network service and generate record log information based on this communication information. This log information can be used for subsequent service monitoring, troubleshooting and performance analysis to ensure the stable operation and maintenance of the network service. In this way, the system can track the processing process of each service request in detail, which is convenient for operation and maintenance personnel to monitor and analyze.
[0088] refer to Figure 4 The process of loading the digital network service solution is based on the embodiment of the present application, and specifically performs steps K1 to K5: Step K1: The system first scans the predefined data network service package path folder to find the data network service package to be loaded. By scanning these service packages, the system can enumerate all available data network services and prepare for subsequent loading and configuration.
[0089] Step K2: The system assigns a unique service identifier to each data network service to be loaded. This identifier is used to uniquely identify each data network service, ensuring that each service can be accurately identified and managed during the loading and running process.
[0090] Step K3: The system determines the loading entry for each data networking service based on the service identifier and service package content. The loading entry can be a main method (Main) or a startup method in the framework (such as the startup class under the lightweight open source framework (Springboot)). By determining the loading entry, the system can correctly load and start the data networking service.
[0091] Step K4: The system calls the determined loading entry to load the data networking service. During the loading process, the system will adjust the service's operating environment and configuration according to the service configuration parameters to ensure that the service can run normally in the current environment.
[0092] Step K5: The system monitors the loaded and running data network services and records the service operation logs. Monitoring includes checking the service operation status, performance indicators, etc., while logging includes service request and response information, error information, etc. Through monitoring and logging, the system can ensure the stable operation of the data network services and facilitate subsequent maintenance and troubleshooting.
[0093] refer to Figure 5 It is a configuration solution process of the digital networking service based on the embodiment of the present application, and specifically performs the process of steps T1 to T3: Step T1: The system first scans the predefined data network service package path folder to find the data network service package to be loaded. By scanning these service packages, the system can enumerate all available data network services and prepare for subsequent loading and configuration.
[0094] Step T2: The system assigns a unique service identifier to each data network service to be loaded. This identifier is used to uniquely identify each data network service, ensuring that each service can be accurately identified and managed during the loading and running process.
[0095] Step T3: The system determines the loading entry for each data networking service based on the service identifier and service package content. The loading entry can be a main method (such as the Main method) or a startup method in the framework (such as the startup class of Springboot). By determining the loading entry, the system can correctly load and start the data networking service.
[0096] refer to Figure 6 The monitoring solution process of the digital network service according to the embodiment of the present application is specifically performed in steps R1 to R5: Step R1: The system first receives requests from terminal devices. These requests may include service status queries, performance monitoring requests, etc. Receiving requests is the starting point of the entire monitoring process, ensuring that the system can respond to the needs of terminal devices in a timely manner.
[0097] Step R2: If the request received by the system is through the HTTP protocol, the request will be recorded as the corresponding Internet service.
[0098] Step R3: If the request received by the system is a Hello request, a Create request, a Retrieve request, an Update request, a Delete request, or other operation instructions sent via the DOIP protocol, the request will be recorded as the corresponding Internet service.
[0099] Step R4: The system receives and processes the response instructions returned by the target service. The response instructions may contain service status information, performance indicators, etc. The system will parse these instructions, obtain the operating status and performance data of the target service, and provide support for subsequent monitoring and analysis.
[0100] Step R5: The system returns the processing results to the terminal device. The processing results include the operating status, performance indicators and other information of the target service. By returning the processing results, the system can timely feedback the monitoring status of the target service to the terminal device to ensure the stable operation and timely response of the service.
[0101] In summary, in the embodiment of the present application, by performing data parsing on the service request data packet to accurately obtain the environmental parameters and service configuration parameters of the network service, the accuracy of the environmental parameters and service configuration parameters of the network service is ensured; then, according to the service configuration parameters, the target component is determined from the preset multiple network service execution components to select the most suitable execution component for different service requests, thereby enhancing the flexibility and scalability of the system and adapting to different types of service requests; and then, by adjusting the configuration parameter items of the target network service execution component, the adjusted execution component is instantiated to make it run, and finally, the service request data packet is processed by the instantiated target network service execution component, thereby achieving a wide range and rapid response and execution of the network service. Therefore, based on the method of the embodiment of the present application, the establishment process of the digital network service can be completed without spending extra time on the instant customization of the network service, while ensuring that the established network service meets the server operating conditions. The problem of high customization requirements and high server configuration requirements in the establishment process of the digital network service is solved.
[0102] refer to Figure 7 , which shows a loading management device 30 for a core service of a digital network provided by an embodiment of the present application, applied to a server, including: The parsing module 301 is used to respond to a service request data packet sent from an application device for a network service and parse the service request data packet to obtain environment parameters and configuration parameters of the network service; The component selection module 302 is used to determine the target network service execution component from among the preset multiple network service execution components according to the service configuration parameters when the environment parameters match the preset local environment parameter threshold; the configuration parameter items of the network service execution component are in a waiting-to-be-initialized state; The instantiation module 303 is used to adjust the configuration parameter items of the target network service execution component according to the service configuration parameters of the network service, so as to instantiate the target network service execution component after the configuration parameter items are adjusted; The service execution module 304 is used to process the service request data packet through the instantiated target network service execution component to execute the network service.
[0103] Optionally, the parsing module 301 includes: A scanning submodule, configured to scan a cache folder for storing service request data packets in response to receiving information about the data packet, so as to obtain the service request data packet; The decompression submodule is used to decompress the service request data packet and determine the environment parameter configuration file and the service configuration parameter configuration file from the decompressed file; The extraction submodule is used to scan the parameter configuration file to obtain the environment parameters, and scan the service configuration parameter configuration file to obtain the service configuration parameters.
[0104] Optionally, the service configuration parameter includes a service identifier of the network service, and the component selection module 302 includes: The name search submodule is used to search for the target network service name corresponding to the service identifier in a preset service identifier relationship table according to the service identifier; the service identifier relationship table is used to record the corresponding relationship between the service identifier and the service name of the network service; The component confirmation submodule is used to determine the target network service component in a preset network service execution component folder according to the target network service name; The directory generation submodule is used to generate a corresponding target network service execution folder according to the target network service component.
[0105] Optionally, the service configuration parameters are stored in a service configuration parameter configuration file, the target network service execution component is stored in a corresponding target network service execution folder, and the instantiation module 303 includes: The injection submodule is used to inject the service configuration parameter configuration file into the target network service execution folder; The startup submodule is used to start the service startup file in the target network service execution folder to run the target network service execution component.
[0106] Optionally, the service data request packet includes network loading address information of the network service, and the service execution module 304 includes: An address confirmation submodule, used to extract network loading address information from a service data request packet; The communication establishment submodule is used to establish interactive communication with the application device according to the network loading address information to execute network services.
[0107] Optionally, the device 30 further includes: A log generation module, used to obtain communication information generated by the network service, and generate record log information of the executed network service according to the communication information; The log display module is used to display the recorded log information in response to a query command for the recorded log information.
[0108] Optionally, the log generation module includes: a diagnostic monitoring submodule, for determining a test request of the digital object interface protocol as communication information when the network service is executed through the digital object interface protocol; The hypertext monitoring submodule is used to determine the data acquisition request of the hypertext transfer protocol as communication information when the network service is executed through the hypertext transfer protocol.
[0109] In summary, in the embodiment of the present application, by performing data parsing on the service request data packet to accurately obtain the environmental parameters and service configuration parameters of the network service, the accuracy of the environmental parameters and service configuration parameters of the network service is ensured; then, according to the service configuration parameters, the target component is determined from the preset multiple network service execution components to select the most suitable execution component for different service requests, thereby enhancing the flexibility and scalability of the system and adapting to different types of service requests; and then, by adjusting the configuration parameter items of the target network service execution component, the adjusted execution component is instantiated to make it run, and finally, the service request data packet is processed by the instantiated target network service execution component, thereby achieving a wide range and rapid response and execution of the network service. Therefore, based on the method of the embodiment of the present application, the establishment process of the digital network service can be completed without spending extra time on the instant customization of the network service, while ensuring that the established network service meets the server operating conditions. The problem of high customization requirements and high server configuration requirements in the establishment process of the digital network service is solved.
[0110] Reference Figure 8 , the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .
[0111] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0112] The memory 504 is used to store various types of data to support the operation of the electronic device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, multimedia, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0113] The power supply component 506 provides power to the various components of the electronic device 500. The power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.
[0114] The multimedia component 508 includes an interface that provides an output interface between the electronic device 500 and the user. In some embodiments, the interface may include a liquid crystal display (LCD) and a touch panel (TP). If the interface includes a touch panel, the interface may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a multimedia mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0115] The audio component 510 is used to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is used to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
[0116] The input / output I / O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0117] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 can detect the open / closed state of the electronic device 500, the relative positioning of components, such as the display and keypad of the electronic device 500, and the sensor assembly 514 can also detect the position change of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and the temperature change of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0118] The communication component 516 is used to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0119] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to implement the methods provided in the embodiments of the present application.
[0120] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of an electronic device 500 to perform the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0121] Fig. 9 600 is a block diagram of an electronic device 600 according to another embodiment of the present invention. For example, the electronic device 600 may be provided as a server. Fig. 9 , the electronic device 600 includes a processing component 622, which further includes one or more processors, and a memory resource represented by a memory 632, for storing instructions that can be executed by the processing component 622, such as an application. The application stored in the memory 632 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 622 is configured to execute instructions to perform the method provided in the embodiment of the present application.
[0122] The electronic device 600 may also include a power supply component 626 configured to perform power management of the electronic device 600, a wired or wireless network interface 650 configured to connect the electronic device 600 to a network, and an input / output (I / O) interface 658. The electronic device 600 may operate based on an operating system stored in the memory 632, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0123] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0124] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for loading management of core services of a data network, characterized in that: Applicable to servers, including: Responding to a service request data packet sent from an application device for a network service, and performing data parsing on the service request data packet to obtain environment parameters and service configuration parameters of the network service; In the case where the environment parameter matches a preset local environment parameter threshold, determining a target network service execution component from among a plurality of preset network service execution components according to the service configuration parameter; the service configuration parameter item of the network service execution component is in a state to be initialized; According to the service configuration parameters of the network service, adjusting the configuration parameter items of the target network service execution component to instantiate the target network service execution component after the configuration parameter items are adjusted; The service request data packet is processed by the instantiated target network service execution component to execute the network service.
2. The method according to claim 1, characterized in that The responding to the service request data packet sent from the application device of the network service and parsing the service request data packet to obtain the environment parameters and service configuration parameters of the network service include: In response to the reception information of the data packet, scanning a cache folder for storing the service request data packet to obtain the service request data packet; Decompressing the service request data packet, and determining an environment parameter configuration file and a service configuration parameter configuration file from the decompressed files; The parameter configuration file is scanned to obtain the environment parameters, and the service configuration parameter configuration file is scanned to obtain the service configuration parameters.
3. The method according to claim 1, characterized in that The service configuration parameter includes a service identifier of the network service, and when the environment parameter matches a preset local environment parameter threshold, determining a target network service execution component from among a plurality of preset network service execution components according to the service configuration parameter includes: According to the service identifier, searching for the target network service name corresponding to the service identifier in a preset service identifier relationship table; the service identifier relationship table is used to record the corresponding relationship between the service identifier and the service name of the network service; According to the target network service name, determining the target network service component in a preset network service execution component folder; A corresponding target network service execution folder is generated according to the target network service component.
4. The method according to claim 1, characterized in that The service configuration parameters are stored in a service configuration parameter configuration file, the target network service execution component is stored in a corresponding target network service execution folder, and the configuration parameter items of the target network service execution component are adjusted according to the service configuration parameters of the network service to instantiate the target network service execution component after the configuration parameter items are adjusted, including: Injecting the service configuration parameter configuration file into the target network service execution folder; The service startup file in the target network service execution folder is started to run the target network service execution component.
5. The method according to claim 1, characterized in that The service data request packet includes network loading address information of the network service, and the instantiated target network service execution component processes the service request data packet to execute the network service, including: extracting the network loading address information from the service data request packet; According to the network loading address information, interactive communication with the application device is established to execute the network service.
6. The method according to claim 1, characterized in that The method further comprises: Acquire communication information generated by the network service, and generate log information of the executed network service according to the communication information; In response to a query command for the log information, the log information is displayed.
7. The method according to claim 6, characterized in that The obtaining of the communication information generated by the network service includes: In the case where the network service is executed through a digital object interface protocol, determining a test request of the digital object interface protocol as the communication information; In the case where the network service is executed by a hypertext transfer protocol, a data acquisition request of the hypertext transfer protocol is determined as the communication information.
8. A loading management device for core services of a digital network, characterized in that: Applicable to servers, including: A parsing module, used to respond to a service request data packet sent from an application device for a network service, and perform data parsing on the service request data packet to obtain environment parameters and configuration parameters of the network service; A component selection module, configured to determine a target network service execution component from among a plurality of preset network service execution components according to the service configuration parameters when the environment parameter matches a preset local environment parameter threshold; the configuration parameter items of the network service execution component are in a state to be initialized; An instantiation module, used to adjust the configuration parameter items of the target network service execution component according to the service configuration parameters of the network service, so as to instantiate the target network service execution component after the configuration parameter items are adjusted; The service execution module is used to process the service request data packet through the instantiated target network service execution component to execute the network service.
9. An electronic device, characterized in that: include: A processor, a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method as claimed in any one of claims 1 to 7.