Process control method and device, equipment and storage medium

Through process control requests for target business processes, information about the target isolation module and extended shared library is obtained and utilized, and process isolation control is carried out, which solves the problem that processes cannot perform process-level isolation in the existing technology, and realizes process-level control and dynamic personalized configuration of shared library.

CN119847776APending Publication Date: 2025-04-18SHENZHEN TCL NEW-TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411908130.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, processes configured with shared libraries cannot be process-level isolation, resulting in the inability to dynamically personalize configuration and operations for different processes.

Method used

By responding to the process control request for the target business process, obtain the target isolation module corresponding to the target business process and the process control request; determine the extended isolation attributes of the target business process based on the extended isolation module and the target business process; perform process isolation control on the target business process corresponding to the target business process based on the extended isolation attribute and the target business process to obtain the process control results.

Benefits of technology

Dynamic personalized process isolation of business processes associated with the target shared library is achieved, avoiding mutual influence between different processes, and realizing process-level control of the shared library.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847776A_ABST
    Figure CN119847776A_ABST
Patent Text Reader

Abstract

The invention provides a process control method and device, equipment and a storage medium. The process control method comprises the following steps: in response to a process control request for a target business process, obtaining the target business process and a target isolation module corresponding to the process control request; determining an extended isolation attribute of the target business process according to the target isolation module and an extended shared library associated with the target business process; and performing process isolation control on a target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result. The business process associated with the target shared library can avoid mutual influence among different processes, and process-level control on the shared library is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a process control method, device, equipment and storage medium. Background Art

[0002] At present, with the rapid development of Internet technology, existing intelligent operating systems can use shared libraries (such as .so files and .jar files) to share process codes. Code modifications in shared libraries can affect all processes that use the shared library, thereby simplifying the management of shared libraries. However, this process management method lacks process-level isolation, making it impossible to dynamically customize configuration and operations for different processes. Summary of the invention

[0003] The embodiments of the present application provide a process control method, apparatus, device and storage medium, which are intended to solve the technical problem in the prior art that processes configured with shared libraries cannot be isolated at the process level.

[0004] On the one hand, an embodiment of the present application provides a process control method, the process control method comprising the following steps:

[0005] In response to a process control request for a target business process, obtaining the target business process and a target isolation module corresponding to the process control request;

[0006] Determine the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process;

[0007] Process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

[0008] In a possible implementation of the present application, before determining the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process, the method further includes:

[0009] Obtaining an initial extension configuration file associated with the target business process;

[0010] Generate a process control attribute corresponding to the target business process according to the target isolation module corresponding to the target business process, wherein the process control attribute includes a process output attribute and a process isolation attribute;

[0011] Generate an extended key-value pair corresponding to the process control attribute, use the extended key-value pair to configure the initial extended configuration file, and generate a target extended configuration file containing the extended isolation attribute corresponding to the target business process.

[0012] In a possible implementation of the present application, determining the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process includes:

[0013] Obtaining an extended shared library associated with the target business process;

[0014] The target isolation module and the extended shared library are connected with the target extension configuration file corresponding to the target business process to obtain the extended isolation attribute of the target business process.

[0015] In a possible implementation of the present application, the process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result, including:

[0016] Acquire a target shared library corresponding to the target business process, and determine shared output data to be output according to the target shared library and the target business process;

[0017] Generating a process control strategy for the shared output data according to the target isolation module and the extended isolation attribute;

[0018] The shared output data is output controlled according to the process control strategy to obtain a process control result.

[0019] In a possible implementation of the present application, the output control of the shared output data is performed according to the process control strategy to obtain a process control result, including:

[0020] Parsing the process control policy and determining that the process control policy is a process isolation policy;

[0021] The target isolation module is driven to control the target business process to isolate the shared output data according to the process isolation strategy, and a first process control result is obtained.

[0022] In a possible implementation of the present application, the output control of the shared output data is performed according to the process control strategy to obtain a process control result, including:

[0023] Parsing the process control policy and determining that the process control policy is a process sharing policy;

[0024] The target business process is driven to output the shared output data according to the process sharing strategy to obtain a second process control result.

