An embedded data offloading method based on dual-link networking

By configuring the dual-link routing device page, detecting the SIM card binding function and specifying the data link, the problem of device redundancy in the existing technology is solved, and the convenience and cost-effectiveness of data diversion are achieved.

CN117560314BActive Publication Date: 2025-09-26XIAMEN FOUR FAITH COMM TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311495781.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2025-09-26
Estimated Expiration
2043-11-10

AI Technical Summary

Technical Problem

Existing dual-link devices cannot flexibly specify data links in actual applications, resulting in the need to invest in multiple devices, increasing costs and making it difficult to meet application requirements.

Method used

Through the page configuration of the dual-link routing device, the SIM card binding function is detected, different server addresses are specified to send data through the main link or backup link, and data interaction is established to achieve data diversion.

Benefits of technology

In specific application scenarios, it can reduce equipment investment, lower costs, achieve the convenience and practicality of data diversion, and avoid interference between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117560314B_ABST
    Figure CN117560314B_ABST
Patent Text Reader

Abstract

The present invention discloses an embedded data shunting method based on dual-link networking, comprising the following steps: S1, connecting a dual-link routing device to a platform center and an embedded downlink device respectively; S2, configuring the links through a page of the dual-link routing device; S3, a backend interacting with the page of the dual-link routing device to detect whether a SIM card binding function is enabled; S4, if the SIM card binding function is detected, directing different server addresses from a primary link or a backup link through a specified routing rule, and establishing data interaction; S5, if the SIM card binding function is not detected, establishing data interaction according to a default route. The invention enables different downlink devices or data terminals to achieve data shunting without mutual interference, and directs data to a public network through different links. This function can reduce the cost investment in actual application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an embedded data offloading method based on dual-link networking. Background Art

[0002] Existing dual-link devices, while capable of simultaneous online access, automatically establish a routing table that defaults to the primary link. This means that all data is automatically routed through the primary link, with no way for downstream devices connected to the dual-link device to specify which link to route data. Therefore, in practice, collecting diverse data and reporting it to different platform centers within a single environment requires multiple dual-link devices, resulting in high investment and operational costs and difficulty meeting actual application requirements. Summary of the Invention

[0003] To solve the above problems, the present invention provides an embedded data diversion method based on dual-link networking. The embedded data diversion method based on dual-link networking is modified according to some different actual environmental conditions, so that different downlink devices or data terminals can realize data diversion without interfering with each other, and send data to the public network through different links. In some special actual application environments, a more convenient and quick method is provided to perform data diversion. Through this function, the cost investment in the actual application process can be reduced.

[0004] The present invention adopts the following technical solutions:

[0005] An embedded data offloading method based on dual-link networking includes the following steps:

[0006] S1. Connect the dual-link routing device to the platform center and the embedded downlink device respectively;

[0007] S2. Configure the link through the dual-link routing device's page;

[0008] S3. The backend interacts with the page of the dual-link routing device to detect whether the SIM card binding function is enabled;

[0009] S4. If the SIM card binding function is detected, different server addresses are designated to go out from the primary link or the backup link through the specified routing rules, and data interaction is established;

[0010] S5. If the SIM card binding function is not detected, data interaction is established according to the default routing rule.

[0011] Preferably, the platform center in step S1 includes a first platform and a second platform, and the first platform and the second platform are respectively connected to the dual-link routing device; the downlink device in step S1 includes a first data acquisition device and a second data acquisition device, and the first data acquisition device and the second data acquisition device are respectively connected to the dual-link routing device.

[0012] Preferably, the page of the dual-link routing device in step S2 provides respectively configured designated routing rules for the first platform and the second platform, and the specific configuration process of the designated routing rules is: if the SIM1 card is bound, the first platform enables the function of the SIM1 card, so that the data of the first platform is designated to go through the main link; if the SIM2 card is bound, the second platform enables the function of the SIM2 card, so that the data of the second platform is designated to go through the backup link; and when the dual-link routing device is inserted with the SIM1 card and the SIM2 card at the same time, the dual links are used to be online at the same time to achieve simultaneous dial-up Internet access.

