Data transmission method and device, equipment and storage medium

By storing the address of the specified type of terminal in the core network device and forwarding data packets directly in the core network device, the problem of long data transmission paths in the 5G private network is solved, and the efficiency and security of data transmission are improved.

CN119814656APending Publication Date: 2025-04-11TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311301444.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The data transmission path between two terminals in a 5G private network is long, which affects the efficiency, security and stability of data transmission.

Method used

The address of the terminal of the specified type is stored through the core network device. When a data packet is received, the data packet is directly sent to the second terminal through the downlink channel between the core network device and the second terminal corresponding to the destination address, avoiding forwarding through the application server.

Benefits of technology

The packet transmission path between terminals is shortened, and the efficiency, security and stability of data transmission are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814656A_ABST
    Figure CN119814656A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method and device, equipment and a storage medium, and relates to the technical field of communication. The method comprises the following steps: receiving a data packet sent by a first terminal; obtaining a destination address of the data packet; and sending the data packet to a second terminal through a downlink channel between the core network equipment and the second terminal corresponding to the destination address in response to the fact that the destination address is the address of the specified type of terminal stored by the core network equipment. According to the scheme, the data packet transmission path between the terminals is shortened, and the efficiency, safety and stability of data transmission are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a data transmission method, apparatus, device and storage medium. Background Art

[0002] With the continuous development of communication technology, the application of 5G private networks is becoming more and more extensive.

[0003] In related technologies, when data needs to be transmitted between two terminals in a 5G private network, the terminal on the sending side sends the data to the application server through the core network of the 5G private network, and the application server forwards the data to the terminal on the receiving side through the 5G core network.

[0004] In the above solution, the data transmission path between the two terminals is long, which affects the efficiency, security and stability of data transmission. Summary of the invention

[0005] The embodiments of the present application provide a data transmission method, apparatus, device and storage medium, which can improve data transmission efficiency. The technical solution is as follows.

[0006] In one aspect, a data transmission method is provided, the method being performed by a core network device, the method comprising:

[0007] receiving a data packet sent by the first terminal;

[0008] Obtaining the destination address of the data packet;

[0009] In response to the destination address being the address of a terminal of a specified type stored in the core network device, the data packet is sent to the second terminal via a downlink channel between the core network device and the second terminal corresponding to the destination address.

[0010] In one aspect, a data transmission method is provided, the method being performed by a first terminal, the method comprising:

[0011] Obtaining an address of a second terminal;

[0012] generating a data packet using the address of the second terminal as the destination address;

[0013] The data packet is sent to the core network device so that the core network device obtains the destination address of the data packet, and in response to the destination address being the address of a specified type of terminal stored in the core network device, the data packet is sent to the second terminal through a downlink channel between the core network device and the second terminal.

[0014] In one aspect, a data transmission method is provided, the method being executed by an application server, the method comprising:

[0015] receiving a registration request sent by a second terminal, wherein the registration request is used to request that the second terminal be registered as a terminal of a specified type;

[0016] An address adding request is sent to a core network device, wherein the address adding request includes the address of the second terminal, and the address adding request is used to instruct the core network device to save the address of the second terminal as an address of a terminal of the specified type, so that after the core network device receives a data packet sent by the first terminal and obtains the destination address of the data packet, in response to the destination address being the address of the terminal of the specified type saved by the core network device, the core network device sends the data packet to the second terminal through a downlink channel between the core network device and the second terminal corresponding to the destination address.

[0017] In another aspect, a data transmission device is provided, the device comprising:

[0018] A receiving module, used for receiving a data packet sent by the first terminal;

[0019] An address acquisition module, used to obtain the destination address of a data packet;

[0020] The sending module is used to send a data packet to the second terminal via a downlink channel between the core network device and the second terminal corresponding to the destination address in response to the destination address being the address of a terminal of a specified type stored in the core network device.

[0021] In some embodiments, the apparatus further comprises:

[0022] A first query module, configured to query a destination address in an address table stored in a user plane of a core network device, wherein the address table stores addresses of one or more terminals of a specified type;

[0023] The sending module is further configured to send the data packet to the second terminal via a downlink channel between the core network device and the second terminal on a user plane of the core network device in response to querying the destination address in the address table;

[0024] The storage module is configured to store the address of the second terminal as an address of a terminal of the specified type in response to the second terminal registering as a terminal of the specified type with the application server.

[0025] In some embodiments, the apparatus further comprises:

[0026] A second query module, configured to query the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device in response to the disconnection of the downlink channel between the core network device and the second terminal;

[0027] a removing module, configured to, in response to querying the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device, remove the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device;

[0028] The sending module is further used to send an offline notification to the application server, where the offline notification is used to indicate that the second terminal is offline.

[0029] In some embodiments, the apparatus further comprises:

[0030] The address acquisition module is further used to acquire the address of the first terminal;

[0031] The sending module is also used to respond to the address of the first terminal and the destination address is the address of the specified type of terminal saved by the core network device, and send the data packet to the second terminal through the downlink channel between the core network device and the second terminal.

[0032] In one aspect, a data transmission device is provided, the device comprising:

[0033] An address acquisition module, used to acquire the address of the second terminal;

[0034] A data packet generating module, configured to generate a data packet using the address of the second terminal as a destination address;

[0035] A sending module is used to send the data packet to the core network device so that the core network device obtains the destination address of the data packet, and in response to the destination address being the address of a specified type of terminal stored in the core network device, the data packet is sent to the second terminal through a downlink channel between the core network device and the second terminal.

[0036] In some embodiments, the address acquisition module includes:

[0037] A query submodule, used to send an address query request to the application server, the address query request is used to query the address of a terminal of a specified type;

[0038] The receiving submodule is used to receive the terminal information of each specified type of terminal returned by the application server, where the terminal information includes the terminal identification and address;

[0039] The address acquisition submodule is used to acquire the address of the second terminal from the terminal information of each designated type of terminal.

[0040] In one aspect, a data transmission device is provided, the device comprising:

[0041] A receiving module, configured to receive a registration request sent by the second terminal; the registration request is used to request that the second terminal be registered as a terminal of a specified type;

