Information processing method, apparatus, device, storage medium, and computer program product

By using gateway devices to detect the network connection status and determine routing information of terminal devices, the problem of reliable connection of IoT terminal devices in multi-network environments is solved, ensuring the continuity of data transmission and service availability.

CN119135604BActive Publication Date: 2026-05-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-03-30
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

How to achieve reliable connectivity between IoT terminal devices and service management devices to ensure business availability, especially in environments with multiple communication service networks.

Method used

The gateway device detects the network connection status of the terminal device, receives the detection response information, determines the target routing information, and switches the communication service network when the conditions are met to ensure the reliability of data transmission.

Benefits of technology

It ensures the continuity and reliability of data transmission between terminal devices and information management devices in multiple communication service network environments, thus guaranteeing the availability of services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135604B_ABST
    Figure CN119135604B_ABST
Patent Text Reader

Abstract

An information processing method and device, equipment, a storage medium and a computer program product are disclosed. The information processing method comprises: detecting a network connection state of a terminal device through each communication service network when a detection condition is met; receiving detection response information sent by the terminal device through a target communication service network, the target communication service network being a communication service network through which the terminal device accesses from among a plurality of communication service networks; and determining target routing information, the target routing information being used to indicate that a gateway device and the terminal device are connected through the target communication service network. According to the embodiments of the present application, the latest routing information can be obtained in a timely manner through detection, which can ensure the accuracy of a selected communication link and thus the availability of a service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to an information processing method, an information processing device, a computer device, a computer-readable storage medium, and a computer program product. Background Technology

[0002] As an extension and expansion of the Internet, the Internet of Things (IoT) enables various devices, such as wearable devices, environmental monitoring devices, and virtual reality devices, to interact through cellular networks, achieving broader connectivity between things and between things and people. For terminal devices, especially IoT terminal devices, they can not only collect massive amounts of data and report it to the server, but also receive data from the server. Typically, the server can provide service management devices, such as cloud resources or self-built data centers, to store the massive amounts of data collected and reported by terminal devices, and can also distribute data from service management devices (such as data collected from other terminal devices) to terminal devices. However, how to achieve the connection between IoT terminal devices and service management devices, and what communication processing mechanism to adopt to ensure the service availability between IoT terminal devices and service management devices, are problems that need to be solved. Summary of the Invention

[0003] This application provides an information processing method, apparatus, device, storage medium, and computer program product that can promptly obtain the latest routing information through detection, thereby ensuring the accuracy of the selected communication link and thus guaranteeing the availability of services.

[0004] One embodiment of this application provides an information processing method, including:

[0005] When the detection conditions are met, the network connection status of the terminal device is detected through various communication service networks;

[0006] The terminal device receives probe response information sent through the target communication service network, which is a communication service network that the terminal device accesses among multiple communication service networks.

[0007] Determine the target routing information, which is used to instruct gateway devices and terminal devices to connect through the target communication service network.

[0008] This application provides another information processing method, including:

[0009] When the network switching conditions are met, the connected communication service network will be switched from the initial communication service network to the target communication service network; the initial communication service network and the target communication service network are different communication service networks among multiple communication service networks;

[0010] The target communication service network sends probe response information to the gateway device, and the probe response information is used to instruct the gateway device to determine the target routing information based on the transmission path of the probe response information.

[0011] The probe response information is generated and sent by the gateway device during the process of probing the network connection status of the terminal device through various communication service networks.

[0012] The above two information processing methods can be applied to an information processing system, which includes terminal equipment, multiple communication service networks, gateway equipment, and information management equipment. The multiple communication service networks provide different services to different users. The gateway equipment is connected to each communication service network and also to the information management equipment.

[0013] One embodiment of this application provides an information processing apparatus, including:

[0014] The detection module is used to detect the network connection status of the terminal device through various communication service networks when the detection conditions are met.

[0015] The transceiver module is used to receive probe response information sent by the terminal device through the target communication service network, which is a communication service network that the terminal device accesses among multiple communication service networks.

[0016] The determination module is used to determine the target routing information, which is used to instruct gateway devices and terminal devices to connect through the target communication service network.

[0017] One embodiment of this application provides another information processing apparatus, including:

[0018] The switching module is used to switch the connected communication service network from the initial communication service network to the target communication service network when the network switching conditions are met; the initial communication service network and the target communication service network are different communication service networks among multiple communication service networks;

[0019] The transceiver module is used to send probe response information to the gateway device through the target communication service network. The probe response information is used to instruct the gateway device to determine the target routing information based on the transmission path of the probe response information. The probe response information is generated and sent by the gateway device during the process of probing the network connection status of the terminal device through various communication service networks.

[0020] One embodiment of this application provides a gateway device, including a processor and a memory; the processor is connected to the memory and a network interface, wherein the network interface is used to provide network communication functions, the memory is used to store program code, and the processor is used to call the program code to execute the information processing method of this application embodiment.

[0021] One embodiment of this application provides a terminal device, including: a processor and a memory; the processor is connected to the memory and a network interface, wherein the network interface is used to provide network communication functions, the memory is used to store program code, and the processor is used to call the program code to execute the information processing method of this application embodiment.

[0022] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it performs the information processing method described in this application.

[0023] This application provides a computer program product or computer program. The computer program product includes a computer program, which, when executed by a processor, implements the steps of the information processing method of this application embodiment.

[0024] In this embodiment, the information processing system provides multiple communication service networks for terminal devices. Each terminal device can access at least one of these networks. The gateway device's connection to these networks establishes multiple equivalent communication links for the terminal device to access the information management device. The gateway device can select the communication link used by the terminal device from these links, ensuring normal data interaction between the terminal device and the information management device. The gateway device can probe the network connection status of the terminal device and, upon receiving a probe response from the terminal device, determine the target routing information. This target routing information reveals the communication service network accessed by the terminal device. Therefore, the gateway device's proactive probing allows for timely detection of the communication service network currently accessed by the terminal device, obtaining the latest routing information and ensuring the accuracy of the selected communication link. An accurate communication link guarantees normal data transmission between the terminal device and the information management device, thus ensuring service availability. Attached Figure Description

[0025] Figure 1a This is an architectural diagram of an information processing system provided in an exemplary embodiment of this application;

[0026] Figure 1b This is an architectural diagram of another information processing system provided in an exemplary embodiment of this application;

[0027] Figure 2This is a schematic flowchart of an information processing method provided in an exemplary embodiment of this application;

[0028] Figure 3a This is a flowchart illustrating an information processing method provided in an exemplary embodiment of this application. Figure 2 ;

[0029] Figure 3b This is an architectural diagram of another information processing system provided in an exemplary embodiment of this application;

[0030] Figure 4 This is a schematic flowchart of an information processing method provided in an exemplary embodiment of this application;

[0031] Figure 5a This is an interactive flowchart of an exemplary embodiment of this application, illustrating the initial access of a terminal device to a communication service network.

[0032] Figure 5b This is a signaling interaction flowchart of a terminal device performing link reselection, provided by an exemplary embodiment of this application;

[0033] Figure 6a This is a schematic diagram of a virtual IoT private network provided in an exemplary embodiment of this application;

[0034] Figure 6b This is a schematic diagram of another virtual IoT private network provided by an exemplary embodiment of this application;

[0035] Figure 7a This is a schematic diagram of the structure of an information processing apparatus provided in an exemplary embodiment of this application;

[0036] Figure 7b This is a schematic diagram of the structure of another information processing apparatus provided in an exemplary embodiment of this application;

[0037] Figure 8a This is a schematic diagram of the structure of a gateway device provided in an exemplary embodiment of this application;

[0038] Figure 8b This is a schematic diagram of the structure of a terminal device provided in an exemplary embodiment of this application. Detailed Implementation

[0039] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0040] To better understand the solutions of the embodiments of this application, the relevant terms and concepts that may be involved in the embodiments of this application will be introduced below.

[0041] VPC stands for Virtual Private Cloud, also known as a private network or dedicated network. It is managed by and runs on a public cloud, isolating a portion of public cloud resources for a specific object, providing that object with a private collection of resources. This ensures resource isolation between each object, preventing the object from being affected by other objects when using its resources.

[0042] Multi-SIM Single Standby: A single standard IoT SIM card integrates multiple SIM cards for different service providers, and the switching of SIM cards for different service providers is controlled by electrical signals.

[0043] Service provider: The object or organization that provides network services to terminal devices.

[0044] IoT SIM card: also known as Internet of Things card, is a traffic pool set up by the service provider based on customer needs. IoT terminal devices can access cloud resources through the IoT private network built by the service provider by inserting or embedding the IoT SIM card.

[0045] Virtual intranet: An intranet, or Local Area Network (LAN), refers to a group of computers interconnected within a certain area. An intranet router only needs one external IP address to provide network access for N computer devices below it, and different intranet IP addresses can be reused.

[0046] APN: Access Point Name.

[0047] DNN: Data Network Name, the APN in a 5G system.

[0048] IDC: Internet Data Center.

