Data processing method, processing device, transmission device and electronic equipment

By switching to the transmission path of the general processor when the special processor is abnormal, the problems of high power consumption and poor stability caused by the special processor are solved, and the stability and reliability of data processing are improved.

CN120336091APending Publication Date: 2025-07-18BEIJING X RING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410065567.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In complex business scenarios, when a dedicated processor is abnormal, it is difficult for the prior art to effectively switch to a general-purpose processor for data processing, resulting in high power consumption and poor stability and reliability.

Method used

When a special processor exception is detected, the transmission path is switched from the first transmission path to the second transmission path, and data transmission and processing are performed through the general processor to ensure the stability and reliability of the data transmission.

Benefits of technology

It reduces power consumption during data processing, improves the stability and reliability of data transmission, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120336091A_ABST
    Figure CN120336091A_ABST
Patent Text Reader

Abstract

The invention relates to a data processing method, a processing device, a transmission device and electronic equipment, and relates to the technical field of computers. The method specifically comprises the following steps: receiving perception data; working states of the first processor and the second processor are detected, a preset first transmission path is switched to a second transmission path in response to the fact that the current working state of the first processor is abnormal, and the first transmission path is used for transmitting sensing data to the first processor; the sensing data is transmitted to the first processor through the preset first transmission path, the sensing data is processed based on the first processor, power consumption in the sensing data processing process is reduced, and when the working state of the first processor is abnormal, the sensing data is transmitted to the second processor through the second transmission path. The first transmission path is switched to the second transmission path, and the sensing data is transmitted to the second processor through the second transmission path, so that the stability and reliability in the sensing data processing process are improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technologies, and in particular, to a data processing method, a processing device, a transmission device, and an electronic device. Background Art

[0002] Currently, the mainstream general-purpose processors in embedded devices are ARM (Advanced RISC Machines) processors and RISC-V processors. However, for complex business scenarios, dedicated processors are often developed considering power consumption and performance. The dedicated processors are used to process the business. Due to the complexity of the dedicated processors, the status of the dedicated processors often needs to be detected. When the dedicated processor is abnormal, the business is switched to the general-purpose processor for processing. Summary of the Invention

[0003] The present disclosure provides a data processing method, a processing device, a transmission device, and an electronic device.

[0004] The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a data processing method is provided. The method includes: receiving sensed data; detecting the working status of a first processor and a second processor, and in response to an abnormality in the current working status of the first processor, switching a preset first transmission path to a second transmission path, where the first transmission path is used to transmit the sensed data to the first processor; and transmitting the sensed data to the second processor through the second transmission path.

[0006] According to an embodiment of the present disclosure, the method further includes: in response to the first processor returning to normal, switching from the second transmission path to the first transmission path to transmit the sensed data to the first processor through the first transmission path.

[0007] According to an embodiment of the present disclosure, after receiving the sensed data, it includes: determining a first data format supported by the first processor and the second processor; and converting the initial sensed data from a second data format to the first data format to obtain the sensed data.

[0008] According to a second aspect of the embodiments of the present disclosure, a perception data transmission device is provided. The device includes: a data acquisition module, a first transmission path, a second transmission path, and a path switching module. Among them, the first transmission path includes a first path between the data acquisition module and the path switching module, and a second path between the path switching module and a first processor. The second transmission path includes the first path and a third path between the path switching module and a second processor; the data acquisition module is configured to continuously receive perception data from a sensor; the first transmission path is configured to transmit the perception data to the first processor; the path switching module is configured to detect the working states of the first processor and the second processor. During the process of transmitting the perception data through the first transmission path, if the first processor is abnormal and the second processor is normal, the transmission path of the perception path is switched from the first transmission path to the second transmission path; the second transmission path is configured to transmit the perception data to the second processor.

[0009] According to an embodiment of the present disclosure, the device further includes: a first communication interface, where the path switching module is connected to the first communication interface through a fourth path, and the first communication interface is connected to the first processor through a fifth path. The second path includes the fourth path and the fifth path.

[0010] According to an embodiment of the present disclosure, the device further includes: a second communication interface, where the path switching module is connected to the second communication interface through a sixth path, and the second communication interface is connected to the second processor through a seventh path. The third path includes the sixth path and the seventh path.