[0042] A sending module is used to send an address adding request to a core network device, wherein the address adding request includes the address of a second terminal, and the address adding request is used to instruct the core network device to save the address of the second terminal as the address of a terminal of a specified type, so that after the core network device receives a data packet sent by the first terminal and obtains the destination address of the data packet, in response to the destination address being the address of a terminal of the specified type saved by the core network device, the core network device sends the data packet to the second terminal through a downlink channel between the core network device and the second terminal corresponding to the destination address.

[0043] In some embodiments, the apparatus further comprises:

[0044] A terminal information saving module, used to save the terminal information of the second terminal as the terminal information of a terminal of a specified type, the terminal information including the terminal identification and address;

[0045] The receiving module is further used to receive an address query request sent by the first terminal, where the address query request is used to query the address of a terminal of a specified type;

[0046] The sending module is further used to send the terminal information of each designated type of terminal stored in the application server to the first terminal, so that the first terminal can obtain the address of the second terminal from the terminal information of each designated type of terminal.

[0047] In some embodiments, the receiving module is further used to receive an offline notification sent by the core network device, where the offline notification is used to indicate that the second terminal is offline;

[0048] The device also includes:

[0049] The deletion module is used to delete the address of the second terminal in the terminal information of each designated type of terminal.

[0050] On the other hand, a communication device is provided, which includes a processor, a memory and a transceiver, wherein the memory stores at least one computer instruction, and the at least one computer instruction is loaded and executed by the processor to implement the above-mentioned data transmission method.

[0051] On the other hand, a computer-readable storage medium is provided, wherein at least one computer instruction is stored in the storage medium, and the at least one computer instruction is loaded and executed by a processor to implement the above-mentioned data transmission method.

[0052] In another aspect, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-mentioned data transmission method.

[0053] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0054] The addresses of specified types of terminals can be stored in the core network device. When a data packet sent by the first terminal is received and the destination address of the data packet is the address of the specified type of terminal, the data packet can be sent to the second terminal directly through the downlink channel between the core network device and the second terminal, without the need to forward the data packet to the second terminal via the application server, thereby shortening the data packet transmission path between the terminals and improving the efficiency, security and stability of data transmission.

[0055] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0057] Figure 2 This is an architecture diagram of a 5G private network involved in this application;

[0058] Figure 3 is a flow chart of a data transmission method provided by an embodiment of the present application;

[0059] Figure 4 is a flow chart of a data transmission method provided by an embodiment of the present application;

[0060] Figure 5 is a flow chart of a data transmission method provided by an embodiment of the present application;

[0061] Figure 6 is a flow chart of a data transmission method provided by an embodiment of the present application;

[0062] Figure 7 It is a schematic diagram of the network structure involved in this application;

[0063] Figure 8 It is a schematic diagram of the end-to-end business process involved in this application;

[0064] Fig. 9 is a block diagram of a data transmission device shown in an embodiment of the present application;

[0065] Fig.10 is a block diagram of a data transmission device shown in an embodiment of the present application;

[0066] Fig.11 is a block diagram of a data transmission device shown in an embodiment of the present application;

[0067] Fig.12 It is a structural block diagram of a computer device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0068] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0069] Figure 1 The schematic diagram of the communication system involved in the exemplary embodiment of the present application is shown. The communication system includes a network device 110, a terminal device 120, a terminal device 130, and an application server 140. The present application does not limit the number of terminal devices.

[0070] The network device 110 in the present application provides access and management functions for wireless communications, and the network device 110 may include an access network device 110a and a core network device 110b; wherein the access network device 110a may have various possible implementation forms, such as a base station, an access node, a wireless network controller, a base station controller, a base station transceiver, a baseband unit, etc., and may also be a next generation node B (Next Generation NodeB, gNB) or a transmission point in a fifth generation (5th Generation, 5G) mobile communication system, or one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or may also be a network node constituting a gNB or a transmission point.

[0071] The functions of the core network device 110b are mainly to provide establishment and management of user connections, management of users and carrying of services. As an interface to the external network, the core network device 110b can process and distribute services of the entire network.

[0072] The terminal device 120 and / or the terminal device 130 may also be referred to as a terminal, a user equipment (UE), etc. The terminal includes, but is not limited to, sensor devices, industrial Internet of Things devices, handheld devices, wearable devices, vehicle-mounted devices, etc., for example, wireless terminals, mobile phones, tablet computers, televisions, game consoles, augmented reality (AR) terminals, virtual reality (VR) terminals, mixed reality (MR) terminals, user premises equipment, etc. in systems such as industrial control, autonomous driving, telemedicine, smart grids, transportation safety, smart cities, and smart homes.

[0073] The network device 110 communicates with the terminal device 120 and / or the terminal device 130 via air interface technology.

[0074] The network device 110 communicates with the application server 140 via a wired interface, such as an N6 interface.

[0075] The communication system shown in the embodiment of the present application can be implemented as a private network (such as a 5G private network), or the above-mentioned communication system can include a private network (that is, a part of the above-mentioned communication system can be used as a private network).

[0076] 5G private network refers to an enterprise or industry wireless private network built using the 3GPP 5G standard. The 3GPP standard defines two 5G private network deployment modes: SNPN (Stand-alone Non-Public Network) and PNI-NPN (Public Network Integrated Non-Public Network). Among them, PNI-NPN, also known as "public network dedicated", means that enterprises can deploy 5G private networks by sharing RAN with the operator's 5G public network, or sharing RAN and core network control plane, or end-to-end sharing of 5G public network (end-to-end network slicing); SNPN, also known as "independent deployment mode", means that enterprises independently deploy the entire 5G network from base stations to core networks to cloud platforms, which can be isolated from the operator's 5G public network.

[0077] 5G private networks are used in industrial Internet scenarios such as smart warehouses and smart logistics. In most scenarios, the number of user terminals is relatively limited, and a set of minimum-capacity 5G core network products can meet the requirements of the application scenarios.

[0078] Please refer to Figure 2 , which shows an architecture diagram of a 5G private network involved in this application, such as Figure 2 As shown in the figure, in one possible solution, when 5G terminal A needs to send data to 5G terminal B, terminal A sends the data to the application server of the core network via UPF and N6 gateway, and then the application server sends the data message to terminal B via N6 gateway and UPF downlink. The data message returned from terminal B to terminal A also follows the above process.

[0079] exist Figure 2 Based on the framework shown, subsequent embodiments of the present application provide a new data transmission solution, which can directly forward data between two terminals through core network equipment to improve the efficiency, security and stability of data transmission between terminals.