[0049] Based on the above terms and concepts, the architecture of the information processing system provided in the embodiments of this application will be described below with reference to the accompanying drawings.

[0050] Please see Figure 1a , Figure 1a This is an architectural diagram of an information processing system provided in an exemplary embodiment of this application. (See diagram for details.) Figure 1a As shown, the information processing system includes terminal devices (including terminal device 101a, terminal device 101b, terminal device 101c...), and multiple communication service networks (including communication service network 102a, communication service network 102b...). Figure 1a (Not marked in the text), Communication Service Network 102c ( Figure 1a(Not shown in the text)..., gateway device 103, and information management device 104, the multiple communication service networks correspond to different service providers; gateway device 103 is connected to each communication service network and also to information management device 104. Specifically, gateway device 103 can establish a communication connection with the communication service network via wired (e.g., leased line) or wireless means, and similarly, gateway device 103 can establish a communication connection with information management device 104 via wired or wireless means. In the above information processing system, any terminal device has the ability to access the communication service networks provided by multiple service providers, and the terminal device and the communication service network can also establish a connection via wired or wireless means. When this information processing system is applied to an Internet of Things (IoT) scenario, the network composed of multiple communication service networks and gateway device 103 is defined here as a virtual IoT private network. This virtual IoT private network can establish a bidirectional connection with information management device 104, such as a server in a public cloud or IDC, to pull or upload various structured or streaming data, such as databases, video streams, etc.

[0051] The terminal device can be an IoT terminal device, including but not limited to: smartphones, tablets, smart wearable devices, smart voice interaction devices, smart home appliances, personal computers, in-vehicle terminals, smart cameras, CPE (Customer Premise Equipment, such as 4G / 5G CPE), etc., which are not limited in this application. The number of terminal devices is not limited in this application. The terminal device can access at least one of multiple communication service networks. In one embodiment, the terminal device accesses any one of the multiple communication service networks through a composite identity card, which integrates identity information corresponding to multiple service providers. For example, the terminal device is an IoT terminal device, which can be based on a standard IoT card integrating multiple service provider identity (Subscriber Identity Module, SIM) cards, and controls the switching of service provider identity cards via electrical signals, i.e., switching of access to the corresponding communication service network. In this embodiment, the working mode of the IoT network terminal device includes a multi-SIM single-standby mode, that is, the communication service networks corresponding to multiple identity cards can be accessed, and data transmission is achieved through the accessed communication service network.

[0052] In another embodiment, the terminal device accesses at least one of multiple communication service networks through multiple identification cards, where each identification card belongs to a different service provider. That is, the terminal device can support inserting or embedding multiple identification cards, rather than integrating a single standard identification card supporting multi-SIM single-standby mode. In this implementation, the terminal device's operating mode includes either multi-SIM single-standby mode or multi-SIM multi-standby mode. Multi-SIM multi-standby mode means that the terminal device can access multiple (at least two) of the multiple communication service networks, thus establishing multiple communication links from the terminal device to the information management device. The terminal device can use any one or more of these communication links when uploading or downloading data streams. It should be noted that when the terminal device is connected to at least two communication service networks and operates in multi-SIM multi-standby mode, the terminal device does not need to switch communication service networks but can utilize abundant path and bandwidth resources to achieve load balancing. For the data streams that terminal devices need to transmit, they can autonomously select paths. Path selection strategies can include any one or more combinations of the following: selecting paths for data streams based on the hash of the source IP address; round-robin transmission among multiple paths; and allocating data streams based on path weights (e.g., paths with higher weights receive more data streams). This distributes data streams across different paths for forwarding, achieving load balancing. To further improve load balancing, IP packets with the same 5-tuple information (including source IP address, source port, destination IP address, destination port, and transport layer protocol) can be grouped into the same stream. When forwarding data, different data streams can be sent out sequentially from multiple paths according to an algorithm.

[0053] When a terminal device (e.g., terminal device 101a) accesses any one of multiple communication service networks, it can switch the currently connected initial communication service network to the target communication service network under certain switching conditions. In response to a probe from gateway device 103, it sends a probe response message through the target communication service network, enabling gateway device 103 to determine the target routing information. In one embodiment, the terminal device can actively switch communication service networks or switch them under controlled conditions. For example, it can actively switch to another communication service network when the network quality of the communication service network accessed by terminal device 101a is poor.

[0054] Multiple communication service networks include at least two communication service networks, each belonging to a different service provider. A service provider can be an object or organization that provides network services to terminal devices; for example, communication service network 'a' belongs to service provider A. A communication service network refers to a network that provides network access services to terminal devices to enable data transmission between terminal devices and information management equipment. Communication service networks can be built upon various network service devices, such as base stations, core switches, routers, etc. In this embodiment, the communication service network may include base stations and a core network (e.g., a 4G / 5G core network) provided by a service provider. Figure 1a The multiple communication service networks include three communication service networks: the base station and core network A for service provider A', the base station and core network B for service provider B', and the base station and core network C for service provider C'. Optionally, any of the communication service networks can be a dedicated network provided for IoT terminal devices, used specifically for transmitting data collected by IoT terminal devices or data sent from information management devices to IoT terminal devices.

[0055] Gateway device 103 can act as a relay device for terminal devices to connect to information management device 104 through a communication service network. Gateway device 103 and multiple communication service networks establish multiple communication links to information management device 104, meaning that terminal devices can interact with information management device 104 through any of these communication service networks. Gateway device 103 can be a dedicated gateway for a public cloud. Gateway device 103 can be used to probe the network connection status of terminal device 101a to obtain target routing information and thus determine the current network connection status of terminal device 101a.

[0056] Information management device 104 refers to a device that manages data uploaded by terminal devices. The management of data by the information management device includes, but is not limited to: storing the raw data uploaded by the terminal devices, performing intelligent analysis of the raw data, and providing backup services for the data, etc. Information management device 104 may include one or more public clouds and internet data centers. For example, information management device 104 may include a dedicated cloud network space built on a cloud server to provide network services for cloud resources. Specifically, information management device 104 may be a server, which can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, but is not limited to these. This application does not limit the number of servers.

[0057] Based on the above information processing system, the interaction process between the various devices in the system will be briefly described below. For ease of description, the example of terminal device 101a connecting to gateway device 103 via communication service network 102a will be used for illustration.

[0058] ① When the detection conditions are met, such as when the gateway device 103 is powered on, it probes the network connection status of any terminal device (e.g., terminal device 101a) through the various communication service networks it is connected to. Optionally, the gateway device can send probe signaling to the terminal device 101a through each communication service network. That is, the gateway device can send probe signaling to each communication service network separately, and then the communication service network determines whether to discard or forward the signal to the terminal device 101a based on whether the terminal device 101a is connected to the communication service network.

[0059] ② Terminal device 101a receives probe signaling from a target communication service network (e.g., communication service network 102a) among multiple communication service networks, and then generates probe response information and sends it to gateway device 103. This probe response information can be a data packet responding to the probe signaling. It should be noted that if terminal device 101a actively or passively switches the currently connected communication service network during the probe process of gateway device 103, or if terminal device 101a cannot receive probe signaling before connecting to other communication service networks.

[0060] ③ Gateway device 103 receives the probe response information sent by terminal device 101a through the communication service network 102a it accesses, and determines the target routing information. This target routing information instructs gateway device 103 and terminal device 101a to connect through the communication service network 102a that sent the probe response information. The target routing information is a downlink route, which refers to the transmission path required for information management device 104 to send data to terminal device 101a, including the logical protocol addresses of terminal device 101a and the accessed communication service network 102a, with the protocol address of terminal device 101a being the destination address.

[0061] ④ Data transmission is performed between terminal device 101a and information management device 104 based on the target routing information. Since the target routing information is a downlink route, the downlink data sent by information management device 104 is sent to terminal device 101a according to the indication of the target routing information.

[0062] In one embodiment, gateway device 103 may include a dedicated channel and a dedicated gateway integrating detection and address translation functions. Based on the above-described information processing system, another information processing system may also be provided, such as... Figure 1b As shown. Figure 1b The information processing system shown and Figure 1a The differences between the information processing systems shown are: Figure 1a The gateway devices in the system are divided into dedicated channels and VPC gateways. Dedicated channels are used to connect to the core network of the service provider, while VPC gateways, in addition to their original functions, also have detection and address translation capabilities. VPC gateways can connect to multiple (e.g., Figure 1b The diagram shows three (but not limited to) dedicated channel probe terminal device protocol address groups, including multiple (e.g., three, but not limited to) protocol addresses assigned to the terminal device by service providers, and records the connectivity status between the terminal device and the communication service network. Furthermore, the address translation function in the VPC gateway is implemented as follows: if the source IP address of the uplink packet is the core network IP address of the service provider, the VPC gateway can replace the source IP address of the uplink packet with a virtual internal network IP address; if the destination IP address of the downlink packet is a virtual internal network IP address, the VPC can replace the destination IP address of the downlink packet with the IP address assigned to the terminal device by the current service provider and send it to the corresponding dedicated channel. Address translation can shield the information management device from the core network IP addresses in various communication service networks, allowing the VPC gateway to achieve more unified management of protocol addresses. It should be noted that in this information processing system, the interaction process described above is specifically implemented by the VPC gateway in the gateway device.

[0063] This application provides two information processing systems applicable to various IoT device scenarios, such as connected vehicles, smart homes, wearable devices, shared bicycles, mobile payments, and smart agriculture. In these systems, a terminal device accesses multiple communication service networks via its identification card, providing a highly available cellular network connection. Since the terminal device connects to at least one of these communication service networks, and the gateway device also connects to multiple networks, multiple communication links can be established for the terminal device to access the information management device. This allows the terminal device to maintain data transmission continuity through alternative paths when actively or passively switching communication service networks. Furthermore, the gateway device can be divided into a dedicated channel for interfacing with the core network of the service provider and a VPC gateway responsible for probe and address translation functions, thus decoupling the interfacing with the communication service network and the probe functions.

[0064] Based on the above description of the information processing system, the application scenarios of the information processing system provided in the embodiments of this application will be introduced next. These include, but are not limited to, scenario one and scenario two.

[0065] Scenario 1: New retail stores collect video data via cameras and transmit it back to the public cloud or the customer's self-built data center via 4G / 5G CPE. Customers can deploy video analytics tools within the data center for remote management, store inspections, customer flow data analysis, fire detection, etc. Terminal devices (with "multi-SIM single-standby" IoT cards, such as the aforementioned 4G / 5G CPE) select a suitable communication service network based on the store's network environment and switch to another communication service network if the currently connected network fails.

[0066] Scenario 2: The Passenger Information System (PIS) networked screen accesses a public cloud or a customer-built data center via 4G / 5G networks to periodically retrieve real-time bus / subway vehicle arrival information. The terminal device (with a multi-SIM single-standby IoT SIM card inserted, in this case, the Passenger Information System networked screen) selects a suitable communication service network based on its network environment and switches to another network if the currently connected network fails.

[0067] The specific implementation of the information processing method proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings. The following embodiments include information processing methods described from the perspectives of a gateway device and a terminal device. Furthermore, the information processing methods proposed in each embodiment can be applied to information processing systems (including, for example,...) Figure 1a Or such as Figure 1b (The information processing system shown).

[0068] Please see Figure 2 , Figure 2 This is a schematic flowchart illustrating an information processing method provided in an exemplary embodiment of this application. This information processing method can be implemented by a gateway device (such as...). Figure 1a The information processing method can be executed by the gateway device 103 in the middle, and may include:

[0069] S201, when the detection conditions are met, the network connection status of the terminal device is detected through various communication service networks.

[0070] The network connection status of a terminal device can be used to indicate whether the terminal device is properly connected to the communication service network. The network connection status of a terminal device can include normal and abnormal states. In a normal state, the terminal device and the communication service network are properly connected, and the network connection status indicates the service provider to which the terminal device belongs in relation to the accessed communication service network. In an abnormal state, the connection between the terminal device and the communication service network is poor. For example, because the currently connected communication service network does not cover the terminal device's activity area, the connection between the terminal device and communication service network A is interrupted, and the terminal device is offline. The terminal device can actively switch to communication service network B to reconnect, and the gateway device can automatically detect and obtain the latest network connection status of the terminal device, i.e., the terminal device is connected to communication service network B.

[0071] The detection conditions refer to the conditions under which a gateway device initiates the detection process. When the detection conditions are met, the detection of the network connection status of the terminal device through various communication service networks can be initiated. Meeting the detection conditions includes one or more of the following: the gateway device is powered on; the terminal device has a data interaction requirement with the information management device. For example, if the information management device actively sends data to the terminal device, the detection process can be triggered. This detection ensures that when the terminal device switches communication service networks, the gateway device can obtain the latest routing information in a timely manner, ensuring the normal data transmission of the information management device.

[0072] It should be noted that the probes initiated by the gateway device can be periodic, such as probing once every 1 second or once every 10 seconds. The length of the probe period determines the probe frequency. The probes initiated by the gateway device can also be non-periodic, such as probing once at 1 second, 4 seconds, and 6 seconds respectively. Optionally, when the terminal device is offline (i.e., not connected to any communication service network), to further save bandwidth resources, the probe period for the terminal device can be lengthened according to preset adjustment rules. Specifically, after the terminal goes offline, it first maintains continuous probing for a period of time. When the number of probes exceeds a preset threshold (e.g., no response after 100 probes), the probe period can be adjusted to a first probe period (e.g., probing once every 20 seconds). If the network connection status obtained from periodic probing is still abnormal, the first probe period can be adjusted to a second probe period, such as probing once every 1 minute.

[0073] In one embodiment, S201 may be implemented by sending probe signaling to each communication service network respectively.

[0074] The target recipient of the probe signaling is the terminal device. The gateway device can send this probe signaling to the terminal device through at least one of the multiple communication service networks it is connected to. This probe signaling is detection information sent by the gateway device to the terminal device. The gateway device can determine the network connection status of the terminal device by whether the terminal device responds to the probe signaling, and then determine whether the terminal device is in an abnormal state, such as the terminal device being offline because it has not connected to any of the multiple communication service networks.

[0075] In this context, for any of the multiple communication service networks, if the terminal device has not established a network connection with any of the communication service networks, then that communication service network discards the probe signaling; if the terminal device has established a network connection with any of the communication service networks, then that communication service network sends the probe signaling to the terminal device. In other words, after each communication service network receives the probe signaling sent by the gateway device, it can determine whether the terminal device has established a network connection with it and thus handle the probe signaling differently, including discarding the probe signaling or sending it to the corresponding terminal device. The multiple communication service networks include those that discard the probe signaling and those that send it. The communication service network that sends the probe signaling is the communication service network that the terminal device accesses, which is also the target communication service network mentioned below.

[0076] Since terminal devices can obtain a static IP address pre-assigned to them by the service provider when accessing the communication service network, this static IP address can be used as the logical address when the communication service network forwards probe signaling. Specifically, the communication service network includes a core network constructed by base stations and service providers. The discarding or forwarding of probe signaling is typically handled by the core network. If the core network discards the probe signaling, it is not sent to the terminal device; otherwise, it can be sent to the terminal device through the corresponding base station.

[0077] In one embodiment, the gateway device manages protocol addresses pre-assigned to terminal devices by service providers. For example, this could refer to a group of IP addresses (Internet Protocol Addresses) of the terminal device across multiple service providers, where the group is a collection of multiple IP addresses. These protocol addresses can be assigned by the service providers and communicated to the gateway device, or they can be assigned by the interfacing protocol between the gateway device and the service providers, such as L2TP (Layer Two Tunneling Protocol). The gateway device can continuously probe this IP address group, for example, by pinging, to determine the communication service network currently used by the terminal device, thus probing the network connection status of the terminal device. Optionally, when a terminal device uses an IP address pre-assigned by multiple service providers, the terminal device corresponding to that IP address can receive probe signaling and subsequently generate probe response information to send to the terminal device.

[0078] S202, Receive probe response information sent by the terminal device through the target communication service network.

[0079] The target communication service network is the communication service network accessed by the terminal device among multiple communication service networks. The probe response information received by the gateway device is sent by the terminal device through the target communication service network. In one embodiment, the probe response information is generated by the terminal device after receiving the probe signaling. The probe response information is the response information fed back by the terminal device to the received probe signaling; it can also be called the probe signaling response. The probe signaling and probe response information constitute a complete probe of the terminal device. That is, when the terminal device receives a message sent by the gateway device and responds, it can be considered a successful probe, and the probe result indicates that the terminal device can communicate normally, thus revealing the communication service network accessed by the terminal device. It should be noted that due to abnormal network connection between the terminal device and the communication service network, the terminal device may not be able to receive the probe signaling and therefore cannot generate probe response information, or the terminal device may receive the probe signaling, generate probe response information, but be unable to send it to the gateway device. In this case, the gateway device will not receive the probe response information sent by the terminal device. Corresponding handling can be implemented in this situation, as detailed below. Figure 3a Description of the corresponding embodiments.

[0080] S203, Determine the target routing information.

[0081] Target routing information is used to instruct gateway devices and terminal devices to connect through the target communication service network. The network connection status of the terminal devices is indicated by the connection between the target communication service network and the gateway devices. Furthermore, the gateway devices also receive uplink data reported by the terminal data or downlink data sent by the service management devices through the target communication service network.

[0082] In one embodiment, the specific implementation of determining target routing information may include: obtaining a first protocol address of the target communication service network; obtaining a second protocol address of the terminal device, wherein the second protocol address is a protocol address assigned to the terminal device by the service provider to which the target communication service network belongs; and generating target routing information based on the first protocol address and the second protocol address, wherein the first protocol address is the next hop in the target routing information and the second protocol address is the destination address in the target routing information.

[0083] Communication service networks provided by different service providers can be identified by unique protocol addresses, specifically IP addresses (Internet Protocol Addresses). The first protocol address can be an IP address that logically identifies the target communication service network, or specifically, a protocol address representing the core network contained within the communication service network. Since the gateway device can manage the protocol addresses pre-assigned to terminal devices by various service providers, it can obtain the protocol address currently used by the terminal device, i.e., the second protocol address. This second protocol address can be an IP address assigned to the terminal device by the service provider of the communication service network (i.e., the target communication service network) it accesses. Based on the first and second protocol addresses, target routing information can be generated. The next hop in the target routing information is the protocol address of the communication service network, and the destination address is the protocol address of the terminal device. Therefore, this target routing information is a downlink route, and the gateway device can determine the path for data to be sent to the terminal device based on this downlink route.

[0084] It should be noted that the number of terminal devices accessing the communication service network is usually massive. In this application, a single terminal device is used as an example for illustration. The methods described in the embodiments of this application can be used for each terminal device.

[0085] The information processing method provided in this application embodiment allows the gateway device to automatically detect the network connection status of a terminal device when detection conditions are met, and generate target routing information after receiving the detection response information sent by the terminal device. Because the gateway device actively detects the terminal device, it can proactively perceive the communication service network accessed by the terminal device, and promptly obtain accurate routing information when it detects that the terminal device is normally accessing the communication service network, thereby ensuring normal data transmission and guaranteeing service availability.

[0086] Please see Figure 3a , Figure 3a This is a flowchart illustrating another information processing method provided by an exemplary embodiment of this application. Figure 2 This information processing method can be performed by a gateway device (e.g., Figure 1a The gateway device 103 shown is used to perform this action, which may include:

[0087] S301, when the detection conditions are met, detects the network connection status of the terminal device through various communication service networks.

[0088] S302, if a probe response message is received from the terminal device through the target communication service network, the target routing information is determined.

[0089] For details on how to implement the above steps, please refer to [link / reference]. Figure 2 The description of the corresponding embodiments will not be repeated here. Figure 2 In the corresponding embodiment, this is implemented under the condition that the gateway device receives the probe response information sent by the terminal device through the target communication service network.

[0090] S303, data transmission between the terminal device and the information management device is performed based on the target routing information. More specifically, S303 may include: receiving downlink data sent by the information management device; when the downlink data is data to be sent to the terminal device, sending the downlink data to the terminal device according to the data transmission path indicated by the target routing information.

[0091] When the information management device needs to send data to the terminal device, the gateway device can receive the downlink data sent by the information management device. This downlink data can be raw data reported to the information management device by other terminal devices, such as audio and video data collected by smart cameras, or vehicle driving information data collected by the ride-hailing network screen. It can also be analyzed data obtained based on the above raw data, such as passenger flow data obtained by analyzing collected passenger flow information data. The types of downlink data include, but are not limited to, video, audio, and images. The downlink data can vary depending on the application scenario and requirements. Target routing information can be used to indicate the data transmission path (also called the transmission route). The gateway device can send the downlink data to the terminal device through this data transmission path, that is, to the target communication service network, and then the target communication service network sends it to the terminal device.

[0092] In one embodiment, after determining the target routing information, if the target routing information differs from the initial routing information recorded in the gateway device, the initial routing information recorded in the gateway device is adjusted to the target routing information. The initial routing information is used to instruct the gateway device and the terminal device to connect through an initial communication service network, which is the communication service network the terminal device was connected to before switching to the target communication service network; specifically, it is the communication service network the terminal device is currently connected to.

[0093] The initial routing information recorded in the gateway device is a downlink route, which serves as the transmission path for downlink data. The next hop in the initial routing information is the protocol address of the initial communication service network, and the destination address is the protocol address of the terminal device. Clearly, the next hop in the destination routing information differs from that in the initial routing information; the former is the protocol address of the target communication service network, while the latter is the protocol address of the initial communication service network. This difference may arise from a switch from the initial communication service network to the target communication service network; that is, the destination routing information can be obtained after the terminal device switches from the initial communication service network to the target communication service network. Furthermore, the initial routing information can be adjusted to become the destination routing information, for example, by deleting the initial routing information from the gateway device and adding the destination routing information.

[0094] Before the terminal device connects to the target communication service network, the initial communication service network it connects to can be the communication service network it first connects to after the terminal device is powered on or turned on, or it can be the communication service network it switches from after the first connection. Before the terminal device switches from the initial communication service network to the target communication service network, it can use the initial communication service network to which the terminal device connects for data transmission. For example, it can use the initial routing information recorded in the gateway device, and send the data sent by the information management device (data not intended for the terminal device) received by the gateway device to the terminal device according to the data transmission path indicated by the initial routing information.

[0095] It should be noted that the probe process initiated by the gateway device does not affect the terminal device's switching to the communication service network. However, the switching of the communication service network may affect the probe. For example, if the gateway device sends a probe signaling after the terminal device disconnects from the initial communication service network but before connecting to the target communication service network, the gateway device may not receive probe response information afterwards. The gateway device can continue to probe, for example, it can continue to send probe signaling after not receiving probe response information for a period of time. At this time, the terminal device connects to the target communication service network and can respond to the probe signaling, so the gateway device can receive the probe response information. In addition, when the target routing information and the initial routing information recorded in the gateway device are the same, it indicates that the target communication service network device connected by the terminal device is the initial communication service network. That is, the initial communication service network accessed by the terminal device has not switched to another communication service network, and the initial routing information can be retained. In addition, when the gateway device cannot receive the probe response information sent by the terminal device, the specific implementation method can be found in S304 and S305 below.

[0096] In one embodiment, the information processing system further includes a network management device connected to a gateway device. The connection between the network management device and the gateway device can be wired or wireless. Furthermore, the gateway management device can establish a connection with the terminal device through a communication service network. The network management device can be a server, which can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. For information processing systems including network management devices, such as... Figure 3b As shown.

[0097] Network management devices are used to manage the network connection status of terminal devices. When the terminal device is an IoT terminal device, since the terminal device accesses the communication service network through an embedded or inserted IoT card, the network management device can support the operation of an IoT card (or IoT SIM card) management platform. This IoT card management platform provides functions including, but not limited to: managing the complete lifecycle of IoT terminal devices (e.g., checking if the IoT terminal device is online, remotely maintaining the IoT terminal device, deleting the IoT terminal device, registering the IoT terminal device), and providing data flow and scene linkage (e.g., transferring data collected by IoT terminal device A to IoT terminal device B, or to a cloud server). In one embodiment, after completing network access or switching communication service networks, the terminal device can proactively report its network connection status to the network management device. The network management device can then send the terminal device's relevant routes to the gateway device via an interface. These routes can be directly used as target route information, eliminating the need for the gateway device to probe and obtain this target route information. Furthermore, the network connection status directly reported by the terminal device can also be used to check for any abnormalities in the network management device.

[0098] S304. If no probe response information is received from the terminal device through any communication service network, the terminal device is determined to be in an abnormal state.

[0099] In some situations, such as when a terminal device switches communication service networks but before connecting to another, or due to a malfunction in the terminal device itself, it may fail to connect to any of the multiple communication service networks. If the gateway device is probing the terminal device's network connectivity status at this time—for example, by sending probe signals to the terminal device through various communication service networks—and because the terminal device is not connected to a communication service network or is malfunctioning, it cannot receive these probe signals, the gateway device will not receive any probe response information from any of the multiple communication service networks. In this case, it determines that the terminal device is not connected to a communication service network and is in an abnormal state. An abnormal state indicates that the terminal device may have malfunctioned, causing it to be unable to connect to the communication service network. In simpler terms, the terminal device is offline.

[0100] Specifically, the criteria for determining that a terminal device is in an abnormal state can be: not receiving a probe response message from the terminal device through any communication service network within a preset time period, or not receiving a probe response message from the terminal device through any communication service network after a preset number of probes. Setting this criterion can prevent the terminal device from being judged as abnormal due to a lack of probe response information during handover.

[0101] Furthermore, if no probe response information is received from the terminal device through any communication service network, the initial routing information recorded in the gateway device can be deleted. For example, during the process of the terminal device switching communication service network A to communication service network B, the terminal device and each communication service network are disconnected, and each communication service network will discard the probe signaling, resulting in the terminal device being unable to receive the probe signaling and respond to the gateway device's probe by sending a probe response information. In this case, the initial routing information recorded in the gateway device can be deleted.

[0102] S305 reports the abnormal status of the terminal device to the network management device.

[0103] When a gateway device detects that a terminal device is in an abnormal state, it can report the abnormal state to the network management device, so that the status of the terminal device can be queried on the platform supported by the network management device. In the IoT scenario applied in this application, the terminal device is a variety of IoT terminal devices. Since the sending and receiving of messages by IoT terminal devices is very important, it is necessary to detect whether IoT terminal devices are in an abnormal state. Reporting the status of terminal devices enables remote management, which is very convenient.

[0104] In one embodiment, if a probe response message is received from a terminal device via the target communication service network, the target routing information is determined, and the terminal device is judged to be in a normal state. The gateway device can also proactively report the normal state of the terminal device to the network management device. In this way, the normal or abnormal state of the terminal device can be viewed at any time in the management platform supported by the network management device, realizing real-time status management of the terminal device.

[0105] It should be noted that the step numbers in the embodiments of this application do not constitute a limitation on the execution order. For the relevant implementation methods, such as S302~S303 and S304~S305, they are two parallel schemes.

[0106] As can be seen, by probing the network connection status of terminal devices through the gateway device, the target routing information can be determined when the connection between the terminal device and the communication service network is normal. When the target routing information differs from the previously recorded routing information, the routing information managed by the gateway device can be updated, and the downlink data from the information management device can be sent to the corresponding terminal device based on the data transmission path indicated by the target routing information, ensuring normal data transmission and the continuity and availability of services. In addition, the gateway device can also determine whether the terminal device is in an abnormal state based on whether it receives a probe response message during the probing process, and proactively report the status of the terminal device, realizing real-time management of the network connection status between the terminal device and the communication service network, and providing the convenience of remote management through the network management device.

[0107] Please see Figure 4 , Figure 4 This is a schematic flowchart of another information processing method provided in an exemplary embodiment of this application. This information processing method can be implemented by a terminal device (e.g., Figure 1a The terminal device 101a) shown is used to execute this, and may include:

[0108] S401, when the network switching conditions are met, the connected communication service network is switched from the initial communication service network to the target communication service network.

[0109] Given that the terminal device has the ability to access multiple communication service networks, it can switch between the connected communication service networks, changing the currently connected initial communication service network to the target communication service network. The initial communication service network and the target communication service network are different communication service networks among the multiple communication service networks. The initial communication service network can be the communication service network the terminal device first accesses, or it can be a communication service network that the terminal device has accessed before (i.e., a new communication service network obtained by switching based on the previously accessed communication service network). In this embodiment, the terminal device's ability to access multiple communication service networks is provided by the identification card in the terminal device, as detailed in the aforementioned information processing system section.

[0110] Network switching conditions refer to the conditions under which a terminal device switches to the communication service network it is currently connected to. Whether the switching conditions are met can be determined automatically or by controlled mechanisms. For example, if the terminal device encounters network congestion for a preset time threshold, or if a communication service network failure causes a link interruption, the terminal device can be triggered to actively switch to the communication service network.

[0111] In one embodiment, a terminal device can controllably switch the currently connected initial communication service network. Specific implementation steps include: upon detecting an input network switching command, determining that the network switching conditions are met; and responding to the network switching command by switching the connected communication service network from the currently connected initial communication service network to the target communication service network indicated by the network switching command.

[0112] This network switching command instructs the terminal device to switch its current initial communication service network to the target communication service network. The command can be generated manually by the terminal device, such as through remote operation: when the terminal device switches its connection from communication service network N1 to communication service network N2, a network switching command is generated. When the terminal device detects this command, it can determine that it meets the switching conditions. Therefore, the terminal device can respond to the command by switching its current initial communication service network to the target communication service network indicated by the command.

[0113] In another embodiment, the terminal device can actively switch the currently connected initial communication service network. Specific implementation steps include: obtaining network parameters between the terminal device and the currently connected initial communication service network; determining that the terminal device and the initial communication service network are in a target network state based on the network parameters, and confirming that the network switching conditions are met; determining a target communication service network from multiple communication service networks, wherein the target communication service network is different from the initial communication service network; and switching the connected communication service network from the initial communication service network to the target communication service network.

[0114] Network parameters can be used to determine the network state between a terminal device and its currently connected initial communication service network. This network state reflects the quality of the connection between the terminal device and its currently accessed communication service network. If the terminal device is in a target network state, which could be a disconnection or a degraded connection, the terminal device can perform link reselection: selecting a communication service network from multiple networks as the target network. Specifically, the target communication service network can be determined based on preset selection strategies such as network quality and service provider preferences, and then the initial communication service network to which the terminal device is connected can be switched to the target network.

[0115] For example, the initial communication service network is communication service network N1, and the target communication service network is communication service network N2. Due to a network failure in communication service network N1, the terminal device cannot access the Internet through the communication service network. Furthermore, the terminal device discovers through quality detection means (a strategy used to detect the connection quality of the communication service network) that the currently connected communication service network N1 has been disconnected. At this time, the terminal device can actively switch the communication service network N1 to the communication service network N2 and use the communication service network N2 to send uplink data to the information management device.

[0116] In addition, it should be noted that when the terminal device is powered on and initially connects to the communication service network, it can also determine the communication service network that can be accessed based on the quality of each communication service network and selection preferences, etc. After connecting to the communication service network, it can use the communication service network to send uplink data to the server (such as information management equipment).

[0117] S402 sends probe response information to the gateway device through the target communication service network.

[0118] The probe response information is used to instruct the gateway device to determine the target routing information based on the transmission path of the probe response information. The probe response information is generated and sent by the gateway device during the process of probing the network connection status of the terminal device through various communication service networks. The probe response information is the response information from the terminal device to the gateway device's probe of the terminal device's network connection status through various communication service networks.

[0119] In other words, before performing this step, the terminal device may also perform the following: receive probe signaling sent by the gateway device through the target communication service network; and generate probe response information based on the probe signaling.

[0120] The probe signaling is sent by the gateway device to each communication service network when the probe conditions are met. During the process of probing the network connection status of the terminal device when the probe conditions are met, the gateway device can send probe signaling to each communication service network. When the initial communication service network to which the terminal device is connected switches to the target communication service network, the probe signaling can be sent from the target communication service network to the terminal device. After receiving the probe signaling, the terminal device can generate probe response information corresponding to the probe signaling.

[0121] After the terminal device generates probe response information, it can send the probe response information to the gateway device through the target communication service network that sent the probe signaling. In this way, the gateway device can determine the target routing information based on the transmission path of the probe response information. The transmission path of the probe response information is used to indicate the source of the probe response information and the communication service network it passes through. Furthermore, the source address of sending the probe response information (i.e., the second protocol address of the terminal device) in the transmission path can be used as the destination address in the target routing information, and the next hop of sending the probe response information (i.e., the first protocol address of the target communication service network) can be used as the next hop in the target routing information.

[0122] The information processing scheme provided in this application embodiment enables the terminal device to access at least one of multiple communication service networks, while the gateway device can connect to the respective communication service networks of multiple service providers and information management devices. This provides multiple end-to-end equivalent communication links. When the network currently in which the terminal device is located experiences congestion, signal fading, or network failure, affecting the network connection between the terminal device and the communication service network, causing the connection between the terminal device and the communication service network to be disconnected (i.e., the current path fails), the path can be switched to another communication service network, thereby ensuring service availability. Furthermore, during the switching process, the gateway device's active probing function also ensures the continuity of the connection to the communication service network.

[0123] Based on the above scheme, the interaction process of each terminal will be described in detail below based on the information processing system. Specifically, this includes the signaling process involved in the initial access of the terminal device to the communication service network, and the execution of link reselection when the terminal device encounters network congestion, signal fading, network failure, or other factors that cause the communication link to be interrupted or its quality to deteriorate significantly.

[0124] For ease of description, assume the terminal device is IoT terminal U1, the communication service network includes the communication service networks of two service providers: base station A11 and core network A12 provided by service provider A, and base station B11 and core network B12 provided by service provider B. The gateway device is a dedicated gateway, the information management device includes public cloud / IDC, and the probe response information is a probe signaling response.

[0125] Please see Figure 5a This is an interactive flowchart of an exemplary embodiment of this application, illustrating the initial access of a terminal device to a communication service network. It includes steps S51 to S56.

[0126] S51: After the IoT terminal U1 is powered on, it selects the current service provider (specifically, the communication service network provided by the service provider) according to preset strategies such as the network quality of the communication service network provided by the service provider and the service provider's preferences, and completes the attachment and registration according to the 3GPP standard process to obtain a pre-allocated static IP.

[0127] S52: After access is completed, IoT terminal U1 can send uplink data to the public cloud / IDC. Specifically, it can send data to the public cloud / IDC through the communication service network and gateway device currently used by IoT terminal U1. It should be noted that after access is completed, the IoT terminal may not send uplink data, but the dedicated gateway will still send probe signaling to the terminal device subsequently. That is, whether the IoT terminal sends uplink data or not does not interfere with the probe process. This step is not mandatory and the execution order is not limited by the step number. That is, this step can be performed during the probe process (e.g., after S53) or after the probe is completed (e.g., after S55).

[0128] S53: The dedicated gateway sends a probe signaling message to the IoT terminal U1 through the communication service network it is connected to. For service provider A, which the IoT terminal has not registered with, its core network A12 will discard the probe signaling message, while the core network B12 of service provider B will forward the probe signaling message to the IoT terminal U1 through base station B11. It should be noted that since the service provider (i.e., the owner of the dedicated gateway) can manage the IP address group pre-assigned to the IoT terminal by the service provider, it can probe this IP address group and record the connectivity status between the terminal device and the communication service network. Specifically, this can be done by: constructing multiple corresponding virtual routes based on the IP address group, sending probe signaling messages based on these virtual routes, and then determining the actual route from the virtual routes when a probe signaling response is received, as described in S54 and S55 below.

[0129] S54: After receiving the probe signaling, IoT terminal U1 sends a probe signaling response. That is, the probe signaling response is sent to base station B11, and then base station B11 sends it to the dedicated gateway through core network B12.

[0130] S55: After receiving the probe signaling response, the leased line gateway adds a route: the destination of the IoT terminal U1 is the core network B12 corresponding to the service provider object B. Specifically, the destination address of this route is the IP address corresponding to the IoT terminal U1, and the next hop of this route is the protocol address of the core network B12 corresponding to the service provider object B. The route added after the probe prepares for the transmission of downlink data. When data transmission is required, the content of S56 can be executed.

[0131] S56: Downlink data from the public cloud / IDC is forwarded by a dedicated gateway to the core network B12 provided by service provider object B, and then sent by the core network B12 to the IoT terminal U1 via base station B11. It should be noted that this step is not performed immediately or is mandatory; that is, the public cloud / IDC may also choose not to send downlink data.

[0132] Please see Figure 5bThis is a signaling interaction flowchart of a terminal device performing link reselection, provided in an exemplary embodiment of this application. Figure 5b As shown, this specifically includes S511 to S517. The dedicated gateway contains routes related to the IoT terminal U1, with the next hop pointing to the core network A12 in the communication service network.

[0133] S511: The IoT terminal U1 initiates a network switch, either actively or under control, and disconnects from the communication service network of the service provider B, specifically from the base station B11.

[0134] S512: The dedicated gateway sends a probe signaling message to the IoT terminal U1 through the communication service network it is connected to. Since the IoT terminal U1 is not registered on any communication service network, the core networks of each service provider (including core network A12 and core network B12) will discard the probe signaling message, resulting in the dedicated gateway not receiving a probe signaling message response. It should be noted that this step is not mandatory when the probe signaling message is sent periodically; that is, the probe signaling message may also be sent after the access is completed.

[0135] S513: The dedicated gateway removes routes associated with IoT terminal U1. This is based on... Figure 5a The communication service network accessed by IoT terminal U1 deletes the route whose destination is IoT terminal U1 and whose next hop is core network B12.

[0136] S514: IoT terminal U1 completes attachment and registration according to the 3GPP standard process and accesses the communication service network provided by service provider A, specifically by connecting to the core network A12 through base station A11.

[0137] S515: The dedicated gateway continues to send probe signals to the IoT terminal U1 through the communication service network it is connected to. For service provider B that the IoT terminal has not registered, its core network B12 will discard the probe signals, while service provider A will forward the probe signals to the IoT terminal U1 through base station A11.

[0138] S516: After receiving the signal, IoT terminal U1 sends a probe signaling response. This response is then sent to base station A11, which in turn sends it to the dedicated gateway via core network A12.

[0139] S517: After receiving the probe signaling response, the leased line gateway adds a route: the destination is the next hop of IoT terminal U1, which is the core network A12 corresponding to the service provider object A. That is, the destination address in the route is the IP address corresponding to IoT terminal U1, and the next hop in the route is the IP address corresponding to core network A12.

[0140] It should be noted that the above Figure 5a as well as Figure 5b The interactive flowcharts shown can all be applied to, for example... Figure 1a or Figure 1b The information processing system shown is applied to, for example, [the following]. Figure 1b The information processing system shown is applied to Figure 1a The differences between the information processing systems shown are as follows: Figure 1b In the information processing system shown, the data sent and received by the gateway device, including the VPC (such as uplink data, probe signaling, probe signaling response, downlink data, etc.), is forwarded through a dedicated channel that interfaces with the communication service network accessed by the terminal device.

[0141] To further illustrate the effects of the information processing system and information processing method provided in the embodiments of this application, the following describes two other architectures currently in use.

[0142] Please see Figure 6a This is a schematic diagram of a virtual IoT private network provided in an exemplary embodiment of this application. Figure 6a It is understood that the service provider connects to the customer's IDC data center via an APN / DNN leased line, and leverages the isolation provided by the APN / DNN to offer a dedicated network for the customer's IoT terminals under the 4G / 5G network, enabling targeted access to the IDC. For example... Figure 6b This diagram illustrates another virtual IoT private network provided by an exemplary embodiment of this application. In this network, the core network of the service provider and the server (including the IoT platform and IDC) are connected via a cloud connector, and the cloud connector and the core network of the service provider are isolated via a dedicated APN. However, in this approach, the cloud connector only provides access to a single service provider, and the IoT terminal can only insert one IoT SIM card to access cloud resources and the customer's self-built IDC through this cloud connector. If the IoT terminal wants to switch to another service provider, it can only do so by inserting a different IoT SIM card.

[0143] As can be seen, the two types of virtual IoT private networks mentioned above only provide access capabilities for a single service provider. When the selected service provider has coverage blind spots or network congestion in the area where the terminal device is active, and the terminal device does not have the ability to switch communication service networks, it will result in the terminal device being unable to access the network, reduced bandwidth, or connection interruption. When the base station, bearer network, or core network fails, it will also prevent the terminal device from accessing the cloud or IDC.

[0144] However, the information processing system and information processing method provided in this application embodiment can use a multi-SIM single-standby identification card in the terminal device, supporting the terminal device to access at least one of multiple communication service networks. This allows the terminal device to provide a highly available cellular network connection through communication service networks provided by different service providers, maximizing coverage of the terminal device's activity area. Furthermore, since the terminal device is provided with the ability to access multiple service providers, and the gateway device connects the information management device (e.g., a public cloud or customer IDC) and the communication service networks of multiple service providers, it can provide multiple end-to-end equivalent paths. When a service provider fails or the terminal device enters a network coverage blind spot, cross-service provider disaster recovery can be achieved through multiple equivalent paths, ensuring business continuity. When applied to IoT scenarios, the information processing system provided in this application embodiment includes a highly available virtual IoT private network, capable of providing reliable backup links to ensure business continuity.

[0145] Please see Figure 7a , Figure 7a This is a schematic diagram illustrating the structure of an information processing apparatus provided in an exemplary embodiment of this application. The aforementioned information processing apparatus may be a computer program (including program code) running on a computer device; for example, the information processing apparatus may be an application software. The information processing apparatus may be used to execute corresponding steps in the methods provided in the embodiments of this application. Figure 7a As shown, the information processing device 700 may include: a detection module 701, a transceiver module 702, a determination module 703, and an adjustment module 704.

[0146] The information processing device 700 can be deployed in a gateway device of an information processing system. The information processing system includes a terminal device, multiple communication service networks, a gateway device, and an information management device. The multiple communication service networks provide different services to different users. The gateway device is connected to each communication service network and to the information management device.

[0147] The detection module 701 is used to detect the network connection status of the terminal device through various communication service networks when the detection conditions are met.

[0148] The transceiver module 702 is used to receive probe response information sent by the terminal device through the target communication service network, where the target communication service network is the communication service network accessed by the terminal device among multiple communication service networks;

[0149] The determination module 703 is used to determine the target routing information, which is used to instruct the gateway device and the terminal device to connect through the target communication service network.

[0150] In one embodiment, the detection module 701 is specifically configured to: send detection signaling to each communication service network respectively, wherein the target recipient of the detection signaling is the terminal device; wherein, for any of the multiple communication service networks, if the terminal device has not established a network connection with any communication service network, the communication service network discards the detection signaling; if the terminal device has established a network connection with any communication service network, the communication service network sends the detection signaling to the terminal device; the detection response information is generated by the terminal device after receiving the detection signaling.

[0151] In one embodiment, the determining module 703 is configured to: obtain a first protocol address of the target communication service network; obtain a second protocol address of the terminal device, wherein the second protocol address is a protocol address assigned to the terminal device by the service provider to which the target communication service network belongs; and generate target routing information based on the first protocol address and the second protocol address, wherein the first protocol address is the next hop in the target routing information and the second protocol address is the destination address in the target routing information.

[0152] In one embodiment, the transceiver module 702 is further configured to: receive downlink data sent by the information management device; and when the downlink data is data to be sent to the terminal device, send the downlink data to the terminal device according to the data transmission path indicated by the target routing information.

[0153] In one embodiment, the information processing system further includes a network management device connected to a gateway device. The transceiver module 702 is further configured to: determine that the terminal device is in an abnormal state if no probe response information is received from the terminal device through any communication service network; and report the abnormal state of the terminal device to the network management device.

[0154] In one embodiment, the information processing apparatus 700 further includes an adjustment module 704, configured to: adjust the initial routing information recorded in the gateway device to the target routing information if the target routing information is different from the initial routing information recorded in the gateway device; wherein the initial routing information is used to instruct the gateway device and the terminal device to connect through an initial communication service network, the initial communication service network being the communication service network that the terminal device was connected to before switching to the target communication service network.

[0155] It is understood that the functions of each functional module of the information processing device described in the embodiments of this application can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here. In addition, the beneficial effects of using the same method will not be repeated here either.

[0156] Please see Figure 7b , Figure 7bThis is a schematic diagram illustrating the structure of an information processing apparatus provided in an exemplary embodiment of this application. The aforementioned information processing apparatus may be a computer program (including program code) running on a computer device; for example, the information processing apparatus may be an application software. The information processing apparatus may be used to execute corresponding steps in the methods provided in the embodiments of this application. Figure 7b As shown, the information processing device 710 may include: a switching module 711, a transceiver module 712, and a generation module 713.

[0157] The information processing device 710 can be deployed in a terminal device of an information processing system. The information processing system includes a terminal device, multiple communication service networks, a gateway device, and an information management device. The multiple communication service networks provide different services to different users. The gateway device is connected to each communication service network and to the information management device.

[0158] The switching module 711 is used to switch the connected communication service network from the initial communication service network to the target communication service network when the network switching conditions are met; the initial communication service network and the target communication service network are different communication service networks among multiple communication service networks;

[0159] The transceiver module 712 is used to send probe response information to the gateway device through the target communication service network. The probe response information is used to instruct the gateway device to determine the target routing information according to the transmission path of the probe response information. The probe response information is generated and sent by the gateway device during the process of probing the network connection status of the terminal device through various communication service networks.

[0160] In one embodiment, the switching module 711 is specifically configured to: determine that the network switching conditions are met when an input network switching command is detected; and, in response to the network switching command, switch the connected communication service network from the currently connected initial communication service network to the target communication service network indicated by the network switching command.

[0161] In one embodiment, the switching module 711 is further configured to: obtain network parameters between the initial communication service network currently connected to the terminal device and the terminal device; determine that the network switching conditions are met when it is determined from the network parameters that the terminal device and the initial communication service network are in a target network state; determine the target communication service network from multiple communication service networks, wherein the target communication service network is different from the initial communication service network; and switch the connected communication service network from the initial communication service network to the target communication service network.

[0162] In one embodiment, the information management device further includes a generation module 713, wherein the transceiver module 712 is further configured to: receive a probe signaling sent by the gateway device through the target communication service network, wherein the probe signaling is sent by the gateway device to each communication service network respectively when the probe conditions are met; and the generation module 713 is configured to generate probe response information based on the probe signaling.

[0163] It is understood that the functions of each functional module of the information processing device described in the embodiments of this application can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here. In addition, the beneficial effects of using the same method will not be repeated here either.

[0164] Please see Figure 8a , Figure 8a This is a schematic diagram of a gateway device provided in an embodiment of this application. The gateway device 8000 may include one or more independent devices (such as servers, nodes, terminals, etc.), or it may include components within independent devices (such as chips, software modules, or hardware modules). The gateway device 8000 may include at least one processor 8001 and a communication interface 8002. Further optionally, the gateway device 8000 may also include at least one memory 8003 and a bus 8004. The processor 8001, communication interface 8002, and memory 8003 are connected via the bus 8004.

[0165] The processor 8001 is a module that performs arithmetic and / or logical operations. Specifically, it can be one or a combination of processing modules such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor unit (MPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), a coprocessor (to assist the central processing unit in completing corresponding processing and applications), and a microcontroller unit (MCU).

[0166] The communication interface 8002 can be used to provide information input or output to at least one processor. And / or, the communication interface 8002 can be used to receive data transmitted externally and / or transmit data externally, and can be a wired link interface including an Ethernet cable, or a wireless link interface (Wi-Fi, Bluetooth, general wireless transmission, vehicular short-range communication technology, and other short-range wireless communication technologies, etc.). In this application, the communication interface can serve as a network interface.

[0167] The memory 8003 provides storage space, which can store data such as the operating system and computer programs. The memory 8003 can be one or a combination of several of the following: random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM).

[0168] At least one processor 8001 in the gateway device 8000 is used to call a computer program stored in at least one memory 8003 to execute the aforementioned information processing method, such as the one described above. Figure 2 , Figure 3a The information processing method described in the illustrated embodiment.

[0169] In one possible implementation, the processor 8001 in the gateway device 8000 is used to call a computer program stored in at least one memory 8003 to perform the following operations: when the detection conditions are met, detect the network connection status of the terminal device through various communication service networks; receive detection response information sent by the terminal device through a target communication service network, wherein the target communication service network is a communication service network accessed by the terminal device among multiple communication service networks; and determine target routing information, wherein the target routing information is used to instruct the gateway device and the terminal device to connect through the target communication service network.

[0170] In one embodiment, the processor 8001 is specifically configured to: send probe signaling to each communication service network respectively, wherein the target recipient of the probe signaling is a terminal device; wherein, for any of the multiple communication service networks, if the terminal device has not established a network connection with any communication service network, the communication service network discards the probe signaling; if the terminal device has established a network connection with any communication service network, the communication service network sends the probe signaling to the terminal device; the probe response information is generated by the terminal device after receiving the probe signaling.

[0171] In one embodiment, the processor 8001 is specifically configured to: obtain a first protocol address of a target communication service network; obtain a second protocol address of a terminal device, wherein the second protocol address is a protocol address assigned to the terminal device by a service provider to which the target communication service network belongs; and generate target routing information based on the first protocol address and the second protocol address, wherein the first protocol address is the next hop in the target routing information and the second protocol address is the destination address in the target routing information.

[0172] In one embodiment, the processor 8001 is further configured to: receive downlink data sent by the information management device; and when the downlink data is data to be sent to the terminal device, send the downlink data to the terminal device according to the data transmission path indicated by the target routing information.

[0173] In one embodiment, the information processing system further includes a network management device connected to a gateway device. In one embodiment, the processor 8001 is further configured to: determine that the terminal device is in an abnormal state if no probe response information is received from the terminal device through any communication service network; and report the abnormal state of the terminal device to the network management device.

[0174] In one embodiment, the processor 8001 is further configured to: if the target routing information is different from the initial routing information recorded in the gateway device, adjust the initial routing information recorded in the gateway device to the target routing information; wherein the initial routing information is used to instruct the gateway device and the terminal device to connect through an initial communication service network, and the initial communication service network is the communication service network that the terminal device was connected to before switching to the target communication service network.

[0175] It should be understood that the gateway device 8000 described in the embodiments of this application can execute the information processing method described in the corresponding embodiments above, and can also execute the methods described above. Figure 7a The description of the information processing device 700 in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated here.

[0176] Please see Figure 8b , Figure 8bThis is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. The terminal device 8100 may include one or more independent devices (such as servers, nodes, terminals, etc.), or it may include components within independent devices (such as chips, software modules, or hardware modules). The terminal device 8100 may include at least one processor 8101 and a communication interface 8102. Further optionally, the terminal device 8100 may also include at least one memory 8103 and a bus 8104. The processor 8101, the communication interface 8102, and the memory 8103 are connected via the bus 8104.

[0177] The processor 8101 is a module that performs arithmetic and / or logical operations. Specifically, it can be one or a combination of processing modules such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor unit (MPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), a coprocessor (to assist the central processing unit in completing corresponding processing and applications), and a microcontroller unit (MCU).

[0178] The communication interface 8102 can be used to provide information input or output to at least one processor. And / or, the communication interface 8102 can be used to receive data transmitted externally and / or transmit data externally, and can be a wired link interface including an Ethernet cable, or a wireless link interface (Wi-Fi, Bluetooth, general wireless transmission, vehicular short-range communication technology, and other short-range wireless communication technologies, etc.). In this application, the communication interface can serve as a network interface.

[0179] The memory 8103 provides storage space, in which data such as the operating system and computer programs can be stored. The memory 8103 can be one or a combination of several of the following: random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM).

[0180] At least one processor 8101 in the terminal device 8100 is used to call a computer program stored in at least one memory 8103 to execute the aforementioned information processing method, such as the one described above. Figure 4 The information processing method described in the illustrated embodiment.

[0181] In one possible implementation, the processor 8101 in the terminal device 8100 is used to call a computer program stored in at least one memory 8103 to perform the following operations: when network switching conditions are met, switching the connected communication service network from the initial communication service network to the target communication service network; the initial communication service network and the target communication service network are different communication service networks among a plurality of communication service networks; sending probe response information to the gateway device through the target communication service network, the probe response information being used to instruct the gateway device to determine target routing information based on the transmission path of the probe response information; wherein, the probe response information is generated and sent during the process of the gateway device probing the network connection status of the terminal device through various communication service networks.

[0182] In one embodiment, the processor 8101 is specifically configured to: upon detecting an input network switching instruction, determine that the network switching conditions are met; and in response to the network switching instruction, switch the connected communication service network from the currently connected initial communication service network to the target communication service network indicated by the network switching instruction.

[0183] In another embodiment, the processor 8101 is specifically configured to: obtain network parameters between the initial communication service network currently connected to the terminal device and the terminal device; determine that the network switching conditions are met when it is determined from the network parameters that the terminal device and the initial communication service network are in a target network state; determine the target communication service network from multiple communication service networks, wherein the target communication service network is different from the initial communication service network; and switch the connected communication service network from the initial communication service network to the target communication service network.

[0184] In one embodiment, the processor 8101 is further configured to: receive a probe signaling sent by the gateway device through the target communication service network, wherein the probe signaling is sent by the gateway device to each communication service network respectively when the probe conditions are met; and generate probe response information based on the probe signaling.

[0185] It should be understood that the terminal device 8100 described in the embodiments of this application can execute the information processing method described in the corresponding embodiments above, and can also execute the methods described above. Figure 7b The description of the information processing device 710 in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated here.

[0186] Furthermore, it should be noted that an exemplary embodiment of this application also provides a storage medium storing a computer program for the aforementioned information processing method. This computer program includes program instructions that, when loaded and executed by one or more processors, can implement the information processing method described in the embodiments, which will not be repeated here. The beneficial effects of employing the same method will also not be repeated here. It is understood that the program instructions can be deployed on one or more computer devices capable of communicating with each other for execution.

[0187] The aforementioned computer-readable storage medium can be an internal storage unit of the information processing apparatus or computer device provided in any of the foregoing embodiments, such as a hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium may include both internal and external storage units of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0188] One aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method provided in one aspect of the embodiments of this application.