[0011] According to an embodiment of the present disclosure, the path switching module is further connected to the first processor through an eighth path. Among them, the eighth path is used for the path switching module to obtain the state of the first processor.

[0012] According to an embodiment of the present disclosure, the path switching module is further connected to the second processor through a ninth path. Among them, the ninth path is used for the path switching module to obtain the state of the second processor.

[0013] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided. The electronic device includes: a sensor, a first processor, a second processor, and a transmission device for sensed data as described in the second aspect; wherein, the sensor is connected to the transmission device, and the transmission device is further connected to the first processor and the second processor respectively; wherein, the sensor is configured to collect sensed data; the transmission device is configured to transmit the sensed data to the first processor through an internal first transmission path when the first processor is normal, and transmit the sensed data to the second processor through an internal second transmission path when the first processor is abnormal and the second processor is normal.

[0014] According to a fourth aspect of the embodiments of the present disclosure, a data processing device is provided. A receiving module is configured to receive sensed data; a switching module is configured to detect the working states of the first processor and the second processor, and switch a preset first transmission path to a second transmission path in response to an abnormal current working state of the first processor, wherein the first transmission path is used to transmit the sensed data to the first processor; a transmission module is configured to transmit the sensed data to the second processor through the second transmission path.

[0015] According to an embodiment of the present disclosure, the device is further configured to: switch from the second transmission path to the first transmission path in response to the first processor returning to normal, so as to transmit the sensed data to the first processor through the first transmission path.

[0016] According to an embodiment of the present disclosure, the device is further configured to: determine a first data format supported by the first processor and the second processor; convert initial sensing data from a second data format to the first data format to obtain the sensed data.

[0017] According to a fifth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the data processing method provided in the first aspect embodiment of the present disclosure.

[0018] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:

[0019] A data processing method according to an embodiment of the present disclosure receives sensing data, detects the working states of a first processor and a second processor, and in response to an abnormality in the current working state of the first processor, switches a preset first transmission path to a second transmission path. The first transmission path is used to transmit sensing data to the first processor, and the sensing data is transmitted to the second processor through the second transmission path. Thus, the present disclosure transmits sensing data to the first processor through the preset first transmission path, processes the sensing data based on the first processor, reduces the power consumption in the process of processing the sensing data, and when the working state of the first processor is abnormal, switches the first transmission path to the second transmission path, improving the stability and reliability in the process of processing the sensing data and enhancing the user experience.

[0020] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure and do not constitute an improper limitation to the present disclosure.

[0022] Figure 1 is a block diagram of a data transmission device shown according to an exemplary embodiment.

[0023] Figure 2 is a block diagram of an electronic device shown according to an exemplary embodiment.

[0024] Figure 3 is a schematic flowchart of a data processing method shown according to an exemplary embodiment.

[0025] Figure 4 is a block diagram of a data processing device shown according to an exemplary embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0026] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0027] It should be noted that the terms "first", "second", etc. in the description, claims and the above-mentioned drawings of the present disclosure are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0028] It should be noted that when an electronic device is applied to complex business scenarios, for example, when the electronic device is a wearable device, since the wearable device is equipped with a large number of sensors for monitoring human health data, in order to reduce the power consumption of the wearable device and improve the performance of the wearable device, a dedicated processor is often developed to process the business through the dedicated processor. However, the complexity of the dedicated processor is relatively high, and it is often necessary to detect the working state of the dedicated processor. When the working state of the dedicated processor is abnormal, switch to a general-purpose processor to smoothly implement the processing of the business.

[0029] The present disclosure provides an electronic device, which switches a preset first transmission path to a second transmission path when the working state of a dedicated processor (first processor) is abnormal, and transmits sensing data to a second processor (general-purpose processor) through the second transmission path, and processes the business based on the general-purpose processor to smoothly implement the processing of the business.

[0030] Figure 1 is a block diagram of an electronic device shown according to an exemplary embodiment.

[0031] As Figure 1 shown, the electronic device 2000 includes: a sensor 210, a first processor 220, a second processor 230, and a transmission device 1000 for sensing data.