[0080] Please refer to Figure 3 , which shows a flow chart of a data transmission method provided by an embodiment of the present application, the method can be Figure 1 The core network device 110b in the system shown in the figure executes. Figure 3As shown, the method may include the following steps.

[0081] Step 310: Receive a data packet sent by the first terminal.

[0082] In an embodiment of the present application, when the first terminal sends a data packet to the second terminal, the data packet may be first sent to the core network device through an uplink channel between the first terminal and the core network device, and the core network device receives the data packet.

[0083] Step 320: Obtain the destination address of the data packet.

[0084] After receiving the data packet, the core network device may parse the address field of the data packet, for example, parse the address field in the message header of the data packet, and extract the destination address therein, that is, the address of the second terminal.

[0085] The destination address may be an IP (Internet Protocol) address.

[0086] Alternatively, the destination address may also be a MAC (Media Access Control) address.

[0087] Alternatively, the destination address may also be a custom address. For example, the destination address may be a virtual address defined by a core network device or an application server for the second terminal.

[0088] In some embodiments, when the above-mentioned destination address is a MAC address, the core network device can query the corresponding MAC address through the IP address of the destination terminal in the data packet.

[0089] In some embodiments, when the above-mentioned destination address is a MAC address or a custom address, the above-mentioned data packet needs to carry the destination address in addition to the IP address of the destination terminal; for example, the communication system involved in the present application can improve the communication protocol, add the above-mentioned destination address (i.e., MAC address or custom address) to the address field in the message header of the data packet, or add a field carrying the MAC address or custom address in the message header of the data packet, or carry the MAC address or custom address in a reserved field in the message header of the data packet.

[0090] Step 330: In response to the destination address being the address of a terminal of a specified type stored in the core network device, the data packet is sent to the second terminal via a downlink channel between the core network device and the second terminal corresponding to the destination address.

[0091] In an embodiment of the present application, the core network device may store the addresses of one or more terminals of a specified type. The above-mentioned terminals of a specified type may refer to terminals that allow data packets to be directly forwarded through the core network device without being transferred through an application server. After the core network device obtains the destination address of the data packet, the destination address may be compared with the address of the terminal of the specified type stored locally. If the destination address is one of the addresses of the terminal of the specified type stored locally, it is determined that the data packet is a data packet to be sent to the terminal of the specified type. At this time, the data packet can be sent to the second terminal directly through the downlink channel between the core network device and the second terminal.

[0092] To summarize, in the scheme shown in the embodiment of the present application, the address of a specified type of terminal can be stored in the core network device. When a data packet sent by a first terminal is received and the destination address of the data packet is the address of a specified type of terminal, the data packet can be sent directly to the second terminal through the downlink channel between the core network device and the second terminal, without the need to forward the data packet to the second terminal via an application server, thereby shortening the data packet transmission path between the terminals and improving the efficiency, security and stability of data transmission.

[0093] Please refer to Figure 4 , which shows a flow chart of a data transmission method provided by an embodiment of the present application, the method can be Figure 1 The first terminal 120 in the system shown in FIG. Figure 4 As shown, the method may include the following steps.

[0094] Step 410: Obtain the address of the second terminal.

[0095] Step 420: Generate a data packet with the address of the second terminal as the destination address.

[0096] Step 430: Send a data packet to the core network device so that the core network device obtains the destination address of the data packet, and in response to the destination address being the address of a specified type of terminal stored in the core network device, sends the data packet to the second terminal through the downlink channel between the core network device and the second terminal.

[0097] To summarize, in the scheme shown in the embodiment of the present application, the address of the specified type of terminal can be stored in the core network device. When the first terminal sends a data packet to the second terminal, the data packet is sent to the core network device. When the core network device receives the data packet sent by the first terminal and the destination address of the data packet is the address of the specified type of terminal, the data packet can be sent to the second terminal directly through the downlink channel between the core network device and the second terminal, without the need to forward the data packet to the second terminal via the application server, thereby shortening the data packet transmission path between the terminals and improving the efficiency, security and stability of data transmission.

[0098] Please refer to Figure 5 , which shows a flow chart of a data transmission method provided by an embodiment of the present application, the method can be Figure 1 The application server 140 in the system shown in the figure executes. Figure 5 As shown, the method may include the following steps.

[0099] Step 510: Receive a registration request sent by the second terminal; the registration request is used to request to register the second terminal as a terminal of a specified type.

[0100] Step 520: Send an address adding request to the core network device, wherein the address adding request includes the address of the second terminal, and the address adding request is used to instruct the core network device to save the address of the second terminal as the address of a terminal of a specified type, so that after the core network device receives the data packet sent by the first terminal and obtains the destination address of the data packet, in response to the destination address being the address of the terminal of the specified type saved by the core network device, the core network device sends the data packet to the second terminal through the downlink channel between the core network device and the second terminal corresponding to the destination address.

[0101] To summarize, in the scheme shown in the embodiment of the present application, the terminal can register with the application server as a designated type of device. During this process, the application server can instruct the core network device to store the address of the designated type of terminal. When the first terminal sends a data packet to the second terminal, the data packet is sent to the core network device. When the core network device receives the data packet sent by the first terminal and the destination address of the data packet is the address of the designated type of terminal, the data packet can be sent to the second terminal directly through the downlink channel between the core network device and the second terminal, without the need to forward the data packet to the second terminal via the application server, thereby shortening the data packet transmission path between the terminals and improving the efficiency, security and stability of data transmission.

[0102] Please refer to Figure 6 , which shows a flow chart of a data transmission method provided by an embodiment of the present application, the method can be Figure 1 The core network device 110b, the first terminal 120, the second terminal 130 and the application server 140 in the system are interactively executed. Figure 6 As shown, the method may include the following steps.

[0103] Step 610: the second terminal sends a registration request to the application server, and the application server receives the registration request sent by the second terminal; the registration request is used to request to register the second terminal as a terminal of a specified type.

[0104] The above-mentioned terminal may be a Web terminal, a mobile terminal, a desktop terminal or an embedded terminal; these terminals usually exist in the form of hardware and realize corresponding functions by communicating with an application server / other terminals.

[0105] The above-mentioned designated type of terminal refers to a terminal whose communication data with another terminal is allowed to be forwarded without passing through an application server; that is, when the above-mentioned designated type of terminal sends a data packet to another terminal, the data packet can be forwarded to the other terminal in the core network device without passing through the application server.

