Data processing method, device and system, electronic equipment and storage medium

By duplicating and redundantly transmitting key data frames in the vehicle Ethernet, and using the virtual LAN structure to avoid broadcast storms caused by ring networks, the problem of data transmission reliability is solved and data recovery for multi-path transmission is achieved.

CN118540183APending Publication Date: 2024-08-23CHINA AUTOMOTIVE INNOVATION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410659696.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Ring networks may cause broadcast storms in automotive Ethernet, occupying a large amount of network bandwidth, causing network paralysis and affecting the reliability of data transmission.

Method used

By copying key data frames, multiple sets of redundant frames are generated and transmitted through the preset virtual LAN to avoid ring network structures and ensure the reliability of data transmission.

Benefits of technology

It effectively avoids the occurrence of broadcast storms, ensures the reliability of data transmission and network stability, and enhances data recovery capabilities through multi-path transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540183A
    Figure CN118540183A
Patent Text Reader

Abstract

The invention relates to a data processing method, device and system, electronic equipment and a storage medium, and the method comprises the steps: a transmitting end copies a key data frame in a target data stream, and obtains a plurality of groups of redundant frames in one-to-one correspondence with a plurality of preset virtual local area networks; the plurality of preset virtual local area networks are obtained by dividing a target network, and nodes included in each preset virtual local area network do not form a ring network structure; based on preset virtual local area networks corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to a receiving end, and the receiving end receives and identifies the multiple groups of redundant frames transmitted through the multiple preset virtual local area networks; and selecting one group of redundant frames from the plurality of groups of redundant frames as a recovery frame group, and performing data recovery processing on the recovery frame group. According to the invention, broadcast storm of the ring network can be avoided, and the reliability of data transmission can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle-mounted Ethernet, and in particular to a data processing method, device, system, electronic equipment and storage medium. Background Art

[0002] With the development of intelligent vehicles, the frame replication and frame elimination technology of the 802.1CB protocol in Time-Sensitive Networking (TSN) has been introduced into vehicle Ethernet communications to ensure the high reliability of key data transmission. 802.1CB replicates multiple redundant frames of key frames and sends them on different paths, and eliminates frames at the recovery node, so that data transmission will not be interrupted when a link fails, ensuring the reliability of data transmission. In order to apply 802.1CB, the network topology needs to be deployed into a ring network structure, and the ring network may bring the risk of broadcast storms. When a node in the ring network sends broadcast data, the broadcast data will circulate in the ring network, occupying a large amount of network bandwidth and causing network paralysis. Summary of the invention

[0003] In order to solve the above technical problems, the present invention discloses a data processing method, which obtains multiple groups of redundant frames by copying key data frames, and then transmits the multiple groups of redundant frames through preset virtual local area networks corresponding to them one by one. Since the nodes in each preset virtual local area network do not form a ring network structure, broadcast storms can be avoided. At the same time, the reliability of data transmission is guaranteed by copying and separately transmitting multiple groups of key data frames.

[0004] In order to achieve the above object, the present invention provides a data processing method, characterized in that it is applied to a sending end and comprises:

[0005] The key data frames in the target data stream are copied to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0006] Based on the preset virtual local area networks respectively corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to a receiving end.

[0007] In an optional embodiment, before copying the key data frame in the target data stream, the method further includes:

[0008] The target data stream is identified to determine the key data frame in the target data stream.

[0009] In an optional embodiment, each of the preset virtual local area networks includes a plurality of nodes, and the plurality of nodes in each of the preset virtual local area networks form a preset sending path;

[0010] The sending the plurality of groups of redundant frames to a receiving end based on the preset virtual local area networks respectively corresponding to the plurality of groups of redundant frames comprises:

[0011] Based on the preset sending paths respectively corresponding to the multiple preset virtual local area networks, the multiple groups of redundant frames are sent to the receiving end.

[0012] The present invention also provides another data processing method, characterized in that it is applied to a receiving end and comprises:

[0013] Receive and identify multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond one-to-one to the multiple preset virtual local area networks, the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0014] A group of redundant frames is selected from the multiple groups of redundant frames as a recovery frame group, and data recovery processing is performed on the recovery frame group.

[0015] In an optional embodiment, the selecting a group of redundant frames from the multiple groups of redundant frames as a recovery frame group includes:

[0016] Performing intra-group data frame deduplication processing on the multiple groups of redundant frames respectively to obtain multiple groups of processed redundant frames;

[0017] The processed multiple groups of redundant frames are subjected to redundant frame group deduplication processing to obtain the restored frame group; the restored frame group is a group of redundant frames in the processed multiple groups of redundant frames.

[0018] The present invention also provides a data processing device, characterized in that it is applied to a sending end, and the device comprises:

[0019] A duplication module, used for duplicating key data frames in a target data stream to obtain multiple groups of redundant frames corresponding to a plurality of preset virtual local area networks; the plurality of preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0020] The sending module is used to send the multiple groups of redundant frames to a receiving end based on the preset virtual local area networks corresponding to the multiple groups of redundant frames respectively.

[0021] The present invention also provides another data processing device, characterized in that it is applied to a receiving end, and the device comprises:

[0022] A receiving module, configured to receive and identify a plurality of groups of redundant frames transmitted through a plurality of preset virtual local area networks; the plurality of groups of redundant frames correspond one to one with the plurality of preset virtual local area networks, the plurality of preset virtual local area networks are obtained by dividing a target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0023] The recovery module is used to select a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and perform data recovery processing on the recovery frame group.

[0024] The present invention also provides a data processing system, characterized in that it includes a sending end, a receiving end and a relay end, and the system includes:

[0025] The sending end is used to copy the key data frames in the target data stream to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; based on the preset virtual local area networks corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to the receiving end;

[0026] The receiving end is used to receive and identify multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond to the multiple preset virtual local area networks one by one, the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; select a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and perform data recovery processing on the recovery frame group;

[0027] The relay end is used to receive the multiple groups of redundant frames sent by the sending end and forward the multiple groups of redundant frames to the receiving end based on the preset virtual local area networks respectively corresponding to the multiple groups of redundant frames.

[0028] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the data processing method as described above.

[0029] The present invention also provides a computer-readable storage medium, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the data processing method as described above.

[0030] The implementation of the embodiments of the present invention has the following beneficial effects:

[0031] The data processing method disclosed in the present invention obtains multiple groups of redundant frames by copying key data frames, and then transmits the multiple groups of redundant frames through preset virtual local area networks corresponding to them one by one. Since the nodes in each preset virtual local area network do not form a ring network structure, broadcast storms can be avoided. At the same time, the reliability of data transmission is guaranteed by copying and separately transmitting multiple groups of key data frames. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the data processing method, device, system, electronic device and storage medium described in the present invention, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A schematic diagram of the structure of a data processing system provided by an embodiment of the present invention;

[0034] Figure 2 A schematic diagram of a data processing method applied to a sending end provided by an embodiment of the present invention;

[0035] Figure 3 A schematic diagram of a flow chart of a data processing method applied to a receiving end provided by an embodiment of the present invention;

[0036] Figure 4 A schematic diagram of a data transmission process provided by an embodiment of the present invention;

[0037] Figure 5 A schematic diagram of the structure of a data processing device applied to a sending end provided by an embodiment of the present invention;

[0038] Figure 6 A schematic diagram of the structure of a data processing device applied to a receiving end provided by an embodiment of the present invention;

[0039] Figure 7 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0041] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0042] Please refer to Figure 1 , Figure 1 A data processing system that can be used to implement the embodiments of the present invention is shown. Figure 1 As shown, the system may at least include a sending end 01, a receiving end 02 and a relay end 03;

