A processing method, device and equipment for developing system resource optimization and a medium

By classifying and optimizing the modules of the autonomous driving system, the high cost and low efficiency problems caused by manual integration and testing in existing technologies are solved, achieving high efficiency and low cost of system resource optimization.

CN115576598BActive Publication Date: 2025-12-12CHONGQING CHANGAN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211218242.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2025-12-12
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

Optimizing existing autonomous driving system resources requires manual integration and testing, resulting in high costs and low efficiency.

Method used

By acquiring the operational characteristics of the development system, modules are classified, and each type of module is optimized according to optimization rules. Finally, the optimized development system is generated.

Benefits of technology

It improves the efficiency of system resource optimization and reduces system optimization costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115576598B_ABST
    Figure CN115576598B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of automatic driving application software development, and provides a processing method for optimizing a development system resource, which comprises the following steps: acquiring the running characteristics of a development system; performing classification processing on the modules of the development system according to the running characteristics to generate initial classification modules; presetting corresponding optimization rules according to the initial classification modules, and performing optimization processing on the initial classification modules to generate target classification modules; and collecting all the target classification modules to generate an optimized development system. The development system is optimized by performing optimization processing on the modules of the development system respectively, so that the efficiency of optimizing the development system resource is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of automatic driving application software development, in particular to a processing method and device for optimizing development system resources, equipment and medium. BACKGROUND

[0002] With the development of vehicle intelligence and networking, automatic driving technology is becoming more and more mature. With the continuous improvement of the function of the automatic driving system, it has developed from the previous medium-scale algorithm to the integration of large-scale hybrid algorithm mode. The demand for development system resources of vehicles is increasing day by day. However, most of the existing development system resources need to be integrated by engineers manually. When the software resources need to be optimized in the later stage, a large amount of integration, compilation and testing work needs to be done manually, which is high in system optimization cost and low in optimization efficiency. SUMMARY

[0003] In view of the above-mentioned shortcomings of the prior art, the present application provides a processing method and device for optimizing development system resources, equipment and medium to solve the above-mentioned technical problems.

[0004] The present application provides a processing method and device for optimizing development system resources, equipment and medium, which comprises:

[0005] obtaining the running characteristics of the development system;

[0006] classifying and processing the modules of the development system according to the running characteristics to generate initial classification modules;

[0007] presetting corresponding optimization rules according to the initial classification modules and optimizing the initial classification modules to generate target classification modules;

[0008] all the target classification modules are summarized to generate an optimized development system.

[0009] In an embodiment of the present application, the initial classification modules include system resource modules, application software modules, communication modules and fault tracking modules.

[0010] In an embodiment of the present application, the step of presetting corresponding optimization rules according to the initial classification modules and optimizing the initial classification modules to generate target classification modules comprises:

[0011] optimizing the system resource modules to generate target system resource modules;

[0012] optimizing the application software modules to generate target software modules;

[0013] optimizing the communication modules to generate target communication modules;

[0014] The fault tracking module is optimized to generate a target fault tracking module.

[0015] In an embodiment of the present application, the step of optimizing the system resource module to generate a target system resource module comprises:

[0016] The initial network driver unit of the system resource module is prioritized to generate a target network driver unit;

[0017] The initial central processing unit automatic frequency tuning driver unit of the system resource module is processed by time period to generate a target central processing unit automatic frequency tuning driver unit;

[0018] The initial kernel scheduling unit of the system resource module is set with a first preset strategy to generate a target kernel scheduling unit;

[0019] The initial time synchronization driver unit of the system resource module is microcontroller unit synchronized to generate a target time synchronization driver unit;

[0020] The target network driver unit, the target central processing unit automatic frequency tuning driver unit, the target kernel scheduling unit, and the target time synchronization driver unit are summarized to generate an optimized target system resource module.

[0021] In an embodiment of the present application, the step of optimizing the application software module to generate a target software module comprises:

[0022] The initial logic control unit of the application software module is replaced to generate a target logic control unit;

[0023] The initial sensing fusion unit of the application software module is preprocessed to generate a target sensing fusion unit;

[0024] The target logic control unit and the target sensing fusion unit are summarized to generate a target software module.

[0025] In an embodiment of the present application, the step of optimizing the communication module to generate a target communication module comprises:

[0026] The communication module is aligned using a transmission method;

[0027] The initial period unit of the communication module is processed to generate a target period unit;

[0028] The main data channel of the communication module is communication scheduled to generate a target communication module.

[0029] In an embodiment of the present application, the step of optimizing the fault tracking module to generate a target fault tracking module comprises:

[0030] The fault tracking module is classified and processed by a one-hot code to generate a target fault tracking module.

[0031] The present application also provides a processing device for optimizing a development system resource, which comprises:

[0032] a feature acquisition module for acquiring a running feature of the development system;

[0033] a classification processing module for classifying modules of the development system according to the running feature to generate initial classification modules;

[0034] an optimization processing module for presetting corresponding optimization rules according to the initial classification modules and optimizing the initial classification modules to generate target classification modules;

[0035] a summary module for summarizing all the target classification modules to generate an optimized development system.

[0036] The present application also provides an electronic device, which comprises:

[0037] one or more processors;

[0038] a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the processing method for optimizing a development system resource.

[0039] The present application also provides a computer readable storage medium, which has a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the processing method for optimizing a development system resource.

[0040] The present application has the following advantages: the development system is classified and optimized respectively, thereby improving the efficiency of optimizing a development system resource.

[0041] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0042] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application. It is to be understood that the drawings are designed solely for purposes of illustration to be used in conjunction with the description in

[0043] Figure 1 is a schematic diagram of an implementation environment of a processing method for developing system resource optimization according to an example embodiment of the present application;

[0044] Figure 2 is a flowchart of the processing method for developing system resource optimization according to an example embodiment of the present application;

[0045] Figure 3 is Figure 2 is a flowchart of step S230 in the example embodiment shown in

[0046] Figure 4 is Figure 3 is a block diagram of step S310 in the example embodiment shown in

[0047] Figure 5 is Figure 3 is a flowchart of step S310 in the example embodiment shown in

[0048] Figure 6 is Figure 3 is a flowchart of step S320 in the example embodiment shown in

[0049] Figure 7 is Figure 3 is a block diagram of step S320 in the example embodiment shown in

[0050] Figure 8 is Figure 3 is a flowchart of step S330 in the example embodiment shown in

[0051] Figure 9 is Figure 3 is a block diagram of step S330 in the example embodiment shown in

[0052] Figure 10 is Figure 3 is a block diagram of step S340 in the example embodiment shown in

[0053] Figure 11 is Figure 3 is a one-hot code definition table in the example embodiment shown in

[0054] Figure 12 is a block diagram of a processing device for developing system resource optimization shown in an exemplary embodiment of the present application;

[0055] Figure 13 A structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application is shown. DETAILED DESCRIPTION

[0056] The present application will be described with reference to the attached drawings and preferred embodiments. Other advantages and novel features of the present application will become apparent from the following detailed description, when read in conjunction with the drawings.

[0057] It is to be understood that the figures are merely schematic and that actual implementations can differ from the presented embodiments, for example in shapes, sizes and proportions of the various elements, in the arrangement of the elements, and in the details of the components and methods. It is, therefore, not intended to limit the scope of the application to one particular embodiment described. Further, it is intended that the application embrace all alternatives, modifications and variations falling within the spirit and scope of the present application.

[0058] In the following description, numerous specific details are discussed in order to provide a thorough understanding of the embodiments of the present application. However, those skilled in the relevant art will recognize that the embodiments of the present application can be practiced without these specific details. In other instances, well-known structures and devices are not described in exhaustive detail in order to avoid obscuring the embodiments of the present application.

[0059] First of all, it needs to be pointed out that with the development of vehicle intelligence and networking, automatic driving technology is also more and more mature, with the continuous improvement of the function of automatic driving system, it has developed from the previous middle-scale algorithm to large-scale mixed algorithm mode integration, the demand of vehicle for development system resources is increasing day by day, however, the existing development system resources mostly need to be integrated by the manual work of integration engineer to integrate the developed software package into the whole software engineering, when the software resources need to be optimized in the later stage, a large amount of integration, compilation and test work need to be completed manually, the system optimization cost is high and the optimization efficiency is low. The processing method of development system resource optimization is to obtain the running characteristics of the development system resource, then classify the modules of the development system resource, optimize the modules of different types respectively, obtain the optimized target module, and finally integrate the target module to obtain the optimized development system. In other application scenarios, the processing method of development system resource optimization for objects can be set according to the actual situation, and the embodiments of the present application do not limit this.