[0106] In response to the second terminal registering with the application server as a terminal of a specified type, the address of the second terminal is saved as an address of a terminal of a specified type.

[0107] In an embodiment of the present application, the core network device saves the address of the second terminal as the address of a specified type of terminal. Different types of terminals have different functions and requirements. By saving the addresses of specified types of terminals, the core network device can perform targeted processing according to the terminal type. On the other hand, since the core network device saves the terminal address, when transmitting information, the first terminal only needs to ensure that the destination address is consistent with the address saved in the core network device. The first terminal can directly send the data packet from the downlink channel to the second terminal, greatly improving the efficiency of information transmission.

[0108] The process in which the core network device saves the address of the second terminal as the address of a terminal of a specified type may refer to steps 620 and 630.

[0109] Step 620: the application server sends an address adding request to the core network device, and the core network device receives the address adding request, where the address adding request includes the address of the second terminal.

[0110] That is to say, the address adding request is sent by the application server after receiving the registration request sent by the second terminal.

[0111] In some embodiments, the application server may extract the IP address of the second terminal from the registration request sent by the second terminal to save the address of the second terminal as an address of a terminal of a specified type.

[0112] In some embodiments, the application server can extract the IP address of the second terminal from the registration request sent by the second terminal, query the address resolution protocol table through the IP address to obtain the MAC address of the second terminal, and save the MAC address of the second terminal as the address of the specified type of terminal.

[0113] In an embodiment of the present application, after the second terminal accesses the network, it establishes an uplink and downlink channel with the core network device, and then initiates registration with the application server, which is called a designated type terminal, so that the data packets subsequently sent to the second terminal can be forwarded directly from the core network device without passing through the application server; wherein, after the core network device receives the registration request sent by the second terminal and registers the second terminal as a designated type terminal, in order to enable the core network device to accurately forward the data packets of the second terminal subsequently, an address addition request can be sent to the core network device to notify the core network device of the address of the second terminal registered as a designated type terminal.

[0114] In an embodiment of the present application, the application server may send the above-mentioned address adding request to the user plane in the core network device.

[0115] In a possible implementation manner, the application server may also save the terminal information of the second terminal as terminal information of a terminal of a specified type, where the terminal information includes a terminal identifier and an address.

[0116] For example, the application server may maintain a terminal information table, which includes terminal identifiers of various terminals of a specified type and addresses corresponding to the terminal identifiers.

[0117] Step 630: The core network device saves the address of the second terminal as an address of a terminal of a specified type based on the address adding request.

[0118] In an embodiment of the present application, after receiving an address adding request, the core network device can add the address carried in the address adding request as the address of a terminal of a specified type.

[0119] In a possible implementation, an address table (table) may be set in the core network device, and the address of each terminal of a specified type is stored in the address table.

[0120] For example, the core network device may store the above address table in the user plane.

[0121] Optionally, the addresses of the terminals of each specified type may also be stored in other formats other than a table. For example, the addresses of the terminals of each specified type may also be stored in a data set.

[0122] In addition to the above steps 620 and 630, the core network device may also save the address of the second terminal as an address of a terminal of a specified type in other ways.

[0123] For example, the core network device receives a registration request sent by the second terminal, and while forwarding the registration request to the application server, it also extracts the address of the second terminal and caches the address of the second terminal as the address of a terminal of a specified type. The application server subsequently sends a successful registration response to the core network device, and the successful registration response is used to indicate that the second terminal has been successfully registered as a terminal of a specified type. The core network device receives the successful registration response and forwards the successful registration response to the second terminal. At the same time, the core network device parses the successful registration response to determine that the second terminal has been successfully registered. For example, the successful registration response contains a successful registration indication information. The core network device determines that the response is a successful registration response based on the successful registration indication information, and determines that the successful registration response is a response sent to the second terminal based on the destination IP address in the message header of the data packet of the successful registration response, that is, it can be determined that the second terminal has been successfully registered. At this time, the core network device will pre-cache the address of the terminal of the specified type and formally save it as the address of a terminal of the specified type. Through the above scheme, the core network device can prepare the address to be saved before receiving the successful registration response, and then save the pre-prepared address when receiving the successful registration response. Compared with the scheme shown in step 620 and step 630, on the one hand, the address to be saved can be prepared in advance, shortening the time for the core network device to complete the address saving of the specified type of terminal. On the other hand, the application server is not required to send an additional address addition request to the core network device, saving signaling resources between the application server and the core network device.

[0124] The core network device may extract the IP address of the second terminal from the registration request sent by the second terminal, so as to cache the address of the second terminal as an address of a terminal of a specified type.

[0125] In some embodiments, the core network device can extract the IP address of the second terminal from the registration request sent by the second terminal, and query the address resolution protocol table through the IP address to obtain the MAC address of the second terminal, and cache the MAC address of the second terminal as the address of the specified type of terminal.

[0126] In a possible implementation, the method further includes:

[0127] In response to the downlink channel between the core network device and the second terminal being disconnected, the core network device queries the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device;

[0128] In response to querying the address of the second terminal in the addresses of the terminals of the specified type stored in the core network device, the core network device removes the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device;

[0129] The core network device sends an offline notification to the application server, where the offline notification is used to indicate that the second terminal is offline.

[0130] Correspondingly, the application server may receive an offline notification sent by the core network device, where the offline notification is used to indicate that the second terminal is offline; the application server may delete the address of the second terminal from the terminal information of each terminal of the specified type.

[0131] After the application server receives the offline notification sent by the core network device, it first determines the identifier of the address of the second terminal, such as the IP address and MAC address, and then finds the data structure storing the terminal information, such as a hash table or a database structure, and then traverses the data structure storing the terminal information to compare and determine whether the identifier of each terminal address matches the identifier of the terminal address to be deleted. Finally, the application server executes the deletion operation on the address of the second terminal according to the data structure. For example, when the data structure is a hash table, the application server can remove the key-value pair from the hash table. For another example, when the data structure is a database structure, the application server can delete the corresponding record from the database structure.

[0132] In the embodiment of the present application, deleting the address of the second terminal that has gone offline can avoid invalid data transmission, clean up the data memory, reduce the delay of data transmission, and improve the efficiency of data transmission.