[0189] In one aspect of this application, another computer program product is provided, which includes a computer program or computer instructions that, when executed by a processor, implement the steps of the information processing method provided in the embodiments of this application.

[0190] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. An information processing method, characterized in that, It is applied to an information processing system, which includes terminal equipment, multiple communication service networks, gateway equipment, and information management equipment, wherein any two of the multiple communication service networks belong to different service providers. The gateway device is connected to each of the communication service networks and to the information management device; the method is executed by the gateway device, and the method includes: When the detection conditions are met, the network connection status of the terminal device is detected through each of the communication service networks; the network connection status is used to indicate whether the terminal device is normally connected to the communication service network, and the detection conditions include any one or more of the following: the gateway device is powered on, and the terminal device has a data interaction requirement with the information management device; The terminal device receives probe response information sent through a target communication service network, wherein the target communication service network is the communication service network that the terminal device switches to from the initial communication service network among the plurality of communication service networks; the initial communication service network and the target communication service network are different communication service networks among the plurality of communication service networks; Determine target routing information, which is used to instruct the gateway device and the terminal device to connect through the target communication service network; Receive downlink data sent by the information management device; When the downlink data is data to be sent to the terminal device, the downlink data is sent to the terminal device according to the data transmission path indicated by the target routing information.

2. The method as described in claim 1, characterized in that, The step of detecting the network connection status of the terminal device through each of the communication service networks includes: Each of the aforementioned communication service networks sends a probe signaling message, the target recipient of which is the terminal device. Specifically, for any of the plurality of communication service networks, if the terminal device does not establish a network connection with any of the communication service networks, then any of the communication service networks discards the probe signaling; if the terminal device establishes a network connection with any of the communication service networks, then any of the communication service networks sends the probe signaling to the terminal device; the probe response information is generated by the terminal device after receiving the probe signaling.