[0060] Figure 1 is the implementation environment schematic diagram of the development system resource optimization processing method shown by an exemplary embodiment of the present application. As shown in Figure 1 , the running characteristics of the development system can be obtained through the development system installed on the intelligent terminal 110. According to the running characteristics, the modules of the development system are classified and processed to generate initial classification modules, then the corresponding optimization rules are preset according to the initial classification modules, and the initial classification modules are optimized to generate target classification modules. All target classification modules are integrated to generate an optimized development system. Among them, Figure 1 The intelligent terminal 110 shown in the figure can be any terminal device supporting the installation of development system resources, such as smart phone, smart car, tablet computer, notebook computer or wearable device, but is not limited thereto. Figure 1The server 120 shown is a server, which can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. No limitation is imposed here. The smart terminal 110 can communicate with the server 120 via wireless networks such as 3G (third-generation mobile information technology), 4G (fourth-generation mobile information technology), and 5G (fifth-generation mobile information technology). No limitation is imposed here either. Currently, most development system resources require integration engineers to manually integrate the developed software packages into the overall software project. Later, when software resources need to be optimized, a large amount of integration, compilation, and testing work needs to be manually completed, resulting in high system optimization costs and low optimization efficiency. To solve these problems, embodiments of this application propose a method for optimizing development system resources, a device for optimizing development system resources, an electronic device, and a computer-readable storage medium. These embodiments will be described in detail below.

[0061] Please see Figure 2 , Figure 2 This is a flowchart illustrating a method for optimizing development system resources, as shown in an exemplary embodiment of this application. This method can be applied to… Figure 1 The implementation environment shown is specifically executed by the smart terminal 110 within that implementation environment. It should be understood that this method can also be applied to other exemplary implementation environments and executed by devices in other implementation environments; this embodiment does not limit the implementation environment to which the method is applicable.

[0062] like Figure 2 In an exemplary embodiment, the method for optimizing system resources includes at least steps S210 to S240, which are described in detail below:

[0063] Step S210: Obtain the operational characteristics of the development system;

[0064] Step S220: Classify the modules of the development system according to their operational characteristics to generate initial classification modules;

[0065] Step S230: Based on the preset optimization rules of the initial classification module, optimize the initial classification module to generate the target classification module;

[0066] Step S240: Summarize all target classification modules to generate an optimized development system.

[0067] As Figure 2 shown, in an exemplary embodiment, when step S210 is performed, the running characteristics of the development system are acquired. It is first to be noted that the running characteristics of the development system are generated in the intelligent terminal 110, and the running characteristics of the development system can include a plurality of different characteristics.

[0068] As Figure 2 shown, in an exemplary embodiment, when step S220 is performed, the modules of the development system are classified according to the running characteristics, and an initial classification module is generated. Specifically, the initial classification module can include a system resource module, an application software module, a communication module, and a fault tracking module, but is not limited thereto, and the initial classification module can also include other modules. The system resource module can include an initial network driver unit, an initial central processing unit automatic frequency driving unit, an initial kernel scheduling unit, and an initial time synchronization driving unit, and the like. The application software module can include an initial application software unit and an initial sensor fusion unit, and the like.

[0069] As Figure 3 and Figure 4 shown, in an exemplary embodiment, when step S230 is performed, the corresponding optimization rules are preset according to the initial classification module, and the initial classification module is optimized to generate a target classification module. Specifically, step S230 can include steps S310 to S340, which are described in detail as follows:

[0070] Step S310, the system resource module is optimized to generate a target system resource module;

[0071] Step S320, the application software module is optimized to generate a target software module;

[0072] Step S330, the communication module is optimized to generate a target communication module;

[0073] Step S340, the fault tracking module is optimized to generate a target fault tracking module.