[0032] Among them, the sensor 210 is connected to the transmission device 1000, and the transmission device 1000 is also respectively connected to the first processor 220 and the second processor 230.

[0033] Among them, the sensor 210 is used to collect sensing data.

[0034] Among them, the transmission device 1000 is used to transmit sensing data to the first processor 220 through the internal first transmission path when the first processor 220 is normal, and to transmit sensing data to the second processor 230 through the internal second transmission path when the first processor 22 is abnormal and the second processor 230 is normal.

[0035] An electronic device according to an embodiment of the present disclosure, the electronic device includes: a sensor, a first processor, a second processor, and a transmission device for sensing data; wherein, the sensor is connected to the transmission device, and the transmission device is also connected to the first processor and the second processor respectively. The sensor is used to collect sensing data, and the transmission device is used to transmit the sensing data to the first processor through the internal first transmission path when the first processor is normal, and to transmit the sensing data to the second processor through the internal second transmission path when the first processor is abnormal and the second processor is normal. The electronic device provided by the present disclosure improves the stability and reliability in the process of sensing data transmission, reduces the power consumption of the electronic device, and improves the performance of the electronic device, enhancing the user experience.

[0036] Figure 2 It is a block diagram of a transmission device for sensing data shown according to an exemplary embodiment.

[0037] As Figure 2 shown, the transmission device 1000 for sensing data includes: a data acquisition module 110, a first transmission path 120, a second transmission path 130, and a path switching module 140.

[0038] Among them, the first transmission path 120 includes a first path between the data acquisition module 110 and the path switching module 140, and a second path between the path switching module 140 and the first processor. The second transmission path 130 includes the first path and a third path between the path switching module 140 and the second processor.

[0039] Among them, the data acquisition module 110 is used to continuously receive sensing data from the sensor.

[0040] Optionally, the sensing data may include user behavior data and user health data.

[0041] For example, the user behavior data may be the user's motion data, sleep data, etc., and the user health data may be the user's blood pressure data, heart rate data, body temperature data, etc.

[0042] Among them, the first transmission path 120 is used to transmit sensing data to the first processor.

[0043] In the embodiment of the present disclosure, the initial sensing data received from the sensor may be preprocessed to obtain the sensing data.

[0044] Optionally, the first data format supported by the first processor and the second processor may be determined, and the initial sensing data may be converted from the second data format to the first data format to obtain the sensing data.

[0045] It should be noted that since there are many types of perception data, perception data often has different field names or different data structures. The first data format supported by the first processor and the second processor, that is, the standard data format, can be obtained in advance, and the data format conversion rule can be determined according to the first data format. Based on the data format conversion rule, the initial perception data received from the sensor is preprocessed to obtain the perception data.

[0046] Optionally, the first data format can be a data format preset to adapt to the first processor and the second processor. For example, a data format such as a preset field, attribute, variable, data source, etc. After receiving the initial perception data, feature extraction can be performed on the initial perception data, and the extracted perception data values can be converted according to the first data format to obtain the perception data with the first data format supported by the first processor and the second processor.

[0047] Among them, the path switching module 140 is used to detect the working states of the first processor and the second processor. During the process of transmitting the perception data through the first transmission path 120, if the first processor is abnormal and the second processor is normal, the transmission path of the perception path is switched from the first transmission path 120 to the second transmission path 130.

[0048] Among them, the second transmission path 130 is used to transmit the perception data to the second processor.

[0049] Furthermore, after transmitting the perception data to the second processor, the perception data can be processed by the second processor.

[0050] In the embodiment of the present disclosure, in response to the first processor recovering to normal, the transmission path is switched from the second transmission path 130 to the first transmission path 120, and the perception data is transmitted to the first processor again through the first transmission path 120.

[0051] In some embodiments, as Figure 2 shown, the device 1000 further includes: a first communication interface 10.

[0052] It should be noted that the first communication interface provides an interface for data interaction with the first processor.

[0053] Among them, the path switching module 140 is connected to the first communication interface 10 through a fourth path, and the first communication interface is connected to the first processor through a fifth path. The second path includes the fourth path and the fifth path.