[0025] In a possible implementation of the present application, after performing process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module and obtaining the process control result, the method further includes:

[0026] In response to the extended update request, obtaining an extended update attribute associated with the target service process in the extended update request;

[0027] The extended update attribute is used to perform configuration update on the initial configuration file and / or the target extended configuration file associated with the target business process, so as to obtain an updated extended configuration file including the updated extended isolation attribute corresponding to the target business process.

[0028] On the other hand, the present application provides a process control device, the process control device comprising:

[0029] An isolation acquisition module is configured to respond to a process control request for a target business process and acquire the target business process and a target isolation module corresponding to the process control request;

[0030] An attribute extension module, configured to determine an extended isolation attribute of the target business process according to an extended shared library associated with the target isolation module and the target business process;

[0031] The process control module is configured to perform process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

[0032] On the other hand, the present application also provides a process control device, the process control device comprising:

[0033] one or more processors;

[0034] Memory; and

[0035] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps of the process control method.

[0036] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the process control method.

[0037] In this application, by responding to a process control request for a target business process, the target business process and the target isolation module corresponding to the process control request are obtained; the extended isolation attribute of the target business process is determined according to the target isolation module and the extended shared library associated with the target business process; the process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result. This is achieved by dynamically and individually isolating the business process through the target isolation module associated with the business process and the extended isolation attribute in the extended shared library when the business process and the corresponding target shared library are about to send data, so that the business process associated with the target shared library can avoid mutual influence between different processes, and process-level control of the shared library is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 A schematic diagram of a process control method according to an embodiment of the present application;

[0040] Figure 2 A flowchart of an embodiment of a process control method in an embodiment of the present application;

[0041] Figure 3 A flowchart of an embodiment of isolating a target business process in a process control method provided in an embodiment of the present application;

[0042] Figure 4 A flowchart of an embodiment of an extended update in a process control method provided in an embodiment of the present application;

[0043] Figure 5 A schematic diagram of the structure of an embodiment of a process control device provided in an embodiment of the present application;

[0044] Figure 6 A schematic diagram of the structure of an embodiment of a process control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] 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 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0046] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0047] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0048] At present, with the rapid development of Internet technology, existing intelligent operating systems can use shared libraries (such as .so files and .jar files) to share process codes. Code modifications in shared libraries can affect all processes that use the shared library, thereby simplifying the management of shared libraries. However, this process management method lacks process-level isolation, making it impossible to dynamically customize configuration and operations for different processes.

[0049] Based on this, the present application proposes a process control method, apparatus, device and computer-readable storage medium to solve the technical problem in the prior art that processes configured with shared libraries cannot be isolated at the process level.

[0050] The process control method in the embodiment of the present invention is applied to a process control device, which is arranged in a process control device. The process control device is provided with one or more processors, memories, and one or more applications, wherein the one or more applications are stored in the memories and configured to be executed by the processor to implement the process control method; wherein the process control device can be an intelligent terminal, such as a mobile phone, a tablet computer, a network device, and a smart computer; optionally, the process control device can also be a server, or a service cluster consisting of multiple servers.

[0051] like Figure 1 As shown, Figure 1 This is a scenario diagram of the process control method of an embodiment of the present application. The process control scenario in the embodiment of the present invention includes a process control device 100 (a process control device is integrated in the process control device 100), and a computer-readable storage medium corresponding to the process control method is running in the process control device 100 to execute the steps of the process control method.

[0052] Understandably, Figure 1 The process control devices in the process control method scenario shown, or the devices included in the process control devices, do not constitute limitations on the embodiments of the present invention, that is, the number of devices and types of devices of the process control devices included in the process control method scenario, or the number of devices and types of devices included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected by the embodiments of the present invention.

[0053] The process control device 100 in the embodiment of the present invention is mainly used to: respond to a process control request for a target business process, and obtain the target business process and a target isolation module corresponding to the process control request;

[0054] Determine the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process;

[0055] Process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

[0056] The process control device 100 in the embodiment of the present invention can be an independent process control device, such as a smart terminal such as a mobile phone, a tablet computer, a network device, a server, and a smart computer, or it can be a process control network or process control cluster composed of multiple process control devices.

