Search

CN-121979592-A - Data processing method and related product

CN121979592ACN 121979592 ACN121979592 ACN 121979592ACN-121979592-A

Abstract

The application discloses a data processing method and related products, wherein the method comprises the steps of determining target physical binding core and target agent conditions according to target mapping codes in an obtained target call request based on a target mapping description table, and processing the target call request through a target RTE interface in a first core or a target virtual interface in a second core according to the target physical binding core and the target agent conditions. In addition, centralized management of the RTE interface through the target mapping description table simplifies interface configuration and expansion flow, reduces development complexity, supports dynamic updating rules to adapt to function iteration requirements, does not need to be packaged through a fixed agent task or a cross-core middle layer, improves communication efficiency and optimizes resource occupation.

Inventors

  • LIU RUIQIANG
  • Yan Yingnan

Assignees

  • 东软睿驰汽车技术(沈阳)有限公司

Dates

Publication Date
20260505
Application Date
20251231

Claims (10)

  1. 1. A method of data processing, the method comprising: acquiring a target call request, wherein the target call request comprises a target mapping code; Determining a target physical binding core and a target agent condition according to a target mapping code in the target call request, wherein the target mapping description table is used for describing the mapping relation of at least one runtime environment RTE interface in a first core, the target mapping description table comprises at least one mapping record, the mapping record comprises a mapping code, a physical binding core and an agent condition, the mapping code is obtained by encoding interface information data of a corresponding RTE interface, each mapping record in at least one mapping record has a one-to-one correspondence with each RTE interface in at least one RTE interface, and each mapping record in at least one mapping record has a one-to-one correspondence with each virtual interface in at least one virtual interface in a second core; And processing the target call request through a target RTE interface in the first core or a target virtual interface in the second core according to the target physical binding core and the target agent condition.
  2. 2. The data processing method of claim 1, further comprising generating the target map description table by: Acquiring interface information data of at least one RTE interface, wherein the interface information data comprises a triplet identifier and an access attribute; Compressing the triplet identifiers in the interface information data to determine mapping codes corresponding to the RTE interfaces; Determining physical binding core and agent conditions corresponding to each RTE interface according to the access attribute in each interface information data; the target mapping description table is constructed according to at least one mapping code, at least one physical binding core and at least one agent condition.
  3. 3. The data processing method according to claim 1, wherein the processing the target call request through the target RTE interface in the first core or the target virtual interface in the second core according to the target physical binding core and the target agent condition comprises: if the target physical binding core indicates the first core, judging whether the actual running condition meets the target agent condition or not; if the actual running condition meets the target agent condition, processing the target call request through the target RTE interface or the target virtual interface; And if the actual running condition does not meet the target agent condition, processing the target call request through the target RTE interface.
  4. 4. A data processing method according to claim 3, wherein said processing said target call request through said target RTE interface or said target virtual interface comprises: acquiring an actual load value of the first core; if the actual load value is larger than a preset load threshold value, the target call request is processed through the target virtual interface; and if the actual load value is smaller than or equal to the preset load threshold value, processing the target call request through the RTE interface.
  5. 5. A data processing apparatus, the apparatus comprising: The system comprises an acquisition unit, a target calling unit and a processing unit, wherein the acquisition unit is used for acquiring a target calling request, and the target calling request comprises a target mapping code; The system comprises a target call request, a determination unit, a target mapping description table, a first core, a second core, a first virtual interface and a second core, wherein the target call request is used for calling the target call request, the determination unit is used for determining target physical binding core and target agent conditions according to target mapping codes in the target call request, the target mapping description table is used for describing the mapping relation of at least one runtime environment RTE interface in the first core, the target mapping description table comprises at least one mapping record, the mapping record comprises mapping codes, physical binding cores and agent conditions, the mapping codes are obtained by encoding interface information data of the corresponding RTE interfaces, a one-to-one correspondence exists between each mapping record in the at least one mapping record and each RTE interface in the at least one RTE interface, and a one virtual interface in the second core exists between each mapping record in the at least one mapping record and each virtual interface in the second core; And the data processing unit is used for processing the target call request through a target RTE interface in the first core or a target virtual interface in the second core according to the target physical binding core and the target agent condition.
  6. 6. The data processing apparatus according to claim 5, further comprising a generating unit configured to generate the target map description table by: Acquiring interface information data of at least one RTE interface, wherein the interface information data comprises a triplet identifier and an access attribute; Compressing the triplet identifiers in the interface information data to determine mapping codes corresponding to the RTE interfaces; Determining physical binding core and agent conditions corresponding to each RTE interface according to the access attribute in each interface information data; the target mapping description table is constructed according to at least one mapping code, at least one physical binding core and at least one agent condition.
  7. 7. The data processing apparatus according to claim 5, wherein the data processing unit is configured to: if the target physical binding core indicates the first core, judging whether the actual running condition meets the target agent condition or not; if the actual running condition meets the target agent condition, processing the target call request through the target RTE interface or the target virtual interface; And if the actual running condition does not meet the target agent condition, processing the target call request through the target RTE interface.
  8. 8. The data processing apparatus according to claim 7, wherein the data processing unit is configured to: acquiring an actual load value of the first core; if the actual load value is larger than a preset load threshold value, the target call request is processed through the target virtual interface; and if the actual load value is smaller than or equal to the preset load threshold value, processing the target call request through the RTE interface.
  9. 9. A control device comprising a processor and a memory, the memory being for storing a program, instructions or code, the processor being for executing the program, instructions or code in the memory to perform the data processing method of any of claims 1-4.
  10. 10. A computer-readable storage medium, characterized in that a computer program is stored, which computer program is loaded by a processor for executing the data processing method according to any of claims 1-4.

