Logical data processing method and related device for automotive chips
By acquiring demand information from automotive application scenarios and chip inherent attribute information, the chip logic is dynamically adjusted to adapt to different scenarios, solving the problem of chip logic incompatibility and improving chip adaptability and performance.
Patent Information
- Application Number
- CN202211591604.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-12
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-12-12
AI Technical Summary
Existing chip logic definition methods cannot adapt to different application scenarios, resulting in low adaptability.
By acquiring the application requirements of target users in automotive application scenarios, the application configuration information of the chip is determined, and combined with the chip's inherent attribute information, the chip logic is dynamically adjusted to adapt to different scenario requirements.
This improved the chip's adaptability to different application scenarios and enhanced its performance.
Smart Images

Figure CN116088946B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of chip technology, specifically to a logic data processing method and related apparatus for an automotive chip. Background Technology
[0002] With the continuous development of chip technology, chips have become indispensable components in various electronic devices, and their performance is a primary focus. When evaluating chip performance, chip logic is a crucial indicator. However, existing chips typically use fixed logic definitions, which fail to adequately adapt to different application scenarios, resulting in low adaptability. Summary of the Invention
[0003] This application provides a logic data processing method and related apparatus for an automotive chip, which can determine the logic information of the chip based on the application configuration information of the chip determined by the user's needs, thereby adapting to the application scenarios of the chip and improving the adaptability.
[0004] The first aspect of this application provides a logic data processing method for an automotive chip, applied to an automotive chip, the method comprising:
[0005] Obtain information on the application needs of target users in in-vehicle application scenarios;
[0006] Based on the application requirement information, determine the application configuration information of the vehicle chip;
[0007] Obtain the inherent attribute information of the target chip;
[0008] The logical information of the vehicle chip is determined based on the application configuration information and the chip's inherent attribute information.
[0009] In one possible implementation, determining the application configuration information of the vehicle chip based on the application requirement information includes:
[0010] Obtain scenario requirements, environmental requirements, and event requirements from the application requirements information;
[0011] Based on the scenario requirement information and the corresponding scenario configuration template, the scenario configuration information is determined;
[0012] Based on the environmental requirements information and the corresponding environmental configuration template, the environmental configuration information is determined;
[0013] Based on the event requirement information and the corresponding event configuration template, the event configuration information is determined;
[0014] Obtain adaptation information for configuration information;
[0015] The application configuration information is determined based on the adaptation information, the scene configuration information, the environment configuration information, and the event configuration information.
[0016] In one possible implementation, determining the application configuration information of the vehicle chip based on the application requirement information includes:
[0017] The application requirement information is configured with keywords to obtain a set of configuration keywords;
[0018] Semantic parsing is performed on the configuration keywords in the configuration keyword set to obtain the configuration keyword semantic set;
[0019] The configuration keyword semantic set is classified to obtain K sub-configuration keyword semantic sets, and the K sub-configuration keyword semantic sets have different semantic types;
[0020] Semantic fusion is performed on each of the K sub-configuration keyword semantic sets to obtain K target configuration keyword semantics;
[0021] Determine the application configuration information corresponding to the semantics of the K target configuration keywords to obtain K sub-application configuration information;
[0022] The configuration information of the K sub-applications is fused to obtain the application configuration information.
[0023] In one possible implementation, determining the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information includes:
[0024] Based on the application configuration information, determine the chip attribute requirements;
[0025] Based on the chip attribute requirement information and the chip inherent attribute information, determine the actual chip requirement information corresponding to the application configuration information;
[0026] Based on the actual requirements of the chip, the logic information of the vehicle chip is determined.
[0027] In one possible implementation, the method further includes:
[0028] The chip logic corresponding to the logic information is executed in the vehicle-mounted chip.
[0029] After obtaining the chip logic corresponding to the logic information executed in the vehicle chip, the status parameters of the vehicle chip are obtained, and the status parameters include temperature value and CPU running information.
[0030] If the temperature value is higher than the preset temperature value, then the sub-logic information corresponding to the temperature in the logical information is determined;
[0031] The first logical adjustment information of the sub-logic information is determined based on the temperature value;
[0032] Based on the CPU operating information, determine the second logic adjustment information;
[0033] The logical information is adjusted according to the first logical adjustment information and the second logical adjustment information to obtain the adjusted logical information.
[0034] A second aspect of this application provides a logic data processing apparatus for an automotive chip, applied to an automotive chip, the apparatus comprising:
[0035] The first acquisition unit is used to acquire information on the application needs of target users in in-vehicle application scenarios;
[0036] The first determining unit is used to determine the application configuration information of the vehicle chip based on the application requirement information.
[0037] The second acquisition unit is used to acquire the chip-inherent attribute information of the target chip;
[0038] The second determining unit is used to determine the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information.
[0039] In one possible implementation, the first determining unit is used to:
[0040] Obtain scenario requirements, environmental requirements, and event requirements from the application requirements information;
[0041] Based on the scenario requirement information and the corresponding scenario configuration template, the scenario configuration information is determined;
[0042] Based on the environmental requirements information and the corresponding environmental configuration template, the environmental configuration information is determined;
[0043] Based on the event requirement information and the corresponding event configuration template, the event configuration information is determined;
[0044] Obtain adaptation information for configuration information;
[0045] The application configuration information is determined based on the adaptation information, the scene configuration information, the environment configuration information, and the event configuration information.
[0046] In one possible implementation, the first determining unit is used to:
[0047] The application requirement information is configured with keywords to obtain a set of configuration keywords;
[0048] Semantic parsing is performed on the configuration keywords in the configuration keyword set to obtain the configuration keyword semantic set;
[0049] The configuration keyword semantic set is classified to obtain K sub-configuration keyword semantic sets, and the K sub-configuration keyword semantic sets have different semantic types;
[0050] Semantic fusion is performed on each of the K sub-configuration keyword semantic sets to obtain K target configuration keyword semantics;
[0051] Determine the application configuration information corresponding to the semantics of the K target configuration keywords to obtain K sub-application configuration information;
[0052] The configuration information of the K sub-applications is fused to obtain the application configuration information.
[0053] In one possible implementation, the second determining unit is used to:
[0054] Based on the application configuration information, determine the chip attribute requirements;
[0055] Based on the chip attribute requirement information and the chip inherent attribute information, determine the actual chip requirement information corresponding to the application configuration information;
[0056] Based on the actual requirements of the chip, the logic information of the vehicle chip is determined.
[0057] In one possible implementation, the device is further used for:
[0058] The chip logic corresponding to the logic information is executed in the vehicle-mounted chip.
[0059] After obtaining the chip logic corresponding to the logic information executed in the vehicle chip, the status parameters of the vehicle chip are obtained, and the status parameters include temperature value and CPU running information.
[0060] If the temperature value is higher than the preset temperature value, then the sub-logic information corresponding to the temperature in the logical information is determined;
[0061] The first logical adjustment information of the sub-logic information is determined based on the temperature value;
[0062] Based on the CPU operating information, determine the second logic adjustment information;
[0063] The logical information is adjusted according to the first logical adjustment information and the second logical adjustment information to obtain the adjusted logical information.
[0064] A third aspect of this application provides a chip including a processor, an input device, an output device, and a memory, wherein the processor, input device, output device, and memory are interconnected, wherein the memory is used to store a computer program, the computer program including program instructions, and the processor is configured to invoke the program instructions to execute the step instructions as described in the first aspect of this application.
[0065] A fourth aspect of this application provides a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first aspect of this application.
[0066] A fifth aspect of this application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of this application. The computer program product may be a software installation package.
[0067] Implementing the embodiments of this application has at least the following beneficial effects:
[0068] By acquiring the application requirements information of target users in automotive application scenarios, and determining the application configuration information of the automotive chip based on the application requirements information, the inherent attribute information of the target chip is obtained. Based on the application configuration information and the inherent attribute information of the chip, the logical information of the automotive chip is determined. The logical information of the chip can be determined based on the application configuration information of the chip determined by the user's requirements information, thereby adapting the chip to the application scenario, improving the adaptability, and thus improving the chip performance. Attached Figure Description
[0069] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0070] Figure 1 This application provides a flowchart illustrating a logic data processing method for an automotive chip.
[0071] Figure 2This application provides a flowchart illustrating another method for processing logic data in an automotive chip.
[0072] Figure 3 This is a schematic diagram of the structure of a chip provided in an embodiment of this application;
[0073] Figure 4 This application provides a schematic diagram of the structure of a logic data processing device for an on-board chip. Detailed Implementation
[0074] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0075] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0076] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.
[0077] To better understand the logic data processing method for an automotive chip provided in this application embodiment, a brief introduction to the automotive chip used in the method should be given first. The logic information of the automotive chip can be stored in the chip's Miscellaneous System Control Module (MSCM). After the kernel exits and the system is reset, the kernel and stored information on the chip can be read from the MSCM register. Of course, this automotive chip can adapt to user needs and scenarios. The configuration information of the automotive chip is determined based on the user's needs and events, and then the logic information of the automotive chip is determined based on the configuration information. Thus, the logic information of the chip can be determined based on the application configuration information of the chip determined by the user's needs, thereby adapting the chip to the application scenario and improving adaptability.
[0078] Specifically, the MSCM module includes:
[0079] 1. CPU Information: The type and serial number of CPU0 on the chip;
[0080] 2. Number of CPU cores: Indicates whether it is a single-core or multi-core CPU;
[0081] 3. Cache configuration information;
[0082] 4. Memory configuration information, such as SRAML and SRAMU.
[0083] The MSCM module behaves differently under different power modes of the automotive chip, as shown in the table below:
[0084] Table 1 Behavior of the MSCM module under power mode
[0085] Power mode illustrate Run If the clock source used by the MSCM module remains active during RUN mode, the MSCM module will function normally. Stop If the clock source used by the MSCM module remains active during STOP mode, the MSCM can continue to operate. Standby The MSCM module has stopped running.
[0086] MSCM information reading can be initiated by the CPU or by any bus master in the system. For example, the kernel identification flag is a 4-byte ASCII code 0x434D3401 ("Cortex-M4"), which is placed in a specific read-only register.
[0087] If the read was initiated by the CPU, it returns 0x434D3401;
[0088] If the read was initiated by another Master, it returns 0.
[0089] Please see Figure 1 , Figure 1 This application provides a flowchart illustrating a logic data processing method for an automotive chip, as illustrated in this embodiment. Figure 1 As shown, the method, applied to automotive chips, includes:
[0090] 101. Obtain information on the application needs of target users in in-vehicle application scenarios.
[0091] Application requirements can be obtained through user input. Taking automotive applications as an example, requirements might include power supply control, application control, and air conditioning control for the vehicle system. In traffic information processing, requirements might include sensor control for traffic information acquisition, transmission and reception of traffic information, and processing of traffic information. Application requirements can also include environmental requirements, which refer to the external environment in which the automotive chip operates. For example, in traffic information processing, this might involve high temperatures. Furthermore, application requirements can include event requirements, which are the specific tasks being processed. For instance, in traffic information processing, this might include image processing tasks.
[0092] 102. Based on the application requirement information, determine the application configuration information of the vehicle chip.
[0093] Application configuration information can be determined based on scenario requirements, environment requirements, and event requirements obtained from the application requirements information. Alternatively, semantic adaptation can be performed on the application requirements information to obtain the corresponding application configuration information. This allows for quick and accurate acquisition of application configuration information.
[0094] 103. Obtain the inherent attribute information of the target chip.
[0095] The inherent attributes of a chip can include the amount of memory it supports, its packaging options, and so on. This inherent attribute information can be obtained from the chip's memory.
[0096] 104. Determine the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information.
[0097] The chip attribute requirements can be determined based on application configuration information, and then the logical information can be determined based on these requirements and the chip's inherent attributes. This allows for the determination of logical information that meets the requirements, improving the accuracy of logical information determination. The logical information can be understood as the CPU configuration, storage information, and chip characteristics corresponding to the automotive chip, which can be used to differentiate between chip products in the same series.
[0098] In this example, by obtaining the application requirements information of the target user in the vehicle application scenario, the application configuration information of the vehicle chip is determined based on the application requirements information, the inherent attribute information of the target chip is obtained, and the logical information of the vehicle chip is determined based on the application configuration information and the inherent attribute information of the chip. The logical information of the chip can be determined based on the application configuration information of the chip determined by the user's requirements information, thereby adapting the chip to the application scenario, improving the adaptability, and thus improving the chip performance.
[0099] In one possible implementation, a method for determining the application configuration information of the vehicle-mounted chip based on the application requirement information includes:
[0100] A1. Obtain scenario requirement information, environment requirement information, and event requirement information from the application requirement information;
[0101] A2. Determine the scene configuration information based on the scene requirement information and the corresponding scene configuration template;
[0102] A3. Determine the environment configuration information based on the environment requirement information and the corresponding environment configuration template;
[0103] A4. Based on the event requirement information and the corresponding event configuration template, determine the event configuration information;
[0104] A5. Obtain adaptation information for configuration information;
[0105] A6. Determine the application configuration information based on the adaptation information, the scene configuration information, the environment configuration information, and the event configuration information.
[0106] Scenario requirements, environment requirements, and event requirements can be obtained from application requirement information based on the corresponding identifiers. Alternatively, they can be obtained through keyword matching based on the keywords corresponding to the scenario requirements, environment requirements, and event requirements.
[0107] Different scenario requirements correspond to different scenarios, and each scenario has its own corresponding scenario configuration template. By obtaining the scenario configuration template corresponding to the scenario requirements, and inputting the scenario requirements into the template, scenario configuration information can be generated based on the template. The methods for obtaining environment configuration information and event configuration information can be found in the same section on obtaining scenario configuration information.
[0108] The adaptation information of the configuration information can be understood as the information on the mutual adaptation and adjustment between the three types of configuration information mentioned above. Since the configuration information is determined through templates, the degree of fit between different configuration information will vary. Therefore, it is necessary to adjust the degree of fit according to the adaptation information to achieve the expected degree of fit (preset degree of fit). The degree of fit between configuration information can be understood as the probability of conflict between configuration information. The higher the degree of fit, the lower the probability of conflict; the lower the degree of fit, the higher the probability of conflict. Conflicts between configuration information may lead to confusion in the subsequently determined chip logic, causing the chip to malfunction. For example, a conflict between configuration information A and configuration information B may cause the chip to malfunction due to incorrect chip logic, thus constituting a conflict between configuration information.
[0109] Therefore, the scene configuration information, environment configuration information, and event configuration information can be adapted based on the adaptation information to obtain the adapted scene configuration information, environment configuration information, and event configuration information, which are then determined as the application configuration information.
[0110] Specifically, when obtaining the configuration template corresponding to the requirement information, the configuration template can be determined based on the type of requirement information. When obtaining the type of requirement information, it can be done by first performing clustering processing based on historical requirement information to obtain multiple categories, and then matching the requirement information with the requirement information in multiple categories to obtain the category corresponding to the requirement information with the highest matching degree. This category is then the category corresponding to the requirement information, as detailed below:
[0111] F1: Obtain historical demand information to get the sample dataset X = (x1, x2, ..., x... n ), to perform sample data preprocessing;
[0112] Historical demand information can be obtained through historical records, the internet, or other means. Since the types of demand information are relatively fixed, and new categories are infrequent, clustering methods can be used to obtain multiple categories. This allows for more accurate identification of subsequent demand information categories. If new types of demand information emerge later, they can be identified as new categories and added to the final determined categories, thus expanding the capacity. Methods for preprocessing sample data can include general preprocessing techniques, such as expanding the sample size of a small number of samples and removing samples that do not conform to the norm.
[0113] F2: Construct the distance matrix dist n×n distij Let n be the Euclidean distance between point i and point j, where n is the number of points;
[0114] Where n is the number of samples mentioned above. The distance matrix can be constructed using the general method for constructing Euclidean distance matrices.
[0115] F3: Sort each row of the distance matrix dist in descending order, record the index of each element after sorting, and then calculate the scale parameter σ based on the index.
[0116] For i = 1, ..., n, dist i This represents the distance between the point in the i-th row of the evidence and all other points. Sort all elements in each row in descending order and record the sequence number (i) of each element in the queue after sorting. Then, elements with larger sequence numbers represent those with smaller distances to that point; the greater the similarity between two points, the larger the corresponding σ.
[0117] F4: Construct an n×n similarity graph matrix S using the distance calculation formula of the Gaussian kernel function. n×n The element s in S ij This refers to the similarity between points i and j, which can be specifically understood as the similarity between historical demand information. The similarity between historical demand information can be obtained by comparing texts based on historical demand information, or it can be obtained by semantic analysis.
[0118] F5: Add random noise under a given privacy computation to the symmetric elements in S to obtain the noisy similarity matrix S′;
[0119] The random noise can be randomly specified from a noise database or randomly generated noise. The symmetry can be diagonal symmetry, cross-shaped symmetry, etc.
[0120] F6: Calculate the degree matrix D, which is a diagonal matrix with values only on the main diagonal, corresponding to the degree of the i-th node in the i-th row.
[0121] F7: According to L=I-(D) -1 / 2 S′(D) -1 / 2 Construct a standardized Laplace matrix L, where I is the identity matrix;
[0122] F8: Adaptively select the optimal number of clusters k using the eigenvalue maximum margin method. The goal of the eigenvalue maximum margin heuristic algorithm here is to select a number k such that all eigenvalues λ1, ..., λ2 are ... k Very small, but λ k+2Relatively large. Since, in the ideal case of k completely disconnected clusters, the eigenvalue 0 has k multiplicity, and then with the (k+2)th eigenvalue λ... k+2 There exists an interval, which is a λ. k+1 With λ k+2 , λ k The interval between them is based on the use of λ k+2 If the difference is significant, then λ can be reduced. k+1 The interference caused by the floating, λ k+1 With λ k+2 The difference between them is small. It can be determined using general spectral theory, which uses the feature interval as a standard to measure the value of k. The feature interval refers to the absolute value of the difference between two adjacent feature values.
[0123] F9: Calculate the k smallest eigenvalues of L and their corresponding eigenvectors f;
[0124] F10: Standardize the matrix U composed of the corresponding eigenvectors f by row to generate an n×k dimensional feature matrix T, where
[0125] Step 11: Use the kmeans++ algorithm to convert points (t) i i = 1, ..., n cluster into cluster c1, ..., c k In the matrix T, if the i-th row is labeled as the j-th class, then the original data point x is labeled. i This is the j-th category, thus enabling the classification and processing of historical demand information to obtain multiple categories.
[0126] This approach achieves the initial clustering of historical demand information. Then, the current demand information is compared with the historical demand information in the original clusters to obtain similarity scores. The original cluster with the highest similarity score is determined as the type corresponding to the current demand information. This allows for the rapid generation of anomaly handling solutions based on type, improving the efficiency of anomaly handling. Furthermore, the above clustering method can dynamically and adaptively calculate the scale parameter required when constructing the similarity graph matrix in the algorithm, causing the similarity between different points to decrease more rapidly with increasing distance, thus more accurately describing the similarity between data points. In addition, appropriate random noise satisfying a specific distribution is added during the iteration process of the spectral clustering algorithm, causing the clustering results to be distorted to a certain extent, achieving the purpose of privacy protection while ensuring the usability and stability of the clustering results.
[0127] In this example, scene configuration information, environment configuration information, and event configuration information can be quickly obtained through configuration templates. These information are then adapted based on the adaptation information to obtain the adapted scene configuration information, environment configuration information, and event configuration information. This adapted scene configuration information, environment configuration information, and event configuration information are then identified as application configuration information. Therefore, application configuration information can be quickly determined. Furthermore, the adaptation process improves the accuracy of configuration information determination, reducing the likelihood of subsequent logic confusion in the chip.
[0128] In one possible implementation, another possible approach to determining the application configuration information of the vehicle-mounted chip based on the application requirement information includes:
[0129] B1. Extract configuration keywords from the application requirement information to obtain a set of configuration keywords;
[0130] B2. Perform semantic parsing on the configuration keywords in the configuration keyword set to obtain a configuration keyword semantic set;
[0131] B3. Classify the configuration keyword semantic set to obtain K sub-configuration keyword semantic sets, wherein the K sub-configuration keyword semantic sets have different semantic types;
[0132] B4. Perform semantic fusion on each of the K sub-configuration keyword semantic sets to obtain K target configuration keyword semantics;
[0133] B5. Determine the application configuration information corresponding to the semantics of the K target configuration keywords to obtain K sub-application configuration information;
[0134] B6. The configuration information of the K sub-applications is fused to obtain the application configuration information.
[0135] Specifically, a general keyword extraction algorithm can be used to extract configuration keywords, resulting in a configuration keyword set. Similarly, a general semantic parsing algorithm can be used to obtain a semantic set of configuration keywords.
[0136] Since each configuration keyword semantic has its specific meaning, it can be categorized based on its semantic content to obtain a set of sub-configuration keyword semantics. The sub-configuration keyword semantics within each set have similar meanings. The sub-configuration keyword semantics within each set can be fused. Specifically, this can involve extracting common and dissimilar information from each set, combining these common and dissimilar information to obtain a reference configuration keyword semantic. This reference configuration keyword semantic is then processed to obtain the target keyword semantic information. The method for processing the reference configuration keyword semantic is to extract the fit between every two adjacent words and process the information accordingly. The fit between two adjacent words can be understood as the degree of matching between them; a higher matching degree indicates a higher fit, and a lower matching degree indicates a lower fit. The degree of matching can be understood as the semantic connection between words; a higher semantic connection indicates a higher fit, and a lower semantic connection indicates a lower fit. Thus, semantic fusion can be performed to obtain the target configuration keyword semantic. Different target configuration keyword semantics correspond to different application configuration information, thus identifying K target configuration keyword semantics. The method for fusing the K sub-application configuration information to obtain the application configuration information can refer to the method described in the foregoing embodiments for processing scene configuration information, environment configuration information, and event configuration information to determine the application configuration information.
[0137] In this example, configuration keywords are extracted from application requirement information to obtain a set of configuration keywords. Then, semantic parsing is performed on the set of configuration keywords to obtain a set of semantic configuration keywords. The set of semantic configuration keywords is classified to obtain K sub-sets of semantic configuration keywords. The semantics of the sub-sets of semantic configuration keywords are then fused. Based on the fusion result, the sub-application configuration information is determined. Finally, the sub-configuration information is fused to obtain the application configuration information. This allows the application configuration information to be determined based on semantic analysis, improving the accuracy of application configuration information determination.
[0138] In one possible implementation, determining the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information includes:
[0139] C1. Determine the chip attribute requirements based on the application configuration information;
[0140] C2. Based on the chip attribute requirement information and the chip inherent attribute information, determine the actual chip requirement information corresponding to the application configuration information;
[0141] C3. Determine the logic information of the vehicle chip based on the actual chip requirements.
[0142] Chip attribute requirement information can be understood as attribute information determined directly based on application configuration information. It may exceed the chip's inherent attribute information, thus requiring the chip's actual requirement information to be jointly determined based on the chip's inherent attribute information.
[0143] When determining actual demand information, if the attributes of the chip attribute demand information are higher than the attributes corresponding to the chip's inherent attributes, a certain proportion of the chip's inherent attributes can be determined as the attributes corresponding to the actual demand information. This certain proportion can be set through empirical values or historical data.
[0144] The logical information of the automotive chip can be determined by the mapping relationship between actual demand information and logical information.
[0145] In this example, the actual chip requirements can be determined based on chip attribute requirements and chip inherent attribute information, and the logical information can be determined based on the actual chip requirements, thus improving the accuracy of the logical information determination.
[0146] In one possible implementation, the logic information can be adjusted based on the actual operating conditions of the on-board chip, as follows:
[0147] D1. Execute the chip logic corresponding to the logic information in the vehicle chip;
[0148] D2. After the chip logic corresponding to the logic information is executed in the vehicle chip, the status parameters of the vehicle chip are obtained. The status parameters include temperature value and CPU running information.
[0149] D3. If the temperature value is higher than the preset temperature value, then determine the sub-logic information corresponding to the temperature in the logical information;
[0150] D4. Determine the first logic adjustment information of the sub-logic information based on the temperature value;
[0151] D5. Determine the second logic adjustment information based on the CPU operation information;
[0152] D6. Adjust the logic information according to the first logic adjustment information and the second logic adjustment information to obtain the adjusted logic information.
[0153] The on-board chip can execute the chip logic corresponding to the logic information and start running. After running, it can also collect the status parameters of the on-board chip, which can include temperature value and CPU operation information. The temperature value reflects the current chip load; the higher the temperature value, the greater the chip load, and the lower the temperature value, the less the chip load. The CPU operation information can include CPU utilization rate; the higher the CPU utilization rate, the greater the chip load, and the lower the CPU utilization rate, the less the chip load.
[0154] When the temperature value exceeds the preset temperature value, it indicates that the on-board chip is operating under overload, requiring adjustment. This necessitates determining the sub-logic information corresponding to the temperature. This sub-logic information can be understood as logic information that significantly increases CPU utilization, leading to overload operation. Therefore, logic information adjustment is needed to reduce CPU utilization, thus determining the first logic adjustment information.
[0155] The method for determining the second logic adjustment information based on CPU operating information can be as follows: the second logic adjustment information adjusts the logic information that directly increases CPU utilization. For example, for complex logic algorithms, the second adjustment information can be the adjustment information that adjusts the complex logic algorithm to a logic algorithm with the same function but lower precision. The lower precision should also meet the precision requirements of automotive application scenarios.
[0156] Therefore, the logical information can be adjusted according to the first logical adjustment information and the second logical adjustment information to obtain the adjusted logical information, and then the adjusted logical information can be executed.
[0157] Please see Figure 2 , Figure 2 This application provides a flowchart illustrating another method for processing logic data in an automotive chip. For example... Figure 2 As shown, the method, applied to automotive chips, includes:
[0158] 201. Obtain information on the application needs of target users in in-vehicle application scenarios;
[0159] 202. Extract configuration keywords from the application requirement information to obtain a set of configuration keywords;
[0160] 203. Perform semantic parsing on the configuration keywords in the configuration keyword set to obtain a configuration keyword semantic set;
[0161] 204. Classify the configuration keyword semantic set to obtain K sub-configuration keyword semantic sets, wherein the K sub-configuration keyword semantic sets have different semantic types;
[0162] 205. Perform semantic fusion on each of the K sub-configuration keyword semantic sets to obtain K target configuration keyword semantics;
[0163] 206. Determine the application configuration information corresponding to the semantics of the K target configuration keywords to obtain K sub-application configuration information;
[0164] 207. Perform fusion processing on the configuration information of the K sub-applications to obtain the application configuration information;
[0165] 208. Obtain the inherent attribute information of the target chip;
[0166] 209. Determine the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information.
[0167] In this example, configuration keywords are extracted from application requirement information to obtain a set of configuration keywords. Then, semantic parsing is performed on the set of configuration keywords to obtain a set of semantic configuration keywords. The set of semantic configuration keywords is classified to obtain K sub-sets of semantic configuration keywords. The semantics of the sub-sets of semantic configuration keywords are then fused. Based on the fusion result, the sub-application configuration information is determined. Finally, the sub-configuration information is fused to obtain the application configuration information. This allows the application configuration information to be determined based on semantic analysis, improving the accuracy of application configuration information determination.
[0168] For examples consistent with the above embodiments, please refer to... Figure 3 , Figure 3 A schematic diagram of a chip structure provided in an embodiment of this application is shown in the figure. It includes a processor, an input device, an output device, and a memory. The processor, input device, output device, and memory are interconnected. The memory is used to store a computer program, which includes program instructions. The processor is configured to call the program instructions. The program includes instructions for performing the following steps.
[0169] Obtain information on the application needs of target users in in-vehicle application scenarios;
[0170] Based on the application requirement information, determine the application configuration information of the vehicle chip;
[0171] Obtain the inherent attribute information of the target chip;
[0172] The logical information of the vehicle chip is determined based on the application configuration information and the chip's inherent attribute information.
[0173] The above primarily describes the solutions of the embodiments of this application from the perspective of the method execution process. It is understood that, in order to achieve the above functions, the chip includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments provided herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0174] This application embodiment can divide the chip into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0175] For those consistent with the above, please refer to Figure 4 , Figure 4 This application provides a schematic diagram of the structure of a logic data processing device for an on-board chip, as illustrated in this embodiment. Figure 4 As shown, the device, applied to automotive chips, includes:
[0176] The first acquisition unit 401 is used to acquire application requirement information of the target user in the vehicle application scenario;
[0177] The first determining unit 402 is used to determine the application configuration information of the vehicle chip based on the application requirement information.
[0178] The second acquisition unit 403 is used to acquire the chip inherent attribute information of the target chip;
[0179] The second determining unit 404 is used to determine the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information.
[0180] In one possible implementation, the first determining unit 402 is used to:
[0181] Obtain scenario requirements, environmental requirements, and event requirements from the application requirements information;
[0182] Based on the scenario requirement information and the corresponding scenario configuration template, the scenario configuration information is determined;
[0183] Based on the environmental requirements information and the corresponding environmental configuration template, the environmental configuration information is determined;
[0184] Based on the event requirement information and the corresponding event configuration template, the event configuration information is determined;
[0185] Obtain adaptation information for configuration information;
[0186] The application configuration information is determined based on the adaptation information, the scene configuration information, the environment configuration information, and the event configuration information.
[0187] In one possible implementation, the first determining unit 402 is used to:
[0188] The application requirement information is configured with keywords to obtain a set of configuration keywords;
[0189] Semantic parsing is performed on the configuration keywords in the configuration keyword set to obtain the configuration keyword semantic set;
[0190] The configuration keyword semantic set is classified to obtain K sub-configuration keyword semantic sets, and the K sub-configuration keyword semantic sets have different semantic types;
[0191] Semantic fusion is performed on each of the K sub-configuration keyword semantic sets to obtain K target configuration keyword semantics;
[0192] Determine the application configuration information corresponding to the semantics of the K target configuration keywords to obtain K sub-application configuration information;
[0193] The configuration information of the K sub-applications is fused to obtain the application configuration information.
[0194] In one possible implementation, the second determining unit 404 is used to:
[0195] Based on the application configuration information, determine the chip attribute requirements;
[0196] Based on the chip attribute requirement information and the chip inherent attribute information, determine the actual chip requirement information corresponding to the application configuration information;
[0197] Based on the actual requirements of the chip, the logic information of the vehicle chip is determined.
[0198] In one possible implementation, the device is further used for:
[0199] The chip logic corresponding to the logic information is executed in the vehicle-mounted chip.
[0200] After obtaining the chip logic corresponding to the logic information executed in the vehicle chip, the status parameters of the vehicle chip are obtained, and the status parameters include temperature value and CPU running information.
[0201] If the temperature value is higher than the preset temperature value, then the sub-logic information corresponding to the temperature in the logical information is determined;
[0202] The first logical adjustment information of the sub-logic information is determined based on the temperature value;
[0203] Based on the CPU operating information, determine the second logic adjustment information;
[0204] The logical information is adjusted according to the first logical adjustment information and the second logical adjustment information to obtain the adjusted logical information.
[0205] This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of the logical data processing method of any of the vehicle-mounted chips described in the above method embodiments.
[0206] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program that causes a computer to perform some or all of the steps of the logic data processing method of any of the in-vehicle chips described in the above method embodiments.
[0207] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0208] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0209] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0210] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0211] Furthermore, the functional units in the various embodiments of the application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software program module.
[0212] If the integrated unit is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0213] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk, etc.
[0214] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A logic data processing method for an automotive chip, characterized in that, Applied to automotive chips, the method includes: Acquire application requirement information of target users in in-vehicle application scenarios; the application requirement information includes: scenario requirement information, environmental requirement information, and event requirement information. Based on the application requirement information, determine the application configuration information of the vehicle chip; Obtain the inherent attribute information of the vehicle-mounted chip; The logical information of the vehicle chip is determined based on the application configuration information and the chip's inherent attribute information. The step of determining the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information includes: Based on the application configuration information, determine the chip attribute requirements; Based on the chip attribute requirement information and the chip inherent attribute information, the actual chip requirement information corresponding to the application configuration information is determined. When determining the actual chip requirement information, if the attribute of the chip attribute requirement information is higher than the attribute corresponding to the chip inherent attribute information, a certain proportion of the chip inherent attribute information is determined as the attribute corresponding to the actual chip requirement information. This certain proportion is set through empirical values or historical data. Based on the actual requirements of the chip, the logic information of the vehicle chip is determined.
2. The method according to claim 1, characterized in that, The step of determining the application configuration information of the vehicle chip based on the application requirement information includes: Obtain the scenario requirement information, the environment requirement information, and the event requirement information from the application requirement information; Based on the scenario requirement information and the corresponding scenario configuration template, the scenario configuration information is determined; Based on the environmental requirements information and the corresponding environmental configuration template, the environmental configuration information is determined; Based on the event requirement information and the corresponding event configuration template, the event configuration information is determined; Obtain adaptation information for the configuration information; the adaptation information is information on mutual adaptation and adjustment between the scene configuration information, the environment configuration information, and the event configuration information; The application configuration information is determined based on the adaptation information, the scene configuration information, the environment configuration information, and the event configuration information.
3. The method according to claim 1, characterized in that, The step of determining the application configuration information of the vehicle chip based on the application requirement information includes: The application requirement information is configured with keywords to obtain a set of configuration keywords; Semantic parsing is performed on the configuration keywords in the configuration keyword set to obtain the configuration keyword semantic set; The configuration keyword semantic set is classified to obtain K sub-configuration keyword semantic sets, and the K sub-configuration keyword semantic sets have different semantic types; Semantic fusion is performed on each of the K sub-configuration keyword semantic sets to obtain K target configuration keyword semantics; Determine the application configuration information corresponding to the semantics of the K target configuration keywords to obtain K sub-application configuration information; The configuration information of the K sub-applications is fused to obtain the application configuration information.
4. The method according to claim 1, characterized in that, The method further includes: The chip logic corresponding to the logic information is executed in the vehicle-mounted chip. After obtaining the chip logic corresponding to the logic information executed in the vehicle chip, the status parameters of the vehicle chip are obtained, and the status parameters include temperature value and CPU running information. If the temperature value is higher than the preset temperature value, then the sub-logic information corresponding to the temperature in the logical information is determined; The first logical adjustment information of the sub-logic information is determined based on the temperature value; Based on the CPU operating information, determine the second logic adjustment information; The logical information is adjusted according to the first logical adjustment information and the second logical adjustment information to obtain the adjusted logical information.
5. A logic data processing device for an automotive chip, characterized in that, The device, used in automotive chips, includes: The first acquisition unit is used to acquire application requirement information of the target user in the vehicle application scenario; the application requirement information includes: scenario requirement information, environmental requirement information and event requirement information. The first determining unit is used to determine the application configuration information of the vehicle chip based on the application requirement information. The second acquisition unit is used to acquire the chip's inherent attribute information of the vehicle chip; The second determining unit is used to determine the logical information of the vehicle chip based on the application configuration information and the chip's inherent attribute information; Specifically, in determining the logical information of the vehicle-mounted chip based on the application configuration information and the chip's inherent attribute information, the second determining unit is used for: Based on the application configuration information, determine the chip attribute requirements; Based on the chip attribute requirement information and the chip inherent attribute information, the actual chip requirement information corresponding to the application configuration information is determined. When determining the actual chip requirement information, if the attribute of the chip attribute requirement information is higher than the attribute corresponding to the chip inherent attribute information, a certain proportion of the chip inherent attribute information is determined as the attribute corresponding to the actual chip requirement information. This certain proportion is set through empirical values or historical data. Based on the actual requirements of the chip, the logic information of the vehicle chip is determined.
6. The apparatus according to claim 5, characterized in that, The first determining unit is used for: Obtain the scenario requirement information, the environment requirement information, and the event requirement information from the application requirement information; Based on the scenario requirement information and the corresponding scenario configuration template, the scenario configuration information is determined; Based on the environmental requirements information and the corresponding environmental configuration template, the environmental configuration information is determined; Based on the event requirement information and the corresponding event configuration template, the event configuration information is determined; Obtain adaptation information for the configuration information; the adaptation information is information on mutual adaptation and adjustment between the scene configuration information, the environment configuration information, and the event configuration information; The application configuration information is determined based on the adaptation information, the scene configuration information, the environment configuration information, and the event configuration information.
7. The apparatus according to claim 5, characterized in that, The first determining unit is used for: The application requirement information is configured with keywords to obtain a set of configuration keywords; Semantic parsing is performed on the configuration keywords in the configuration keyword set to obtain the configuration keyword semantic set; The configuration keyword semantic set is classified to obtain K sub-configuration keyword semantic sets, and the K sub-configuration keyword semantic sets have different semantic types; Semantic fusion is performed on each of the K sub-configuration keyword semantic sets to obtain K target configuration keyword semantics; Determine the application configuration information corresponding to the semantics of the K target configuration keywords to obtain K sub-application configuration information; The configuration information of the K sub-applications is fused to obtain the application configuration information.
8. A chip, characterized in that, The system includes a processor, an input device, an output device, and a memory, which are interconnected. The memory is used to store a computer program, which includes program instructions. The processor is configured to invoke the program instructions to perform the method as described in any one of claims 1-4.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method as described in any one of claims 1-4.
Citation Information
Patent Citations
IP core file generation method and device, equipment and medium
CN109857451A
Embedded server subsystem and configuration method thereof
CN112580285A
Implementation method of embedded configurable logic
CN112948023A