[0057] The embodiments of the present application provide a process control method, apparatus, device, and computer-readable storage medium, which are described in detail below.

[0058] It can be understood by those skilled in the art that Figure 1 The application environment shown in is only one of the application scenarios related to the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer process control devices, or process control network connection relationships shown, such as Figure 1 Only one process control device is shown. It can be understood that the scenario of the process control method can also include one or more process control devices, which are not specifically limited here. The process control device 100 can also include a memory for storing process data and other data.

[0059] It should be noted that Figure 1 The scenario diagram of the process control method shown is only an example. The scenario of the process control method described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.

[0060] Based on the scenario of the above process control method, various embodiments of the process control method disclosed in the present invention are proposed.

[0061] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a process control method in an embodiment of the present application. The process control method includes the following steps 201 to 203:

[0062] 201. Respond to a process control request for a target business process, and obtain a target isolation module corresponding to the target business process and the process control request;

[0063] The process control method in this embodiment is applied to a process control device, and the type and number of the process control device are not specifically limited, that is, the process control device can be one or more intelligent terminals or servers. In a specific embodiment, the process control device is an intelligent device provided with a target shared library shared among multiple target business processes. The target shared library is a shared library file associated with several target business processes and capable of code sharing for each target business process. In a specific embodiment, the file type of the target shared library can be a .so file type and a .jar file type or other shared library file types.

[0064] Specifically, since any code modification to the target shared library (such as adding a debug log) will affect the target business processes that use the target shared library, in order to implement process-level management of the target business processes that use the target shared library, such as process isolation, the process control device also responds to process control requests for the target business process during the permission process, wherein the process control request is an operation event that drives the process control device to perform process-level control on the target shared library and the target business process associated with the target shared library.

[0065] Specifically, after obtaining the process control request, the process control device parses the process control request, determines the target business process to be adjusted by the process control request, and the target isolation module corresponding to the target business process and the process control request. The target isolation module is a logical isolation module associated with the target business process in the control layer. The target isolation module is associated with the target business process and the shared output data to be output by the target shared library. Optionally, in a specific embodiment, the target isolation module includes a system property module, a system characteristic module and a log management module. In a specific embodiment, the log management module can be a logd module.

[0066] Specifically, after obtaining the process control request, the process control device determines the target business process corresponding to the process control request, and obtains the shared output data of the target shared library corresponding to the target business process. After obtaining the shared output data, the process control device determines the shared data type corresponding to the shared output data, and determines the target isolation module of the target business process according to the shared data type and the module type corresponding to the system isolation module in the control layer. Among them, the target isolation module is a system module that outputs the shared output data to the target business process or performs other process-level control operations associated with the target shared library.

[0067] 202. Determine an extended isolation attribute of the target business process according to the target isolation module and an extended shared library associated with the target business process;

[0068] Specifically, after determining the target business process and the target isolation module corresponding to the target business process, the process control device also determines the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process.

[0069] Specifically, before the process extension device determines the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process, a target extended configuration file associated with the target business process is pre-set in the terminal kernel layer, and the target extended configuration file contains the extended isolation attribute corresponding to the target business process. Among them, the extended isolation attribute is an extended attribute used to perform process-level control on the target business process. For example, the extended isolation attribute can allow or prohibit the target business process from outputting any one or more of specific system attributes, system characteristics, and system logs according to the target shared library, thereby realizing process-level control of different target business processes corresponding to the target shared library.

[0070] Optionally, in a specific embodiment, the process extension device generates an initial extension configuration file associated with the target business process in the process extension directory of the terminal kernel layer, and generates a process control attribute corresponding to the target business process according to the target isolation module corresponding to the target business process, that is, the process extension device configures the process control attribute of the same module type as the target isolation module according to the target isolation module associated with the target business process. Among them, the process control attribute is a switch characteristic attribute for performing process-level isolation on the corresponding parameters or outputs of the target business process and the target shared library. Features attribute. Optionally, in a specific embodiment, the directory style of the process extension directory is / proc / process number / directory.