Description

Data processing method and related product Technical Field The present application relates to the field of computer technologies, and in particular, to a data processing method and related products. Background As vehicle-mounted electronic and electrical architecture evolves from distributed control to centralized, domain-controlled, and central computing platforms, vehicle-mounted computing units form multi-core heterogeneous structures. The M core is responsible for real-time control and safety related tasks such as vehicle chassis control, vehicle body signal processing and the like, and the A core is responsible for non-real-time tasks such as man-machine interaction, multimedia processing, AI algorithm and vehicle cloud communication and the like. Under the framework of the vehicle-cloud integrated structure, the two are required to be closely cooperated to meet the requirement of complex application scenes. However, the RTE (Run-Time Environment) interface is fixed and bound to a specific core (generally, M core) in the system initialization stage, the mapping relationship cannot be dynamically changed according to the running state, so as to reduce the dynamic migration capability, resulting in lower resource utilization rate, and meanwhile, when the a core application accesses the M core control function, the a core application needs to pass through a fixed proxy task or cross-core middle layer encapsulation, resulting in low communication efficiency and more resource occupation. Disclosure of Invention Based on the above problems, the present application provides a data processing method and related products, which aims to improve the communication efficiency and the resource utilization rate. The embodiment of the application discloses the following technical scheme: in a first aspect, an embodiment of the present application provides a data processing method, including: acquiring a target call request, wherein the target call request comprises a target mapping code; The method comprises the steps of determining a target physical binding core and target agent conditions according to target mapping codes in a target call request, wherein the target mapping description table is used for describing the mapping relation of at least one runtime environment RTE interface in a first core, the target mapping description table comprises at least one mapping record, the mapping record comprises the mapping codes, the physical binding core and the agent conditions, the mapping codes are obtained by encoding interface information data of the corresponding RTE interface, each mapping record in the at least one mapping record has a one-to-one correspondence with each RTE interface in the at least one RTE interface, and each mapping record in the at least one mapping record has a one-to-one correspondence with each virtual interface in at least one virtual interface in a second core; and processing the target call request through the target RTE interface in the first core or the target virtual interface in the second core according to the target physical binding core and the target agent condition. Optionally, generating the target mapping description table by: Acquiring interface information data of at least one RTE interface, wherein the interface information data comprises a triplet identifier and an access attribute; Compressing the triplet identifiers in the interface information data to determine the mapping codes corresponding to the RTE interfaces; determining physical binding core and agent conditions corresponding to each RTE interface according to the access attribute in each interface information data; The target mapping description table is constructed according to at least one mapping code, at least one physical binding core and at least one agent condition. Optionally, processing the target call request through the target RTE interface in the first core or the target virtual interface in the second core according to the target physical binding core and the target agent condition includes: If the target physical binding core indicates the first core, judging whether the actual running condition meets the target agent condition; If the actual running condition meets the target agent condition, processing a target call request through a target RTE interface or a target virtual interface; and if the actual running condition does not meet the target agent condition, processing the target call request through the target RTE interface. Optionally, processing the target call request through the target RTE interface or the target virtual interface includes: Acquiring an actual load value of a first core; if the actual load value is greater than the preset load threshold value, processing the target call request through the target virtual interface; And if the actual load value is smaller than or equal to the preset load threshold value, processing the target call request through the RTE interface. In a sec