[0013] Preferably, the SIM cards in steps S3 to S5 include a SIM1 card and a SIM2 card.

[0014] Preferably, the specific process of step S4 is:

[0015] S41, after detecting the function of binding the SIM card, adding a specified routing rule;

[0016] S42: Data collected by the downlink device is sent via a primary link or a backup link according to a specified routing rule.

[0017] S43: After the data reaches the designated primary link or backup link, data interaction is established.

[0018] Preferably, the specific process of step S5 is: after the SIM card binding function is not detected, data interaction is established according to the default routing rule.

[0019] Preferably, the instruction for adding the designated routing rule in step S41 is ip route add-net platform ip 255.255.255.255dev primary link or backup link network interface, an example being ip route add-net166.111.8.238dev eth0.

[0020] Preferably, the process of establishing the default routing rule in step S5 is as follows: first, the dual-link routing devices are online at the same time. If at this time, the default main link is the default route, a corresponding default route will be established in the routing table, and the rule instance of adding is ip route add defaultvia 192.168.9.1dev usb0, and it can be viewed through the routing command ip route. The corresponding rule in the routing table is displayed as default via192.168.9.1dev usb0; among them, eth0 is the main link network interface, and usb0 is the backup link network interface.

[0021] After adopting the above technical solution, the present invention has the following advantages compared with the background technology: the present invention uses the relevant rules of tcp / ip and ip routing based on the Linux system to realize data diversion and report to different platform centers. The embedded downlink device can be configured through the page of the dual-link routing device, so as to realize the data of the embedded downlink device being assigned to the required data link. In some specific practical application scenarios, data diversion and reporting to the platform center can be realized only through the dual-link routing device, and there is no need to use multiple devices to collect different data and report to different platforms. It can provide a more convenient, more practical and more cost-effective method to perform data diversion and reporting on the terminal device to the platform without interfering with each other. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of the present invention;

[0023] Figure 2 It is a structural diagram of the dual-link routing device, platform center and downlink device of the present invention;

[0024] Figure 3 This is a configuration interface diagram of the first platform of the present invention;

[0025] Figure 4 This is a configuration interface diagram of the second platform of the present invention;

[0026] Figure 5 This is a flow chart of data diversion according to the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0028] Example

[0029] like Figures 1 to 5As shown, an embedded data offloading method based on dual-link networking includes the following steps:

[0030] S1. Connect the dual-link routing device to the platform center and the embedded downlink device respectively;

[0031] The platform center in step S1 includes a first platform and a second platform, and the first platform and the second platform are respectively connected to the dual-link routing device; the downlink device in step S1 includes a first data acquisition device and a second data acquisition device, and the first data acquisition device and the second data acquisition device are respectively connected to the dual-link routing device;

[0032] S2. Configure the link through the dual-link routing device's page;

[0033] The page of the dual-link routing device in step S2 provides configuration of designated routing rules for the first platform and the second platform, respectively. The specific configuration process of the designated routing rules is as follows: if the SIM1 card is bound, the first platform enables the function of the SIM1 card, so that the data of the first platform is designated to go through the primary link; if the SIM2 card is bound, the second platform enables the function of the SIM2 card, so that the data of the second platform is designated to go through the backup link; and when the dual-link routing device is simultaneously inserted with the SIM1 card and the SIM2 card, the dual links are used to be online at the same time to achieve simultaneous dial-up Internet access;

[0034] S3. The backend interacts with the page of the dual-link routing device to detect whether the SIM card binding function is enabled;

[0035] The SIM cards in steps S3 to S5 include SIM1 and SIM2 cards;

[0036] S4. If the SIM card binding function is detected, different server addresses are designated to go out from the primary link or the backup link through the specified routing rules, and data interaction is established;

[0037] The specific process of step S4 is:

[0038] S41, after detecting the function of binding the SIM card, adding a specified routing rule;

[0039] S42: Data collected by the downlink device is sent via a primary link or a backup link according to a specified routing rule.

[0040] S43. After the data reaches the designated primary link or backup link, data interaction is established;