[0133] In an embodiment of the present application, when the downlink channel between the second terminal and the core network device is disconnected, the core network device can determine that the second terminal is offline. At this time, the core network device can notify the application server of the offline status of the second terminal, so that the application server can immediately delete the address of the second terminal in the terminal information of each specified type of terminal, so that other terminals can query the offline status of the second terminal from the application server to avoid invalid data transmission.

[0134] In another possible implementation, when the address of the above-mentioned specified type of terminal is a MAC address, in response to the disconnection of the downlink channel between the core network device and the second terminal, when the core network device queries the address of the second terminal in the saved addresses of the specified type of terminal, it may not remove the address of the second terminal, but mark the address of the second terminal as offline. Correspondingly, the application server may not delete the address of the second terminal, but mark the address of the second terminal as offline. When the second terminal goes online again later, for example, when the second terminal re-establishes a downlink channel with the core network device, the core network device may mark the address of the second terminal as online and send an online notification to the application server. After receiving the online notification, the application server marks the address of the second terminal as online. In this way, the second terminal does not need to register every time it goes online, thereby saving signaling resources, processing resources and processing time for terminal registration.

[0135] In the scheme shown in the embodiment of the present application, only the registration of the second terminal as a terminal of a specified type is taken as an example to introduce the interaction process between the terminal, the core network device and the application server during the registration process of the terminal of the specified type. Optionally, any terminal can be registered as a terminal of a specified type according to the above scheme, and when offline, trigger the application server to delete the address of the terminal, or, when the above address is a MAC address, trigger the marking of the online / offline status of the address.

[0136] Step 640: The first terminal obtains the address of the second terminal.

[0137] In a possible implementation manner, when the first terminal obtains the address of the second terminal, the following steps may be performed:

[0138] The first terminal sends an address query request to the application server, where the address query request is used to query the address of a terminal of a specified type;

[0139] The first terminal receives the terminal information of each terminal of a specified type returned by the application server, where the terminal information includes a terminal identifier and an address;

[0140] The first terminal obtains the address of the second terminal from the terminal information of each designated type of terminal.

[0141] The terminal identifier may be a registered account number of the terminal, a device name of the terminal, etc.

[0142] Correspondingly, the application server may receive an address query request sent by the first terminal, where the address query request is used to query the address of a terminal of a specified type;

[0143] The application server may also send the terminal information of each specified type of terminal stored by the application server to the first terminal, so that the first terminal can obtain the address of the second terminal from the terminal information of each specified type of terminal. In an embodiment of the present application, the first terminal may query the application server for the address of each specified type of terminal so that data can be sent to the specified terminal. At this time, the first terminal may send an address query request to the application server, and the application server may send the terminal information of each registered specified type of terminal to the first terminal, and the first terminal determines the terminal to be found according to the terminal identifier in the terminal information of each specified type of terminal, and obtains the address of the terminal to be found, so as to be used when sending subsequent data packets.

[0144] Step 650: The first terminal generates a data packet using the address of the second terminal as the destination address.

[0145] In an embodiment of the present application, when the first terminal needs to send data to the second terminal, a data packet whose destination address is the address of the second terminal can be generated according to a specified data transmission protocol, and the source address of the data packet is the address of the first terminal.

[0146] Step 660: The first terminal sends a data packet to the core network device, and the core network device receives the data packet sent by the first terminal.

[0147] In an embodiment of the present application, the first terminal may send a data packet to the core network device via an uplink channel between the first terminal and the core network device.

[0148] For example, the first terminal may send a data packet to the user plane of the core network device through an uplink channel between the first terminal and the core network device, so that the user plane of the core network device performs subsequent forwarding processing according to the destination address of the data packet.

[0149] Step 670: The core network device obtains the destination address of the data packet.

[0150] In an embodiment of the present application, the core network device can parse the message header of the data packet and extract the destination address of the data packet from the destination address field in the message header.

[0151] Step 680: In response to the destination address being the address of a terminal of a specified type stored in the core network device, the core network device sends a data packet to the second terminal via a downlink channel between the core network device and the second terminal corresponding to the destination address, and the second terminal receives the data packet.

[0152] In a possible implementation, the core network device may query the destination address in an address table stored in a user plane of the core network device, where the address table stores addresses of one or more terminals of a specified type;

[0153] In response to finding the destination address in the address table, the core network device may send the data packet to the second terminal on a user plane of the core network device through a downlink channel between the core network device and the second terminal.

[0154] In an embodiment of the present application, the core network device receives a data packet sent by the first terminal device, which includes a destination address. The user plane of the core network device compares the destination address with the prefix of each entry in the address table to see whether they match. If the match is successful, the core network device can send the data packet directly to the second terminal via the downlink channel between the core network device and the second terminal corresponding to the destination address, thereby improving transmission efficiency.

[0155] Optionally, if the destination address is not found in the address table, the core network device can determine that the data packet is not a data packet sent to a terminal of a specified type. At this time, the core network device can forward the data packet to the application server, and the application server will perform subsequent forwarding or processing.

[0156] In a possible implementation manner, the core network device may also obtain the address of the first terminal;

[0157] In response to the address of the first terminal and the destination address being the address of a terminal of a specified type stored in the core network device, the core network device sends a data packet to the second terminal via a downlink channel between the core network device and the second terminal.

[0158] Among them, in the scheme shown in the embodiment of the present application, when the sending end and the receiving end of the data packet both belong to the specified type of terminal, the core network device can directly send the data packet to the second terminal, thereby limiting the data sent to the second terminal and ensuring the security of the data received by the second terminal.

[0159] In one embodiment, the solution shown in the above embodiment of the present application can be applied to low-latency transmission of data between terminals.

[0160] From the product side, the scheme shown in the above embodiment of the present application can be applied to 5G network products and 5G industrial Internet applications. For 5G network products, the function of directly forwarding 5G terminal IP data is developed in the 5G core network user plane device UPF. When 5G terminal A sends uplink IP data to 5G terminal B, the data reaches UPF through the base station, and UPF can be directly forwarded to 5G terminal B through the downlink channel, and vice versa. In addition, the embodiment of the present application implements a lightweight application service for industrial Internet applications, which provides 5G terminal registration and query services. In the industrial Internet scenario, the communication between 5G terminals usually uses device ID, and the service stores all online device IDs and IP addresses. 5G terminals can query all online device ID machine IP addresses regularly, which is convenient for timely initiating IP data interaction requests. In addition, a device registration and query APP module for industrial Internet applications is also implemented in the embodiment of the present application. This module realizes the function of actively obtaining all device IDs and their IP addresses after the terminal goes online, and updates them through a regular query mechanism.