[0043] The transmitting end 01 may be a node with a frame replication function; the receiving end 02 may be a node with a frame elimination function; the relay end 03 may have two or more. Figure 1 Taking a data processing system with two relay terminals as an example, each relay terminal represents all relay nodes included in the corresponding preset virtual local area network, and each relay terminal may include one or more relay nodes;

[0044] The sending end 01 is used to copy the key data frames in the target data stream to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; based on the preset virtual local area networks corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to the receiving end 02;

[0045] The receiving end 02 is used to receive and identify multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond to the multiple preset virtual local area networks one by one, the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; select a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and perform data recovery processing on the recovery frame group;

[0046] The relay end 03 is used to receive the multiple groups of redundant frames sent by the sending end and forward the multiple groups of redundant frames to the receiving end 02 based on the preset virtual local area networks respectively corresponding to the multiple groups of redundant frames.

[0047] The following combination Figure 2 as well as Figure 3 The data processing method of the present invention based on the above data processing system is introduced.

[0048] Please refer to Figure 2 , which shows a flow chart of a data processing method applied to a sending end provided by an embodiment of the present invention. This specification provides method operation steps as described in the embodiment or flow chart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the order of many steps, and does not represent the only execution order. When the actual system or server product is executed, it can be executed in the order of the method shown in the embodiment or the accompanying drawings. Specifically, Figure 2 As shown, the data processing method is applied to a sending end, and the method includes:

[0049] S201, duplicating key data frames in the target data stream to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0050] In the embodiments of this specification, the target network may be an in-vehicle Ethernet or other local area network; since the multiple groups of redundant frames need to be transmitted through different paths, the target network may be a ring network, such as Figure 1 As shown;

[0051] In the embodiment of this specification, the target data stream includes multiple data frames; the key data frame may be one data frame or multiple data frames in the target data stream;

[0052] In the embodiment of the present specification, each group of redundant frames may include one data frame or multiple data frames in the target data stream, and each group of redundant frames includes the same data frames;

[0053] In the embodiments of this specification, the preset virtual local area network (VLAN, i.e., Virtual LAN) can logically divide the physically connected target network into virtual local area networks that cannot directly communicate with each other;

[0054] In an embodiment of the present specification, the target network includes a plurality of nodes, and the plurality of preset virtual local area networks are obtained by dividing the plurality of nodes in the target network; the plurality of preset virtual local area networks can be obtained by dividing based on the ports of the plurality of nodes in the target network;

[0055] In an embodiment of the present specification, after the division of the multiple preset virtual LANs is completed, the sending end copies the key data frames in the target data stream to obtain the multiple groups of redundant frames, and the multiple groups of redundant frames correspond one-to-one to the multiple preset virtual LANs, so that the multiple groups of redundant frames can be transmitted through the preset virtual LANs corresponding to them respectively.

[0056] In the embodiment of this specification, before copying the key data frame in the target data stream, the method further includes:

[0057] Identifying the target data stream and determining the key data frame in the target data stream;

[0058] In the embodiment of the present specification, the target data stream can be identified by a stream identification method to determine the key data frame that needs to be copied; stream identification is defined by 802.1CB, and the data stream can be identified according to the destination MAC address, source MAC address, VLAN_ID, and information of the inner IP header of the data frame header;

[0059] In the embodiment of this specification, the key data frame may be one data frame or multiple data frames in the target data stream;

[0060] According to the above technical means, the embodiment of the present specification identifies the target data stream to determine the key data frames that need to be copied, and further copies the key data frames to obtain multiple groups of redundant frames, and then transmits the multiple groups of redundant frames through the preset virtual LANs corresponding to them one by one. Since the nodes in each preset virtual LAN do not form a ring network structure, broadcast storms can be avoided. At the same time, the reliability of data transmission is guaranteed by copying and separately transmitting multiple groups of key data frames.

[0061] S203, sending the multiple groups of redundant frames to a receiving end based on the preset virtual local area networks corresponding to the multiple groups of redundant frames respectively;

[0062] In the embodiment of the present specification, each preset virtual local area network includes a plurality of nodes, and the plurality of nodes in each preset virtual local area network form a preset sending path;