[0074] In an exemplary embodiment, the system resource module performs optimization processing through an event handling mechanism interface, a periodic scheduling mechanism interface, and a system kernel scheduling interface. The event handling mechanism interface serves as both the input interface for the data processing application and the output interface for the system kernel. For the event handling mechanism interface, the Central Processing Unit (CPU) is only triggered to process relevant data upon receiving an event signal, thereby participating in the scheduling processing of the system resource module. The periodic scheduling mechanism interface can directly access the data of the system resource module; that is, it employs a zero-copy technique from kernel mode to user mode, directly mapping user-mode virtual addresses to kernel-mode memory addresses. Simultaneously, the underlying driver unit of the system resource module uses Direct Memory Access (DMA) storage, enabling the underlying driver unit to avoid CPU scheduling applications. During data acquisition, the CPU is freed up to better handle the application's logical algorithms.

[0075] like Figure 5 As shown, in an exemplary embodiment, when step S310 is executed, the system resource module is optimized to generate the target system resource module. Specifically, step S310 may include steps S311 to S315, which are described in detail below:

[0076] Step S311: Prioritize the initial network driver unit of the system resource module to generate the target network driver unit;

[0077] Step S312: Perform time-segmented processing on the initial CPU automatic frequency modulation drive unit of the system resource module to generate the target CPU automatic frequency modulation drive unit.

[0078] Step S313: Set the first preset strategy for the initial kernel scheduling unit of the system resource module and generate the target kernel scheduling unit;

[0079] Step S314: Perform microcontroller synchronization processing on the initial time synchronization drive unit of the system resource module to generate the target time synchronization drive unit;

[0080] Step S315: Summarize and process the target network driver unit, the target central processing unit automatic frequency adjustment driver unit, the target kernel scheduling unit, and the target time synchronization driver unit to generate an optimized target system resource module.

[0081] In an exemplary embodiment, the priority processing of the initial network driver unit of the system resource module can include protocol pruning and network storm protection of the initial network driver unit, while increasing the priority policy of the Time-Sensitive Networking (TSN) protocol family, so as to ensure that the network occupies less CPU resources. The time period processing of the initial central processing unit automatic frequency driving unit of the system resource module can include using time period processing strategy to ensure that the system resource module does not affect the running of the application software module. The first preset strategy can include a completely fair strategy plus a hybrid scheduling strategy. The initial time synchronization driving unit realizes synchronization processing in the manner of inputting a synchronization signal by an external Microcontroller Unit (MCU) after power-up stabilization. In the system resource module, event signals such as integrated ACC (integrated ACC, IACC) activation state, door state, sensor state, electric frequency state, safety fault state and temperature state are also included, and event notification is used for notification. When the sensor of the system resource module is sampling, the data obtained by the sensor is processed by using the Radial basis function network (RBF) processing technology.

[0082] As shown in Figure 6 and Figure 7 In an exemplary embodiment, when step S320 is executed, that is, the application software module is optimized to generate a target software module. Specifically, step S320 can include steps S321 to S323, which are described in detail as follows:

[0083] Step S321, the initial logic control unit of the application software module is replaced to generate a target logic control unit;

[0084] Step S322, the initial sensor fusion unit of the application software module is preprocessed to generate a target sensor fusion unit;

[0085] Step S323, the target logic control unit and the target sensor fusion unit are summarized to generate a target software module.

[0086] In an exemplary embodiment, the initial logic control unit and the initial sensor fusion unit are optimized under a real-time running framework. The replacement processing refers to processing the initial application software unit in a space-time trade-off manner. The space-time trade-off manner can accelerate the running of the program and reduce the occupation time of the application software on the central processing unit (CPU) resource. For local parameter variables in the application software module, a static definition manner can be used to avoid frequent stack pushing and popping processing, but is not limited thereto, and a global definition manner can also be used to avoid frequent stack pushing and popping processing. The initial sensor fusion unit has a higher requirement on the computing power of the central processing unit (CPU), and therefore the preprocessing refers to processing the initial sensor fusion unit in an accelerator computing and matrix computing manner, thereby reducing the occupation of the CPU by the application software and accelerating the processing speed of the application software module.

[0087] As shown in Figure 8 and Figure 9 , in an exemplary embodiment, when step S330 is performed, the communication module is optimized and processed to generate a target communication module. Specifically, step S330 can include steps S331 to S333, which are described in detail as follows:

[0088] Step S331, the communication module is aligned in a transmission manner;

