US-12621187-B2 - Information processing method, gateway device, terminal device, storage medium, and computer program product
Abstract
An information processing method, applied to an information processing system, where the information processing system includes a terminal device, an information management device, communication service systems, and a gateway device connected to the information management device and to each of the communication service systems, each communication service system corresponding to a respective communication service network, includes detecting, by the gateway device, a network connection status of the terminal device through each of the communication service systems, receiving, by the gateway device, detection response information from the terminal device through a target communication service network of the communication service networks, and determining, by the gateway device, target routing information that indicates that the gateway device and the terminal device are connected through the target communication service network.
Inventors
- Feng Yang
- Shinan ZHAO
Assignees
- TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Dates
- Publication Date
- 20260505
- Application Date
- 20231017
- Priority Date
- 20220330
Claims (20)
- 1 . An information processing method, applied to an information processing system, wherein the information processing system comprises a terminal device, an information management device, a plurality of communication service systems, and a gateway device connected to the information management device and to each of the plurality of communication service systems, each of the plurality of communication service systems corresponding to a respective communication service network, the information processing method comprising: detecting, by the gateway device, a network connection status of the terminal device through each of the plurality of communication service systems; receiving, by the gateway device, detection response information from the terminal device through a target communication service network of the plurality of communication service networks; and determining, by the gateway device, target routing information that indicates that the gateway device and the terminal device are connected through the target communication service network.
- 2 . The information processing method according to claim 1 , wherein detecting the network connection comprises: transmitting detection signaling for the detecting the terminal device to each of the plurality of communication service systems, for each of the plurality of communication service networks, when the terminal device is not connected to the communication service network, the communication service system corresponding to the communication service network discards the detection signaling, and when the terminal device accesses the communication service network, the communication service system corresponding to the communication service network transmits the detection signaling to the terminal device; and wherein the detection response information is generated by the terminal device based on the detection signaling.
- 3 . The information processing method according to claim 2 , wherein the plurality of communication service networks correspond to different service provider objects, and determining the target routing information comprises: obtaining a first protocol address of a target communication service system that corresponds to the target communication service network; obtaining a second protocol address of the terminal device, the second protocol address being assigned to the terminal device by a service provider object to which the target communication service network belongs; and generating the target routing information based on the first protocol address and the second protocol address, wherein the first protocol address is a next hop in the target routing information, and the second protocol address is a destination address in the target routing information.
- 4 . The information processing method according to claim 1 , further comprising: receiving downlink data from the information management device; and based on the downlink data being data to be transmitted to the terminal device, transmitting the downlink data to the terminal device based on a data transmission path indicated by the target routing information.
- 5 . The information processing method according to claim 1 , further comprising: based on the target routing information being different from initial routing information stored on the gateway device, changing the initial routing information recorded to the target routing information, wherein the initial routing information indicates that the gateway device and the terminal device are connected through an initial communication service network, and wherein the initial communication service network is a communication service network to which the terminal device is connected prior to switching to the target communication service network.
- 6 . The information processing method according to claim 1 , wherein the information processing system further comprises a network management device that is connected to the gateway device, and wherein the method further comprises: determining that the terminal device is in an abnormal state; and reporting the abnormal state of the terminal device to the network management device.
- 7 . The information processing method according to claim 6 , wherein determining that the terminal device is in the abnormal state comprises: determining that no detection response information has been received from the terminal device through the plurality of communication service networks within a preset time period.
- 8 . The information processing method according to claim 6 , wherein determining that the terminal device is in the abnormal state comprises: determining that no detection response information has been received from the terminal device through the plurality of communication service networks within a preset number of detection attempts.
- 9 . The information processing method according to claim 6 , further comprising: based on determining that the terminal device is in the abnormal state, deleting the target routing information.
- 10 . The information processing method according to claim 1 , wherein the network connection status of the terminal device is detected periodically, a frequency of the detection being determined based on the network connection status.
- 11 . A gateway device configured to operate in an information processing system, wherein the information processing system further comprises a terminal device, an information management device, a plurality of communication service systems, each of the plurality of communication service systems corresponding to a respective communication service network, wherein the gateway device is connected to the information management device and to each of the plurality of communication service systems, the gateway device comprising: at least one memory configured to store computer program code; and at least one processor configured to operate as instructed by the computer program code, the computer program code comprising: detecting code configured to cause the at least one processor to detect a network connection status of the terminal device through each of the plurality of communication service systems; receiving code configured to cause the at least one processor to receive detection response information from the terminal device through a target communication service network of the plurality of communication service networks; and determining code configured to cause the at least one processor to determine target routing information that indicates that the gateway device and the terminal device are connected through the target communication service network.
- 12 . The gateway device according to claim 11 , wherein detecting the network connection comprises: transmitting detection signaling for the detecting the terminal device to each of the plurality of communication service systems, for each of the plurality of communication service networks, when the terminal device is not connected to the communication service network, the communication service system corresponding to the communication service network discards the detection signaling, and when the terminal device accesses the communication service network, the communication service system corresponding to the communication service network transmits the detection signaling to the terminal device; and wherein the detection response information is generated by the terminal device based on the detection signaling.
- 13 . The gateway device according to claim 12 , wherein the plurality of communication service networks correspond to different service provider objects, and determining the target routing information comprises: obtaining a first protocol address of a target communication service system that corresponds to the target communication service network; obtaining a second protocol address of the terminal device, the second protocol address being assigned to the terminal device by a service provider object to which the target communication service network belongs; and generating the target routing information based on the first protocol address and the second protocol address, wherein the first protocol address is a next hop in the target routing information, and the second protocol address is a destination address in the target routing information.
- 14 . The gateway device according to claim 11 , wherein the receiving code is further configured to cause the at least one processor to: receive downlink data from the information management device; and wherein the program code further comprises transmitting code configured to cause the at least one processor to transmit, based on the downlink data being data to be transmitted to the terminal device, the downlink data to the terminal device based on a data transmission path indicated by the target routing information.
- 15 . The gateway device according to claim 11 , wherein the determining code is further configured to cause the at least one processor to: based on the target routing information being different from initial routing information stored on the gateway device, change the initial routing information recorded to the target routing information, wherein the initial routing information indicates that the gateway device and the terminal device are connected through an initial communication service network, and wherein the initial communication service network is a communication service network to which the terminal device is connected prior to switching to the target communication service network.
- 16 . The gateway device according to claim 11 , wherein the detecting code is further configured to cause the at least one processor to: determine that the terminal device is in an abnormal state; and report the abnormal state of the terminal device to a network management device.
- 17 . The gateway device according to claim 16 , wherein determining that the terminal device is in the abnormal state comprises: determining that no detection response information has been received from the terminal device through the plurality of communication service networks within a preset number of detection attempts.
- 18 . The gateway device according to claim 16 , wherein the program code further comprises: deleting code configured to cause the at least one processor to delete the target routing information based on determining that the terminal device is in the abnormal state.
- 19 . The gateway device according to claim 11 , wherein the detection code is further configured to cause the at least one processor to detect the network connection status of the terminal device periodically, wherein a frequency of the detection is determined based on the network connection status.
- 20 . A non-transitory computer-readable medium containing program code applied to a gateway device configured to operate in an information processing system, wherein the information processing system further comprises a terminal device, an information management device, a plurality of communication service systems, each of the plurality of communication service systems corresponding to a respective communication service network, wherein the gateway device is connected to the information management device and to each of the plurality of communication service systems, wherein the program is configured to cause the gateway device to: detect a network connection status of the terminal device through each of the plurality of communication service systems; receive detection response information from the terminal device through a target communication service network of the plurality of communication service networks; and determine target routing information that indicates that the gateway device and the terminal device are connected through the target communication service network.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of International Patent Application No. PCT/CN2022/135516 filed on Nov. 30, 2022, which claims priority to Chinese Patent Application No. 202210325020.0 filed on Mar. 30, 2022, the entireties of which are incorporated by reference. FIELD The disclosure relates to the field of communication technologies, and in particular, to an information processing method, a gateway device, a terminal device, a storage medium, and a computer program product. BACKGROUND As an extension and expansion product based on the Internet, the Internet of Things can enable various devices, such as a wearable device, an environmental monitoring device, and a virtual reality device, to exchange data by accessing a cellular mobile network or the like, to implement more extensive connections between things and between things and persons. A massive amount of data can be communicated by such wearable devices. SUMMARY According to an aspect of one or more embodiments, there is provided information processing method, applied to an information processing system, wherein the information processing system comprises a terminal device, an information management device, a plurality of communication service systems, and a gateway device connected to the information management device and to each of the plurality of communication service systems, each of the plurality of communication service systems corresponding to a respective communication service network. The information processing method comprises detecting, by the gateway device, a network connection status of the terminal device through each of the plurality of communication service systems; receiving, by the gateway device, detection response information from the terminal device through a target communication service network of the plurality of communication service networks; and determining, by the gateway device, target routing information that indicates that the gateway device and the terminal device are connected through the target communication service network. According to other aspects of one or more embodiments, there is also provided a gateway device and a non-transitory computer readable medium consistent with the information processing method. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1A is an architectural diagram of an information processing system according to some embodiments. FIG. 1B is an architectural diagram of another information processing system according to some embodiments. FIG. 2 is a first schematic flowchart of an information processing method according to some embodiments. FIG. 3A is a second schematic flowchart of an information processing method according to some embodiments. FIG. 3B is an architectural diagram of still another information processing system according to some embodiments. FIG. 4 is a third schematic flowchart of an information processing method according to some embodiments. FIG. 5A is an interaction flowchart in which a terminal device initially accesses a communication service network according to some embodiments. FIG. 5B is a flowchart of signaling interaction included in link reselection performed by a terminal device according to some embodiments. FIG. 6A is a schematic diagram of a virtual private Internet of Things network according to some embodiments according to some embodiments. FIG. 6B is a schematic diagram of another virtual private Internet of Things network according to some embodiments. FIG. 7A is a schematic structural diagram of a gateway device according to some embodiments. FIG. 7B is a schematic structural diagram of a terminal device according to some embodiments. FIG. 8A is a schematic structural diagram of a gateway device according to some embodiments. FIG. 8B is a schematic structural diagram of a terminal device according to some embodiments. DETAILED DESCRIPTION Certain embodiments are described in detail below with reference to the drawings. The described embodiments are not to be construed as a limitation to the present disclosure. In the following descriptions, some related embodiments describe a subset of all possible embodiments. However, it may be understood that the some embodiments may be the same subset or different subsets of all the possible embodiments, and may be combined with each other without conflict. “Plurality of”, as mentioned in the specification means two or more. “And/or” describes an association relationship for describing associated objects and represents that three relationships may exist. For example, A/B may represent the following cases: Only A exists, both A and B exist, and only B exists. Similarly, the phrase “at least one of A and B” includes within its scope “only A”, “only B” and “A and B”. The character “I” in this specification generally indicates an “or” relationship between the associated objects unless otherwise noted or the context suggests otherwise. Some embodiments provide an information pr