Data transmission method and device of bi-pass network, vehicle and electronic equipment
By selecting two wireless bearer links in the dual-pass network for data transmission according to the data type and preset policies, and dynamically adjusting according to real-time bandwidth, the problem of bandwidth limitation in dual-stop devices is solved, and data transmission performance is improved.
Patent Information
- Application Number
- CN202310760297.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2024-12-27
AI Technical Summary
In dual-card dual-pass mobile devices, when data transmission is performed via a wireless bearer link of a SIM card, upstream and downstream bandwidth resources are limited, resulting in low data transmission performance.
According to the type identification of the data to be sent and the preset forwarding strategy, the target wireless bearer link for the sent data is determined, and dynamically adjusted based on the real-time bearer bandwidth is realized to realize data shunt to improve transmission performance.
Through parallel transmission of two wireless bearer links, upstream and downstream bandwidth is improved and data transmission performance is significantly improved.
Smart Images

Figure CN119212008A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a data transmission method, device and electronic device for a dual-channel network. Background Art
[0002] At present, some mobile devices support dual-SIM dual-pass, that is, two subscriber identity modules (Subscriber Identity Module, SIM) can be built in at the same time. When using a mobile terminal supporting dual-SIM dual-pass for data transmission, usually only one SIM card's wireless bearer link is configured for data transmission and reception to save configuration cost and control cost. However, data transmission and reception via a SIM card's wireless bearer link may result in limited uplink and downlink bandwidth resources and low data transmission performance. Summary of the invention
[0003] The present disclosure provides a data transmission method, device, electronic device and storage medium for a dual-channel network, which is mainly intended to solve the problem of limited uplink and downlink bandwidth resources and low data transmission performance.
[0004] According to a first aspect of the present disclosure, a data transmission method for a dual-pass network is provided, comprising:
[0005] Determine a target wireless bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy; wherein the preset forwarding strategy records a correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-pass network;
[0006] Based on the target radio bearer link, the data to be sent is sent to a corresponding target address.
[0007] Optionally, before determining the target radio bearer link for sending the data to be sent according to the type identifier of the data to be sent and the preset forwarding strategy, the method further includes:
[0008] A data connection is established between the baseband and at least one host computer respectively; wherein the baseband includes two wireless bearer links in a dual-channel network, and the host computer includes at least one application; and the data connection is used to transfer the data to be sent generated by the application to the wireless bearer link.
[0009] Optionally, before respectively establishing data connections between the baseband and at least one host computer, the method further includes:
[0010] The wireless bearer links are respectively created based on the user identification cards corresponding to the dual-pass networks.
[0011] Optionally, the identification type includes at least one of a protocol type, a target address, a target port number, a source address, and a source port number, and the configuration method of the preset forwarding strategy includes:
[0012] According to the protocol type of the data to be sent, configuring the corresponding relationship between the protocol type and the radio bearer link;
[0013] or, configuring a correspondence between the target address and the radio bearer link according to the target address of the data to be sent;
[0014] or, configuring a correspondence between the target port number and the radio bearer link according to the target port number of the data to be sent;
[0015] or, configuring a correspondence between the source address and the radio bearer link according to the source address of the data to be sent;
[0016] or, configuring a correspondence between the source port number and the radio bearer link according to the source port number of the data to be sent;
[0017] The configured correspondence between the type identifier and the radio bearer link is saved in the preset forwarding strategy.
[0018] Optionally, the configuration method of the preset forwarding strategy also includes:
[0019] According to the application type of the target application, a corresponding relationship between the application type and the radio bearer link is configured, and the target application is used to generate the data to be sent.
[0020] Optionally, after sending the to-be-sent data to the corresponding target address based on the target radio bearer link, the method further includes:
[0021] Acquiring the real-time bearer bandwidth of the target wireless bearer link;
[0022] Based on the real-time bearer bandwidth and the preset diversion condition, determining whether to perform data diversion;
[0023] In the case where it is determined to perform data offloading, a preset proportion of the real-time bearer bandwidth in the target wireless bearer link is offloaded to another wireless bearer link in the dual-channel network.
[0024] Optionally, after sending the to-be-sent data to the corresponding target address based on the target radio bearer link, the method further includes:
[0025] Respectively obtaining the real-time bearer bandwidth of two wireless bearer links in the dual-channel network;
[0026] Determining whether to perform data offloading based on the real-time bearer bandwidths of the two wireless bearer links and the preset offloading conditions respectively;
[0027] In the case where it is determined to perform data offloading, the target radio bearer link is dynamically adjusted according to the real-time bearer bandwidths of the two radio bearer links.
[0028] Optionally, the determining whether to perform data offloading based on the real-time bearer bandwidths of the two wireless bearer links and the preset offloading conditions respectively includes:
[0029] Determining whether a difference in the real-time bearer bandwidth between the two wireless bearer links is greater than or equal to a preset difference threshold;
[0030] In the case where it is determined that the difference in the real-time bearer bandwidths between the two radio bearer links is greater than or equal to the preset difference threshold, determining to perform data splitting;
[0031] When it is determined that the difference in the real-time bearer bandwidths between the two wireless bearer links is less than the preset difference threshold, it is determined not to perform data offloading.
[0032] Optionally, the determining whether to perform data offloading based on the real-time bearer bandwidths of the two wireless bearer links and the preset offloading conditions respectively includes:
[0033] respectively determining whether the real-time bearer bandwidths of the two wireless bearer links are greater than or equal to a preset bearer threshold;
[0034] In the case where it is determined that the real-time bearer bandwidths of the two wireless bearer links are greater than or equal to the preset bearer threshold, determining to perform data offloading;
[0035] When it is determined that the real-time bearer bandwidths of the two wireless bearer links are less than the preset bearer threshold, it is determined not to perform data offloading.
[0036] According to a second aspect of the present disclosure, a data transmission device for a dual-channel network is provided, comprising:
[0037] A determination unit, configured to determine a target wireless bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy; wherein the preset forwarding strategy records a correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-pass network;
[0038] A sending unit is used to send the data to be sent to a corresponding target address based on the target wireless bearer link.
[0039] Optionally, the device further comprises:
[0040] An establishing unit is used to establish data connections between a baseband and at least one host computer before a determining unit determines a target wireless bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy; wherein the baseband includes two wireless bearer links in a dual-channel network, and the host computer includes at least one application; and the data connection is used to transfer the data to be sent generated by the application to the wireless bearer link.
[0041] Optionally, the device further comprises:
[0042] The creation unit is used to create the wireless bearer link based on the user identification card corresponding to the dual-channel network before the establishment unit respectively establishes the data connection between the baseband and at least one host computer.
[0043] Optionally, the identification type includes at least one of a protocol type, a target address, a target port number, a source address, and a source port number, and the device further includes:
[0044] A configuration unit, configured to configure a correspondence between the protocol type and the radio bearer link according to the protocol type of the data to be sent;
[0045] or, configuring a correspondence between the target address and the radio bearer link according to the target address of the data to be sent;
[0046] or, configuring a correspondence between the target port number and the radio bearer link according to the target port number of the data to be sent;
[0047] or, configuring a correspondence between the source address and the radio bearer link according to the source address of the data to be sent;
[0048] Or, according to the source port number of the data to be sent, configuring the corresponding relationship between the source port number and the radio bearer link;
[0049] The storage unit is used to store the configured corresponding relationship between the type identifier and the wireless bearer link in the preset forwarding strategy.
[0050] Optionally, the configuration unit is further used for:
[0051] According to the application type of the target application, a corresponding relationship between the application type and the wireless bearer link is configured, and the target application is used to generate the data to be sent.
[0052] Optionally, the device further comprises:
[0053] an acquiring unit, configured to acquire a real-time bearer bandwidth of the target wireless bearer link after the sending unit sends the data to be sent to the corresponding target address based on the target wireless bearer link;
[0054] A determination unit, configured to determine whether to perform data diversion based on the real-time bearer bandwidth and a preset diversion condition;
[0055] The traffic diversion unit is used to divert a preset proportion of the real-time bearer bandwidth in the target wireless bearer link to another wireless bearer link in the dual-channel network when it is determined to perform data diversion.
[0056] Optionally, the device further comprises:
[0057] The acquisition unit is further configured to respectively acquire the real-time bearer bandwidths of the two wireless bearer links in the dual-channel network after the sending unit sends the data to be sent to the corresponding target address based on the target wireless bearer link;
[0058] The judging unit is further configured to judge whether to perform data diversion based on the real-time bearer bandwidth of the two wireless bearer links and the preset diversion condition respectively;
[0059] The traffic splitting unit is further configured to dynamically adjust the target radio bearer link according to the real-time bearer bandwidths of the two radio bearer links when it is determined to perform data splitting.
[0060] Optionally, the judging unit includes:
[0061] A judging module, used to judge whether the difference of the real-time bearer bandwidth between the two wireless bearer links is greater than or equal to a preset difference threshold;
[0062] A first determining module, configured to determine to perform data splitting when it is determined that the difference in the real-time bearer bandwidth between the two wireless bearer links is greater than or equal to the preset difference threshold;
[0063] The second determining module is used to determine not to perform data splitting when it is determined that the difference in the real-time bearer bandwidth between the two wireless bearer links is less than the preset difference threshold.
[0064] Optionally, the judging unit further includes:
[0065] The judging module is further used to respectively judge whether the real-time bearer bandwidths of the two wireless bearer links are greater than or equal to a preset bearer threshold;
[0066] The first determining module is further configured to determine to perform data offloading when it is determined that the real-time bearer bandwidths of the two wireless bearer links are greater than or equal to the preset bearer threshold;
[0067] The second determining module is further configured to determine not to perform data offloading when it is determined that the real-time bearer bandwidths of the two wireless bearer links are less than the preset bearer threshold.
[0068] A third aspect of the present disclosure provides a system, including a baseband, at least one host computer, and a switch, wherein:
[0069] The host computer is used to generate data to be sent and send the data to be sent to the switch;
[0070] Wherein, the data to be sent is generated by each application in the host computer;
[0071] The switch is used to receive the data to be sent sent by each host computer, and send the data to be sent to the baseband;
[0072] The baseband is used to receive the information to be sent sent by the switch, and determine the target wireless bearer link for sending the data to be sent according to the type identifier of the data to be sent and the preset forwarding strategy; wherein the preset forwarding strategy records the correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-channel network; based on the target wireless bearer link, the data to be sent is sent to the corresponding target address.
[0073] According to a fourth aspect of the present disclosure, a vehicle is provided, the vehicle comprising the data transmission device of the dual-channel network according to the second aspect.
[0074] According to a fifth aspect of the present disclosure, there is provided an electronic device, including:
[0075] at least one processor; and
[0076] a memory communicatively connected to the at least one processor; wherein,
[0077] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.
[0078] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect above.
[0079] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0080] The data transmission method, device, electronic device and storage medium of the dual-pass network provided by the present disclosure mainly include the following technical solutions: according to the type identification of the data to be sent and the preset forwarding strategy, determine the target wireless bearer link for sending the data to be sent; wherein the preset forwarding strategy records the correspondence between the type identification and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in the dual-pass network; based on the target wireless bearer link, send the data to be sent to the corresponding target address. Compared with the related art, the wireless bearer link in the embodiment of the present application includes two wireless bearer links in the dual-pass network, by first determining the wireless bearer link corresponding to the data to be sent according to the preset forwarding strategy before data transmission, and sending the data to be sent according to the determined corresponding wireless bearer link; sending data through two wireless bearer links, supporting parallel transmission of data in the dual-pass network, with large uplink and downlink bandwidth and high data transmission performance.
[0081] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0083] Figure 1 A schematic diagram of a flow chart of a data transmission method of a dual-channel network provided in an embodiment of the present disclosure;
[0084] Figure 2 Figure 2 A communication system framework diagram provided in an embodiment of the present application;
[0085] Figure 3 A flowchart of another dual-channel network data transmission method provided by an embodiment of the present disclosure;
[0086] Figure 4 A flowchart of another dual-channel network data transmission method provided by an embodiment of the present disclosure;
[0087] Figure 5 A schematic diagram of the structure of a data transmission system of a dual-channel network provided in an embodiment of the present application;
[0088] Figure 6 A schematic diagram of the structure of a data transmission device for a dual-channel network provided in an embodiment of the present disclosure;
[0089] Figure 7A schematic diagram of the structure of another data transmission device for a dual-channel network provided in an embodiment of the present disclosure;
[0090] Figure 8 A schematic block diagram of an exemplary electronic device provided for an embodiment of the present disclosure. DETAILED DESCRIPTION
[0091] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0092] The following describes a data transmission method, device, electronic device, and storage medium for a dual-channel network according to an embodiment of the present disclosure with reference to the accompanying drawings.
[0093] Figure 1 A schematic diagram of a flow chart of a data transmission method for a dual-channel network provided in an embodiment of the present disclosure.
[0094] like Figure 1 As shown, the method is applied to the baseband of the vehicle and includes the following steps:
[0095] Step 101, determine the target wireless bearer link for sending the data to be sent according to the type identifier of the data to be sent and the preset forwarding strategy; wherein the preset forwarding strategy records the correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-channel network.
[0096] In one implementable method of an embodiment of the present application, a preset forwarding strategy is configured in advance, which includes a correspondence between a type identifier and a wireless bearer link. When there is data to be sent waiting to be forwarded, the corresponding target wireless bearer link is determined in the preset forwarding strategy according to the type identifier of the data to be sent.
[0097] In one implementable manner of the embodiment of the present application, the wireless bearer link is established based on the SIM card. One SIM card establishes a wireless bearer link. The wireless bearer link is not only used to transmit the data to be sent, but also can be used to receive data.
[0098] Step 102: Send the data to be sent to a corresponding target address based on the target radio bearer link.
[0099] In one possible implementation of the embodiment of the present application, the data to be sent includes an Internet Protocol (IP) address of a target server.
[0100] The data transmission method of the dual-pass network provided by the present disclosure has the following main technical solutions: according to the type identifier of the data to be sent and the preset forwarding strategy, the target wireless bearer link for sending the data to be sent is determined; wherein the preset forwarding strategy records the correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in the dual-pass network; based on the target wireless bearer link, the data to be sent is sent to the corresponding target address. Compared with the related art, the wireless bearer link in the embodiment of the present application includes two wireless bearer links in the dual-pass network, and before data transmission, the wireless bearer link corresponding to the data to be sent is first determined according to the preset forwarding strategy, and the data to be sent is sent according to the determined corresponding wireless bearer link; the data is sent through two wireless bearer links, supporting parallel transmission of data in the dual-pass network, with large uplink and downlink bandwidth and high data transmission performance.
[0101] In an implementable manner of the embodiment of the present application, before determining a target radio bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy, the method further includes:
[0102] A data connection is established between the baseband and at least one host computer respectively; wherein the baseband includes two wireless bearer links in a dual-channel network, and the host computer includes at least one application; and the data connection is used to transfer the data to be sent generated by the application to the wireless bearer link.
[0103] See also Figure 2 , Figure 2 A communication system framework diagram provided in an embodiment of the present application, such as Figure 2 As shown, if the host computer system needs to interact with the outside world for data, it needs to forward the data through the baseband system. If there is only one host computer system and one baseband system, no switch is required, and the connection between the host computer system and the baseband system can be directly established. When there are two or more host computer systems, it is necessary to establish communication between the host computer system and the baseband system according to the switch. The embodiment of the present application is explained by taking the number of host computer systems as 2 as an example. For example, there are currently entertainment screens and central control screens in vehicles. The entertainment screens and central control screens can be regarded as two different host computer systems, but these two host computer systems need to use the vehicle's baseband system to communicate with the outside world. However, it should be noted that this narrative method is only an exemplary description, and is not a specific limitation on the number of specific host computer systems. The embodiment of the present application does not limit this.
[0104] Please continue reading Figure 2 ,like Figure 2As shown, the wireless bearer link is created based on the user identification card corresponding to the dual-pass network. The wireless bearer link is a communication channel between the SIM card and the operator's base station, which is used to transmit / download data; wireless bearer A is established according to SIMA, and wireless bearer B is established according to SIMB. It should be noted that Figure 2 The wireless bearer in is the wireless bearer link in the embodiment of the present application.
[0105] In one possible implementation of the embodiment of the present application, before executing step 101 to determine the target wireless bearer link for sending the data to be sent according to the type identifier of the data to be sent and the preset forwarding strategy, it is necessary to configure the correspondence between the type identifier and the wireless bearer link, see Figure 3 , Figure 3 A schematic flow chart of a data transmission method for a dual-channel network provided in an embodiment of the present disclosure includes:
[0106] Step 201: configure the correspondence between the type identifier and the radio bearer link.
[0107] In one implementable manner of the embodiment of the present application, configuration can be performed according to different types of identifiers of the data to be sent, and the identifier type includes at least one of a protocol type, a target address, a target port number, a source address, and a source port number. For example: according to the protocol type of the data to be sent, the corresponding relationship between the protocol type and the wireless bearer link is configured; the protocol type is a transport layer protocol (TCP or UDP etc.), which can be used to distinguish different service types; and / or, according to the target address of the data to be sent, the corresponding relationship between the target address and the wireless bearer link is configured; the target address is a server IP address, which can be used to distinguish servers corresponding to different services; and / or, according to the target port number of the data to be sent, the corresponding relationship between the target port number and the wireless bearer link is configured; the target port number is a server port number, which is used to distinguish different service processes; please continue to refer to Figure 2 ,like Figure 2As shown, there may be different application units in the host computer system, and there may also be different business processes in a business unit. And / or, according to the source address of the data to be sent, the corresponding relationship between the source address and the wireless bearer link is configured; the source address is the source system IP address, which can be used to distinguish different host computer systems; and / or, according to the source port number of the data to be sent, the corresponding relationship between the source port number and the wireless bearer link is configured, and the source port number is the source system port number, which can be used to distinguish different business modules; in actual applications, the corresponding relationship between the type identifier and the wireless bearer link can be determined according to actual needs and network needs and at least one type mark, for example: according to different application protocols, the target port is configured to the corresponding wireless bearer link: HTTP protocol corresponds to wireless bearer link A, and FTP protocol corresponds to wireless bearer link B; according to different service types, the target port is configured to the corresponding link: Web service corresponds to wireless bearer link A, and database service corresponds to wireless bearer link B; it should be noted that this narrative method is only an exemplary description, and is not a limitation on the specific configuration method. The specific rules and configuration methods may vary depending on the network equipment and network management system. In actual configuration, corresponding configuration and adjustment can be performed according to the specific network environment and needs, combined with the functions of the network equipment and the support of management tools.
[0108] In one possible implementation method of the embodiment of the present application, the correspondence between the type identifier and the wireless bearer link can also be configured according to the following method: according to the application type of the target application, the correspondence between the application type and the wireless bearer link is configured, and the target application is used to generate the data to be sent.
[0109] Some application units will be pre-installed in the host computer system when it leaves the factory. Subsequent users can download the applications they need according to actual needs when using them. Therefore, the correspondence between the application units and the wireless bearer links can also be configured according to the source of the application units. For example: the applications pre-installed by the system use the same wireless bearer link, and the applications downloaded by the user use another wireless bearer link, etc. Specifically, the embodiment of the present application does not limit the correspondence between the identification type and the wireless bearer link.
[0110] In the implementable method of the embodiment of the present application, different business modules in the same host computer system application unit can be transmitted through different wireless bearer links, and application units in different host computer systems can be transmitted through the same or different wireless bearer links; specifically, it varies according to the configuration of the matching identification, and the embodiment of the present application does not limit this.
[0111] Step 202: Save the configured correspondence between the type identifier and the radio bearer link into the preset forwarding strategy.
[0112] The configured correspondence is saved in the preset forwarding strategy for direct calling during application.
[0113] In one possible implementation of the embodiment of the present application, the correspondence between the type identifier and the wireless bearer link is pre-configured. In actual applications, it may happen that the target wireless bearer link corresponding to the data type of each data to be sent is the same wireless bearer link, while there is no data in the other wireless bearer link. Therefore, after the data to be sent is sent to the corresponding target address based on the target wireless bearer link, it is necessary to monitor the data traffic in the two wireless bearer links to realize dynamic data diversion. Please refer to Figure 4 , Figure 4 A schematic flow chart of a data transmission method for a dual-channel network provided in an embodiment of the present disclosure includes:
[0114] Step 301, respectively obtain the real-time bearer bandwidth of two wireless bearer links in the dual-channel network.
[0115] The bearer bandwidth is the amount of data sent by the wireless bearer link at the same time. The amount of data that can be transmitted by a wireless bearer link per unit time is limited, which is related to the device performance of the device and is not limited in the embodiments of the present application.
[0116] Step 302: determining whether to perform data offloading based on the real-time bearer bandwidths of the two wireless bearer links and the preset offloading conditions.
[0117] When determining whether to perform data diversion based on the real-time bearer bandwidth of two wireless bearer links and the preset diversion conditions, the determination may be made based on the maximum bearer bandwidth of the wireless bearer link, or based on the bearer difference between the two wireless bearer links, such as determining whether the difference in the real-time bearer bandwidth between the two wireless bearer links is greater than or equal to a preset difference threshold; or, respectively determining whether the real-time bearer bandwidth of the two wireless bearer links is greater than or equal to a preset bearer threshold; specifically, the embodiments of the present application do not limit the preset diversion conditions.
[0118] Step 303: When it is determined to perform data offloading, dynamically adjust the target radio bearer link according to the real-time bearer bandwidths of the two radio bearer links.
[0119] When it is determined that the difference in the real-time bearer bandwidth between the two wireless bearer links is greater than or equal to the preset difference threshold, it is determined to perform data splitting; or, when it is determined that the real-time bearer bandwidth of the two wireless bearer links is greater than or equal to the preset bearer threshold, it is determined to perform data splitting.
[0120] In one implementable method of an embodiment of the present application, after determining to perform data diversion, after receiving the data to be sent, the corresponding wireless bearer link is no longer determined according to the type identifier, but is determined according to the real-time bearer bandwidth of the wireless bearer link. For example, if the bearer bandwidth of wireless bearer link A is 60%, the bearer bandwidth of wireless bearer link B is 90%, and it is determined to perform data diversion, after receiving the data to be sent, the wireless bearer link is not determined according to the type identifier, and is directly transmitted through wireless bearer link A until it is determined that data diversion does not need to be performed, and then the wireless bearer link is determined according to the type identifier of the data to be sent.
[0121] In one possible implementation of the embodiment of the present application, after sending the data to be sent to the corresponding target address based on the target wireless bearer link in step 102, it is also necessary to monitor the real-time bearer bandwidth of the target wireless bearer link: obtain the real-time bearer bandwidth of the target wireless bearer link; based on the real-time bearer bandwidth and the preset diversion condition, determine whether to perform data diversion; if it is determined to perform data diversion, divert a preset proportion of the real-time bearer bandwidth in the target wireless bearer link to another wireless bearer link in the dual-pass network.
[0122] In one implementable manner of the embodiment of the present application, when it is determined that the difference in the real-time bearer bandwidth between the two wireless bearer links is less than the preset difference threshold, it is determined not to perform data offloading; or, when it is determined that the real-time bearer bandwidth of the two wireless bearer links is less than the preset bearer threshold, it is determined not to perform data offloading.
[0123] To facilitate understanding of the interaction between the baseband, host computer, and switch in the embodiment of the present application, please refer to Figure 5 , Figure 5 A schematic diagram of a data transmission system for a dual-channel network provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, including:
[0124] The host computer 41 is used to generate data to be sent and send the data to be sent to the switch 42; wherein the data to be sent is generated by each application in the host computer 42.
[0125] The switch 42 is used to receive the data to be sent from each host computer 41, and send the data to be sent to the baseband 43; it should be noted that Figure 5 Only one host computer is used to illustrate the interaction between the baseband, the host computer, and the switch, but this description method does not limit the number of specific host computers. The embodiment of the present application does not limit the number of host computers.
[0126] The baseband 43 is used to receive the information to be sent sent by the switch 42, and determine the target wireless bearer link for sending the data to be sent according to the type identifier of the data to be sent and the preset forwarding strategy; wherein the preset forwarding strategy records the correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-channel network; based on the target wireless bearer link, the data to be sent is sent to the corresponding target address.
[0127] Corresponding to the above dual-channel network data transmission method, the present invention also provides a dual-channel network data transmission device. Since the device embodiment of the present invention corresponds to the above method embodiment, the details not disclosed in the device embodiment can be referred to the above method embodiment, and will not be repeated in the present invention.
[0128] Figure 6 A schematic diagram of a data transmission device for a dual-channel network provided in an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, including:
[0129] A determination unit 51 is used to determine a target wireless bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy; wherein the preset forwarding strategy records a correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-pass network;
[0130] The sending unit 52 is used to send the to-be-sent data to a corresponding target address based on the target radio bearer link.
[0131] The data transmission device of the dual-pass network provided by the present disclosure has the following main technical solutions: according to the type identifier of the data to be sent and the preset forwarding strategy, the target wireless bearer link for sending the data to be sent is determined; wherein the preset forwarding strategy records the correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in the dual-pass network; based on the target wireless bearer link, the data to be sent is sent to the corresponding target address. Compared with the related art, the wireless bearer link in the embodiment of the present application includes two wireless bearer links in the dual-pass network, and before data transmission, the wireless bearer link corresponding to the data to be sent is first determined according to the preset forwarding strategy, and the data to be sent is sent according to the determined corresponding wireless bearer link; the data is sent through two wireless bearer links, which supports parallel transmission of data in the dual-pass network, with large uplink and downlink bandwidth and high data transmission performance.
[0132] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, the device also includes:
[0133] An establishing unit 53 is used to establish data connections between the baseband and at least one host computer before the determining unit 51 determines the target wireless bearer link for sending the data to be sent according to the type identifier of the data to be sent and the preset forwarding strategy; wherein the baseband includes two wireless bearer links in a dual-channel network, and the host computer includes at least one application; and the data connection is used to transfer the data to be sent generated by the application to the wireless bearer link.
[0134] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, the device also includes:
[0135] The creation unit 54 is used to create the wireless bearer link based on the user identification card corresponding to the dual-channel network before the establishment unit 53 respectively establishes the data connection between the baseband and at least one host computer.
[0136] Furthermore, in a possible implementation of this embodiment, the identification type includes at least one of a protocol type, a target address, a target port number, a source address, and a source port number, such as Figure 7 As shown, the device also includes:
[0137] A configuration unit 55, configured to configure a correspondence between the protocol type and the radio bearer link according to the protocol type of the data to be sent;
[0138] or, configuring a correspondence between the target address and the radio bearer link according to the target address of the data to be sent;
[0139] or, configuring a correspondence between the target port number and the radio bearer link according to the target port number of the data to be sent;
[0140] or, configuring a correspondence between the source address and the radio bearer link according to the source address of the data to be sent;
[0141] Or, according to the source port number of the data to be sent, configuring the corresponding relationship between the source port number and the radio bearer link;
[0142] The storage unit 56 is used to store the configured correspondence between the type identifier and the radio bearer link in the preset forwarding strategy.
[0143] Furthermore, in a possible implementation of this embodiment, the configuration unit 55 is further configured to:
[0144] According to the application type of the target application, a corresponding relationship between the application type and the wireless bearer link is configured, and the target application is used to generate the data to be sent.
[0145] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, the device also includes:
[0146] An acquiring unit 57, configured to acquire a real-time bearer bandwidth of the target radio bearer link after the sending unit sends the to-be-sent data to the corresponding target address based on the target radio bearer link;
[0147] A determination unit 58, configured to determine whether to perform data diversion based on the real-time bearer bandwidth and a preset diversion condition;
[0148] The offloading unit 59 is configured to offload a preset proportion of the real-time bearer bandwidth in the target wireless bearer link to another wireless bearer link in the dual-channel network when it is determined to perform data offloading.
[0149] Furthermore, in a possible implementation of this embodiment, the device further includes:
[0150] The acquisition unit 57 is further configured to respectively acquire the real-time bearer bandwidths of the two wireless bearer links in the dual-pass network after the sending unit 52 sends the data to be sent to the corresponding target address based on the target wireless bearer link;
[0151] The judging unit 58 is further configured to judge whether to perform data diversion based on the real-time bearer bandwidth of the two wireless bearer links and the preset diversion condition;
[0152] The traffic splitting unit 59 is further configured to dynamically adjust the target radio bearer link according to the real-time bearer bandwidths of the two radio bearer links when it is determined to perform data splitting.
[0153] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, the judging unit 58 includes:
[0154] The judging module 581 is used to judge whether the difference of the real-time bearer bandwidth between the two wireless bearer links is greater than or equal to a preset difference threshold;
[0155] A first determining module 582 is configured to determine to perform data splitting when it is determined that the difference in the real-time bearer bandwidth between the two radio bearer links is greater than or equal to the preset difference threshold;
[0156] The second determining module 583 is configured to determine not to perform data offloading when it is determined that the difference in the real-time bearer bandwidths between the two radio bearer links is less than the preset difference threshold.
[0157] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, the judging unit 58 further includes:
[0158] The judging module 581 is further configured to respectively judge whether the real-time bearer bandwidths of the two wireless bearer links are greater than or equal to a preset bearer threshold;
[0159] The determining module 582 is further configured to determine to perform data splitting when it is determined that the real-time bearer bandwidth of the two wireless bearer links is greater than or equal to the preset bearer threshold;
[0160] The second determining module 583 is further configured to determine not to perform data offloading when it is determined that the real-time bearer bandwidths of the two wireless bearer links are less than the preset bearer threshold.
[0161] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is no longer limited in this embodiment.
[0162] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0163] Figure 8 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0164] like Figure 8 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 602 or a computer program loaded from a storage unit 608 to a RAM (Random Access Memory) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An I / O (Input / Output) interface 605 is also connected to the bus 604.
[0165] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0166] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as a data transmission method for a dual-pass network. For example, in some embodiments, the data transmission method for a dual-pass network may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to execute the aforementioned dual-channel network data transmission method in any other appropriate manner (for example, by means of firmware).
[0167] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0168] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0169] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0170] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball), through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0171] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.
[0172] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0173] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.
[0174] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0175] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A data transmission method for a dual-channel network, characterized in that: include: Determine a target wireless bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy; wherein the preset forwarding strategy records a correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-pass network; Based on the target radio bearer link, the data to be sent is sent to a corresponding target address.
2. The method according to claim 1, characterized in that Before determining a target radio bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy, the method further includes: A data connection is established between the baseband and at least one host computer respectively; wherein the baseband includes two wireless bearer links in a dual-channel network, and the host computer includes at least one application; and the data connection is used to transfer the data to be sent generated by the application to the wireless bearer link.
3. The method according to claim 2, characterized in that Before respectively establishing data connections between the baseband and at least one host computer, the method further includes: The wireless bearer links are respectively created based on the user identification cards corresponding to the dual-pass networks.
4. The method according to claim 2, characterized in that: The identification type includes at least one of a protocol type, a target address, a target port number, a source address, and a source port number. The configuration method of the preset forwarding strategy includes: According to the protocol type of the data to be sent, configuring the corresponding relationship between the protocol type and the radio bearer link; and / or, configuring a correspondence between the target address and the radio bearer link according to the target address of the data to be sent; and / or, configuring a correspondence between the target port number and the radio bearer link according to the target port number of the data to be sent; and / or, configuring a correspondence between the source address and the radio bearer link according to the source address of the data to be sent; and / or, configuring a correspondence between the source port number and the radio bearer link according to the source port number of the data to be sent; The configured correspondence between the type identifier and the radio bearer link is saved in the preset forwarding strategy.
5. The method according to claim 4, characterized in that The configuration method of the preset forwarding strategy also includes: According to the application type of the target application, a corresponding relationship between the application type and the radio bearer link is configured, and the target application is used to generate the data to be sent.
6. The method according to claim 1, characterized in that After sending the to-be-sent data to the corresponding target address based on the target radio bearer link, the method further includes: Acquiring the real-time bearer bandwidth of the target wireless bearer link; Based on the real-time bearer bandwidth and the preset diversion condition, determining whether to perform data diversion; In the case where it is determined to perform data offloading, a preset proportion of the real-time bearer bandwidth in the target wireless bearer link is offloaded to another wireless bearer link in the dual-channel network.
7. The method according to claim 6, characterized in that The determining whether to perform data offloading based on the real-time bearer bandwidth and the preset offloading condition includes: Determining whether a difference in the real-time bearer bandwidth between the two wireless bearer links is greater than or equal to a preset difference threshold; In the case where it is determined that the difference in the real-time bearer bandwidths between the two wireless bearer links is greater than or equal to the preset difference threshold, determining to perform data splitting; When it is determined that the difference in the real-time bearer bandwidths between the two wireless bearer links is less than the preset difference threshold, it is determined not to perform data offloading.
8. A data transmission system for a dual-channel network, characterized in that: The system includes a baseband, at least one host computer, and a switch, wherein: The host computer is used to generate data to be sent and send the data to be sent to the switch; wherein the data to be sent is generated by each application in the host computer; The switch is used to receive the data to be sent sent by each host computer, and send the data to be sent to the baseband; The baseband is used to receive the information to be sent sent by the switch, and determine the target wireless bearer link for sending the data to be sent according to the type identifier of the data to be sent and the preset forwarding strategy; wherein the preset forwarding strategy records the correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-channel network; based on the target wireless bearer link, the data to be sent is sent to the corresponding target address.
9. A data transmission device for a dual-channel network, characterized in that: include: A determination unit, configured to determine a target wireless bearer link for sending the data to be sent according to a type identifier of the data to be sent and a preset forwarding strategy; wherein the preset forwarding strategy records a correspondence between the type identifier and the wireless bearer link, and the wireless bearer link includes two wireless bearer links in a dual-pass network; A sending unit is used to send the data to be sent to a corresponding target address based on the target wireless bearer link.
10. A vehicle, characterized in that: The vehicle comprises the data transmission device of the dual-pass network as claimed in claim 9.
11. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.
13. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