[0089] Step S332, the initial period unit of the communication module is processed to generate a target period unit;

[0090] Step S333, the main data channel of the communication module is processed for communication scheduling to generate a target communication module.

[0091] In an exemplary embodiment, the transmission manner is a four-byte big-end transmission manner, and processing the initial period unit of the communication module can include optimizing in a period rebalancing manner to ensure that the communication module has a low occupation rate on the central processing unit. The communication scheduling processing can include creating a standby data channel in the communication module. When the system detects that the corresponding main data channel fails and does not recover within 7 frame data clock periods, the system will actively enable the standby data channel to the preparation stage. When the main data channel recovers to normal for data communication in the preparation stage, the preparation stage is automatically ended. When the main data channel cannot recover to normal operation in the preparation stage of the standby data channel, the standby data channel is enabled.

[0092] As shown in Figure 3 , Figure 10 and Figure 11As shown, in an exemplary embodiment, when step S340 is performed, i.e., the fault tracking module is optimized, the target fault tracking module is generated. Specifically, step S340 can include performing category point one-hot code processing on the fault tracking module to generate the target fault tracking module. It should be noted that the one-hot code has only one bit as 1 and all other bits as 0 each time, and the one-hot code and the category tracking are associated with each other, and the data information to be tracked is one-to-one corresponding. Optimizing the fault tracking module also includes setting an independent process in the fault tracking module to independently record the data information of the corresponding category tracking.

[0093] Figure 12 is a structural block diagram of a processing device for developing system resource optimization according to an exemplary embodiment of the present application. The device can be applied in Figure 1 the implementation environment as shown, and is specifically configured in the intelligent terminal 110. The device can also be applied to other exemplary implementation environments, and is specifically configured in other devices, and the implementation environment to which the device is applied is not limited in the present embodiment.

[0094] The processing device for developing system resource optimization can include a feature acquisition module 410, a classification processing module 420, an optimization processing module 430, and a summary module 440.

[0095] In an exemplary embodiment, the feature acquisition module 410 can be used to acquire the running features of the development system. The running features of the development system are generated in the intelligent terminal 110, and the running features of the development system can include a plurality of different features.

[0096] In an exemplary embodiment, the classification processing module 420 can be used to perform classification processing on the modules of the development system according to the running features to generate initial classification modules. Specifically, the initial classification modules can include system resource modules, application software modules, communication modules, and fault tracking modules, but are not limited thereto, and the initial classification modules can also include other modules. The system resource modules can include initial network driver units, initial central processing unit automatic frequency modulation driver units, initial kernel scheduling units, and initial time synchronization driver units, etc. The application software modules can include initial application software units and initial sensor fusion units, etc.

[0097] In an exemplary embodiment, the optimization processing module 430 can be used to preset corresponding optimization rules according to the initial classification module, and to perform optimization processing on the initial classification module to generate a target classification module. The system resource module performs optimization processing through an event processing mechanism interface, a periodic mechanism scheduling interface, and a system kernel scheduling interface. The event processing mechanism interface is an input interface of a data processing application program and an output interface of a system kernel. For the event processing mechanism interface, the central processing unit (CPU) processes related data only when an event signal is received, thereby participating in the scheduling processing of the system resource module. The periodic mechanism scheduling interface can directly call the data of the system resource module, that is, the periodic mechanism scheduling interface adopts a zero-copy technology from a kernel mode to a user mode to directly map a user mode virtual address to a kernel mode memory address. At the same time, a direct memory access (DMA) storage mode is adopted for the bottom layer driving unit of the system resource module, which can make the bottom layer driving unit not participate in the CPU scheduling application, and when collecting data, the CPU can be emptied to make it better process the logical algorithm of the application program. The priority processing of the initial network driving unit of the system resource module can include protocol reduction and network storm protection of the initial network driving unit, and at the same time, the priority strategy of the Time-Sensitive Networking (TSN) protocol family is increased, which can ensure that the network occupies less CPU resources.