3. The method as described in claim 1, characterized in that, The determination of target routing information includes: Obtain the first protocol address of the target communication service network; Obtain the second protocol address of the terminal device, wherein the second protocol address is the protocol address assigned to the terminal device by the service provider to which the target communication service network belongs; Target routing information is generated based on the first protocol address and the second protocol address, wherein the first protocol address is the next hop in the target routing information and the second protocol address is the destination address in the target routing information.

4. The method as described in claim 3, characterized in that, The gateway device includes a dedicated gateway and multiple dedicated channels connected to the dedicated gateway. The dedicated gateway is connected to the information management device, and each dedicated channel is connected to a communication service network. Obtaining the second protocol address of the terminal device includes: The dedicated gateway detects the protocol address group of the terminal device through the multiple dedicated channels. The protocol address group includes protocol addresses assigned to the terminal device by multiple service providers. The protocol address assigned to the terminal device by the service provider of the target communication service network is obtained from the protocol address group of the terminal device, and the obtained protocol address is determined as the second protocol address of the terminal device.

5. The method according to any one of claims 1-4, characterized in that, The gateway device has address translation functionality, and the method further includes: If the destination protocol address of the downlink data is a virtual intranet protocol address, then the destination protocol address of the downlink data is converted to the second protocol address of the terminal device; the second protocol address is the protocol address assigned to the terminal device by the service provider to which the target communication service network belongs; If uplink data sent by the terminal device to the information management device is received, and the source address of the uplink data is the first protocol address of the target communication service network, then the source address is converted to a virtual intranet protocol address.

