Vehicle-mounted flexible calculation equalization method and related device
By constructing user profiles and combining them with the load rate information of the vehicle controller, resource allocation is dynamically adjusted, which solves the problem of low utilization of vehicle resources and achieves efficient utilization of computing resources and improved user experience.
Patent Information
- Application Number
- CN202410937800.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The low utilization rate of vehicle resources and the large differences in computing resources in different scenarios lead to idleness and resource waste.
By constructing user profiles through vehicle-mounted intelligent observers and cloud-based large model servers, resource allocation for functions can be dynamically adjusted. By combining function priority and controller load information, flexible allocation of computing resources can be achieved.
It improves the utilization of computing resources, enhances user experience and system performance, reduces function startup time, and optimizes network latency and resource allocation efficiency.
Smart Images

Figure CN118939416A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle-mounted resource allocation, and in particular relates to a vehicle-mounted flexible computing balancing method and related devices. Background Art
[0002] The explosive growth of automobile functions has directly led to the main contradiction in the current vehicle software development, which has become that the current vehicle architecture, computing, network and other on-board resources can no longer meet the demand for functional growth; although the centralization, service-oriented and virtualization of the vehicle's electronic and electrical architecture, the application of on-board Ethernet and the steady improvement of chip computing power have alleviated this contradiction to a certain extent; but vehicle development is a market behavior and is also subject to constraints such as cost. Therefore, measures to make more effective use of current resources are always precious; at present, the relationship between vehicle software and hardware is still statically bound. In different scenarios, the computing load between controllers varies greatly, many idle computing resources cannot be fully utilized, and the resource utilization rate is low. Summary of the invention
[0003] The purpose of the present invention is to provide a vehicle-mounted flexible computing balancing method and related devices to solve the current problem of low utilization rate of vehicle resources.
[0004] To achieve the above object, the present invention adopts the following technical solutions:
[0005] In a first aspect, the present invention provides a vehicle-mounted flexible computing and balancing method, comprising:
[0006] Obtain user portraits based on the vehicle-side intelligent observer and the cloud-based large model server;
[0007] Assess the usage priority of functions based on user portraits and output function priority information;
[0008] Combine the function priority information and the load rate information of each vehicle controller to dynamically adjust the resource allocation of the function.
[0009] Furthermore, based on the vehicle-side intelligent observer and the cloud-based large model server, the user portrait is obtained, including:
[0010] The vehicle-side intelligent observer collects information on users' usage habits and function interaction frequency through data embedding information, uploads the collected information to the cloud-based big model, and builds a user portrait; the big model uses real-time data to dynamically and automatically learn, build, mine and update users' deep-level characteristics.
[0011] Furthermore, the user's usage habits and function interaction frequency information includes: user basic information, user behavior data, user preference information and user social information.
[0012] Furthermore, the functions are prioritized based on the user profiles, and the function priority information is output, including:
[0013] User portrait information is fed back to the vehicle side, and user behavior data on vehicle functions is exported. Priority is sorted based on the time and frequency of function usage in the user behavior data, and function priority information is output to obtain the user's personalized needs for computing resources.
[0014] Furthermore, the load rate information of each vehicle controller is collected through the load module. The load module includes a load balancing server and a load balancing client. The load balancing server collects the current load rate data of each controller reported by the load balancing client; the load balancing client collects the resource load information of the current controller through the virtual abstraction layer, and undertakes the computing tasks assigned by the load balancing server, and allocates different types of computing tasks to appropriate virtual machine resources.
[0015] Furthermore, the resource allocation of functions is dynamically adjusted by combining the function priority information and the load rate information of each vehicle controller, including:
[0016] Allocate more computing resources to functions that are used more frequently. The resource allocation is as follows:
[0017] Functions with high priority are assigned high network priority to corresponding services, and switches are assigned high forwarding priority;
[0018] Function-associated processes with high priority are assigned higher priority;
[0019] Improve the survival rate of high-priority functions in memory and shorten the time it takes to start functions.
[0020] Furthermore, while allocating resources, the load rate of each controller is dynamically monitored through the virtual abstraction layer; when the difference in load rate requirements between different controllers is greater than the set threshold, resource balancing scheduling is initiated, and the newly triggered function will be allocated to the controller with a low load rate requirement, coordinating the load requirements among the controllers.
[0021] In a second aspect, the present invention provides a vehicle-mounted flexible computing and balancing system, comprising:
[0022] The data acquisition module is used to obtain user portraits based on the vehicle-side intelligent observer and the cloud-based large model server;
[0023] The priority assessment module is used to assess the usage priority of functions based on user portraits and output function priority information;
[0024] The resource allocation module is used to dynamically adjust the resource allocation of functions by combining the function priority information and the load rate information of each vehicle controller.
[0025] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of a vehicle-mounted flexible computing balancing method when executing the computer program.
[0026] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a vehicle-mounted flexible computing balancing method are implemented.
[0027] Compared with the prior art, the present invention has the following technical effects:
[0028] The present invention uses a vehicle-mounted flexible computing balancing method to achieve intelligent and flexible distribution of computing load requirements among various domain controllers and central computing units. By analyzing intelligent scenarios and identifying user needs for resources, the computing load is dynamically divided among various controllers, thereby achieving full utilization of computing resources and decoupling between software and hardware.
[0029] Specifically, by combining the vehicle-side intelligent observer and the cloud-based large model server, personalized resource allocation based on user portraits can be achieved to improve the computing efficiency and user experience of the vehicle system.
[0030] Through the vehicle-side intelligent observer and the cloud-based large model server, the user's usage habits and function interaction frequency information are collected to build a user profile, and the function usage priority is assessed based on the user profile. This method can more accurately understand the user's personalized needs, thereby providing users with in-vehicle services that are more in line with their usage habits.
[0031] By combining the function priority information and the load rate information of each vehicle controller, the resource allocation of the function is dynamically adjusted. This method can ensure that high-priority functions obtain sufficient computing resources while preventing low-priority functions from occupying too many resources, thereby improving the overall performance and response speed of the system.
[0032] Through the collaborative work of the load balancing server and the load balancing client, the load rate information of each vehicle controller is collected in real time, and the computing tasks are dynamically allocated according to the load conditions. This method can ensure that computing resources are used efficiently and avoid waste and idleness of resources.
[0033] By increasing the survival rate of high-priority functions in memory, the loading time required when these functions are started again can be significantly reduced, thereby improving the user experience.
[0034] For high-priority functions, assigning high network priority and switch forwarding priority can reduce network delays and ensure the real-time and stability of data transmission.
[0035] In summary, this technical solution realizes personalized resource allocation based on user portraits by combining the vehicle-side intelligent observer and the cloud-based large model server, effectively improving the computing efficiency and user experience of the vehicle system. At the same time, this technical solution also has the advantages of efficient computing resource utilization, improved function startup time, network optimization, scalability and maintainability. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of the present invention.
[0037] Figure 2 This is a logical block diagram for user portrait analysis based on big data.
[0038] Figure 3 Schematic diagram of the calculation results of balanced scheduling.
[0039] Figure 4 This is the working timing diagram of the flexible computing balancing system. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0042] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0043] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.
[0044] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0045] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0046] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0047] Example 1, please refer to Figure 1 The present invention provides a vehicle-mounted flexible computing and balancing method, comprising:
[0048] Obtain user portraits based on the vehicle-side intelligent observer and the cloud-based large model server;
[0049] Assess the usage priority of functions based on user portraits and output function priority information;
[0050] Combine the function priority information and the load rate information of each vehicle controller to dynamically adjust the resource allocation of the function.
[0051] The present invention uses a vehicle-mounted flexible computing balancing method to achieve intelligent and flexible distribution of computing load requirements among various domain controllers and central computing units. By analyzing intelligent scenarios and identifying user needs for resources, the computing load is dynamically divided among various controllers, thereby achieving full utilization of computing resources and decoupling between software and hardware.
[0052] Embodiment 2, the present invention provides a vehicle-mounted flexible computing and balancing method, specifically comprising:
[0053] First, the vehicle-side intelligent observer collects information such as user usage habits and function interaction frequency, which mainly includes user basic information, user behavior data, user preference information, and user social information. Among them, the behavior data such as the time when a user uses a certain function and the frequency of use of the function are the core data of the flexible computing balancing technology; secondly, the user data collected by the vehicle-side intelligent observer is uploaded to the cloud-based big model, and the user portrait is constructed based on the artificial intelligence model of big data and deep learning. Using real-time data, the deep-level characteristics and needs of the user are dynamically and automatically learned, constructed, mined and updated to improve the accuracy and coverage of the user portrait; thirdly, the user portrait information is fed back to the vehicle side, and the function clusters that the user likes and the function clusters that the user does not use frequently are screened out according to the user portrait. The function is prioritized according to the user's preference for the function, and then the user's personalized demand for computing resources is obtained through the priority assessment results; the computing balancing subsystem receives the function priority information output by the intelligent scene observer and the load rate information of each controller, and dynamically adjusts the resource allocation of the function according to the priority information, and allocates more computing resources to the function with higher frequency of use to improve the experience of the function. The resource allocation mainly involves the following:
[0054] 1. The corresponding services of high-priority functions are assigned higher network priorities, and the switches are assigned higher forwarding priorities to increase the data exchange rate;
[0055] 2. Assign higher priority to the function-related processes with high priority to increase the data processing rate;
[0056] 3. Improve the survival rate of high-priority functions in memory and shorten the time it takes to start functions;
[0057] At the same time, the load rate of each controller is dynamically monitored through the virtual abstract subsystem. When the load rate demand difference between different controllers is greater than a certain threshold, the load balancing subsystem initiates resource balancing scheduling, and the newly triggered functions will be allocated to the controller with lower load rate demand, coordinating the computing load demand among the controllers, reducing the imbalance of computing resources among the controllers, and improving the overall functional experience.
[0058] Computational Balanced System
[0059] Load balancing is a computer network technology that is widely used to distribute loads among multiple computers, network connections, CPUs, disk drives, or other resources to optimize resource usage, maximize throughput, minimize response time, and avoid overload. In vehicle-mounted controllers, there is also a phenomenon of load imbalance between controllers in different scenarios. Reducing this imbalance between controllers and maximizing resource utilization are of great value in reducing costs and improving user experience. The computing balancing system mainly includes a load balancing server and a load balancing client. The load balancing server is responsible for collecting the current load rate data of each controller reported by the load balancing client, as well as the function priority information output by the intelligent scene observer, and allocating computing resources to user functions according to the load balancing algorithm to maximize the utilization of computing resources and the best match of user usage habits.
[0060] The load balancing client collects the resource load information of the current controller through the virtual abstraction layer, undertakes the computing tasks assigned by the load balancing server, and allocates different types of computing tasks to appropriate virtual machine resources; the virtual machine abstraction layer can automatically subscribe to and publish the services required for the computing task through the service list when the computing task is published, so as to quickly start the computing task.
[0061] Each controller must have virtualization technology, allowing real-time or non-real-time virtual machine containers to be deployed on the above controllers. At the same time, vehicle services can be deployed in virtual machine containers, and virtual machine containers can undertake standardized computing tasks. Standardized computing tasks contain a Manifest declaration file, which publishes the services required and provided by the computing task, the required CPU resources, storage and other information; the virtual abstraction layer parses the file information, automatically subscribes and publishes the required services, and realizes the rapid startup of the computing task and automatic adaptation of resources.
[0062] User portraits, or labeled descriptions of users, are an effective tool that can help us deeply analyze user needs, preferences, behaviors, and values. However, with the increase in user data and the increasing complexity, traditional user portrait methods can no longer meet our needs. In the era of car-cloud integrated smart cars, we can use big models, that is, artificial intelligence models based on large-scale data and deep learning, to improve the accuracy of user portraits, reduce the cost of user portraits, and improve the real-time nature of user portraits.
[0063] The intelligent scene observer system analyzes the personalized needs of users and obtains user portrait information accurately and in real time through two parts: the vehicle-side intelligent observer and the cloud-based large model server. The vehicle-side intelligent observer collects information such as user usage habits and function interaction frequency through data embedding information, mainly including: user basic information, user behavior data, user preference information, and user social information. The user's behavior data on the use of functions is the core data of the flexible computing balancing technology. These user data are uploaded to the cloud-based large model to build the user's user portrait. The large model uses large-scale data, complex algorithms, and real-time data to dynamically and automatically learn, build, mine, and update the user's deep-level characteristics and needs, thereby improving the quality and coverage of the user portrait. The user portrait information is fed back to the vehicle side to derive the user's priority for function use, and then derive the user's personalized needs for computing resources.
[0064] In yet another embodiment of the present invention, a vehicle-mounted flexible computing and balancing system is provided, which can be used to implement the above-mentioned vehicle-mounted flexible computing and balancing method. Specifically, the system includes:
[0065] The data acquisition module is used to obtain user portraits based on the vehicle-side intelligent observer and the cloud-based large model server;
[0066] The priority assessment module is used to assess the usage priority of functions based on user portraits and output function priority information;
[0067] The resource allocation module is used to dynamically adjust the resource allocation of functions by combining the function priority information and the load rate information of each vehicle controller.
[0068] The division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present invention may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0069] In another embodiment of the present invention, a computer device is provided, the computer device including a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of a vehicle-mounted flexible computing balancing method.
[0070] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It can be understood that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of a vehicle-mounted flexible computing balancing method in the above embodiment.
[0071] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0072] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0073] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0074] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A vehicle-mounted flexible computing and balancing method, characterized in that: include: Obtain user portraits based on the vehicle-side intelligent observer and the cloud-based large model server; Assess the usage priority of functions based on user portraits and output function priority information; Combine the function priority information and the load rate information of each vehicle controller to dynamically adjust the resource allocation of the function.
2. The vehicle-mounted flexible computing and balancing method according to claim 1, characterized in that: Based on the vehicle-side intelligent observer and the cloud-based large model server, the user portrait is obtained, including: The vehicle-side intelligent observer collects information on users' usage habits and function interaction frequency through data embedding information, uploads the collected information to the cloud-based big model, and builds a user portrait; the big model uses real-time data to dynamically and automatically learn, build, mine and update users' deep-level characteristics.
3. The vehicle-mounted flexible computing and balancing method according to claim 2, characterized in that: User usage habits and function interaction frequency information include: user basic information, user behavior data, user preference information and user social information.
4. The vehicle-mounted flexible computing and balancing method according to claim 1, characterized in that: Assess the usage priority of functions based on user portraits and output function priority information, including: User portrait information is fed back to the vehicle side, and user behavior data on vehicle functions is exported. Priority is sorted based on the time and frequency of function usage in the user behavior data, and function priority information is output to obtain the user's personalized needs for computing resources.
5. The vehicle-mounted flexible computing and balancing method according to claim 1, characterized in that: The load rate information of each vehicle controller is collected through a load module. The load module includes a load balancing server and a load balancing client. The load balancing server collects the current load rate data of each controller reported by the load balancing client. The load balancing client collects the resource load information of the current controller through the virtual abstraction layer, undertakes the computing tasks assigned by the load balancing server, and allocates different types of computing tasks to appropriate virtual machine resources.
6. The vehicle-mounted flexible computing and balancing method according to claim 5, characterized in that: Combine the function priority information and the load rate information of each vehicle controller to dynamically adjust the resource allocation of the function, including: Allocate more computing resources to functions that are used more frequently. The resource allocation is as follows: Functions with high priority are assigned high network priority to corresponding services, and switches are assigned high forwarding priority; Function-associated processes with high priority are assigned higher priority; Improve the survival rate of high-priority functions in memory and shorten the time it takes to start functions.
7. The vehicle-mounted flexible computing and balancing method according to claim 6, characterized in that: While allocating resources, the load rate of each controller is dynamically monitored through the virtual abstraction layer. When the difference in load rate requirements between different controllers is greater than the set threshold, resource balancing scheduling is initiated, and the newly triggered function will be allocated to the controller with the lower load rate requirement, so as to coordinate the load requirements among the controllers.
8. A vehicle-mounted flexible computing and balancing system, characterized in that: include: The data acquisition module is used to obtain user portraits based on the vehicle-side intelligent observer and the cloud-based large model server; The priority assessment module is used to assess the usage priority of functions based on user portraits and output function priority information; The resource allocation module is used to dynamically adjust the resource allocation of functions by combining the function priority information and the load rate information of each vehicle controller.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the vehicle-mounted flexible computing and balancing method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a vehicle-mounted flexible computing and balancing method as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Wireless access network load balancing method and device, and storage medium
CN116390159A
Vehicle-mounted OTA parallel upgrading method and system for multiple subnets and multiple ECUs
CN116860300A
Task processing method and system for comprehensive resource management of intelligent monitoring system
CN117608840A
Node computing resource allocation method, network switching subsystem and intelligent computing platform
CN117997906A
Load balancing system in a cloud environment for algorithmic efficiency
DE202024100297U1