[0063] In an embodiment of the present specification, there are two or more preset sending paths, and the preset sending paths correspond one-to-one to the multiple preset virtual LANs. The preset sending paths correspond one-to-one to the multiple groups of redundant frames, that is, each group of redundant frames has a corresponding preset virtual LAN and preset sending path.

[0064] In the embodiment of the present specification, the sending of the plurality of groups of redundant frames to the receiving end based on the preset virtual local area networks respectively corresponding to the plurality of groups of redundant frames includes:

[0065] Based on the preset transmission paths respectively corresponding to the plurality of preset virtual local area networks, the plurality of groups of redundant frames are transmitted to the receiving end;

[0066] In the embodiment of the present specification, the plurality of groups of redundant frames may be sent to the receiving end by hop-by-hop forwarding based on the preset sending paths respectively corresponding to the plurality of preset virtual local area networks;

[0067] In the embodiment of the present specification, the multiple groups of redundant frames can be sent to the relay ends corresponding to the multiple groups of redundant frames respectively based on the preset sending paths corresponding to the multiple preset virtual local area networks respectively, and then the relay ends forward the multiple groups of redundant frames to the receiving end, and the relay ends correspond to the multiple groups of redundant frames one by one;

[0068] According to the above-mentioned technical means, the sending end of the embodiment of this specification sends multiple groups of redundant frames to the receiving end based on the preset virtual local area networks and preset sending paths corresponding to the multiple groups of redundant frames. Since the nodes in each preset virtual local area network do not form a ring network structure, broadcast storms can be avoided. At the same time, the transmission of multiple groups of redundant frames through different preset sending paths ensures the reliability of data transmission.

[0069] Please refer to Figure 3 , which is a flow chart of a data processing method applied to a receiving end provided by an embodiment of the present invention. Figure 3 As shown, the data processing method is applied to a receiving end, and the method includes:

[0070] S301, receiving and identifying multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond one-to-one to the multiple preset virtual local area networks, the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0071] In the embodiment of the present specification, the plurality of groups of redundant frames may be identified by a flow identification method to determine key data frames that need to be eliminated;

[0072] S303, selecting a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and performing data recovery processing on the recovery frame group;

[0073] In the embodiment of the present specification, a group of redundant frames may be selected from the multiple groups of redundant frames as a recovery frame group through an independent recovery method (IRF) and a sequence recovery method (SRF).

[0074] In the embodiment of the present specification, the step of selecting a group of redundant frames from the multiple groups of redundant frames as a recovery frame group includes:

[0075] Performing intra-group data frame deduplication processing on the multiple groups of redundant frames respectively to obtain multiple groups of processed redundant frames;

[0076] Performing redundant frame group deduplication processing on the processed multiple groups of redundant frames to obtain the restored frame group; the restored frame group is a group of redundant frames in the processed multiple groups of redundant frames;

[0077] In the embodiment of the present specification, the repeated key data frames in each group of redundant frames can be identified and deleted through the independent recovery method, thereby achieving deduplication of the data frames within the multiple groups of redundant frames to obtain the processed multiple groups of redundant frames;

[0078] For example, if the key data frames in the target data stream are data frame a, data frame b, and data frame c, each group of redundant frames copied by the sending end includes data frame a, data frame b, and data frame c. After the receiving end receives and identifies multiple groups of redundant frames transmitted through multiple preset virtual local area networks, if the data frames included in one group of redundant frames in the multiple groups of redundant frames are data frame a, data frame a, data frame b, and data frame c, the receiving end can perform intra-group data frame deduplication processing on the group of redundant frames to eliminate the repeated data frame a, thereby obtaining processed redundant frames including data frame a, data frame b, and data frame c;