[0071] Specifically, after obtaining the process control attribute, the process control device generates an extended key-value pair corresponding to the process control attribute, and uses the extended key-value pair to configure the initial extended configuration file to generate a target extended configuration file that includes the extended isolation attribute corresponding to the target business process.

[0072] Optionally, in other embodiments, after generating the target extension configuration file, the process extension device also sets an extended isolation interface in the terminal for obtaining or modifying the extended isolation attribute in the target extension configuration file, thereby providing the ability to set and obtain the extended isolation attribute externally. The extended isolation attribute is a key-value pair parameter that characterizes the process-level isolation of the corresponding parameters or outputs of the target business process and the target shared library.

[0073] Specifically, the process control device also pre-sets an extended shared library associated with the target business process in the terminal control layer, and docks with the target extension file corresponding to the target business process according to the target isolation module and the extended shared library, thereby obtaining the extended isolation attribute of the target business process. Among them, the extended shared library is a shared library file that docks with the target isolation module and the target extension configuration file / update extension configuration file in the kernel layer respectively to obtain the extended isolation attribute.

[0074] That is, the process control device is provided with an extended shared library in the terminal control layer, and when process-level control of the target business process is required, the extended shared library is connected through the target isolation module, and the extended shared library is used to connect with the target extension configuration file in the terminal kernel layer, so as to read or set the extended isolation attribute in the target extension configuration file, and in subsequent steps, the extended isolation attribute is used to control the return of a specific system attribute value or control the system characteristic switch status or control the process log output.

[0075] 203. Perform process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

[0076] Specifically, after determining the extended isolation attributes of the target business process, the process control device also performs process isolation control on the target shared library corresponding to the target business process based on the extended isolation attributes and the target isolation module, so as to achieve process-level control of each target business process corresponding to the target shared library, thereby controlling the target business process to personalized output or isolate specific system properties, system characteristics and log files according to the requirements of the target business process.

[0077] Specifically, the process control device obtains the target shared database corresponding to the target business process, and determines the shared output data to be output according to the target shared library and the target business process. That is, the process control device generates the shared output data to be output by the target business process according to the process control code in the target shared library. For example, in a specific embodiment, a debug log code is added to the target shared library, and the target business process determines the debug log to be output according to the debug log code. The debug log is the shared output data.

[0078] The shared output data may be a control request instruction and specific output data corresponding to the target business process and the target isolation module. For example, the shared output data may be any one or more of the debug log, system attributes, and system characteristics to be output by the target business process.

[0079] Specifically, after determining the shared output data to be output by the target business process, the process control device also generates a process control policy for the shared output data based on the target isolation module and the extended isolation attribute. The process control policy includes a process isolation policy and a process sharing policy. The process isolation policy is a process control policy for performing process isolation on the shared output data of the target business process and outputting the shared output data. The process sharing policy is a process control policy for allowing the shared output data of the target business process to be output.

[0080] Specifically, after determining the process control strategy, the process control device adds the process control logic corresponding to the process control strategy in the target isolation module, and drives the target isolation module to output and control the shared output data of the target business process according to the process control logic to obtain a process control result. Among them, the process control result includes a first process control result and a second process control result. The first process control result is a process control result for isolating the target business process. The second process control result is a process control result for sharing the target business process and allowing the target business process to output shared output data.

[0081] Optionally, in a specific embodiment, after determining the process control policy of the target business process, the process control device parses the process control policy and determines that the process control policy is a process sharing policy. The process control device then adds process sharing logic to the target isolation module, drives the target isolation module to control the target business process to output the shared output data according to the process sharing policy, and obtains a second process control result.

[0082] Optionally, in other embodiments, in order to meet the changing needs of different business scenarios, the process control device also updates the extended isolation attributes corresponding to the target business process, thereby meeting the changing needs of business scenarios and achieving dynamic control of the target business process.

[0083] In this embodiment, the process control device obtains the target business process and the target isolation module corresponding to the process control request by responding to the process control request for the target business process; determines the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process; performs process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result. This is achieved by dynamically and individually isolating the business process through the target isolation module associated with the business process and the extended isolation attribute in the extended shared library when the business process and the corresponding target shared library are about to send data, so that the business process associated with the target shared library can avoid mutual influence between different processes, and achieve process-level control of the shared library.