[0161] From a technical perspective, the system hardware framework of this embodiment includes 5G terminals, 5G base stations (5G NR), 5G core networks, N6 gateways, and application servers for terminal registration and query services. Figure 7, which shows a schematic diagram of the network structure involved in this application. Among them, on the 5G terminal, an industrial Internet device registration and query APP 701 is deployed, the developed terminal addressing and forwarding module 702 is integrated in the 5G core network user plane device UPF, and on the application server side, a lightweight terminal registration and query service module 703 is deployed.

[0162] The detailed implementation scheme of the technology in this embodiment is as follows: Figure 7 As shown, this embodiment accelerates 5G terminal data interaction by developing three software modules in existing 5G private network products and industrial Internet solutions. The functions of these three software modules are described as follows:

[0163] 1) Terminal registration and query APP 701. The terminal registration and query APP is also called the terminal registration and query service module. This service module is deployed on the 5G core network side. As a lightweight application server, after the 5G terminal goes online, it registers its device ID and IP address in a conventional way. The service saves the IDs and IP addresses of all devices and receives queries from all 5G terminals. After receiving a query request from a 5G terminal, the IDs and IP addresses of all industrial devices will be returned to the terminal. If one of the terminals is not online yet, its corresponding IP address will be empty. In addition, when a terminal goes offline, UPF will send a notification to the service, and the service will clear the IP address corresponding to the terminal device ID;

[0164] 2) Terminal addressing and forwarding module 702. This module is integrated in the 5G core network user plane device UPF. It first detects whether the destination address of the IP packet sent by 5G terminal A is another 5G terminal. If not, it forwards it to the data network through the N6 port. Otherwise, it forwards the IP packet directly to the corresponding terminal. In addition, when the 5G terminal goes offline, it needs to send an offline notification to the terminal registration and query service, which will clear the IP address of the corresponding device ID;

[0165] 3) Terminal registration and query service module 703. The terminal registration and query service module 703 can be an APP, and the APP / module is deployed on the 5G industrial terminal. When the 5G industrial terminal goes online, it registers with the terminal registration and query service on the core network side, and the registration request contains the device ID and its IP address. At the same time, the APP / module has built-in storage of the device IDs of all other industrial Internet terminals that need to communicate. After the terminal completes the registration with the terminal registration and query service on the core network side, it will immediately send a terminal device query request to the terminal registration and query service on the core network side, carrying the IDs of all industrial Internet devices stored locally, and then receive a response. If it is found that there is a device ID1 with an empty IP address in the response, it will be repeatedly requested every 1 second. Once the IP address of the corresponding device ID1 is obtained, a 16s timed query will be started to refresh the status of each device ID regularly.

[0166] Based on the above Figure 7 The architecture shown in the figure is described in detail below. In order to make the process more clear, two 5G terminals in the network are taken as an example to describe the data interaction process between them in detail. Figure 8 , which shows a schematic diagram of the end-to-end business process involved in this application. Figure 8 The specific implementation process is described as follows:

[0167] S81, 5G terminal-A registers to the 5G private network after being powered on; the 5G terminal registering to the 5G private network here may refer to the process of the 5G terminal accessing the 5G private network through the communication protocol of the 5G network.

[0168] S82, after being turned on, 5G terminal-B registers to the 5G private network.

[0169] S83, the device registration and query module on the 5G terminal-A initiates a request to the terminal registration and query service through the 5G private network to register its own device ID and IP address.

[0170] S84, the terminal registration and query service returns the registration result to 5G terminal A.

[0171] S85, the device registration and query module on 5G terminal-B initiates a request to the terminal registration and query service through the 5G private network to register its own device ID and IP address.

[0172] S86, the terminal registration and query service returns the registration result to 5G terminal B.

[0173] S87, the device registration and query module on 5G terminal-A initiates a request to the terminal registration and query service through the 5G private network, requesting to query the IP address of the device corresponding to the device number of 5G terminal B.

[0174] S88, the terminal registration and query service returns the device number and IP address of 5G terminal B.

[0175] S89, 5G terminal-A starts to send IP messages to 5G terminal-B, and the messages are delivered to the user plane device UPF of the 5G core network.

[0176] S810, UPF checks that the destination IP address is the IP address of the 5G terminal, and then hands the IP packet to the terminal addressing and forwarding module for processing.

[0177] S811, UPF directly sends the IP message to terminal B through the downlink channel of terminal B.

[0178] The return IP datagram returns along the original route, which will not be described in detail here.

[0179] The beneficial effects brought by the technical solution of this embodiment can be as follows:

[0180] 1. By enhancing the functions of the 5G core network user plane device UPF and cooperating with the lightweight application server, data interaction between 5G terminals can be completed within the 5G core network user plane device UPF, thereby shortening the transmission path of data interaction between 5G terminals and further reducing latency;

[0181] 2. This embodiment also greatly reduces the network bandwidth between the UPF and the application server. The data message interaction between the terminals no longer needs to go out of the UPF device to the application server, thereby also reducing the network bandwidth occupancy between the UPF and the application server;

[0182] 3. Since the data transmission path during data interaction between terminals is shortened, the network quality, network security and reliability of industrial Internet applications in the 5G private network environment are greatly improved;

[0183] Of course, the application server of the terminal registration and query service in this embodiment is deployed in the data network behind the N6 gateway, and can also be deployed on the edge computing device, directly connected to the 5G user plane device UPF. In addition, in order to improve the real-time access of data between terminals in this embodiment, after the terminal goes online, a one-time request is made to the IP addresses of all terminal device numbers stored locally. If the real-time requirement is not high, a dynamic separate acquisition method can also be adopted. For example, when a terminal needs to be accessed, a query request is initiated to the application server of the terminal registration and query service.