[0079] In the embodiment of the present specification, through the sequence recovery method, repeated redundant frames in the multiple groups of redundant frames can be identified, a group of redundant frames with complete data in the multiple groups of redundant frames is retained as the recovery frame group, and the remaining redundant frames in the multiple groups of redundant frames except the recovery frame group are deleted, thereby achieving deduplication of the redundant frame groups of the processed multiple groups of redundant frames to obtain the recovery frame group;

[0080] For example, if the key data frames in the target data stream are data frame a, data frame b and data frame c, the sending end obtains two groups of redundant frames by duplication, namely redundant frame 1 and redundant frame 2, then the two groups of redundant frames both include data frame a, data frame b and data frame c, the receiving end receives and identifies the two groups of redundant frames transmitted through two preset virtual local area networks, performs intra-group data frame deduplication processing on the two groups of redundant frames respectively, and obtains two groups of processed redundant frames, then the two groups of processed redundant frames both include data frame a, data frame b and data frame c, the receiving end then performs redundant frame group deduplication processing on the two groups of processed redundant frames, retains one group of redundant frames as a recovery frame group, and eliminates the other group of redundant frames; specifically, the processed redundant frame 1 can be retained as the recovery frame group, and the processed redundant frame 2 can be eliminated, or the processed redundant frame 2 can be retained as the recovery frame group, and the processed redundant frame 1 can be eliminated;

[0081] According to the above-mentioned technical means, the receiving end of the embodiment of the present specification retains one group of redundant frames among multiple groups of redundant frames transmitted through multiple preset virtual LANs through deduplication processing. Since the nodes in each preset virtual LAN do not form a ring network structure, broadcast storms can be avoided. At the same time, the transmission of multiple groups of redundant frames through different preset virtual LANs ensures the reliability of data transmission.

[0082] Figure 4 A schematic diagram of a data transmission process provided by an embodiment of the present invention, wherein a plurality of preset virtual local area networks are obtained by dividing a target network, each preset virtual local area network includes a plurality of nodes, the nodes included in each preset virtual local area network do not constitute a ring network structure, and the plurality of nodes in each preset virtual local area network form a corresponding preset sending path. Figure 4 Take two preset virtual LANs as examples, namely the first preset virtual LAN VLAN1 and the second preset virtual LAN VLAN2. The nodes in the first preset virtual LAN include a transmitter, a relay terminal 1 and a receiver. Relay terminal 1 may include one or more relay nodes. The first preset transmission path corresponding to the first preset virtual LAN is transmitter-relay terminal 1-receiver. The nodes in the second preset virtual LAN include a transmitter, a relay terminal 2 and a receiver. Relay terminal 2 may include one or more relay nodes. The second preset transmission path corresponding to the second preset virtual LAN is transmitter-relay terminal 2-receiver. The transmitter copies the key data frames in the target data stream to obtain multiple groups of redundant frames corresponding to multiple preset virtual LANs. Figure 4Take two groups of redundant frames as an example, namely redundant frame 1 and redundant frame 2. Redundant frame 1 and redundant frame 2 include the same data frames. Redundant frame 1 corresponds to the first preset virtual local area network and the first preset transmission path, and redundant frame 2 corresponds to the second preset virtual local area network and the second preset transmission path. The transmitting end may have multiple output ports. Redundant frame 1 may be transmitted to the receiving end through transmitting end port 1, according to the first preset virtual local area network and the first preset transmission path corresponding to redundant frame 1, and through relay end 1; redundant frame 2 may be transmitted to the receiving end through transmitting end port 2, according to the second preset virtual local area network and the second preset transmission path corresponding to redundant frame 2, and through relay end 2. The receiving end may have multiple input ports. The receiving end may receive redundant frame 1 through receiving end port 1, and receive redundant frame 2 through receiving end port 2. After receiving and identifying multiple groups of redundant frames transmitted through multiple preset virtual local area networks, the receiving end selects a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and performs data recovery processing on the recovery frame group. Figure 4 Taking two groups of redundant frames as an example, the receiving end receives and identifies redundant frame 1 transmitted through the first preset virtual LAN and redundant frame 2 transmitted through the second preset virtual LAN, selects one of the two groups of redundant frames as a recovery frame group, and performs data recovery processing on the recovery frame group.