[0054] In some embodiments, as Figure 2 shown, the device 1000 further includes: a second communication interface 20.

[0055] It should be noted that the second communication interface provides an interface for data interaction with the second processor.

[0056] Among them, the path switching module 140 is connected to the second communication interface 20 through a sixth path, and the second communication interface is connected to the second processor through a seventh path. The third path includes the sixth path and the seventh path.

[0057] In the embodiment of the present disclosure, the path switching module 140 is also connected to the first processor through an eighth path, where the eighth path is used for the path switching module to obtain the state of the first processor.

[0058] In the embodiment of the present disclosure, the path switching module 140 is also connected to the second processor through a ninth path, where the ninth path is used for the path switching module to obtain the state of the second processor.

[0059] The transmission device for sensed data proposed by the present disclosure will be explained below.

[0060] For example, as Figure 2 shown, the data acquisition module 110 is used to continuously receive sensed data from the sensor. By default, the sensed data is transmitted to the first processor through the first transmission path (the first path and the second path), that is, through the first path, the fourth path, and the fifth path. The eighth path is used for the path switching module to monitor the state of the first processor, and the ninth path is used for the path switching module to monitor the state of the second processor. If the first processor is abnormal and the second processor is normal, the transmission path of the sensing path is switched from the first transmission path 120 to the second transmission path 130 (the first path and the third path), that is, through the first path, the sixth path, and the seventh path to transmit the sensed data to the second processor. And after the first processor returns to normal, it is switched from the second transmission path 130 to the first transmission path 120, and the sensed data is transmitted to the first processor again through the first transmission path 120, that is, through the first path, the fourth path, and the fifth path to transmit the sensed data to the first processor.

[0061] A transmission device for sensing data according to an embodiment of the present disclosure includes: a data acquisition module, a first transmission path, a second transmission path, and a path switching module. Among them, the first transmission path includes a first path between the data acquisition module and the path switching module, and a second path between the path switching module and the first processor. The second transmission path includes the first path and a third path between the path switching module and the second processor. The data acquisition module is configured to continuously receive sensing data from a sensor; the first transmission path is configured to transmit the sensing data to the first processor. The path switching module is configured to detect the working states of the first processor and the second processor. During the process of transmitting the sensing data through the first transmission path, if the first processor is abnormal and the second processor is normal, the transmission path of the sensing path is switched from the first transmission path to the second transmission path. The second transmission path is configured to transmit the sensing data to the second processor. Thus, through the path switching module, the present disclosure can switch the first transmission path to the second transmission path when the first processor is abnormal and the second processor is normal, improving the stability and reliability during the transmission of sensing data and enhancing the user experience.

[0062] Figure 3 It is a schematic flowchart of a data processing method provided by an embodiment of the present disclosure.

[0063] As Figure 3 shown, the data processing method includes the following steps:

[0064] S101, receive sensing data.

[0065] It should be noted that sensing data can be continuously received from a sensor. There are various types of sensors, such as: blood glucose sensors, body temperature sensors, blood pressure sensors, etc. Sensing data can be collected through different types of sensors. Correspondingly, sensing data can be continuously received from the sensor.

[0066] Optionally, the sensing data may include user behavior data and user health data.

[0067] For example, the user behavior data can be the user's exercise data, sleep data, etc., and the user health data can be the user's blood pressure data, heart rate data, body temperature data, etc.

[0068] Among them, the first processor is a dedicated processor, that is, a processor designed for a specific field.

[0069] In the embodiment of the present disclosure, after receiving the sensing data, the initial sensing data received from the sensor can be preprocessed to obtain the sensing data.

[0070] Optionally, the first data format supported by the first processor and the second processor may be determined, and the initial sensing data may be converted from the second data format to the first data format to obtain the sensed data.

[0071] It should be noted that since there are many types of sensed data, the sensed data often has different field names or different data structures. The first data format supported by the first processor and the second processor, that is, the standard data format, may be obtained in advance, and the data format conversion rule may be determined according to the first data format. Based on the data format conversion rule, the initial sensed data received from the sensor is preprocessed to obtain the sensed data.