[0084] like Figure 3 As shown, Figure 3 This is a flow chart of an embodiment of isolating a target business process in a process control method provided in an embodiment of the present application. Specifically, in this embodiment, the process control method further includes steps 301 to 303:

[0085] 301. Analyze the process control strategy and determine that the process control strategy is a process isolation strategy;

[0086] 302. Drive the target isolation module to control the target business process to isolate the shared output data according to the process isolation strategy, and obtain a first process control result.

[0087] Based on the above embodiments, in this embodiment, after determining the process control strategy, the process control device adds the process control logic corresponding to the process control strategy to the target isolation module, and drives the target isolation module to perform output control on the shared output data of the target business process according to the process control logic to obtain the process control result.

[0088] Specifically, after determining the process control policy of the target business process, the process control device parses the process control policy and determines that the process control policy is a process isolation policy. The process control device then adds process isolation logic to the target isolation module corresponding to the target business process, and drives the target isolation module to control the target business process to isolate the shared output data according to the process isolation logic and the process isolation policy, thereby obtaining a first process control result.

[0089] The process control device can isolate the target business process and the shared output data in a manner of complete isolation or partial isolation. For example, the process control device can completely isolate the target business process and the corresponding shared output data, and the target business process outputs the shared output data. In addition, the process control device can also partially isolate the shared output data, for example, isolate the target shared data associated with the process isolation logic in the shared output data, thereby performing personalized dynamic control on the target business process to meet the needs of business scenarios.

[0090] In this embodiment, the process control device determines that the process control policy is a process isolation policy by parsing the process control policy; drives the target isolation module to control the target business process to isolate the shared output data according to the process isolation policy, and obtains a first process control result. The shared output data of the target business terminal is personalized and dynamically isolated through the extended isolation attribute corresponding to the target business process, so as to realize process-level control of the target shared library.

[0091] like Figure 4 As shown, Figure 4 This is a flow chart of an embodiment of an extended update in the process control method provided in the embodiment of the present application. Specifically, in this embodiment, the process control method further includes steps 401 to 402:

[0092] 401. Respond to an extended update request and obtain an extended update attribute associated with the target service process in the extended update request;

[0093] 402. Use the extended update attribute to update the initial configuration file and / or the target extended configuration file associated with the target business process, and obtain an updated extended configuration file including the updated extended isolation attribute corresponding to the target business process.

[0094] Based on the above embodiments, in this embodiment, in order to meet the changing needs of different business scenarios, the process control device also updates the extended isolation attributes corresponding to the target business process, thereby meeting the changing needs of the business scenarios and realizing dynamic control of the target business process.

[0095] Specifically, during operation, the process control device responds to the extended update request and obtains the extended update attribute associated with the target business process in the extended update request. The extended update request is an operation instruction for driving the process control device to update the extended isolation attribute of the target business process using the extended update attribute. The extended update attribute is an updated extended parameter for process-level control of the target business process in a shared library.

[0096] Specifically, after obtaining the extended update attributes of the target business process, the process control device also uses the extended update attributes to configure and update the initial configuration file and / or target extended configuration file associated with the target business process to obtain an updated extended configuration file that contains the updated extended isolation attributes corresponding to the target business process.

[0097] Specifically, after obtaining the extended update attributes, the process control device uses the target isolation module in the terminal control layer to connect to the extended shared library, drives the extended shared library to connect with the initial configuration file and / or the target extended configuration file in the process extension directory in the terminal kernel layer, and then uses the extended update attributes to configure and update the initial configuration file and / or the target extended configuration file associated with the target business process in the terminal kernel layer, and obtains an updated extended configuration file containing the updated extended isolation attributes corresponding to the target business process, thereby realizing dynamic updating of the extended isolation attributes of the target business process without restarting the target business process.

[0098] Specifically, after generating an updated extension configuration file and updated extension isolation attributes of the target business process, the process control device also uses the updated extension isolation attributes and the target isolation module to perform process-level control on the target business process to meet the changing needs of business scenarios and realize dynamic control of the target business process.

