Chip-based service processing method and device, storage medium and electronic equipment
By designing low-function safety hardware in the chip, using multiple subsystems to operate and match relationship processing, the problem that the existing technology cannot support high-function safety safety services is solved, and business support and system security of high-function safety levels are achieved .
Patent Information
- Application Number
- CN202411204552.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-20
AI Technical Summary
Existing high-functional safety-level services cannot be effectively supported through dedicated chips, especially poor performance and cannot support complex business needs.
By designing hardware that meets low functional safety levels in the chip, the operation data is respectively calculated using at least two subsystems and processed through matching relationships to support services with high functional safety levels.
It realizes the support of high functional safety levels and complex services through low functional safety levels, and uses redundant mechanisms to ensure the safety and normal operation of the system.
Smart Images

Figure CN119166339A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to functional safety technology, and in particular to a chip-based service processing method, device, storage medium, and electronic device. Background Art
[0002] Functional safety generally refers to avoiding unacceptable risks caused by functional failures of the system. In the field of driving, there are various types of services with different functional safety levels. At present, services with high functional safety levels generally need to be implemented through dedicated chips, but the performance of these dedicated chips is poor and cannot support services with high functional safety levels and are relatively complex. Summary of the invention
[0003] The present disclosure provides a chip-based business processing method, device, storage medium and electronic device to support high functional safety level business through low functional safety level hardware, so that the large computing power of low functional safety level hardware can be used to support high functional safety level and more complex business.
[0004] According to one aspect of an embodiment of the present disclosure, a chip-based service processing method is provided, wherein the chip includes: at least two subsystems that comply with a first functional safety level, and the method includes:
[0005] Determining a first service that complies with a second functional safety level; wherein the second functional safety level is higher than the first functional safety level;
[0006] Determine first data to be calculated corresponding to the first service;
[0007] By means of the at least two subsystems, the first to-be-operated data are respectively operated to obtain first operation results respectively corresponding to the at least two subsystems;
[0008] Determining a matching relationship between the first operation results respectively corresponding to the at least two subsystems;
[0009] Based on the matching relationship, the first service is processed.
[0010] According to another aspect of an embodiment of the present disclosure, a chip-based service processing device is provided, the chip comprising: at least two subsystems complying with a first functional safety level, the device comprising:
[0011] A first determination module, configured to determine a first service that complies with a second functional safety level; wherein the second functional safety level is higher than the first functional safety level;
[0012] A second determining module, used to determine first data to be calculated corresponding to the first service determined by the first determining module;
[0013] A first operation module, configured to respectively operate the first data to be operated determined by the second determination module through the at least two subsystems, to obtain first operation results respectively corresponding to the at least two subsystems;
[0014] A third determining module, configured to determine a matching relationship between the first operation results respectively corresponding to the at least two subsystems obtained by the first operation module;
[0015] The first processing module is used to process the first business determined by the first determining module based on the matching relationship determined by the third determining module.
[0016] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned chip-based service processing method.
[0017] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:
[0018] processor;
[0019] a memory for storing instructions executable by the processor;
[0020] The processor is used to read the executable instructions from the memory and execute the instructions to implement the above-mentioned chip-based business processing method.
[0021] According to another aspect of an embodiment of the present disclosure, a computer program product is provided. When instructions in the computer program product are executed by a processor, the above-mentioned chip-based service processing method is executed.
[0022] Based on the chip-based service processing method, device, storage medium, electronic device and program product provided by the above embodiments of the present disclosure, for the first service that meets the second functional safety level, the first data to be operated corresponding to the first service can be operated by at least two subsystems in the chip, respectively, to obtain the first operation results corresponding to the at least two subsystems. Based on the matching relationship between the first operation results corresponding to the at least two subsystems, a suitable processing method can be used to process the first service. For example, if the matching relationship is used to characterize that each of the N first operation results has good consistency, the processing method can be used to ensure the normal completion of the first service. If the matching relationship is used to characterize that each of the N first operation results does not have good consistency, the processing method can be used to ensure the safety of the vehicle to which the chip belongs. It should be noted that a safety requirement can be decomposed into two redundant safety requirements. For example, ASIL-D can be decomposed into ASIL-B(D) and ASIL-B(D). For another example, ASIL-D can be decomposed into ASIL-C(D) and ASIL-A(D). In the embodiments of the present disclosure, at least two subsystems in the chip comply with a low functional safety level, and the chip also complies with a low functional safety level, for example, ASIL-B, but at least two subsystems in the chip can back up each other to achieve redundancy, thereby enabling the chip to support services with a high functional safety level, such as ASIL-D services. That is, the embodiments of the present disclosure can support services with a high functional safety level through hardware with a low functional safety level, so that the high computing power of hardware with a low functional safety level can be used to support services with a high functional safety level and relatively complex. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flowchart of a chip-based business processing method provided by some exemplary embodiments of the present disclosure.
[0024] Figure 2 It is a flowchart of a method for respectively operating first data to be operated by at least two subsystems, provided in some exemplary embodiments of the present disclosure.
[0025] Figure 3 It is a flowchart of a chip-based business processing method provided by other exemplary embodiments of the present disclosure.
[0026] Figure 4 It is a flowchart of a method for operating second data to be operated by a second processor in a target subsystem provided by some exemplary embodiments of the present disclosure.
[0027] Figure 5It is a flowchart of a method for determining a matching relationship between first operation results respectively corresponding to at least two subsystems provided by some exemplary embodiments of the present disclosure.
[0028] Figure 6-1 is a schematic diagram of the structure of a chip in some exemplary embodiments of the present disclosure.
[0029] Figure 6-2 It is a schematic diagram of the structure of chips in other exemplary embodiments of the present disclosure.
[0030] Figure 7 It is a schematic diagram of the structure of a chip-based business processing device provided by some exemplary embodiments of the present disclosure.
[0031] Figure 8 is a schematic diagram of the structure of the first operation module in some exemplary embodiments of the present disclosure.
[0032] Fig. 9 It is a schematic diagram of the structure of a chip-based business processing device provided by other exemplary embodiments of the present disclosure.
[0033] Fig.10 is a schematic diagram of the structure of the second operation module in some exemplary embodiments of the present disclosure.
[0034] Fig.11 is a structural diagram of the third determination module in some exemplary embodiments of the present disclosure.
[0035] Fig.12 It is a schematic diagram of the structure of an electronic device provided by some exemplary embodiments of the present disclosure. DETAILED DESCRIPTION
[0036] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.
[0037] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0038] Application Overview
[0039] In the field of driving, there are multiple functional safety levels. For example, the functional safety standard ISO26262 for road vehicles defines the Automotive Safety Integration Level (ASIL), which involves the following five functional safety levels: Quality Management (QM), ASIL-A, ASIL-B, ASIL-C and ASIL-D; among them, the level of QM is lower than ASIL-A. The level of ASIL-A is lower than ASIL-B, the level of ASIL-B is lower than ASIL-C, and the level of ASIL-C is lower than ASIL-D.
[0040] At present, high functional safety level services generally need to be implemented through dedicated chips, but the performance of these dedicated chips is poor and cannot support high functional safety level and more complex services. For example, ASIL-D functional safety level services (also called ASIL-D services) need to be implemented through dedicated chips. Due to the poor performance of these dedicated chips, they can only support simple ASIL-D services, but cannot support more complex ASIL-D services, making it difficult to meet actual needs.
[0041] Exemplary Systems
[0042] In order to facilitate understanding of the chip-based service processing method described below, the chip involved in the embodiments of the present disclosure is first introduced here.
[0043] Optionally, the chip involved in the embodiments of the present disclosure may be a chip specifically used to support intelligent driving functions, and may also be referred to as an intelligent driving dedicated chip. The intelligent driving function may include three major parts, namely, perception function, planning function, and control function. Using the perception function, the environment around the vehicle can be perceived, such as roads, static objects, dynamic objects, and the like. Static objects may include, for example, buildings, traffic lights, and the like. Dynamic objects may include, for example, obstacles such as pedestrians, cyclists, and other vehicles. Using the planning function, planning can be performed according to the task requirements of intelligent driving, such as planning whether to brake, turn, slow down, etc., or planning the optimal driving path. Using the control function, the actuators in the vehicle can be controlled to achieve braking, steering, deceleration, and other actions of the vehicle.
[0044] Optionally, the chip involved in the embodiment of the present disclosure may include: at least two subsystems that meet the first functional safety level. The first functional safety level may be a lower level functional safety level. For example, the first functional safety level may be ASIL-B. For another example, the first functional safety level may be QM. At least two subsystems may be represented as N subsystems, where N may be an integer greater than or equal to 2. The fact that N subsystems meet the first functional safety level may be understood as: N subsystems are developed according to the first functional safety level. The N subsystems may all be subsystems for performing data operations to assist in business processing. The subsystems described in the present disclosure include at least corresponding hardware capable of implementing the functional safety level functions, such as processors, memories, peripheral modules, and the like. In one example, N may be 2, and each of the N subsystems may include a processor, a memory, a peripheral module, and the like. The processor may be, for example, a central processing unit (CPU). The memory may be, for example, a double data rate synchronous dynamic random access memory (DDR).
[0045] Exemplary Methods
[0046] Figure 1 It is a flowchart of a chip-based business processing method provided by some exemplary embodiments of the present disclosure. Figure 1 The method shown may include step 110 , step 120 , step 130 , step 140 , and step 150 .
[0047] Step 110: Determine a first service that complies with a second functional safety level; wherein the second functional safety level is higher than the first functional safety level.
[0048] Optionally, compared to the first functional safety level, the second functional safety level may be a higher level functional safety level. For example, the second functional safety level may be ASIL-C. For another example, the second functional safety level may be ASIL-D.
[0049] It should be noted that in the driving field, there are multiple services related to the driving state control of the vehicle. The driving state control of the vehicle may include but is not limited to the control of the vehicle's driving path, speed, acceleration, etc., and the control of whether the vehicle brakes, turns, etc. The first service that meets the second functional safety level may be a service with very strict safety requirements among the multiple services related to the driving state control of the vehicle. If the second functional safety level is ASIL-C, the first service that meets the second functional safety level may also be referred to as an ASIL-C service. If the second functional safety level is ASIL-D, the first service of the second functional safety level may also be referred to as an ASIL-D service. In one example, the ASIL-D service may be an automatic emergency braking (AEB) service.
[0050] Step 120: determine first data to be calculated corresponding to the first service.
[0051] Optionally, the first data to be calculated corresponding to the first service may be data that needs to be calculated in order to support the first service.
[0052] Generally speaking, the vehicle to which the chip belongs may be provided with sensor devices, including but not limited to cameras, radars, positioning sensors, etc. As an example, the camera may be a monocular camera or a binocular camera; the radar may be a lidar or a millimeter-wave radar; the positioning sensor may be a positioning sensor based on the Global Navigation Satellite System (GNSS) or the Global Positioning System (GPS). The first data to be calculated corresponding to the first service may be data collected by at least part of the sensors in the sensor device. Alternatively, the first data to be calculated corresponding to the first service is data obtained after certain data processing is performed on the data collected by at least part of the sensors in the sensor device.
[0053] In one example, the first service is an AEB service, and the first data to be calculated corresponding to the first service may include image data collected by a camera and point cloud data collected by a radar. Alternatively, the image data collected by a camera and the point cloud data collected by a radar may be fused to obtain fused data, and the first data to be calculated corresponding to the first service may include the fused data.
[0054] Step 130 , respectively performing operations on the first data to be operated by at least two subsystems to obtain first operation results corresponding to the at least two subsystems.
[0055] Optionally, at least two subsystems can be represented as N subsystems. Each of the N subsystems can be configured with M groups of code data. N and M can both be integers greater than or equal to 2. Each group of code data in the M groups of code data can correspond to a business of the second functional safety level, and each group of code data is used to characterize the operation logic of the business corresponding to the group of code data. The operation logic can be understood as: a data operation method that needs to be performed to assist in the implementation of business processing, and the operation logic may involve multiple types of operations, including but not limited to tensor calculations, vector calculations, etc. As an example, tensor calculations may include convolution calculations. Vector calculations may include point-to-point element-wise calculations. Generally speaking, the operation logic can be implemented by an algorithm.
[0056] Optionally, for each of the N subsystems, the subsystem may determine the code data used to characterize the operation logic corresponding to the first business from the M groups of code data configured by the subsystem. For ease of description, the determined code data may be referred to as the first code data later. The subsystem may run the first code data to operate the first data to be operated according to the operation logic corresponding to the first business, and obtain the first operation result corresponding to the subsystem. In this way, N first operation results corresponding to the N subsystems may be obtained.
[0057] In one example, the first service is the AEB service, and the operation logic corresponding to the AEB service may be: based on the first data to be operated, calculate the distance between the vehicle to which the chip belongs and the vehicle in front; determine the size relationship between the distance and the preset safety distance, and use the size relationship as the first operation result. Alternatively, the operation logic corresponding to the AEB service may be: based on the first data to be operated, calculate the distance between the vehicle to which the chip belongs and the vehicle in front; based on the distance and the preset safety distance, calculate the target speed of the vehicle to which the chip belongs (i.e., the speed to which the vehicle to which the chip belongs needs to be adjusted), and the target speed may be used as the first operation result.
[0058] Step 140: Determine a matching relationship between first operation results corresponding to at least two subsystems.
[0059] Optionally, the N first operation results corresponding to the N subsystems may be compared in pairs to obtain a matching relationship. The matching relationship may be used to indicate whether each of the N first operation results has good consistency.
[0060] Step 150: Process the first service based on the matching relationship.
[0061] Optionally, the first service may be processed in a processing manner that is adapted to the matching relationship. For example, if the matching relationship is used to characterize that each of the N first operation results has good consistency, the first processing manner may be used to process the first service; wherein the first processing manner may be a processing manner that can ensure the normal completion of the first service. If the matching relationship is used to characterize that each of the N first operation results does not have good consistency, the second processing manner may be used to process the first service; wherein the second processing manner may be different from the first processing manner, and the second group of processing manners may be processing manners that can ensure the safety of the vehicle to which the chip belongs.
[0062] In an embodiment of the present disclosure, for a first service that meets the second functional safety level, at least two subsystems in the chip can be used to respectively operate on the first data to be operated corresponding to the first service, and obtain the first operation results corresponding to the at least two subsystems. Based on the matching relationship between the first operation results corresponding to the at least two subsystems, a suitable processing method can be used to process the first service. For example, if the matching relationship is used to characterize that each of the N first operation results has good consistency, the processing method can be used to ensure the normal completion of the first service. If the matching relationship is used to characterize that each of the N first operation results does not have good consistency, the processing method can be used to ensure the safety of the vehicle to which the chip belongs. It should be noted that a safety requirement can be decomposed into two redundant safety requirements. For example, ASIL-D can be decomposed into ASIL-B(D) and ASIL-B(D). For another example, ASIL-D can be decomposed into ASIL-C(D) and ASIL-A(D). In the embodiments of the present disclosure, at least two subsystems in the chip comply with a low functional safety level, and the chip also complies with a low functional safety level, for example, ASIL-B, but at least two subsystems in the chip can back up each other to achieve redundancy, thereby enabling the chip to support services with a high functional safety level, such as ASIL-D services. That is, the embodiments of the present disclosure can support services with a high functional safety level through hardware with a low functional safety level, so that the high computing power of hardware with a low functional safety level can be used to support services with a high functional safety level and relatively complex.
[0063] Figure 2 It is a flowchart of a method for respectively operating first data to be operated by at least two subsystems, provided in some exemplary embodiments of the present disclosure. Figure 2 The illustrated method may include step 210 and step 220 .
[0064] Optionally, Figure 2In the method shown, each of the at least two subsystems may include: a first processor and a memory, and the memory may include: a dedicated storage space corresponding to the first processor.
[0065] Optionally, the first processor may be a central processing unit. The memory may be a double rate synchronous dynamic random access memory. A portion of space may be reserved in the memory for the first processor. In the process of performing data operations to assist in business processing, this portion of space may only allow the first processor to access the memory (i.e., write data and read data). This portion of space may be used as a dedicated storage space corresponding to the first processor. The size of the dedicated storage space corresponding to the first processor may be configured according to actual needs, and the present disclosure does not limit this.
[0066] Step 210 : storing the first data to be calculated into a dedicated storage space corresponding to each subsystem of at least two subsystems.
[0067] Optionally, each of the at least two subsystems may further include a peripheral module or the like.
[0068] Optionally, for each of the at least two subsystems, the subsystem may obtain data collected by at least part of the sensors in the sensor device through the peripheral module, and on this basis, the first data to be calculated may be determined, and then the first data to be calculated may be written into the dedicated storage space corresponding to the subsystem. The dedicated storage space corresponding to the subsystem may be the dedicated storage space corresponding to the first processor in the subsystem.
[0069] Step 220: Calculate the first data to be calculated in the corresponding dedicated storage space respectively through the first processors of at least two subsystems; wherein any first processor accesses data in the corresponding dedicated storage space during the calculation process.
[0070] Optionally, for each subsystem of at least two subsystems, the first processor in the subsystem can perform operations on the first data to be operated in the dedicated storage space corresponding to the subsystem. During the operation, the required data can be read from the dedicated storage space corresponding to the subsystem, and the data to be stored obtained after the operation can be written to the dedicated storage space corresponding to the subsystem.
[0071] Since the first processors in different subsystems respectively operate on the first data to be operated in the corresponding dedicated storage space and access data to the corresponding dedicated storage space during the operation, it can be considered that the basic data (i.e., the first data to be operated) used in the operation process of different subsystems are independent of each other, and the storage space used is also independent of each other. Then, the working processes of different subsystems are also independent of each other and will not affect each other. This ensures that at least two subsystems in the chip back up each other to achieve redundancy, so that the chip can support services with a high functional safety level.
[0072] Figure 3 It is a flowchart of a chip-based business processing method provided by other exemplary embodiments of the present disclosure. Figure 3 The method shown may include step 310 , step 320 , step 330 , step 340 , and step 350 .
[0073] Optionally, Figure 3 In the method shown, each subsystem of at least some of the at least two subsystems may include: a second processor.
[0074] Optionally, each of at least some of the at least two subsystems may include: at least one second processor. Similar to the first processor, the second processor may also be a central processing unit.
[0075] Step 310: Determine a second service that complies with the first functional safety level.
[0076] Optionally, the first functional safety level may be a lower level functional safety level. For example, the first functional safety level may be ASIL-B.
[0077] It should be noted that in the driving field, there are multiple services related to the driving state control of the vehicle. The second service that meets the first functional safety level can be a service with less stringent safety requirements among the multiple services related to the driving state control of the vehicle. For example, the second service can be a driving path planning service.
[0078] Step 320: Determine the second data to be calculated corresponding to the second service.
[0079] Optionally, the second data to be calculated corresponding to the second service may be data that needs to be calculated in order to support the second service. The second data to be calculated corresponding to the second service may be data collected by at least some sensors in the sensor device. Alternatively, the second data to be calculated corresponding to the second service is data obtained after certain data processing is performed on data collected by at least some sensors in the sensor device.
[0080] Step 330, using a second processor in the target subsystem to operate on the second data to be operated, to obtain a second operation result; wherein the target subsystem is one of the subsystems including the second processor.
[0081] Optionally, among the at least two subsystems, the number of subsystems including the second processor may be more than one, and which subsystem including the second processor is used as the target subsystem for assisting in processing the second service may be pre-configured or determined by a software scheduling algorithm.
[0082] Optionally, the target subsystem may be configured with second code data, and the second code data may be used to characterize the operation logic corresponding to the second service (hereinafter referred to as the first operation logic for the sake of convenience). In this way, the target subsystem may run the second code data to operate the second data to be operated according to the first operation logic to obtain a second operation result.
[0083] In an example, the second service is a driving path planning service, and the operation logic corresponding to the driving path planning service (i.e., the first operation logic) may be: based on the second data to be operated, the environment around the vehicle to which the chip belongs is sensed to obtain an environmental perception result; based on the environmental perception result, the future position and behavior of the obstacle are predicted; based on the predicted future position and behavior of the obstacle, a driving path is planned for the vehicle to which the chip belongs, and the driving path can be used as the second operation result.
[0084] Step 340, verify the second operation result to obtain a verification result.
[0085] Optionally, in addition to determining the second service that meets the first functional safety level by executing step 310, a third service that meets the first functional safety level may also be determined. The third service may be a service associated with the second service. For example, the second service is a driving path planning service, and the third service may be a service for determining whether a driving path obtained based on the driving path planning service has a collision risk. Accordingly, the third data to be calculated corresponding to the third service may be calculated to obtain a third calculation result.
[0086] If the third operation result is used to indicate that a collision will occur in the driving path, it can be determined that the verification of the second operation result has failed, and a verification result indicating that the verification of the second operation result has failed can be obtained.
[0087] If the third operation result is used to indicate that the driving path will not cause a collision, it can be determined that the verification of the second operation result has passed, and a verification result indicating that the verification of the second operation result has passed can be obtained.
[0088] Step 350: Process the second service based on the verification result.
[0089] In some optional implementations of the present disclosure, step 350 may include:
[0090] In response to the verification result indicating that the verification of the second operation result is passed, executing a business operation corresponding to the second business;
[0091] or,
[0092] In response to the verification result indicating that the verification of the second operation result fails, another operation is performed on the second data to be operated by the second processor in the target subsystem to obtain a third operation result, and the second business is processed based on the third operation result.
[0093] Optionally, in addition to the second code data for characterizing the first operation logic, the target subsystem may also be configured with third code data for characterizing another operation logic different from the first operation logic corresponding to the second business (for ease of explanation, it may be referred to as the second operation logic later). The second operation logic represented by the third code data may be more conservative (for example, more conducive to ensuring driving safety) than the first operation logic represented by the second code data. In one example, both the second operation logic and the first operation logic can be implemented by algorithms, and the algorithm used to implement the second operation logic may be more complex than the algorithm used to implement the first operation logic.
[0094] If the verification result indicates that the verification of the second operation result has passed, it can be determined that the rationality and reliability of the second operation result meet the requirements. Then, the business operation corresponding to the second business can be executed. For example, the second business can be a driving path planning business, and the business operation corresponding to the second business can be to control the vehicle to which the chip belongs to drive according to the driving path obtained based on the driving path planning business.
[0095] If the verification result indicates that the verification of the second operation result fails, it can be determined that the rationality and reliability of the second operation result do not meet the requirements. Then, the target subsystem can run the third code data to operate the second data to be operated according to the second operation logic to obtain the third operation result. Based on the third operation result, the second business can be processed.
[0096] In one example, the second service is a driving route planning service, the second operation result is driving route L1, and the third operation result is driving route L2. Since the operation logic used to obtain driving route L2 is more conservative than the operation logic used to obtain driving route L1, it can be considered that driving route L2 has higher safety. Then, the vehicle where the chip is located can be controlled to travel according to driving route L2.
[0097] In this way, referring to the verification result of the second operation result, a suitable processing method can be used to process the second service, which is conducive to ensuring the processing effect of the service with a low functional safety level. For example, the driving safety of the vehicle where the chip is located can be ensured by using a safer driving path.
[0098] In some embodiments, after obtaining the third operation result, the third operation result may be verified, and the second service may be processed according to the verification result of the third operation result.
[0099] In the embodiments of the present disclosure, for a second service that meets the first functional safety level, a second processor in the target subsystem in the chip can be used to operate on the second data to be operated corresponding to the second service to obtain a second operation result, and based on the verification result of the second operation result, a suitable processing method is used to process the second service. For example, if the verification result meets the requirements, the service operation corresponding to the second service can be executed to complete the second service. If the second service is a service with a low functional safety level, then, using the embodiments of the present disclosure, the chip can support services with a low functional safety level. That is, in the embodiments of the present disclosure, in addition to being able to support services with a high functional safety level, the chip can also support services with a low functional safety level, and has a wide range of applications that can better meet actual needs.
[0100] Figure 4 It is a flowchart of a method for operating second data to be operated by a second processor in a target subsystem provided by some exemplary embodiments of the present disclosure. Figure 4 The illustrated method may include step 410 and step 420 .
[0101] Optionally, Figure 4 In the method shown, each of the at least two subsystems may include: a memory, and the memory may include: a universal storage space.
[0102] As described above, the memory may include a dedicated storage space corresponding to the first processor, and the remaining storage space in the memory may be used as a general storage space.
[0103] Step 410, storing the second data to be calculated in the target storage space; wherein the target storage space includes: at least part of the common storage space corresponding to at least two subsystems respectively.
[0104] Optionally, the target subsystem can obtain data collected by at least part of the sensors in the sensor device through the peripheral module, and on this basis can determine the second data to be calculated, and then the second data to be calculated can be written to the target storage space. The target storage space may include: all the general storage spaces corresponding to at least two subsystems respectively. Alternatively, the target storage space may include: part of the general storage space corresponding to at least two subsystems respectively. For ease of understanding, the following description takes the case where the target storage space includes all the general storage spaces corresponding to at least two subsystems respectively as an example.
[0105] Optionally, the second data to be operated can be written according to the address interleaving strategy. It can be understood that the address interleaving strategy belongs to the dual-channel memory technology, which can involve two groups of memories, and data access can be performed alternately on the two groups of memories. When one group of memories is performing data access, the other group of memories can prepare for the next data access, so as to improve the memory access bandwidth and throughput.
[0106] In an example, at least two subsystems are two subsystems, wherein the universal storage space in one subsystem is represented as universal storage space K1, and the universal storage space in the other subsystem is represented as universal storage space K2. Then, 128 bytes of the second data to be calculated may be written into the universal storage space K1 first, and then another 128 bytes of the second data to be calculated may be written into the universal storage space K2. Then, another 128 bytes of the second data to be calculated may be written into the universal storage space K1, and then another 128 bytes of the second data to be calculated may be written into the universal storage space K2, and so on. No further details will be given here.
[0107] Step 420, using the second processor in the target subsystem to operate on the second data to be operated in the target storage space; wherein, during the operation, the second processor in the target subsystem accesses data to the target storage space according to the address interleaving strategy.
[0108] Optionally, the second processor in the target subsystem can operate on the second data to be operated in the target storage space. During the operation, the required data can be read from the target storage space, and the data to be stored obtained through the operation can be written to the target storage space. In the process of accessing data to the target storage space, an address interleaving strategy can be adopted. For details, please refer to the above description of the method for writing the second data to be operated, which will not be repeated here.
[0109] In an embodiment of the present disclosure, the second processor in the target subsystem can operate on the second data to be operated in the target storage space, and during the operation process, data is accessed from the target storage space according to the address interleaving strategy. This can effectively utilize the common storage space in different subsystems, which is conducive to improving the data access bandwidth and meeting the performance requirements of businesses with low functional safety levels.
[0110] Figure 5 It is a flowchart of a method for determining a matching relationship between first operation results respectively corresponding to at least two subsystems provided by some exemplary embodiments of the present disclosure. Figure 5 The method shown may include step 510 , step 520 , and step 530 .
[0111] Optionally, Figure 5 In the method shown, the first operation result corresponding to each subsystem of the at least two subsystems may include: sub-operation results corresponding to at least two sub-operation stages respectively.
[0112] As introduced above, the first business may be a business with very strict safety requirements among multiple businesses related to the driving state control of the vehicle. As an example, the first business may be an AEB business, and the operation logic corresponding to the AEB business may be: based on the first data to be operated, calculate the distance between the vehicle to which the chip belongs and the vehicle in front; determine the size relationship between the distance and the preset safety distance, and the size relationship is used as the first operation result. Then, calculating the distance between the vehicle to which the chip belongs and the vehicle in front can be regarded as a sub-operation stage (for the convenience of description, it can be referred to as the first sub-operation stage later), and the distance can be used as the sub-operation result corresponding to the first sub-operation stage. In addition, determining the size relationship between the distance and the preset safety distance can be regarded as another sub-operation stage (for the convenience of description, it can be referred to as the second sub-operation stage later), and the size relationship can be used as the sub-operation result corresponding to the second sub-operation stage.
[0113] Step 510, dividing the set consisting of the first operation results corresponding to at least two subsystems respectively to obtain subsets corresponding to at least two sub-operation stages respectively; wherein the subset corresponding to any sub-operation stage includes: at least two sub-operation results.
[0114] Optionally, at least two subsystems may be two subsystems, wherein the first operation result corresponding to one subsystem may be expressed as operation result 1, and the first operation result corresponding to the other subsystem may be expressed as operation result 2. Operation result 1 may include: sub-operation result A1 corresponding to the first sub-operation stage, and sub-operation result A2 corresponding to the second sub-operation stage. Operation result 2 may include: sub-operation result B1 corresponding to the first sub-operation stage, and sub-operation result B2 corresponding to the second sub-operation stage. Then, the set composed of operation result 1 and operation result 2 may include: sub-operation result A1, sub-operation result A2, sub-operation result B1, and sub-operation result B2. By dividing the set, a subset corresponding to the first sub-operation stage and a subset corresponding to the second sub-operation stage may be obtained. The subset corresponding to the first sub-operation stage may include: sub-operation result A1 and sub-operation result B1. The subset corresponding to the second sub-operation stage may include: sub-operation result A2 and sub-operation result B2.
[0115] Step 520: for each of the at least two sub-operation stages, determine the matching degree between the sub-operation results in the subset corresponding to the sub-operation stage.
[0116] Optionally, for the first sub-operation stage, a similarity algorithm may be used to determine the similarity between the sub-operation result A1 and the sub-operation result B1, and the determined similarity may be used as the matching degree between the sub-operation result A1 and the sub-operation result B1. For the second sub-operation stage, a similarity algorithm may be used to determine the similarity between the sub-operation result A2 and the sub-operation result B2, and the determined similarity may be used as the matching degree between the sub-operation result A2 and the sub-operation result B2.
[0117] Step 530: Determine a matching relationship based on the matching degrees corresponding to at least two sub-operation stages.
[0118] Optionally, if the matching degrees corresponding to the first sub-operation stage and the second sub-operation stage are both greater than the preset matching degree, the matching relationship can be used to indicate that operation result 1 and operation result 2 meet the preset matching condition, that is, operation result 1 and operation result 2 have good consistency. As an example, the preset matching degree can be 80%, 85%, 90%, etc., which are not listed here one by one.
[0119] Optionally, if the matching degree corresponding to at least one of the first sub-operation stage and the second sub-operation stage is less than or equal to the preset matching degree, the matching relationship can be used to characterize that operation result 1 and operation result 2 do not meet the preset matching conditions, that is, operation result 1 and operation result 2 do not have good consistency.
[0120] Of course, the number of sub-operation stages is not limited to two, for example, it can also be three, four or more than four, which are not listed here one by one. If the matching degrees corresponding to all sub-operation stages are greater than the preset matching degrees, the matching relationship can be used to indicate that the first operation results corresponding to at least two subsystems meet the preset matching conditions; otherwise, the matching relationship can be used to indicate that the first operation results corresponding to at least two subsystems do not meet the preset matching conditions.
[0121] In the embodiments of the present disclosure, in the process of determining the matching relationship, not only the sub-operation results obtained in the final stage can be referred to, but also the sub-operation results obtained in the intermediate stage can be referred to. In this way, the data used to determine the matching relationship is richer and more diverse, which is conducive to ensuring the rationality and reliability of the determined matching relationship.
[0122] In some embodiments, in the process of determining the matching relationship, only the sub-operation results obtained in the final stage may be referred to.
[0123] In some optional examples, step 150 may include:
[0124] In response to the matching relationship indicating that the first operation results respectively corresponding to at least two subsystems meet a preset matching condition, executing a business operation corresponding to the first business;
[0125] or,
[0126] In response to the matching relationship representing that the first operation results respectively corresponding to at least two subsystems do not satisfy a preset matching condition, a preset security protection operation is performed.
[0127] Optionally, if the matching relationship is used to indicate that the first operation results corresponding to at least two subsystems respectively meet a preset matching condition, the service operation corresponding to the first service may be executed. For example, the first service may be an AEB service, and the service operation corresponding to the first service may be emergency braking.
[0128] Optionally, if the matching relationship is used to characterize that the first operation results corresponding to at least two subsystems do not meet the preset matching condition, the business operation corresponding to the first business may not be performed, and a preset safety protection operation may be performed. The preset safety protection operation may include but is not limited to prompting manual takeover of the vehicle, pulling over, etc.
[0129] In the embodiments of the present disclosure, by referring to the matching relationship, it is possible to reasonably determine whether there is an abnormality in the business to be processed. Based on the judgment result, a suitable processing method can be adopted to process the first business. On the one hand, it can support businesses with high functional safety levels, and on the other hand, it can ensure the safety of the vehicle to which the chip belongs.
[0130] In some optional examples, such as Figure 6-1As shown, the chip may include: two subsystems that meet the functional safety level of ASIL-B. Of the two subsystems, the subsystem on the left can be called the first subsystem, and the subsystem on the right can be called the second subsystem. The first subsystem may include CPU A, CPU C, Periph A, and DDR A. The second subsystem may include CPU B, CPU D, Periph B, and DDR B. CPU A and CPU B may be used as a first processor, respectively. CPUC and CPU D may be used as a second processor, respectively. Periph A and Periph B may be used as a peripheral module, respectively. DDR A and DDR B may be used as a memory, respectively.
[0131] For any ASIL-D business, CPU A and CPU B can respectively operate on the data to be operated (such as the first data to be operated above) corresponding to the ASIL-D business according to the operation logic corresponding to the ASIL-D business. If the operation results corresponding to CPUA and CPU B (such as the first operation result above) have good consistency, the business operation corresponding to the ASIL-D business can be executed.
[0132] For any ASIL-B business, CPU C or CPU D can perform operations on the data to be operated corresponding to the ASIL-B business (for example, the second data to be operated mentioned above) according to the operation logic corresponding to the ASIL-B business. After that, the operation result obtained by CPU C or CPU D (for example, the second operation result mentioned above) can be verified. If the verification passes, the business operation corresponding to the ASIL-B business can be executed.
[0133] Optionally, DDR A may include a dedicated storage space Q1 and a general storage space K1. DDR B may include a dedicated storage space Q2 and a general storage space K2. For CPU A, in the process of performing data calculations to assist in business processing, data access may be performed only on the dedicated storage space Q1. For CPU B, in the process of performing data calculations to assist in business processing, data access may be performed only on the dedicated storage space Q2. For CPU C, in the process of performing data calculations to assist in business processing, data access may be performed not only on the general storage space K1, but also on the general storage space K2. For CPU D, in the process of performing data calculations to assist in business processing, data access may be performed not only on the general storage space K1, but also on the general storage space K2.
[0134] In other optional examples, such as Figure 6-2As shown, the chip may include: a first group of processors, a second group of processors, a third group of processors, a first group of memories, a second group of memories, and a bus module. The first group of processors may be used to support ASIL-B business. The first group of processors may include at least one processor. The second group of processors and the third group of processors may cooperate with each other to support ASIL-D business. The second group of processors and the third group of processors may each include at least one processor. The first group of memories and the second group of memories may each include at least one memory.
[0135] As an example, the first group of processors may include two CPUs, for example including Figure 6-1 The second group of processors may include a CPU, for example, including Figure 6-1 The third group of processors may include a CPU, for example including Figure 6-1 The first group of memories may include one or more DDRs, for example, Figure 6-1 The second group of memories may include one or more DDRs, for example, Figure 6-1 DDR B in.
[0136] Optionally, both the first group memory and the second group memory may include a dedicated storage space and a general storage space. The address range of the general storage space in the first group memory may be represented as Address range A, and the address range of the dedicated storage space in the first group memory may be represented as Address range B. The address range of the general storage space in the second group memory may be represented as Address range A, and the address range of the dedicated storage space in the second group memory may be represented as Address range C.
[0137] For ASIL-B services, the first group of processors can access data from Address range A in the first group of memories and Address range A in the second group of memories through the bus module. In this way, the first group of processors can obtain all bus bandwidth resources and all storage resources, which is conducive to achieving high-performance computing.
[0138] For ASIL-D services, the second group of processors can access data for Address range B through the first part of the bus module, and the third group of processors can access data for Address range C through the second part of the bus module. In this way, the second group of processors can obtain part of the bus bandwidth resources and part of the storage resources, and the third group of processors can also obtain part of the bus bandwidth resources and part of the storage resources. Moreover, the bus bandwidth resources obtained by the second group of processors and the bus bandwidth resources obtained by the third group of processors can come from different hardware paths, and the storage resources obtained by the second group of processors and the storage resources obtained by the third group of processors can come from different storage bodies, which is conducive to the second group of processors and the third group of processors backing up each other to achieve redundancy.
[0139] In summary, by adopting the embodiments of the present disclosure, the requirements of ASIL-D business can be met through two independent ASIL-B hardware, thereby making it possible to use the large computing power of ASIL-B hardware to support more complex ASIL-D business. In addition, the performance requirements of ASIL-B business can also be better met.
[0140] Exemplary Devices
[0141] Figure 7 1 is a schematic diagram of a chip-based service processing device provided by some exemplary embodiments of the present disclosure. The chip may include: at least two subsystems that meet the first functional safety level. Figure 7 The apparatus shown may include:
[0142] A first determination module 710 is used to determine a first service that complies with a second functional safety level; wherein the second functional safety level is higher than the first functional safety level;
[0143] The second determination module 720 is used to determine the first data to be calculated corresponding to the first business determined by the first determination module 710;
[0144] The first operation module 730 is used to respectively operate the first data to be operated determined by the second determination module 720 through at least two subsystems to obtain first operation results corresponding to the at least two subsystems respectively;
[0145] The third determination module 740 is used to determine the matching relationship between the first operation results respectively corresponding to at least two subsystems obtained by the first operation module 730;
[0146] The first processing module 750 is configured to process the first service determined by the first determining module 710 based on the matching relationship determined by the third determining module 740 .
[0147] In some optional examples, the first processing module 750 includes:
[0148] A first processing submodule, configured to execute a business operation corresponding to the first business in response to the first operation results respectively corresponding to at least two subsystems indicating that the matching relationship determined by the third determining module 740 satisfies a preset matching condition;
[0149] or,
[0150] The second processing submodule is configured to execute a preset security protection operation in response to the matching relationship determined by the third determining module 740 indicating that the first operation results respectively corresponding to at least two subsystems do not satisfy a preset matching condition.
[0151] In some optional examples, each of the at least two subsystems includes: a first processor and a memory, the memory including: a dedicated storage space corresponding to the first processor;
[0152] like Figure 8 As shown, the first operation module 730 includes:
[0153] A first storage submodule 810 is used to store the first data to be calculated determined by the second determination module 720 into a dedicated storage space corresponding to each subsystem of the at least two subsystems;
[0154] The first operation submodule 820 is used to operate on the first data to be operated stored in the corresponding dedicated storage space by the first storage submodule 810 through the first processors of at least two subsystems respectively; wherein any first processor accesses data in the corresponding dedicated storage space during the operation process.
[0155] In some optional examples, each of at least some of the at least two subsystems includes: a second processor;
[0156] like Fig. 9 As shown, the device provided by the embodiment of the present disclosure includes:
[0157] A fourth determination module 910, configured to determine a second service that complies with the first functional safety level;
[0158] A fifth determining module 920, configured to determine second data to be calculated corresponding to the second service determined by the fourth determining module 910;
[0159] A second operation module 930 is used to operate the second data to be operated determined by the fifth determination module 920 through a second processor in the target subsystem to obtain a second operation result; wherein the target subsystem is one of the subsystems including the second processor;
[0160] A verification module 940 is used to verify the second operation result obtained by the second operation module 930 to obtain a verification result;
[0161] The second processing module 950 is used to process the second service based on the verification result obtained by the verification module 940.
[0162] In some optional examples, each of the at least two subsystems includes: a memory, the memory including: a general storage space;
[0163] like Fig.10 As shown, the second operation module 930 includes:
[0164] The second storage submodule 1010 is used to store the second data to be calculated determined by the fifth determination module 920 in a target storage space; wherein the target storage space includes: a common storage space corresponding to at least two subsystems respectively;
[0165] The second operation submodule 1020 is used to operate on the second data to be operated stored in the target storage space by the second storage submodule 1010 through the second processor in the target subsystem; wherein, during the operation process, the second processor in the target subsystem accesses data to the target storage space according to the address interleaving strategy.
[0166] In some optional examples, the second processing module 950 includes:
[0167] A third processing submodule, configured to execute a business operation corresponding to the second business in response to the verification result obtained by the verification module 940 indicating that the verification of the second operation result has passed;
[0168] or,
[0169] The fourth processing submodule is used to respond to the verification result obtained by the verification module 940 indicating that the verification of the second operation result fails, perform another operation on the second data to be operated through the second processor in the target subsystem to obtain a third operation result, and process the second business based on the third operation result.
[0170] In some optional examples, the first operation result corresponding to each of the at least two subsystems includes: sub-operation results corresponding to at least two sub-operation stages respectively;
[0171] like Fig.11 As shown, the third determination module 740 includes:
[0172] The division submodule 1110 is used to divide the set of first operation results corresponding to at least two subsystems obtained by the first operation module 730 to obtain subsets corresponding to at least two sub-operation stages; wherein the subset corresponding to any sub-operation stage includes: at least two sub-operation results;
[0173] A first determination submodule 1120, configured to determine, for each of the at least two sub-operation stages, a degree of matching between the sub-operation results in the subset corresponding to the sub-operation stage;
[0174] The second determining submodule 1130 is configured to determine a matching relationship based on the matching degrees respectively corresponding to the at least two sub-operation stages determined by the first determining submodule 1120 .
[0175] In the device of the present disclosure, the various optional embodiments, optional implementation methods and optional examples disclosed above can be flexibly selected and combined as needed to achieve corresponding functions and effects, and the present disclosure does not list them one by one.
[0176] Exemplary Electronic Devices
[0177] Fig.12 A block diagram of an electronic device according to an embodiment of the present disclosure is illustrated. The electronic device 1200 includes one or at least one processor 1210 and a memory 1220 .
[0178] The processor 1210 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 1200 to perform desired functions.
[0179] The memory 1220 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 1210 may execute one or more computer program instructions to implement the methods of the various embodiments of the present disclosure described above and / or other desired functions.
[0180] In one example, the electronic device 1200 may further include: an input device 1230 and an output device 1240 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0181] The input device 1230 may also include, for example, a keyboard, a mouse, various sensors, a touch screen, etc.
[0182] The output device 1240 can output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and its connected remote output device, etc.
[0183] Of course, to simplify, Fig.12 Only some of the components related to the present disclosure in the electronic device 1200 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 1200 may also include any other appropriate components.
[0184] Exemplary computer program products and computer-readable storage media
[0185] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of this specification.
[0186] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0187] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the method according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0188] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0189] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations. It cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present disclosure. The specific details disclosed above are only for the purpose of illustration and ease of understanding, not limitation. The above details do not limit the present disclosure to being implemented by adopting the above specific details.
[0190] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present disclosure claims and their equivalents, the present disclosure is also intended to include these modifications and variations.
Claims
1. A service processing method based on a chip, the chip comprising: At least two subsystems complying with a first functional safety level, the method comprising: Determining a first service that complies with a second functional safety level; wherein the second functional safety level is higher than the first functional safety level; Determine first data to be calculated corresponding to the first service; By means of the at least two subsystems, the first to-be-operated data are respectively operated to obtain first operation results respectively corresponding to the at least two subsystems; Determining a matching relationship between the first operation results respectively corresponding to the at least two subsystems; Based on the matching relationship, the first service is processed.
2. The method according to claim 1, wherein: The processing of the first service based on the matching relationship includes: In response to the matching relationship indicating that the first operation results respectively corresponding to the at least two subsystems meet a preset matching condition, executing a business operation corresponding to the first business; or, In response to the matching relationship representing that the first operation results respectively corresponding to the at least two subsystems do not satisfy a preset matching condition, a preset security protection operation is performed.
3. The method according to claim 1, wherein: Each of the at least two subsystems comprises: a first processor and a memory, wherein the memory comprises: a dedicated storage space corresponding to the first processor; The performing operations on the first data to be operated respectively by the at least two subsystems includes: storing the first to-be-calculated data in the dedicated storage space corresponding to each subsystem of the at least two subsystems; The first data to be calculated in the corresponding dedicated storage space are calculated respectively by the first processors of the at least two subsystems; wherein any of the first processors accesses data in the corresponding dedicated storage space during the calculation process.
4. The method according to claim 1, wherein: Each subsystem of at least some of the at least two subsystems includes: a second processor; The method comprises: Determining a second service that meets the first functional safety level; Determining second data to be calculated corresponding to the second service; The second processor in the target subsystem performs operation on the second data to be operated to obtain a second operation result; wherein the target subsystem is one of the subsystems including the second processor; Verifying the second operation result to obtain a verification result; Based on the verification result, the second service is processed.
5. The method according to claim 4, wherein: Each of the at least two subsystems comprises: a memory, the memory comprising: a general storage space; The performing operation on the second data to be operated by the second processor in the target subsystem includes: storing the second data to be operated in a target storage space; wherein the target storage space includes: at least part of the general storage space corresponding to the at least two subsystems respectively; The second processor in the target subsystem operates on the second data to be operated in the target storage space; wherein, during the operation, the second processor in the target subsystem accesses data to the target storage space according to the address interleaving strategy.
6. The method according to claim 4, wherein: The processing of the second service based on the verification result includes: In response to the verification result indicating that the verification of the second operation result is passed, executing a business operation corresponding to the second business; or, In response to the verification result indicating that the verification of the second operation result fails, the second processor in the target subsystem performs another operation on the second data to be operated to obtain a third operation result, and processes the second business based on the third operation result.
7. The method according to any one of claims 1 to 6, wherein: The first operation result corresponding to each subsystem of the at least two subsystems includes: sub-operation results corresponding to at least two sub-operation stages respectively; The determining a matching relationship between the first operation results respectively corresponding to the at least two subsystems includes: Dividing the set consisting of the first operation results respectively corresponding to the at least two subsystems to obtain subsets respectively corresponding to the at least two sub-operation stages; wherein the subset corresponding to any sub-operation stage includes: at least two of the sub-operation results; For each sub-operation stage in the at least two sub-operation stages, determining a matching degree between each of the sub-operation results in the subset corresponding to the sub-operation stage; The matching relationship is determined based on the matching degrees respectively corresponding to the at least two sub-operation stages.
8. A chip-based service processing device, the chip comprising: At least two subsystems complying with a first functional safety level, the device comprising: A first determination module, configured to determine a first service that complies with a second functional safety level; wherein the second functional safety level is higher than the first functional safety level; A second determining module, used to determine first data to be calculated corresponding to the first service determined by the first determining module; A first operation module, configured to respectively operate the first data to be operated determined by the second determination module through the at least two subsystems, to obtain first operation results respectively corresponding to the at least two subsystems; A third determining module, configured to determine a matching relationship between the first operation results respectively corresponding to the at least two subsystems obtained by the first operation module; The first processing module is used to process the first business determined by the first determining module based on the matching relationship determined by the third determining module.
9. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the chip-based service processing method according to any one of claims 1 to 7.
10. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the chip-based business processing method described in any one of claims 1-7.