[0083] It can be seen from the above-mentioned embodiments of the data processing method provided by the present invention that the sending end of the embodiment of the present invention copies the key data frames in the target data stream to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks one by one; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; based on the preset virtual local area networks corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to the receiving end. The receiving end of the embodiment of the present invention receives and identifies multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond to the multiple preset virtual local area networks one by one, and the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; a group of redundant frames is selected from the multiple groups of redundant frames as a recovery frame group, and data recovery processing is performed on the recovery frame group. The technical solution provided in the embodiments of this specification obtains multiple groups of redundant frames by replicating key data frames, and then transmits the multiple groups of redundant frames through preset virtual local area networks corresponding to them one by one. Since the nodes in each preset virtual local area network do not form a ring network structure, broadcast storms can be avoided. At the same time, the reliability of data transmission is guaranteed by replicating and separately transmitting multiple groups of key data frames.

[0084] The embodiment of the present invention also provides a data processing device, such as Figure 5As shown, it is a structural schematic diagram of a data processing device applied to a sending end provided by an embodiment of the present invention; specifically, the device includes:

[0085] The duplication module 510 is used to duplicate the key data frames in the target data stream to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0086] The sending module 520 is used to send the multiple groups of redundant frames to the receiving end based on the preset virtual local area networks corresponding to the multiple groups of redundant frames respectively.

[0087] In the embodiment of this specification, the device also includes:

[0088] The identification module is used to identify the target data stream and determine the key data frame in the target data stream.

[0089] In the embodiment of this specification, the sending module 520 includes:

[0090] The sending unit is used to send the multiple groups of redundant frames to the receiving end based on the preset sending paths respectively corresponding to the multiple preset virtual local area networks.

[0091] The embodiment of the present invention also provides another data processing device, such as Figure 6 As shown, it is a structural schematic diagram of a data processing device applied to a receiving end provided by an embodiment of the present invention; specifically, the device includes:

[0092] The receiving module 610 is used to receive and identify multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond to the multiple preset virtual local area networks one by one, the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure;

[0093] The recovery module 620 is configured to select a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and perform data recovery processing on the recovery frame group.

[0094] In the embodiment of this specification, the recovery module 620 includes:

[0095] A first deduplication unit is used to perform intra-group data frame deduplication processing on the multiple groups of redundant frames respectively to obtain multiple groups of redundant frames after processing;

[0096] The second deduplication unit is used to perform redundant frame group deduplication processing on the processed multiple groups of redundant frames to obtain the restored frame group; the restored frame group is a group of redundant frames in the processed multiple groups of redundant frames.

[0097] An embodiment of the present invention also provides an electronic device, comprising a processor and a memory; the memory stores one or more instructions, and the one or more instructions are suitable for the processor to load and execute to implement the data processing method as described in the above method embodiment.

[0098] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.

[0099] Figure 7 Schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The internal structure of the electronic device may include but is not limited to: a processor 701, a memory 702, and a communication interface 703, wherein the processor 701, the memory 702, and the communication interface 703 in the electronic device may be connected by a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0100] Among them, the processor 701 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device. The communication interface 703 is used for communication between the memory 702 and the processor 701. The memory 702 (Memory) is used to store programs and data. It can be understood that the memory here can be a high-speed RAM storage device or a non-volatile storage device (non-volatile memory), such as at least one disk storage device; optionally, it can also be at least one storage device located away from the aforementioned processor. The memory provides a storage space, which stores the operating system of the electronic device, which may include but is not limited to: Windows system (an operating system), Linux system (an operating system), etc., and the present invention does not limit this; and, a computer program (including program code) suitable for being loaded and executed by the processor is also stored in the storage space. In the embodiment of this specification, the processor 701 loads and executes the computer program stored in the memory 702 to implement the data processing method provided in the above method embodiment.