[0184] The main innovations of this embodiment include: for the industrial Internet application scenarios in the 5G private network, the number of terminals is small, the network structure is simple, and there is a large amount of data interaction between the terminals, and an efficient data interaction implementation method between 5G terminals in the 5G private network environment is proposed. First, after the 5G terminal is turned on, the device registration and query module deployed on the terminal actively reports the device name and IP address to the device registration and query service in the core network. After that, the 5G terminal obtains the device name and IP address of all online terminals from the application server; secondly, the application server saves the device name and IP address of all online 5G terminals for query by each terminal; thirdly, when terminal A needs to communicate with terminal B, terminal A finds the IP address of terminal B from the terminal information list that has been obtained, and directly sends an IP message to terminal B; finally, in this embodiment, by integrating the terminal addressing and forwarding module in the 5G core network user plane device UPF, UPF directly sends the IP message sent by terminal A to terminal B uplink directly to terminal B through the downlink channel. This implementation method shortens the data transmission path between terminal A and terminal B, further reducing latency. At the same time, since the data packets between the terminals are exchanged on the UPF, the network bandwidth between the UPF and the application server is greatly reduced, while also improving the reliability of data interaction between the terminals.

[0185] Fig. 9 A block diagram of a data transmission device according to an exemplary embodiment of the present application is shown. The device can be used to perform the following steps: Figures 3 to 6 In any of the methods shown, all or part of the steps performed by a core network device, the apparatus includes:

[0186] The receiving module 901 is used to receive a data packet sent by the first terminal;

[0187] An address acquisition module 902 is used to acquire a destination address of a data packet;

[0188] The sending module 903 is used to send a data packet to the second terminal via a downlink channel between the core network device and the second terminal corresponding to the destination address in response to the destination address being the address of a terminal of a specified type stored in the core network device.

[0189] In some embodiments, the apparatus further comprises:

[0190] A first query module, configured to query a destination address in an address table stored in a user plane of a core network device, wherein the address table stores addresses of one or more terminals of a specified type;

[0191] The sending module 903 is further configured to send the data packet to the second terminal via a downlink channel between the core network device and the second terminal on a user plane of the core network device in response to querying the destination address in the address table;

[0192] The storage module is configured to store the address of the second terminal as an address of a terminal of the specified type in response to the second terminal registering as a terminal of the specified type with the application server.

[0193] In some embodiments, the apparatus further comprises:

[0194] A second query module, configured to query the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device in response to the disconnection of the downlink channel between the core network device and the second terminal;

[0195] a removing module, configured to, in response to querying the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device, remove the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device;

[0196] The sending module 903 is further configured to send an offline notification to the application server, where the offline notification is used to indicate that the second terminal is offline.

[0197] In some embodiments, the apparatus further comprises:

[0198] The address acquisition module 902 is further used to acquire the address of the first terminal;

[0199] The sending module 903 is also used to respond to the address of the first terminal and the destination address is the address of the specified type of terminal stored in the core network device, and send the data packet to the second terminal through the downlink channel between the core network device and the second terminal.

[0200] Fig.10 A block diagram of a data transmission device according to an exemplary embodiment of the present application is shown. The device can be used to perform the following steps: Figures 3 to 6 In any of the methods shown, all or part of the steps performed by the first terminal, the device includes:

[0201] An address acquisition module 1001 is used to acquire an address of a second terminal;

[0202] The data packet generating module 1002 is used to generate a data packet using the address of the second terminal as the destination address;

[0203] The sending module 1003 is used to send the data packet to the core network device so that the core network device obtains the destination address of the data packet, and in response to the destination address being the address of a specified type of terminal stored in the core network device, sends the data packet to the second terminal through the downlink channel between the core network device and the second terminal.

[0204] In some embodiments, the address acquisition module 1001 includes:

[0205] A query submodule, used to send an address query request to the application server, the address query request is used to query the address of a terminal of a specified type;

[0206] The receiving submodule is used to receive the terminal information of each specified type of terminal returned by the application server, where the terminal information includes the terminal identification and address;

[0207] The address acquisition submodule is used to acquire the address of the second terminal from the terminal information of each designated type of terminal.

[0208] Fig.11 A block diagram of a data transmission device according to an exemplary embodiment of the present application is shown. The device can be used to perform the following steps: Figures 3 to 6 In any of the methods shown, all or part of the steps performed by the application server, the device includes:

[0209] The receiving module 1101 is used to receive a registration request sent by the second terminal; the registration request is used to request to register the second terminal as a terminal of a specified type;

[0210] Sending module 1102 is used to send an address adding request to the core network device, wherein the address adding request includes the address of the second terminal, and the address adding request is used to instruct the core network device to save the address of the second terminal as the address of a terminal of a specified type, so that after the core network device receives a data packet sent by the first terminal and obtains the destination address of the data packet, in response to the destination address being the address of the terminal of the specified type saved by the core network device, the core network device sends the data packet to the second terminal through the downlink channel between the core network device and the second terminal corresponding to the destination address.

[0211] In some embodiments, the apparatus further comprises:

[0212] A terminal information saving module, used to save the terminal information of the second terminal as the terminal information of a terminal of a specified type, the terminal information including the terminal identification and address;

[0213] The receiving module 1101 is further configured to receive an address query request sent by the first terminal, where the address query request is used to query the address of a terminal of a specified type;

[0214] The sending module 1102 is further configured to send the terminal information of each designated type of terminal stored in the application server to the first terminal, so that the first terminal can obtain the address of the second terminal from the terminal information of each designated type of terminal.

[0215] In some embodiments, the receiving module 1101 is further used to receive an offline notification sent by a core network device, where the offline notification is used to indicate that the second terminal is offline;

[0216] The device also includes:

[0217] The deletion module is used to delete the address of the second terminal in the terminal information of each designated type of terminal.

[0218] Fig.12 The structural block diagram of a computer device 1200 shown in an exemplary embodiment of the present application is shown. The computer device can be implemented as a server in the above-mentioned solution of the present application. The computer device 1200 includes a central processing unit (CPU) 1201, a system memory 1204 including a random access memory (RAM) 1202 and a read-only memory (ROM) 1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The computer device 1200 also includes a mass storage device 1206 for storing an operating system 1209, an application program 1210 and other program modules 1211.

[0219] The mass storage device 1206 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1206 and its associated computer readable medium provide non-volatile storage for the computer device 1200. That is, the mass storage device 1206 may include a computer readable medium (not shown) such as a hard disk or a compact disc read-only memory (CD-ROM) drive.

[0220] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read Only Memory (EPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM) flash memory or other solid-state storage technology, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above. The above-mentioned system memory 1204 and mass storage device 1206 can be collectively referred to as memory.