[0072] Optionally, the first data format may be a data format preset to adapt to the first processor and the second processor. For example, data formats such as preset fields, attributes, variables, and data sources. After receiving the initial sensed data, feature extraction may be performed on the initial sensed data, and the extracted sensed data values may be converted according to the first data format to obtain the sensed data with the first data format supported by the first processor and the second processor.

[0073] S102. Detect the working states of the first processor and the second processor. In response to an abnormality in the current working state of the first processor, switch the preset first transmission path to the second transmission path, where the first transmission path is used to transmit the sensed data to the first processor.

[0074] It should be noted that during the operation of the first processor and the second processor, the working states of the first processor and the second processor are detected in real time.

[0075] It should be noted that in response to the current working state of the first processor being normal, the sensed data may be transmitted to the first processor through the preset first transmission path, and the first processor processes the sensed data.

[0076] Among them, the second processor is a general-purpose processor, that is, a processor integrating multiple functions.

[0077] It should be noted that during the data processing, it is necessary to detect the working states of the first processor and the second processor.

[0078] In the embodiments of the present disclosure, when the first processor is abnormal and the second processor is normal, the first transmission path is switched to the second transmission path.

[0079] For example, when the first transmission path is path a and the second transmission path is path b, when the first processor is abnormal and the second processor is normal, the switch is made from path a to path b.

[0080] Optionally, when the first processor is abnormal and the second processor is abnormal, a warning message about the processor state can be generated.

[0081] It should be noted that when the first processor is abnormal and the second processor is abnormal, that is, business processing cannot be based on the first processor and the second processor. In such a case, a warning message about the processor state can be generated to timely remind the user.

[0082] It should be noted that the form of the warning message in this disclosure is not limited and can be selected according to the actual situation.

[0083] Optionally, the warning message about the processor state can be a text warning message; optionally, the warning message about the processor state can be a voice warning message.

[0084] S103, Transmit the sensed data to the second processor through the second transmission path.

[0085] It should be noted that after transmitting the sensed data to the second processor through the second transmission path, the second processor can process the sensed data.

[0086] In the embodiment of this disclosure, in response to the first processor returning to normal, switch from the second transmission path to the first transmission path, and transmit the sensed data to the first processor through the first transmission path.

[0087] For example, when the first transmission path is path a and the second transmission path is path b, when the first processor is abnormal and the second processor is normal, switch from path a to path b, and when the first processor returns to normal, switch from path b to path a.

[0088] It should be noted that after transmitting the sensed data to the first processor through the first transmission path, the sensed data can be processed by the first processor.

[0089] According to a data processing method of an embodiment of this disclosure, by receiving sensed data, detecting the working states of the first processor and the second processor, in response to an abnormal current working state of the first processor, switch the preset first transmission path to the second transmission path. The first transmission path is used to transmit the sensed data to the first processor, and transmit the sensed data to the second processor through the second transmission path. Thus, this disclosure transmits the sensed data to the first processor through the preset first transmission path and processes the sensed data based on the first processor, reducing the power consumption in the process of processing the sensed data. When the working state of the first processor is abnormal, switch the first transmission path to the second transmission path, improving the stability and reliability in the process of processing the sensed data and enhancing the user experience.

[0090] Figure 4It is a block diagram of a data processing device shown according to an exemplary embodiment.

[0091] As Figure 4 shown, the data processing device 3000 includes: a receiving module 310, a switching module 320, and a first transmission module 330.

[0092] The receiving module 310 is configured to receive sensing data;

[0093] The switching module 320 is configured to detect the working states of the first processor and the second processor, and in response to an abnormality in the current working state of the first processor, switch a preset first transmission path to a second transmission path, where the first transmission path is used to transmit the sensing data to the first processor;

[0094] The transmission module 330 is configured to transmit the sensing data to the second processor through the second transmission path.

[0095] Further, the device 3000 is further configured to: in response to the first processor returning to normal, switch from the second transmission path to the first transmission path to transmit the sensing data to the first processor through the first transmission path.

[0096] Further, the device 3000 is further configured to: determine a first data format supported by the first processor and the second processor; convert the initial sensing data from a second data format to the first data format to obtain the sensing data.