6. The method according to any one of claims 1 to 4, characterized in that, The method further includes: If the target routing information is different from the initial routing information recorded in the gateway device, then the initial routing information recorded in the gateway device is adjusted to the target routing information; The initial routing information is used to instruct the gateway device and the terminal device to connect through the initial communication service network, which is the communication service network that the terminal device was connected to before switching to the target communication service network.

7. The method according to any one of claims 1 to 4, characterized in that, The information processing system further includes a network management device connected to the gateway device, and the method further includes: If no probe response information is received from the terminal device through any communication service network, the terminal device is determined to be in an abnormal state. The abnormal status of the terminal device is reported to the network management device.

8. An information processing method, characterized in that, It is applied to an information processing system, which includes terminal equipment, multiple communication service networks, gateway equipment, and information management equipment, wherein any two of the multiple communication service networks belong to different service providers. The gateway device is connected to each of the communication service networks and to the information management device; the method is executed by the terminal device, and the method includes: When the network switching conditions are met, the connected communication service network is switched from the initial communication service network to the target communication service network; the initial communication service network and the target communication service network are different communication service networks among the plurality of communication service networks; the met detection conditions include any one or more of the following: the gateway device is powered on, and the terminal device has a data interaction requirement with the information management device; Receive the probe signaling sent by the gateway device through the target communication service network; Generate probe response information based on the probe signaling; The probe response information is sent to the gateway device through the target communication service network, and the probe response information is used to instruct the gateway device to determine the target routing information according to the transmission path of the probe response information. The gateway device receives downlink data sent by the information management device according to the data transmission path indicated by the target routing information. The downlink data is the data sent by the information management device to the gateway device.