[0101] An embodiment of the present invention also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction, at least one program, code set or instruction set related to a data processing method in an embodiment of the method. The at least one instruction, the at least one program, the code set or instruction set can be loaded and executed by a processor of the electronic device to implement the data processing method provided by the above-mentioned method embodiment.

[0102] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0103] It should be noted that the sequence of the embodiments of the present invention described above is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0104] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0105] Those skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0106] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A data processing method, characterized in that: Applied to the sending end, the method includes: The key data frames in the target data stream are copied to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; Based on the preset virtual local area networks respectively corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to a receiving end.

2. The data processing method according to claim 1, characterized in that: Before copying the key data frames in the target data stream, the method further includes: The target data stream is identified to determine the key data frame in the target data stream.

3. The data processing method according to claim 1, characterized in that: Each of the preset virtual local area networks includes a plurality of nodes, and the plurality of nodes in each of the preset virtual local area networks form a preset sending path; The sending the plurality of groups of redundant frames to a receiving end based on the preset virtual local area networks respectively corresponding to the plurality of groups of redundant frames comprises: Based on the preset sending paths respectively corresponding to the multiple preset virtual local area networks, the multiple groups of redundant frames are sent to the receiving end.

4. A data processing method, characterized in that: Applied to the receiving end, the method includes: Receive and identify multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond one-to-one to the multiple preset virtual local area networks, the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; A group of redundant frames is selected from the multiple groups of redundant frames as a recovery frame group, and data recovery processing is performed on the recovery frame group.

5. The data processing method according to claim 4, characterized in that: The step of selecting a group of redundant frames from the multiple groups of redundant frames as a recovery frame group comprises: Performing intra-group data frame deduplication processing on the multiple groups of redundant frames respectively to obtain multiple groups of processed redundant frames; The processed multiple groups of redundant frames are subjected to redundant frame group deduplication processing to obtain the restored frame group; the restored frame group is a group of redundant frames in the processed multiple groups of redundant frames.

6. A data processing device, characterized in that: Applied to a transmitting end, the device comprises: A duplication module, used for duplicating key data frames in a target data stream to obtain multiple groups of redundant frames corresponding to a plurality of preset virtual local area networks; the plurality of preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; The sending module is used to send the multiple groups of redundant frames to a receiving end based on the preset virtual local area networks corresponding to the multiple groups of redundant frames respectively.

7. A data processing device, characterized in that: Applied to a receiving end, the device comprises: A receiving module, configured to receive and identify a plurality of groups of redundant frames transmitted through a plurality of preset virtual local area networks; the plurality of groups of redundant frames correspond one to one with the plurality of preset virtual local area networks, the plurality of preset virtual local area networks are obtained by dividing a target network, and the nodes included in each preset virtual local area network do not form a ring network structure; The recovery module is used to select a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and perform data recovery processing on the recovery frame group.

8. A data processing system, characterized in that: Comprising a transmitting end, a receiving end and a relay end, the system comprises: The sending end is used to copy the key data frames in the target data stream to obtain multiple groups of redundant frames corresponding to multiple preset virtual local area networks; the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; based on the preset virtual local area networks corresponding to the multiple groups of redundant frames, the multiple groups of redundant frames are sent to the receiving end; The receiving end is used to receive and identify multiple groups of redundant frames transmitted through multiple preset virtual local area networks; the multiple groups of redundant frames correspond to the multiple preset virtual local area networks one by one, the multiple preset virtual local area networks are obtained by dividing the target network, and the nodes included in each preset virtual local area network do not form a ring network structure; select a group of redundant frames from the multiple groups of redundant frames as a recovery frame group, and perform data recovery processing on the recovery frame group; The relay end is used to receive the multiple groups of redundant frames sent by the sending end and forward the multiple groups of redundant frames to the receiving end based on the preset virtual local area networks respectively corresponding to the multiple groups of redundant frames.

9. An electronic device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the data processing method according to claims 1-5.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the data processing method according to claims 1-5.