[0099] In this embodiment, the process control device obtains the extended update attribute associated with the target business process in the extended update request by responding to the extended update request; uses the extended update attribute to update the initial configuration file and / or the target extended configuration file associated with the target business process, and obtains an updated extended configuration file containing the updated extended isolation attribute corresponding to the target business process. This allows the extended isolation attribute of the target business process to be dynamically updated without restarting the target business process, so as to meet the changing needs of the business scenario and realize dynamic control of the target business process.

[0100] In order to better implement the process control method in the embodiment of the present application, based on the process control method, the embodiment of the present application also provides a process control device, such as Figure 5 As shown, Figure 5 The schematic diagram of the structure of the process control device provided in the embodiment of the present application is as follows. Specifically, the process control device 500 includes:

[0101] The isolation acquisition module 501 is configured to respond to a process control request for a target business process and acquire the target business process and a target isolation module corresponding to the process control request;

[0102] The attribute extension module 502 is configured to determine the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process;

[0103] The process control module 503 is configured to perform process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

[0104] In a possible implementation of this embodiment, before the process control device determines the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process, it also includes:

[0105] Obtaining an initial extension configuration file associated with the target business process;

[0106] Generate a process control attribute corresponding to the target business process according to the target isolation module corresponding to the target business process, wherein the process control attribute includes a process output attribute and a process isolation attribute;

[0107] Generate an extended key-value pair corresponding to the process control attribute, use the extended key-value pair to configure the initial extended configuration file, and generate a target extended configuration file containing the extended isolation attribute corresponding to the target business process.

[0108] In a possible implementation of this embodiment, the process control device determines the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process, including:

[0109] Obtaining an extended shared library associated with the target business process;

[0110] The target isolation module and the extended shared library are connected with the target extension configuration file corresponding to the target business process to obtain the extended isolation attribute of the target business process.

[0111] In a possible implementation of this embodiment, the process control device performs process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result, including:

[0112] Acquire a target shared library corresponding to the target business process, and determine shared output data to be output according to the target shared library and the target business process;

[0113] Generating a process control strategy for the shared output data according to the target isolation module and the extended isolation attribute;

[0114] The shared output data is output controlled according to the process control strategy to obtain a process control result.

[0115] In a possible implementation of this embodiment, the process control device performs output control on the shared output data according to the process control strategy to obtain a process control result, including:

[0116] Parsing the process control policy and determining that the process control policy is a process isolation policy;

[0117] The target isolation module is driven to control the target business process to isolate the shared output data according to the process isolation strategy, and a first process control result is obtained.

[0118] In a possible implementation of this embodiment, the process control device performs output control on the shared output data according to the process control strategy to obtain a process control result, including:

[0119] Parsing the process control policy and determining that the process control policy is a process sharing policy;

[0120] The target business process is driven to output the shared output data according to the process sharing strategy to obtain a second process control result.

[0121] In a possible implementation of this embodiment, the process control device performs process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module, and after obtaining the process control result, further includes:

[0122] In response to the extended update request, obtaining an extended update attribute associated with the target service process in the extended update request;

[0123] The extended update attribute is used to perform configuration update on the initial configuration file and / or the target extended configuration file associated with the target business process, so as to obtain an updated extended configuration file including the updated extended isolation attribute corresponding to the target business process.

[0124] In this embodiment, the process control device obtains the target business process and the target isolation module corresponding to the process control request by responding to the process control request for the target business process; determines the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process; performs process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result. This is achieved by dynamically and individually isolating the business process through the target isolation module associated with the business process and the extended isolation attribute in the extended shared library when the business process and the corresponding target shared library are about to send data, so that the business process associated with the target shared library can avoid mutual influence between different processes, and achieve process-level control of the shared library.

[0125] The embodiment of the present invention also provides a process control device, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an embodiment of the process control device provided in the embodiments of the present application.

[0126] The process control device integrates any one of the process control devices provided by the embodiments of the present invention, and the process control device includes:

[0127] one or more processors;

[0128] Memory; and

[0129] One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the process control method described in any of the above process control method embodiments.