9. The method as described in claim 8, characterized in that, The step of switching the connected communication service network from the initial communication service network to the target communication service network when the network switching conditions are met includes: When an input network switching command is detected, it is determined that the network switching conditions are met; In response to the network switching command, the connected communication service network is switched from the currently connected initial communication service network to the target communication service network indicated by the network switching command.

10. The method as described in claim 8, characterized in that, The step of switching the connected communication service network from the initial communication service network to the target communication service network when the network switching conditions are met includes: Obtain the network parameters between the initial communication service network currently connected to the terminal device and the terminal device; When it is determined from the network parameters that the terminal device and the initial communication service network are in the target network state, it is determined that the network switching conditions are met; A target communication service network is determined from the plurality of communication service networks, the target communication service network being different from the initial communication service network; Switch the connected communication service network from the initial communication service network to the target communication service network.

11. An information processing device, characterized in that, The information processing device is deployed in the gateway device of the information processing system. The information processing system includes terminal devices, multiple communication service networks, gateway devices, and information management devices. Any two of the multiple communication service networks belong to different service providers. The gateway device is connected to each of the communication service networks and to the information management device; the information processing device includes: The detection module is used to detect the network connection status of the terminal device through each of the communication service networks when the detection conditions are met; the network connection status is used to indicate whether the terminal device is normally connected to the communication service network, and the detection conditions include any one or more of the following: the gateway device is powered on, and the terminal device has a data interaction requirement with the information management device; The transceiver module is used to receive probe response information sent by the terminal device through a target communication service network, wherein the target communication service network is the communication service network that the terminal device switches to from the initial communication service network among the plurality of communication service networks; the initial communication service network and the target communication service network are different communication service networks among the plurality of communication service networks; A determination module is used to determine target routing information, wherein the target routing information is used to instruct the gateway device and the terminal device to connect through the target communication service network; The transceiver module is further configured to: receive downlink data sent by the information management device; and when the downlink data is data to be sent to the terminal device, send the downlink data to the terminal device according to the data transmission path indicated by the target routing information.

12. A gateway device, characterized in that: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide network communication functions, the memory is used to store program code, and the processor is used to call the program code to execute the information processing method according to any one of claims 1 to 7.

13. A terminal device, characterized in that, include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide network communication functions, the memory is used to store program code, and the processor is used to call the program code to execute the information processing method according to any one of claims 8 to 10.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the information processing method according to any one of claims 1 to 7; or, when executed by a processor, the computer program performs the information processing method according to any one of claims 8 to 10.

15. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the information processing method as described in any one of claims 1 to 7, or, when executed by a processor, performs the information processing method as described in any one of claims 8 to 10.