Determination Method and Device of Data Transmission Network, and Computer-Readable Storage Medium
By obtaining and comparing the timestamps of multiple transmission networks in the open-pit mine, the target network is determined for data transmission, and the problem of poor stability of 4G and 5G networks in the open-pit mine is solved, and the stability and accuracy of data transmission are achieved.
Patent Information
- Application Number
- CN202211020388.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-08-24
AI Technical Summary
In scenarios where the terrain of open-pit mines changes rapidly and the mining and propulsion speed is fast, when data transmission is simply using 4G private network or 5G network, there are blind spots in network coverage and single-point network failures, resulting in data interruption and affecting the stability of the mine card unmanned driving system.
By obtaining the historical timestamps of the data to be transmitted under multiple transmission networks, judging and comparing the timestamps, determining the target network for data transmission, and using 4G and 5G networks to transmit data in vehicles to ensure the latest and stable data selection.
It improves the stability of network data transmission in open-pit mine production, reduces the impact of network single-point failure on the unmanned driving system of mine card, and ensures the accuracy and stability of vehicle-site data transmission.
Smart Images

Figure CN115426678B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular, to a method and apparatus for determining a data transmission network, and a computer-readable storage medium. Background Art
[0002] In the face of scenarios where the terrain of open-pit mines changes rapidly and the excavation and advancement speed is fast, simply using a 4G private network or a 5G network for data transmission will inevitably result in data interruption due to network coverage blind spots, and the impact of a single-point network failure on the operation of the mining truck driverless system is huge, thus having a huge impact on the production of open-pit mines.
[0003] In response to the above problems, no effective solution has been proposed yet. Summary of the Invention
[0004] Embodiments of the present invention provide a method and apparatus for determining a data transmission network, and a computer-readable storage medium, so as to at least solve the technical problem of poor stability of single-point network transmission during open-pit production in related technologies.
[0005] According to one aspect of the embodiments of the present invention, a method for determining a data transmission network is provided, including: obtaining a plurality of historical timestamps of data to be transmitted under a plurality of transmission networks, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network; determining whether the plurality of historical timestamps are zero and obtaining a plurality of first determination results; based on the plurality of first determination results, comparing the timestamps of the plurality of transmission networks to obtain a comparison result, where the timestamp includes the historical timestamp and / or the current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network; and determining a target network based on the comparison result, where the target network is one of the plurality of transmission networks.
[0006] Optionally, before obtaining a plurality of historical timestamps of data to be transmitted under a plurality of networks, the method further includes: performing an operation of adding a timestamp to the header of the data to be transmitted; and inputting the data to be transmitted into a plurality of transmission networks through a first target system, where the first target system at least includes: a vehicle-mounted system and a ground system.
[0007] Optionally, compare the current timestamps of the multiple transmission networks based on the multiple first determination results to obtain a comparison result, including: when the first determination result is that the historical timestamp is zero, obtain the current timestamp in the transmission network, and compare the current timestamps of any two different transmission networks among the multiple transmission networks to obtain the comparison result; when the first determination result is that the historical timestamp is not zero, obtain the current timestamp of the transmission network, compare the current timestamp of the same transmission network with the historical timestamp to obtain a first comparison result, process the current timestamp based on the first comparison result, and compare the current timestamps of any two different transmission networks among the multiple transmission networks based on the processing result to obtain the comparison result.
[0008] Optionally, process the current timestamp based on the first comparison result, including: when the first comparison result is that the current timestamp is greater than the historical timestamp, destroy the data to be transmitted.
[0009] Optionally, after determining the target network, the method further includes: using the target network to transmit the data to be transmitted to a second target system, where the second target system at least includes: a vehicle-mounted system and a ground system.
[0010] Optionally, determine the target network based on the comparison result, including: when the current timestamp of the transmission network is greater than the current timestamps of other transmission networks, determine the transmission network as the target network.
[0011] Optionally, the transmission network at least includes: a 4G transmission network and a 5G transmission network at the same time.
[0012] According to another aspect of the embodiments of the present invention, there is also provided a device for determining a data transmission network, including: an acquisition module, configured to acquire multiple historical timestamps of data to be transmitted under multiple transmission networks, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network; a judgment module, configured to judge whether the multiple historical timestamps are zero and obtain multiple first judgment results; a comparison module, configured to compare the timestamps of the multiple transmission networks based on the multiple first judgment results to obtain a comparison result, where the timestamp includes the historical timestamp and / or the current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network; a determination module, configured to determine a target network based on the comparison result, where the target network is one of the multiple transmission networks.
[0013] Optionally, before obtaining multiple historical timestamps of the data to be transmitted under multiple networks, the device further includes: an adding module, configured to perform an operation of adding a timestamp to the header of the data to be transmitted; input the data to be transmitted into multiple transmission networks through a first target system, where the first target system at least includes: a vehicle-mounted system, a ground system.
[0014] Optionally, based on the multiple first determination results, compare the current timestamps of the multiple transmission networks to obtain a comparison result, including: when the first determination result is that the historical timestamp is zero, obtain the current timestamp in the transmission network, compare the current timestamps of any two different transmission networks among the multiple transmission networks to obtain the comparison result; when the first determination result is that the historical timestamp is not zero, obtain the current timestamp of the transmission network, compare the current timestamp of the same transmission network with the historical timestamp to obtain a first comparison result, process the current timestamp based on the first comparison result, and based on the processing result, compare the current timestamps of any two different transmission networks among the multiple transmission networks to obtain the comparison result.
[0015] Optionally, processing the current timestamp based on the first comparison result includes: when the first comparison result is that the current timestamp is less than the historical timestamp, destroy the data to be transmitted.
[0016] Optionally, after determining the target network, the device further includes: using the target network to transmit the data to be transmitted to a second target system, where the second target system at least includes: a vehicle-mounted system, a ground system.
[0017] Optionally, based on the comparison result, determining the target network includes: when the current timestamp of the transmission network is greater than the current timestamps of other transmission networks, determine the transmission network as the target network.
[0018] Optionally, the transmission network at least simultaneously includes: a 4G transmission network and a 5G transmission network.
[0019] According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program is run by a processor, it controls the device where the computer-readable storage medium is located to execute any one of the above methods for determining a data transmission network.
[0020] According to another aspect of the embodiments of the present invention, a processor is further provided, and the processor is used to run a computer program. When the computer program runs, it executes the method for determining any one of the above data transmission networks.
[0021] In the embodiments of the present invention, a plurality of historical timestamps of the data to be transmitted under a plurality of transmission networks are obtained, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network; it is determined whether the plurality of historical timestamps are zero and a plurality of first determination results are obtained; based on the plurality of first determination results, the timestamps of the plurality of transmission networks are compared to obtain a comparison result, where the timestamp includes a historical timestamp and / or a current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network; based on the comparison result, a target network is determined, where the target network is one of the plurality of transmission networks. Through the method for determining a data transmission network provided by the embodiments of the present invention, the purpose of determining which communication network to use for data transmission by inputting transmission data into multiple different communication networks and then comparing the corresponding timestamps of the multiple different communication networks is achieved, thereby realizing the technical effect of improving the stability of network data transmission, and further solving the technical problem of poor transmission stability of using a single-point network during open-pit production in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings described herein are used to provide a further understanding of the present invention, and constitute a part of this application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:
[0023] Figure 1 is a flowchart of the method for determining a data transmission network according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of data selection from a vehicle-mounted system to a ground system according to an embodiment of the present invention;
[0025] Figure 3 is a schematic diagram of data selection from a ground system to a vehicle-mounted system according to an embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of the device for determining a data transmission network according to an embodiment of the present invention; DETAILED DESCRIPTION OF THE EMBODIMENTS
[0027] To enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solution in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned accompanying drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order different from those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0029] Embodiment 1
[0030] According to an embodiment of the present invention, a method embodiment of a method for determining a data transmission network is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here.
[0031] Figure 1 is a flowchart of a method for determining a data transmission network according to an embodiment of the present invention, as Figure 1 shown, the method includes the following steps:
[0032] Step S102, obtaining multiple historical timestamps of the data to be transmitted under multiple transmission networks, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network;
[0033] As an optional embodiment, before obtaining multiple historical timestamps of the data to be transmitted under multiple networks, the method further includes: performing an operation of adding a timestamp to the header of the data to be transmitted; inputting the data to be transmitted into multiple transmission networks through a first target system, where the first target system at least includes: a vehicle-mounted system, a ground system.
[0034] In the above optional embodiments, it is specifically divided into two cases: First, when the ground system sends data, a timestamp is added to the data header (or other parts). The timestamp occupies 10 bytes of space. The timestamp is the total number of milliseconds from 00:00:00 on January 1, 1970 Greenwich Mean Time (08:00:00 on January 1, 1970 Beijing Time) to the present. It will not generate duplicates and also avoids the overflow and clearing of life signals and frame sequence numbers, providing a more convenient judgment method for the vehicle-mounted system to select and discard data.
[0035] Second, when the vehicle-mounted system sends data, a timestamp is added to the data header (or other parts). The timestamp occupies 10 bytes of space. The timestamp is the total number of milliseconds from 00:00:00 on January 1, 1970 Greenwich Mean Time (08:00:00 on January 1, 1970 Beijing Time) to the present. It will not generate duplicates and also avoids the overflow and clearing of life signals and frame sequence numbers, providing a more convenient judgment method for the ground system to select and discard data.
[0036] Optionally, embodiments of the present invention can use frame sequence numbers 0 - 65535 as the basis for data selection. Other frame sequence numbers, such as 0 - 210, 0 - 220, etc., can also achieve data selection using the same principle.
[0037] Optionally, the data selection method of the embodiments of the present invention is based on the premise that the single-packet transmission delay time difference between the 4G private network and the 5G network does not exceed 5 s, and there is no loss of 25 consecutive packets in the 4G private network and the 5G network. If this premise is changed to other parameters, the corresponding frame sequence number range of the data selection method can also achieve the same result after corresponding changes.
[0038] Step S104, determine whether multiple historical timestamps are zero and obtain multiple first determination results;
[0039] Step S106, based on the multiple first determination results, compare the timestamps of multiple transmission networks to obtain a comparison result, where the timestamp includes a historical timestamp and / or a current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted is input to the transmission network.
[0040] As an alternative embodiment, based on multiple first judgment results, the timestamps of multiple transmission networks are compared to obtain a comparison result, including: when the first judgment result is that the historical timestamp is zero, obtaining the current timestamp in the transmission network, comparing the current timestamps of any two different transmission networks among the multiple transmission networks to obtain a comparison result; when the first judgment result is that the historical timestamp is not zero, obtaining the current timestamp in the transmission network, comparing the current timestamp of the same transmission network with the historical timestamp to obtain a first comparison result, processing the current timestamp based on the first comparison result, and comparing the current timestamps of any two different transmission networks among the multiple transmission networks based on the processing result to obtain a comparison result.
[0041] In the above alternative embodiment, after the vehicle-mounted system is powered on, the storage space representing the reception timestamp of the previous frame of data is default set to zero. After the vehicle-mounted system receives the data frames of two ground systems, the timestamps of the two data frames are respectively extracted. If the reception timestamp of the previous frame of data is 0 at this time, it means that this data frame is the first frame of data received by this channel. The timestamps of the two data frames are respectively compared, and the data frame with the larger timestamp is taken as the real data frame for reception and processing, and the data frame with the smaller timestamp is discarded.
[0042] Similarly, after the ground system is powered on, the storage space representing the reception timestamp of the previous frame of data is default set to zero. After the ground system receives the data frames of two vehicle-mounted systems, the timestamps of the two data frames are respectively extracted. If the reception timestamp of the previous frame of data is 0 at this time, it means that this data frame is the first frame of data received by this channel. The timestamps of the two data frames are respectively compared, and the data frame with the larger timestamp is taken as the real data frame for reception and processing, and the data frame with the smaller timestamp is discarded.
[0043] As an alternative embodiment, processing the current timestamp based on the first comparison result includes: when the first comparison result is that the current timestamp is less than the historical timestamp, destroying the data to be transmitted.
[0044] In the above alternative embodiment, after the vehicle-mounted system receives the subsequent data frames of two ground systems, the timestamps of the two data frames are respectively extracted and compared with the timestamps of the previous frames of the two data frames. If the timestamp of this frame is larger than the timestamp of the previous frame, then this frame is the latest data frame of this channel. After the latest data frames of the 4G and 5G channels are determined, the timestamps of the two channels are compared, and the data frame with the larger timestamp is taken as the real data frame for reception and processing.
[0045] After receiving the subsequent data frames of the two vehicle-mounted systems, the same ground system extracts the timestamps of the two data frames respectively, and compares them with the timestamps of the previous frames of the two data frames. If the timestamp of this frame is larger than the timestamp of the previous frame, then this frame is the latest data frame of this channel. After the latest data frames of the 4G and 5G channels are determined, compare the timestamps of the two channels, and take the data frame with the larger timestamp as the real data frame for reception and processing.
[0046] Step S108, based on the comparison result, determine the target network, where the target network is one of multiple transmission networks.
[0047] As an optional embodiment, after determining the target network, the method further includes: using the target network to transmit the data to be transmitted to the second target system, where the second target system at least includes: a vehicle-mounted system, a ground system.
[0048] As an optional embodiment, based on the comparison result, determining the target network includes: when the current timestamp of the transmission network is greater than the current timestamps of other transmission networks, determining the transmission network as the target network.
[0049] As an optional embodiment, the transmission network at least includes: a 4G transmission network and a 5G transmission network at the same time.
[0050] As can be seen from the above, in the embodiment of the present invention, first, multiple historical timestamps of the data to be transmitted under multiple transmission networks can be obtained, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network; then it can be judged whether the multiple historical timestamps are zero and multiple first judgment results are obtained; then based on the multiple first judgment results, the timestamps of the multiple transmission networks can be compared to obtain a comparison result, where the timestamp includes a historical timestamp and / or a current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network; finally, based on the comparison result, the target network can be determined, where the target network is one of multiple transmission networks. Through the method for determining a data transmission network provided by the embodiment of the present invention, the purpose of determining which communication network to use for data transmission by inputting the transmission data into multiple different communication networks and then comparing the timestamps corresponding to the multiple different communication networks is achieved, thereby realizing the technical effect of improving the stability of network data transmission, and further solving the technical problem of poor transmission stability of using a single-point network during open-pit production in related technologies.
[0051] Therefore, the embodiments of the present invention mainly have the following improvements and innovations:
[0052] 1. The 4G private network and 5G network are used simultaneously for vehicle-ground data transmission, reducing the blind area of the open-pit mine network coverage, reducing the impact of network single-point failures on the unmanned truck system, and greatly increasing the stability of vehicle-ground data transmission.
[0053] 2. The timestamp mechanism is used to select the 4G private network data, 5G network data, and dual-channel data, ensuring that the data received by the ground system and the vehicle-mounted system is the latest data and ensuring the control accuracy of the mining trucks.
[0054] Embodiment 2
[0055] According to another aspect of the embodiments of the present invention, a device for determining a data transmission network is also provided. Figure 4 It is a schematic diagram of the device for determining the data transmission network according to the embodiments of the present invention, as Figure 4 shown, including: an acquisition module 41, a judgment module 43, a comparison module 45, and a determination module 47. The device for determining the data transmission network will be described below.
[0056] The acquisition module 41 is used to acquire multiple historical timestamps of the data to be transmitted under multiple transmission networks, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network;
[0057] The judgment module 43 is used to judge whether the multiple historical timestamps are zero and obtain multiple first judgment results;
[0058] The comparison module 45 is used to compare the timestamps of the multiple transmission networks based on the multiple first judgment results to obtain a comparison result, where the timestamp includes the historical timestamp and / or the current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network;
[0059] The determination module 47 is used to determine the target network based on the comparison result, where the target network is one of the multiple transmission networks.
[0060] It should be noted here that the above acquisition module 41, judgment module 43, comparison module 45, and determination module 47 correspond to steps S102 to S108 in Embodiment 1. The above modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the content disclosed in the above Embodiment 1. It should be noted that the above modules, as part of the device, can be executed in a computer system such as a set of computer-executable instructions.
[0061] As can be seen from the above, in the embodiment of the present invention, first, the acquisition module 41 can be used to acquire multiple historical timestamps of the data to be transmitted under multiple transmission networks, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network; then, the judgment module 43 can be used to judge whether the multiple historical timestamps are zero and obtain multiple first judgment results; then, the comparison module 45 can be used to compare the timestamps of the multiple transmission networks based on the multiple first judgment results to obtain a comparison result, where the timestamp includes a historical timestamp and / or a current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network; finally, the determination module 47 can be used to determine the target network based on the comparison result, where the target network is one of the multiple transmission networks. Through the data transmission network determination device provided by the embodiment of the present invention, the purpose of determining which communication network to use for data transmission by inputting the transmission data into multiple different communication networks and then comparing the timestamps corresponding to the multiple different communication networks is achieved, thereby realizing the technical effect of improving the stability of network data transmission, and further solving the technical problem of poor transmission stability of using a single-point network during open-pit production in the related art.
[0062] As an optional embodiment, before acquiring multiple historical timestamps of the data to be transmitted under multiple networks, the device further includes: an adding module, configured to perform an operation of adding a timestamp to the header of the data to be transmitted; and inputting the data to be transmitted into multiple transmission networks through a first target system, where the first target system at least includes: a vehicle-mounted system and a ground system.
[0063] As an optional embodiment, comparing the current timestamps of the multiple transmission networks based on the multiple first judgment results to obtain a comparison result includes: when the first judgment result is that the historical timestamp is zero, acquiring the current timestamp in the transmission network, and comparing the current timestamps of any two different transmission networks in the multiple transmission networks to obtain a comparison result; when the first judgment result is that the historical timestamp is not zero, acquiring the current timestamp of the transmission network, comparing the current timestamp of the same transmission network with the historical timestamp to obtain a first comparison result, processing the current timestamp based on the first comparison result, and comparing the current timestamps of any two different transmission networks in the multiple transmission networks based on the processing result to obtain a comparison result.
[0064] As an optional embodiment, processing the current timestamp based on the first comparison result includes: when the first comparison result is that the current timestamp is less than the historical timestamp, destroying the data to be transmitted.
[0065] As an alternative embodiment, after determining the target network, the apparatus further includes: using the target network to transmit the data to be transmitted to a second target system, where the second target system at least includes: a vehicle-mounted system and a ground system.
[0066] As an alternative embodiment, based on the comparison result, determining the target network includes: when the current timestamp of the transmission network is greater than the current timestamp of other transmission networks, determining the transmission network as the target network.
[0067] As an alternative embodiment, the transmission network at least includes: a 4G transmission network and a 5G transmission network at the same time.
[0068] Embodiment 3
[0069] According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program is run by a processor, it controls the device where the computer-readable storage medium is located to execute the method for determining any one of the above data transmission networks.
[0070] Embodiment 4
[0071] According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is used to run a computer program, and when the computer program runs, it executes the method for determining any one of the above data transmission networks.
[0072] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0073] In the above embodiments of the present invention, the descriptions of the respective embodiments have their own emphases. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0074] In the several embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of the units can be a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the units or modules can be in an electrical or other form.
[0075] The unit described as a separating component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed over multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0076] In addition, each functional unit in various embodiments of the present invention may be integrated in a processing unit, may exist physically separately for each unit, or two or more units may be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0077] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks or optical discs and other various media that can store program codes.
[0078] The above are only the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.
Claims
1. A method for determining a data transmission network, characterized in that, Including: Obtain multiple historical timestamps of the data to be transmitted under multiple transmission networks, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network; Judge whether the multiple historical timestamps are zero and obtain multiple first judgment results; Based on the multiple first judgment results, compare the timestamps of the multiple transmission networks to obtain a comparison result, where the timestamp includes the historical timestamp and / or the current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network; Based on the comparison result, determine the target network, where the target network is one of the multiple transmission networks; Based on the multiple first judgment results, compare the timestamps of the multiple transmission networks to obtain a comparison result, including: when the first judgment result is that the historical timestamp is zero, obtain the current timestamp in the transmission network, compare the current timestamps of any two different transmission networks among the multiple transmission networks to obtain the comparison result; when the first judgment result is that the historical timestamp is not zero, obtain the current timestamp of the transmission network, compare the current timestamp of the same transmission network with the historical timestamp to obtain a first comparison result, process the current timestamp based on the first comparison result, and based on the processing result, compare the current timestamps of any two different transmission networks among the multiple transmission networks to obtain the comparison result; Based on the comparison result, determine the target network, including: when the current timestamp of the transmission network is greater than the current timestamps of other transmission networks, determine the transmission network as the target network.
2. The method according to claim 1, wherein Before obtaining the multiple historical timestamps of the data to be transmitted under multiple networks, the method further includes: Perform an operation of adding a timestamp to the header of the data to be transmitted; Input the data to be transmitted into multiple transmission networks through a first target system, where the first target system at least includes: a vehicle-mounted system, a ground system.
3. The method according to claim 1, wherein Processing the current timestamp based on the first comparison result includes: When the first comparison result is that the current timestamp is less than the historical timestamp, destroy the data to be transmitted.
4. The method according to claim 1, wherein After determining the target network, the method further includes: Use the target network to transmit the data to be transmitted to a second target system, where the second target system at least includes: a vehicle-mounted system, a ground system.
5. The method according to any one of claims 1 to 4, characterized in that, The transmission network at least includes: a 4G transmission network and a 5G transmission network at the same time.
6. A determining device for a data transmission network, characterized in that Including: An acquisition module, configured to acquire multiple historical timestamps of the data to be transmitted under multiple transmission networks, where the historical timestamp is the timestamp of the previous frame before the data to be transmitted enters the transmission network; A judgment module, configured to judge whether the multiple historical timestamps are zero and obtain multiple first judgment results; A comparison module, configured to compare timestamps of the multiple transmission networks based on the multiple first judgment results to obtain a comparison result, where the timestamps include the historical timestamp and / or the current timestamp, and the current timestamp is the timestamp of the current frame when the data to be transmitted enters the transmission network; A determination module, configured to determine a target network based on the comparison result, where the target network is one of the multiple transmission networks; The comparison module is further configured to, when the first judgment result is that the historical timestamp is zero, obtain the current timestamp in the transmission network, compare the current timestamps of any two different transmission networks among the multiple transmission networks to obtain the comparison result; when the first judgment result is that the historical timestamp is not zero, obtain the current timestamp in the transmission network, compare the current timestamp of the same transmission network with the historical timestamp to obtain a first comparison result, process the current timestamp based on the first comparison result, and compare the current timestamps of any two different transmission networks among the multiple transmission networks based on the processing result to obtain the comparison result; The determination module is further configured to determine the transmission network as the target network when the current timestamp of the transmission network is greater than the current timestamps of other transmission networks.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, where when the computer program is run by a processor, it controls the device where the computer-readable storage medium is located to execute the method for determining a data transmission network according to any one of claims 1 to 5 above.
8. A processor, characterized in that, The processor is configured to run a computer program, where when the computer program runs, it executes the method for determining a data transmission network according to any one of claims 1 to 5 above.
Citation Information
Patent Citations
Method and device for selecting data transmission network
CN108174432A
Remote driving system and method of vehicle, electronic equipment and storage medium
CN113141415A