[0130] Specifically, the process control device may include one or more processing core processors 601, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will understand that Figure 6 The process control device structure shown in the figure does not constitute a limitation on the process control device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0131] The processor 601 is the control center of the process control device. It uses various interfaces and lines to connect various parts of the entire process control device. By running or executing software programs and / or modules stored in the memory 602 and calling data stored in the memory 602, it executes various functions of the process control device and processes data, thereby monitoring the process control device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0132] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the process control device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0133] The process control device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0134] The process control device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0135] Although not shown, the process control device may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 601 in the process control device will load the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 will run the application stored in the memory 602, thereby realizing various functions, as follows:

[0136] In response to a process control request for a target business process, obtaining the target business process and a target isolation module corresponding to the process control request;

[0137] Determine the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process;

[0138] Process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

[0139] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any process control method provided in an embodiment of the present invention. For example, the computer program may be loaded by a processor to execute the following steps:

[0140] In response to a process control request for a target business process, obtaining the target business process and a target isolation module corresponding to the process control request;

[0141] Determine the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process;

[0142] Process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

[0143] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0144] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0145] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0146] The above is a detailed introduction to a process control method provided in an embodiment of the present application. Specific embodiments are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A process control method, characterized in that: The process control method comprises: In response to a process control request for a target business process, obtaining the target business process and a target isolation module corresponding to the process control request; Determine the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process; Process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

2. The process control method according to claim 1, characterized in that: Before determining the extended isolation attribute of the target business process according to the extended shared library associated with the target isolation module and the target business process, the method further includes: Obtaining an initial extension configuration file associated with the target business process; Generate a process control attribute corresponding to the target business process according to the target isolation module corresponding to the target business process, wherein the process control attribute includes a process output attribute and a process isolation attribute; Generate an extended key-value pair corresponding to the process control attribute, use the extended key-value pair to configure the initial extended configuration file, and generate a target extended configuration file containing the extended isolation attribute corresponding to the target business process.

3. The process control method according to claim 2, characterized in that: The step of determining the extended isolation attribute of the target business process according to the target isolation module and the extended shared library associated with the target business process includes: Obtaining an extended shared library associated with the target business process; The target isolation module and the extended shared library are connected with the target extension configuration file corresponding to the target business process to obtain the extended isolation attribute of the target business process.

4. The process control method according to claim 1, characterized in that: The process isolation control is performed on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result, including: Acquire a target shared library corresponding to the target business process, and determine shared output data to be output according to the target shared library and the target business process; Generating a process control strategy for the shared output data according to the target isolation module and the extended isolation attribute; The shared output data is output controlled according to the process control strategy to obtain a process control result.

5. The process control method according to claim 4, characterized in that: The output control of the shared output data according to the process control strategy to obtain a process control result includes: Parsing the process control policy and determining that the process control policy is a process isolation policy; The target isolation module is driven to control the target business process to isolate the shared output data according to the process isolation strategy, and a first process control result is obtained.

6. The process control method according to claim 4, characterized in that: The output control of the shared output data according to the process control strategy to obtain a process control result includes: Parsing the process control policy and determining that the process control policy is a process sharing policy; The target business process is driven to output the shared output data according to the process sharing strategy to obtain a second process control result.

7. The process control method according to any one of claims 1 to 6, characterized in that: After performing process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module and obtaining the process control result, the method further includes: In response to the extended update request, obtaining an extended update attribute associated with the target service process in the extended update request; The extended update attribute is used to perform configuration update on the initial configuration file and / or the target extended configuration file associated with the target business process, so as to obtain an updated extended configuration file including the updated extended isolation attribute corresponding to the target business process.

8. A process control device, characterized in that: The process control device comprises: An isolation acquisition module is configured to respond to a process control request for a target business process and acquire the target business process and a target isolation module corresponding to the process control request; An attribute extension module, configured to determine an extended isolation attribute of the target business process according to an extended shared library associated with the target isolation module and the target business process; The process control module is configured to perform process isolation control on the target shared library corresponding to the target business process according to the extended isolation attribute and the target isolation module to obtain a process control result.

9. A process control device, characterized in that: The process control device comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the process control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the process control method according to any one of claims 1 to 7.