[0098] In an example embodiment, the initial central processor automatic frequency driving unit of the system resource module can be time-division processed, which can include using a time-division processing strategy to ensure that the system resource module does not affect the running of the application software module. The first preset strategy can include a completely fair strategy plus a hybrid scheduling strategy. The initial time synchronization driving unit uses a method of inputting a synchronization signal from an external microcontroller unit (MCU) after power-up stabilization to achieve synchronization processing. In the system resource module, event signals such as an integrated adaptive cruise system (integrated ACC, IACC) activation state, a door state, a sensor state, a frequency state, a safety fault state, and a temperature state are also included, and an event notification method is used for notification. When the sensor in the system resource module is sampling, a radial basis function network (Radial basis function network, RBF) processing technology is used to process the data obtained by the sensor. It should be noted that the one-hot code has only one bit as 1 and all others as 0 each time, and the one-hot code and the classification tracking are associated with each other, and the data information to be tracked is one-to-one correspondence. The optimization processing of the fault tracking module also includes setting an independent process in the fault tracking module to independently record the corresponding classification tracking data information.

[0099] In an example embodiment, the summary module 440 can be used to summarize all target classification modules to generate an optimized development system. The target classification modules can include a target system resource module, a target software module, a target communication module, and a target fault tracking module.

[0100] It should be noted that the development system resource optimization processing device provided in the above embodiment and the development system resource optimization processing method provided in the above embodiment belong to the same concept, and the specific operation of each module and unit has been described in detail in the method embodiment, which will not be repeated here. The road condition refreshing device provided in the above embodiment can be divided into different functional modules to complete the above-described all or part of the functions according to the needs in the actual application, and this is not limited herein.

[0101] Embodiments of the present application also provide an electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the development system resource optimization processing method provided in each of the above embodiments.

[0102] Figure 13A structural diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application is shown. It should be noted that Figure 13 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and usage range of the embodiments of the present application.

[0103] As shown in the figure, Figure 13 The computer system 700 includes a central processing unit (CPU) 701 which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 702 or programs loaded from a storage section 708 into a random access memory (RAM) 703, such as performing the methods described in the above embodiments. In the RAM 703, various programs and data required for system operation are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0104] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as necessary. A removable recording medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 710 as necessary, so that a computer program read therefrom is installed into the storage section 708 as necessary.

[0105] In particular, according to the embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, the embodiments of the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program containing a computer program for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication section 709, and / or installed from the removable recording medium 711. When the computer program is executed by the central processing unit (CPU) 701, various functions defined in the system of the present application are performed.

[0106] Note that the computer readable medium shown in the embodiments of the present application can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium may, for example, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable signal medium can include a data signal propagated in a baseband or propagated as a carrier wave in a propagated data signal, in which the computer readable computer program is embodied. Such a propagated data signal can take a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium that can be used to carry or store program codes used by or in conjunction with an instruction execution system, apparatus, or device, and that can be used to carry or store the computer program codes. The computer program codes embodied on the computer readable medium can be transmitted using any suitable medium, including, but not limited to, wireless, wired, or the like, or any suitable combination thereof.

[0107] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a segment, or a portion of codes, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession can in fact be executed substantially concurrently or in the reverse order, depending on the functionality involved. It will also be noted that each block in the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts, can be implemented by special-purpose hardware-based systems that perform the specified functions or operations, or combinations of special-purpose hardware and computer instructions.

[0108] The units described in the embodiments of the present application can be implemented in the form of software, or can be implemented in the form of hardware, and the described units can also be arranged in a processor. In some cases, the names of the units do not constitute a limitation on the units themselves.

[0109] Another aspect of the present application also provides a computer readable storage medium, which stores a computer program. When the computer program is executed by a processor of a computer, the computer executes the processing method for developing system resource optimization. The computer readable storage medium can be included in the electronic device described in the above embodiments, or can exist separately and not be assembled into the electronic device.

[0110] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the processing method for developing system resource optimization provided in each of the above embodiments.

[0111] The above embodiments only exemplarily illustrate the principles and effects of the present application, and are not used to limit the present application. Any person skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes completed by those skilled in the art without departing from the spirit and technical thought of the present application should be covered by the claims of the present application.

Claims