[0097] According to a data processing device of an embodiment of the present disclosure, by receiving sensing data, detecting the working states of the first processor and the second processor, and in response to an abnormality in the current working state of the first processor, switching a preset first transmission path to a second transmission path, where the first transmission path is used to transmit the sensing data to the first processor, and transmitting the sensing data to the second processor through the second transmission path. Thus, the present disclosure transmits the sensing data to the first processor through the preset first transmission path, processes the sensing data based on the first processor, reduces the power consumption in the process of processing the sensing data, and when the working state of the first processor is abnormal, switches the first transmission path to the second transmission path, improving the stability and reliability in the process of processing the sensing data and enhancing the user experience.

[0098] To implement the above embodiments, the present disclosure also provides a computer-readable storage medium including instructions, such as a memory including instructions, and the above instructions can be executed by a processor of the device 1000 to complete the above method. Optionally, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0099] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0100] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A data processing method, characterized in that, Applied to a system including a first processor and a second processor, the method includes: Receiving sensed data; Detecting the operating states of the first processor and the second processor, and in response to an abnormality in the current operating state of the first processor, switching a preset first transmission path to a second transmission path, where the first transmission path is used to transmit the sensed data to the first processor; Transmitting the sensed data to the second processor through the second transmission path.

2. The method according to claim 1, characterized in that The method further includes: In response to the first processor returning to normal, switching from the second transmission path to the first transmission path to transmit the sensed data to the first processor through the first transmission path.

3. The method according to claim 1, characterized in that After receiving the sensed data, it includes: Determining a first data format supported by the first processor and the second processor; Converting the initial sensed data from a second data format to the first data format to obtain the sensed data.

4. A data transmission device, characterized in that, The device includes: A data acquisition module, a first transmission path, a second transmission path, and a path switching module, where the first transmission path includes a first path between the data acquisition module and the path switching module, and a second path between the path switching module and the first processor, and the second transmission path includes the first path and a third path between the path switching module and the second processor; The data acquisition module is configured to continuously receive sensed data from a sensor; The first transmission path is used to transmit the sensed data to the first processor; The path switching module is configured to detect the operating states of the first processor and the second processor, and during the process of transmitting the sensed data through the first transmission path, if the first processor is abnormal and the second processor is normal, switch the transmission path of the sensed path from the first transmission path to the second transmission path; The second transmission path is used to transmit the sensed data to the second processor.

5. The transmission device according to claim 4, characterized in that, The device further includes: A first communication interface, where the path switching module is connected to the first communication interface through a fourth path, and the first communication interface is connected to the first processor through a fifth path, and the second path includes the fourth path and the fifth path.

6. The transmission device according to claim 4, wherein The device further includes: A second communication interface, where the path switching module is connected to the second communication interface through a sixth path, and the second communication interface is connected to the second processor through a seventh path, and the third path includes the sixth path and the seventh path.

7. The transmission device according to claim 4, characterized in that, The path switching module is further connected to the first processor through an eighth path, where the eighth path is used for the path switching module to obtain the state of the first processor.

8. The transmission device according to claim 4, characterized in that, The path switching module is further connected to the second processor through a ninth path, where the ninth path is used for the path switching module to obtain the state of the second processor.

9. An electronic device, characterized in that, The electronic device includes: A sensor, a first processor, a second processor, and a transmission device for sensed data as described in any one of claims 5-8; wherein the sensor is connected to the transmission device, and the transmission device is further connected to the first processor and the second processor respectively; wherein the sensor is configured to collect sensed data; the transmission device is configured to transmit the sensed data to the first processor through an internal first transmission path when the first processor is normal, and to transmit the sensed data to the second processor through an internal second transmission path when the first processor is abnormal and the second processor is normal.

10. A data processing device, characterized in that, The device includes: a receiving module configured to receive sensed data; a switching module configured to detect the working states of the first processor and the second processor, and in response to an abnormality in the current working state of the first processor, switch a preset first transmission path to a second transmission path, wherein the first transmission path is used to transmit the sensed data to the first processor; a transmission module configured to transmit the sensed data to the second processor through the second transmission path.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the data processing method as described in any one of claims 1-3.