[0041] The instruction for adding the specified routing rule in step S41 is the ip255.255.255.255dev primary link or backup link network interface of the ip route add-net platform, and an example is ip route add-net166.111.8.238dev eth0;

[0042] S5. If the SIM card binding function is not detected, data interaction is established according to the default routing rule;

[0043] The specific process of step S5 is: after the SIM card binding function is not detected, data interaction is established according to the default routing rule;

[0044] The process of establishing the default routing rule in step S5 is as follows: First, the dual-link routing devices are online at the same time. If at this time, the default main link is the default route, the corresponding default route will be established in the routing table. The rule instance of adding is iproute add default via 192.168.9.1dev usb0, and it can be viewed through the routing command ip route. The corresponding rule in the routing table is displayed as default via192.168.9.1dev usb0; among them, eth0 is the main link network interface, and usb0 is the backup link network interface.

[0045] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. An embedded data offloading method based on dual-link networking, characterized by: The steps include: S1. Connect the dual-link routing device to the platform center and the embedded downlink device respectively; S2. Configure the link through the dual-link routing device's page; S3. The backend interacts with the page of the dual-link routing device to detect whether the SIM card binding function is enabled; S4. If the SIM card binding function is detected, different server addresses are designated to go out from the primary link or the backup link through the specified routing rules, and data interaction is established; S5. If the SIM card binding function is not detected, data interaction is established according to the default routing rule.

2. The embedded data offloading method based on dual-link networking according to claim 1, characterized in that: The platform center in step S1 includes a first platform and a second platform, and the first platform and the second platform are respectively connected to the dual-link routing device; the downlink device in step S1 includes a first data acquisition device and a second data acquisition device, and the first data acquisition device and the second data acquisition device are respectively connected to the dual-link routing device.

3. The embedded data offloading method based on dual-link networking according to claim 2, characterized in that: The page of the dual-link routing device in step S2 provides the configuration of designated routing rules for the first platform and the second platform respectively. The specific configuration process of the designated routing rules is as follows: if the SIM1 card is bound, the first platform enables the function of the SIM1 card, so that the data of the first platform is designated to go through the main link; if the SIM2 card is bound, the second platform enables the function of the SIM2 card, so that the data of the second platform is designated to go through the backup link; and when the dual-link routing device is inserted with the SIM1 card and the SIM2 card at the same time, the dual links are used to be online at the same time to achieve simultaneous dial-up Internet access.

4. The embedded data offloading method based on dual-link networking according to claim 3, characterized in that: The SIM cards in step S3 to step S5 include a SIM1 card and a SIM2 card.

5. The embedded data offloading method based on dual-link networking according to claim 4, characterized in that: The specific process of step S4 is: S41, after detecting the function of binding the SIM card, adding a specified routing rule; S42: Data collected by the downlink device is sent via a primary link or a backup link according to a specified routing rule. S43: After the data reaches the designated primary link or backup link, data interaction is established.

6. The embedded data offloading method based on dual-link networking according to claim 5, characterized in that: The specific process of step S5 is: after the SIM card binding function is not detected, data interaction is established according to the default routing rule.

7. The embedded data offloading method based on dual-link networking according to claim 6, characterized in that: The instruction for adding the designated routing rule in step S41 is the ip255.255.255.255dev primary link or backup link network interface of the ip route add-net platform, and an example is ip route add-net166.111.8.238dev eth0.

8. The embedded data offloading method based on dual-link networking according to claim 7, characterized in that: The process of establishing the default routing rule in step S5 is as follows: First, the dual-link routing devices are online at the same time. If at this time, the default main link is the default route, the corresponding default route will be established in the routing table, and the rule instance of adding is ip route adddefaultvia 192.168.9.1dev usb0, and it can be viewed through the routing command ip route. The corresponding rule in the routing table is displayed as default via 192.168.9.1dev usb0; among them, eth0 is the main link network interface, and usb0 is the backup link network interface.

Citation Information

Patent Citations

  • Server and double-link backup method thereof

    CN101789855A

  • Linux based home gateway network route achieving method and system

    CN104113475A