1. A method for optimizing system resources, characterized in that, The method includes: Obtain the operational characteristics of the development system; The modules of the development system are classified according to the operational characteristics to generate an initial classification module; the initial classification module includes: a system resource module; The initial classification module is optimized according to preset optimization rules to generate a target classification module. The step of optimizing the initial classification module according to preset optimization rules to generate a target classification module includes: optimizing the system resource module to generate a target system resource module. The step of optimizing the system resource module to generate the target system resource module includes: Prioritize the initial network driver unit of the system resource module to generate the target network driver unit; The initial CPU automatic frequency modulation drive unit of the system resource module is processed in time segments to generate the target CPU automatic frequency modulation drive unit. A first preset strategy is set for the initial kernel scheduling unit of the system resource module to generate a target kernel scheduling unit; wherein, the first preset strategy includes a completely fair strategy plus a hybrid scheduling strategy; The initial time synchronization drive unit of the system resource module is subjected to microcontroller synchronization processing to generate the target time synchronization drive unit; The target network driver unit, the target central processing unit automatic frequency adjustment driver unit, the target kernel scheduling unit, and the target time synchronization driver unit are aggregated and processed to generate an optimized target system resource module. All the target classification modules are summarized to generate an optimized development system.

2. The method for optimizing development system resources according to claim 1, characterized in that, The initial classification module also includes: an application software module, a communication module, and a fault tracking module.

3. The method for optimizing development system resources according to claim 2, characterized in that, The step of generating the target classification module by optimizing the initial classification module according to the preset optimization rules of the initial classification module further includes: The application software module is optimized to generate the target software module; The communication module is optimized to generate the target communication module; The fault tracking module is optimized to generate a target fault tracking module.

4. The method for optimizing development system resources according to claim 3, characterized in that, The step of optimizing the application software module to generate the target software module includes: The initial logic control unit of the application software module is subjected to a replacement process to generate a target logic control unit; wherein, the replacement process is a space-for-time processing method for processing the initial application software unit; The initial sensor fusion unit of the application software module is preprocessed to generate the target sensor fusion unit; wherein, the preprocessing is to process the initial sensor fusion unit using accelerator computing and matrix computing methods; The target logic control unit and the target sensor fusion unit are aggregated and processed to generate the target software module.

5. The method for optimizing development system resources according to claim 3, characterized in that, The step of optimizing the communication module to generate the target communication module includes: The communication module is aligned using a transmission method; wherein, the transmission method is a four-byte big-endian transmission method; The initial periodic unit of the communication module is processed to generate the target periodic unit; wherein, the processing of the initial periodic unit of the communication module includes optimization processing by using period rebalancing. The primary data channel of the communication module is subjected to communication scheduling processing to generate the target communication module; wherein, the communication scheduling processing includes creating a backup data channel in the communication module.

6. The method for optimizing development system resources according to claim 3, characterized in that, The step of optimizing the fault tracking module to generate the target fault tracking module includes: The fault tracking module is classified and processed using unique hot codes to generate a target fault tracking module.

7. A processing device for optimizing system resources, characterized in that, The device includes: The feature acquisition module is used to acquire the operational features of the development system; A classification processing module is used to classify the modules of the development system according to the operational characteristics and generate an initial classification module; the initial classification module includes: a system resource module; An optimization processing module is used to optimize the initial classification module according to preset optimization rules to generate a target classification module. The step of optimizing the initial classification module according to preset optimization rules to generate the target classification module includes: optimizing the system resource module to generate a target system resource module. The step of optimizing the system resource module to generate the target system resource module includes: Prioritize the initial network driver unit of the system resource module to generate the target network driver unit; The initial CPU automatic frequency modulation drive unit of the system resource module is processed in time segments to generate the target CPU automatic frequency modulation drive unit. A first preset strategy is set for the initial kernel scheduling unit of the system resource module to generate a target kernel scheduling unit; wherein, the first preset strategy includes a completely fair strategy plus a hybrid scheduling strategy; The initial time synchronization drive unit of the system resource module is subjected to microcontroller synchronization processing to generate the target time synchronization drive unit; The target network driver unit, the target central processing unit automatic frequency adjustment driver unit, the target kernel scheduling unit, and the target time synchronization driver unit are aggregated and processed to generate an optimized target system resource module. The summary module is used to summarize all the target classification modules and generate an optimized development system.

8. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the development system resource optimization processing method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by the computer's processor, causes the computer to perform the resource optimization processing method for the development system as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Cloud automatic early warning operation and maintenance monitoring system based on Hadoop

    CN108512691A