[0221] According to various embodiments of the present disclosure, the computer device 1200 can also be connected to a remote computer on the network through a network such as the Internet. That is, the computer device 1200 can be connected to the network 1208 through the network interface unit 1207 connected to the system bus 1205, or the network interface unit 1207 can be used to connect to other types of networks or remote computer systems (not shown).

[0222] The memory also includes at least one computer program, which is stored in the memory. The central processing unit 1201 implements all or part of the steps in the methods shown in the above embodiments by executing the at least one computer program.

[0223] In an exemplary embodiment, a computer-readable storage medium is also provided, which is used to store at least one computer program, and the at least one computer program is loaded and executed by a processor to implement all or part of the steps in the methods shown in the above embodiments. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0224] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes all or part of the steps in the methods shown in the above embodiments.

[0225] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0226] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A data transmission method, characterized in that: The method is performed by a core network device, and the method includes: receiving a data packet sent by the first terminal; Obtaining the destination address of the data packet; In response to the destination address being the address of a terminal of a specified type stored in the core network device, the data packet is sent to the second terminal via a downlink channel between the core network device and the second terminal corresponding to the destination address.

2. The method according to claim 1, characterized in that In response to the destination address being an address of a terminal of a specified type stored in the core network device, sending the data packet to the second terminal through a downlink channel between the core network device and the second terminal corresponding to the destination address, comprises: Querying the destination address in an address table stored in a user plane of the core network device, wherein the address table stores addresses of one or more terminals of the specified type; In response to querying the destination address in the address table, the data packet is sent to the second terminal on the user plane of the core network device through the downlink channel between the core network device and the second terminal.

3. The method according to claim 1 or 2, characterized in that: In response to the destination address being the address of a terminal of a specified type stored in the core network device, before sending the data packet to the second terminal through a downlink channel between the core network device and the second terminal corresponding to the destination address, the method further includes: In response to the second terminal registering with the application server as the designated type terminal, the address of the second terminal is saved as an address of the designated type terminal.

4. The method according to claim 3, characterized in that In response to the second terminal registering with the application server as the designated type terminal, saving the address of the second terminal as an address of the designated type terminal includes: receiving an address adding request sent by the application server, wherein the address adding request includes the address of the second terminal; the address adding request is sent by the application server after receiving a registration request sent by the second terminal; the registration request is used to request to register the second terminal as the terminal of the specified type; Based on the address adding request, the address of the second terminal is saved as an address of a terminal of the specified type.

5. The method according to claim 3, characterized in that: The method further comprises: In response to a downlink channel between the core network device and the second terminal being disconnected, querying the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device; In response to querying the address of the second terminal in the addresses of the terminals of the specified type stored in the core network device, removing the address of the second terminal from the addresses of the terminals of the specified type stored in the core network device; An offline notification is sent to the application server, where the offline notification is used to indicate that the second terminal is offline.

6. The method according to claim 1 or 2, characterized in that: In response to the destination address being the address of a terminal of a specified type stored in the core network device, before sending the data packet to the second terminal through a downlink channel between the core network device and the second terminal corresponding to the destination address, the method further includes: Obtaining the address of the first terminal; In response to the destination address being an address of a terminal of a specified type stored in the core network device, sending the data packet to the second terminal through a downlink channel between the core network device and the second terminal corresponding to the destination address, comprises: In response to the address of the first terminal, and the destination address being the address of the specified type of terminal stored in the core network device, the data packet is sent to the second terminal through a downlink channel between the core network device and the second terminal.

7. A data transmission method, characterized in that: The method is performed by a first terminal, and includes: Obtaining an address of a second terminal; generating a data packet using the address of the second terminal as the destination address; The data packet is sent to the core network device so that the core network device obtains the destination address of the data packet, and in response to the destination address being the address of a specified type of terminal stored in the core network device, the data packet is sent to the second terminal through a downlink channel between the core network device and the second terminal.

8. The method according to claim 7, characterized in that The acquiring the address of the second terminal includes: Sending an address query request to an application server, wherein the address query request is used to query the address of the terminal of the specified type; receiving terminal information of each terminal of the specified type returned by the application server, wherein the terminal information includes a terminal identifier and an address; The address of the second terminal is acquired from the terminal information of each terminal of the specified type.

9. A data transmission method, characterized in that: The method is executed by an application server, and comprises: receiving a registration request sent by a second terminal, wherein the registration request is used to request that the second terminal be registered as a terminal of a specified type; An address adding request is sent to a core network device, wherein the address adding request includes the address of the second terminal, and the address adding request is used to instruct the core network device to save the address of the second terminal as an address of a terminal of the specified type, so that after the core network device receives a data packet sent by the first terminal and obtains the destination address of the data packet, in response to the destination address being the address of the terminal of the specified type saved by the core network device, the core network device sends the data packet to the second terminal through a downlink channel between the core network device and the second terminal corresponding to the destination address.

10. The method according to claim 9, characterized in that The method further comprises: Saving the terminal information of the second terminal as the terminal information of a terminal of the specified type, the terminal information including a terminal identifier and an address; receiving an address query request sent by the first terminal, where the address query request is used to query the address of the terminal of the specified type; The terminal information of each terminal of the specified type stored in the application server is sent to the first terminal, so that the first terminal can obtain the address of the second terminal from the terminal information of each terminal of the specified type.

11. The method according to claim 10, characterized in that The method further comprises: receiving an offline notification sent by the core network device, where the offline notification is used to indicate that the second terminal is offline; The address of the second terminal is deleted from the terminal information of each terminal of the specified type.

12. A data transmission device, characterized in that: The device comprises: A receiving module, used for receiving a data packet sent by the first terminal; An address acquisition module, used to acquire the destination address of the data packet; The sending module is used to send the data packet to the second terminal corresponding to the destination address through the downlink channel between the core network device and the second terminal in response to the destination address being the address of the specified type of terminal stored in the core network device.

13. A communication device, characterized in that: The communication device comprises a processor, a memory and a transceiver, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the data transmission method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the computer program is loaded and executed by the processor to implement the data transmission method according to any one of claims 1 to 11.

15. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the computer instructions are read and executed by a processor of a communication device to implement the data transmission method according to any one of claims 1 to 11.

Citation Information

Cited By

  • Equipment communication method and device in non-broadcast narrowband network, equipment and medium

    CN120583068A