CN117793951A - Network communication method, device, network side equipment, terminal and medium - Google Patents

Network communication method, device, network side equipment, terminal and medium Download PDF

Info

Publication number
CN117793951A
CN117793951A CN202211145671.8A CN202211145671A CN117793951A CN 117793951 A CN117793951 A CN 117793951A CN 202211145671 A CN202211145671 A CN 202211145671A CN 117793951 A CN117793951 A CN 117793951A
Authority
CN
China
Prior art keywords
information
configuration information
gateway terminal
data
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211145671.8A
Other languages
Chinese (zh)
Inventor
王文
谢振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211145671.8A priority Critical patent/CN117793951A/en
Priority to PCT/CN2023/118723 priority patent/WO2024061091A1/en
Publication of CN117793951A publication Critical patent/CN117793951A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The application discloses a network communication method, a device, a network side device, a terminal and a medium, which belong to the technical field of communication, and the network communication method in the embodiment of the application comprises the following steps: the first network function receives first information sent by a first gateway terminal; wherein the first information includes first configuration information; the first network function configures data exchange rules for the first user plane function according to the first configuration information; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function or sent through a Protocol Data Unit (PDU) session. By the embodiment of the invention, the configuration localization data exchange rule is realized, so that the data interaction of the devices under different gateways in the PIN can be carried out under the condition of not depending on a server, and the communication efficiency is improved.

Description

Network communication method, device, network side equipment, terminal and medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a network communication method, a device, network side equipment, a terminal and a medium.
Background
With the development of IoT (Internet of Things ) technology, the number of IoT devices used in smart home and other scenes is increasing, and devices used by users can form PINs (Personal IoT Network, personal internet of things).
In the PIN, the devices under different gateways need to communicate with each other, and usually the devices depend on a server, that is, data sent by one device needs to pass through a core network from the PIN to the server and then pass through the server to another device, so that the flow is complicated and the communication efficiency is low.
Disclosure of Invention
The embodiment of the application provides a network communication method, a network communication device, network side equipment, a terminal and a medium, which can solve the problems of complex communication flow and low efficiency in PIN.
In a first aspect, there is provided a method of network communication, the method comprising:
the first network function receives first information sent by a first gateway terminal; wherein the first information comprises first configuration information comprising at least one of a source address and a destination address;
the first network function configures data exchange rules for the first user plane function according to the first configuration information; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
In a second aspect, there is provided a method of network communication, the method comprising:
the first gateway terminal sends first information to a first network function; the first information comprises first configuration information, wherein the first configuration information comprises at least one of a source address and a target address and is used for indicating a first network function to execute a configuration data exchange rule according to the first configuration information; wherein the data exchange rule is used to instruct to allow or prohibit the data received from the terminal and matching the first configuration information to be sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
In a third aspect, a method of network communication is provided, the method comprising:
the second gateway terminal receives second information sent by the first network function; wherein the second information comprises second configuration information;
the second gateway terminal performs at least one of the following based on the second configuration information:
allowing or prohibiting data received from the network side device to be transmitted to the second device, the data matching the second configuration information;
and allowing or prohibiting the data which is received from the second device and is matched with the second configuration information from being sent to the network side device.
In a fourth aspect, there is provided a method of network communication, the method comprising:
the management terminal sends third configuration information to the first gateway terminal; wherein the third configuration information includes at least one of:
source information;
target information;
protocol information;
the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
In a fifth aspect, there is provided an apparatus for network communication, the apparatus comprising:
a first information module is received from a first gateway terminal and is used for receiving first information sent by the first gateway terminal; wherein the first information comprises first configuration information comprising at least one of a source address and a destination address;
the data exchange rule configuration module is used for configuring data exchange rules for the first user plane function according to the first configuration information address; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function or sent through a Protocol Data Unit (PDU) session.
In a sixth aspect, there is provided an apparatus for network communication, the apparatus comprising:
a first information module for sending first information to the network function; wherein the first information comprises first configuration information, the first configuration information comprises at least one of a source address and a target address, and the first configuration information is used for indicating the first network function to execute a configuration data exchange rule according to the first configuration information source address or the target address; wherein the data exchange rule is used to instruct to allow or prohibit the data received from the terminal and matching the first configuration information to be sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
In a seventh aspect, there is provided an apparatus for network communication, the apparatus comprising:
a second information module for receiving second information sent by the first network function from the network function; wherein the second information comprises configuration information;
the second gateway terminal executing module is used for executing at least one of the following based on the second configuration information:
allowing or prohibiting transmission of data matched with the second configuration information received from the network side device to the second device;
and allowing or prohibiting the data which is received from the second device and is matched with the second configuration information from being sent to the network side device.
In an eighth aspect, there is provided an apparatus for network communication, the apparatus comprising:
a third configuration information module for sending third configuration information to the first gateway terminal; wherein the third configuration information includes at least one of:
source information;
target information;
protocol information;
the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
In a ninth aspect, there is provided a network side device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method as described in the first aspect when executed by the processor.
In a tenth aspect, there is provided a terminal comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the second or third or fourth aspects when executed by the processor.
In an eleventh aspect, there is provided a readable storage medium having stored thereon a program or instructions which when executed by a processor performs the steps of the method of network communication according to the first or second or third or fourth aspect.
In a twelfth aspect, a communication system is provided, the communication system comprising a first network function, a first gateway terminal, and a second gateway terminal, the first network function being used for performing the method of network communication according to the first aspect, the first gateway terminal being used for performing the method of network communication according to the second aspect, the second gateway terminal being used for performing the method of network communication according to the third aspect.
In a thirteenth aspect, there is provided a communication system comprising a first network function for performing the method of network communication according to the first aspect, a first gateway terminal for performing the method of network communication according to the second aspect, a second gateway terminal for performing the method of network communication according to the third aspect, and a management terminal for performing the method of network communication according to the fourth aspect.
In this embodiment of the present application, the first network function receives first information sent by the first gateway terminal, where the first information may include first configuration information, where the first configuration information may include at least one of a source address and a destination address, and then may configure a data exchange rule for the first user plane function according to the first configuration information, where the first user plane function may further allow or prohibit, according to the data exchange rule, sending data that is received from the terminal and matches with the first configuration information to the second gateway terminal or the second user plane function, or send the data through a Protocol Data Unit (PDU) session, thereby implementing a data exchange rule for configuring localization, and further being capable of performing data interaction of devices under different gateways in a PIN without depending on a server, simplifying a data transmission path, and improving communication efficiency.
Drawings
Fig. 1 is a block diagram of a wireless communication system to which embodiments of the present application are applicable;
FIG. 2 is a schematic diagram of a network architecture in an embodiment of the present application;
FIG. 3 is a flow chart of a method of network communication in an embodiment of the present application;
fig. 4 is a flow chart of a PDU session establishment or modification in an embodiment of the present application;
FIG. 5 is a flow chart of another method of network communication in an embodiment of the present application;
fig. 6 is a flow chart of another PDU session establishment or modification in an embodiment of the present application;
FIG. 7 is a flow chart of another method of network communication in an embodiment of the present application;
FIG. 8 is a flow chart of a first information interaction in an embodiment of the present application;
FIG. 9 is a flow chart of another method of network communication in an embodiment of the present application;
FIG. 10 is a flow chart of another method of network communication in an embodiment of the present application;
FIG. 11 is a block diagram of an apparatus for network communication in an embodiment of the present application;
FIG. 12 is a block diagram of another network communication device in an embodiment of the present application;
FIG. 13 is a block diagram of another network communication device in an embodiment of the present application;
FIG. 14 is a block diagram of another network communication device in an embodiment of the present application;
fig. 15 is a block diagram of a communication device in an embodiment of the present application;
fig. 16 is a block diagram of a terminal device in an embodiment of the present application;
fig. 17 is a block diagram of a network device in an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the terms "first" and "second" are generally intended to be used in a generic sense and not to limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/" generally means a relationship in which the associated object is an "or" before and after.
It is noted that the techniques described in embodiments of the present application are not limited to long term evolution (Long Term Evolution, LTE)/LTE evolution (LTE-Advanced, LTE-a) systems, but may also be used in other wireless communication systems, such as code division multiple access (Code Division Multiple Access, CDMA), time division multiple access (Time Division Multiple Access, TDMA), frequency division multiple access (Frequency Division Multiple Access, FDMA), orthogonal frequency division multiple access (Orthogonal Frequency Division Multiple Access, OFDMA), single carrier frequency division multiple access (Single-carrier Frequency Division Multiple Access, SC-FDMA), and other systems. The terms "system" and "network" in embodiments of the present application are often used interchangeably, and the techniques described may be used for both the above-mentioned systems and radio technologies, as well as other systems and radio technologies. The following description describes a New air interface (NR) system for purposes of example and uses NR terminology in much of the description that follows, but these techniques are also applicable to applications other than NR system applications, such as generation 6 (6) th Generation, 6G) communication system.
Fig. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes a terminal 11 and a network device 12. The terminal 11 may be a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer) or a terminal-side Device called a notebook, a personal digital assistant (Personal Digital Assistant, PDA), a palm top, a netbook, an ultra-mobile personal Computer (ultra-mobile personal Computer, UMPC), a mobile internet appliance (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) Device, a robot, a Wearable Device (weather Device), a vehicle-mounted Device (VUE), a pedestrian terminal (PUE), a smart home (home Device with a wireless communication function, such as a refrigerator, a television, a washing machine, or a furniture), a game machine, a personal Computer (personal Computer, PC), a teller machine, or a self-service machine, and the Wearable Device includes: intelligent wrist-watch, intelligent bracelet, intelligent earphone, intelligent glasses, intelligent ornament (intelligent bracelet, intelligent ring, intelligent necklace, intelligent anklet, intelligent foot chain etc.), intelligent wrist strap, intelligent clothing etc.. Note that, the specific type of the terminal 11 is not limited in the embodiment of the present application. The network-side device 12 may comprise an access network device or a core network device, wherein the access network device 12 may also be referred to as a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or a radio access network element. Access network device 12 may include a base station, a WLAN access point, a WiFi node, or the like, which may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a home node B, a home evolved node B, a transmission and reception point (Transmitting Receiving Point, TRP), or some other suitable terminology in the art, and the base station is not limited to a particular technical vocabulary so long as the same technical effect is achieved, and it should be noted that in the embodiments of the present application, only a base station in an NR system is described as an example, and the specific type of the base station is not limited.
The core network device may include, but is not limited to, at least one of: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), user plane functions (User Plane Function, UPF), policy control functions (Policy Control Function, PCF), policy and charging rules function units (Policy and Charging Rules Function, PCRF), edge application service discovery functions (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data repository (Unified Data Repository, UDR), home subscriber server (Home Subscriber Server, HSS), centralized network configuration (Centralized network configuration, CNC), network storage functions (Network Repository Function, NRF), network opening functions (Network Exposure Function, NEF), local NEF (or L-NEF), binding support functions (Binding Support Function, BSF), application functions (Application Function, AF), and the like. In the embodiment of the present application, only the core network device in the NR system is described as an example, and the specific type of the core network device is not limited.
The following describes in detail a network communication method provided in the embodiments of the present application through some embodiments and application scenarios thereof with reference to the accompanying drawings.
For the PIN, it may be a personal home network composed of a plurality of devices, and specifically may include the following devices:
the PIN Device, which may be a terminal (UE) or a Non-3GPP Device (Non-3 GPP Device), may interact with other PIN devices in the PIN, gateway terminals in the PIN, and management terminals in the PIN, and may interact with devices other than the PIN through the gateway in the PIN and the 5G core network, where the PIN Device to the PEGC is through a Non-3GPP communication technology, such as Bluetooth, WIFI, and the gateway in the PIN to the 5G core network is through a 3GPP communication technology.
The gateway terminal in the PIN (PEGC, PIN Element with Gataway Capability) may be referred to as a PIN element having gateway capability, which may be a terminal or device having the capability of providing connection to the 5G core network for other devices in the PIN, or a terminal or device having the capability of providing relay communication services between other devices in the PIN.
The management terminal (PEMC, PIN Element with Management Capability) in the PIN, which may be referred to as a PIN element having management capability, may be a terminal or a device having the capability of managing other devices.
In the PIN scene, part of local data only needs to interact in PIN localization, and a localization data exchange rule can be configured for communication among devices in the PIN, so that localization processing can be carried out on the localization data in a PIN network, namely, the data of the PIN device does not need to go out of the PIN to another PIN device through a server.
In the PIN, as shown in fig. 2, a first device (PIN device) is connected to a first gateway terminal (gateway terminal in the PIN), a second device (PIN device) is connected to a second gateway terminal (gateway terminal in the PIN), the first gateway terminal is connected to a first user plane function in the 5G core network, the second gateway terminal is connected to a second user plane function in the 5G core network, and both the first user plane function and the second user plane function are connected to a server outside the 5G core network.
When the first device sends data to the second device, the data only need to interact locally in the PIN, for example, in a smart home, the first device can be a smart sound box, the second device can be an air conditioner, a lamp and other devices, and the first device sends data to the second device can be the smart sound box to control the air conditioner, the lamp and other devices.
In the existing scheme, the first device needs to send data to the server via the first gateway terminal and the first user plane function, and then the server sends the data to the second device via the second user plane function and the second gateway terminal.
In this embodiment of the present application, the first gateway terminal may send configuration information to a first network function (such as a session management function) in the 5G core network, where the session management function may further configure a localized data exchange rule for the first user plane function.
After the data exchange rule is configured, the first device sends the data to the first user plane function via the first gateway terminal, the first user plane function no longer sends the data to the server, but sends the data to the second user plane function according to the data exchange rule, and the second user plane function further sends the data to the second device through the second gateway terminal.
Further description is given below:
referring to fig. 3, a flowchart illustrating steps of a method for network communication according to an embodiment of the present application is shown, where the method may be applied to a first network function side, and the first network function may be a session management function in a core network.
Specifically, the method comprises the following steps:
step 301, a first network function receives first information sent by a first gateway terminal; wherein the first information comprises first configuration information comprising at least one of a source address and a destination address.
The first gateway terminal may be a gateway in a PIN, which has a capability of connecting with a first device, and the first device may be a PIN device, such as an intelligent speaker, and the first device may be connected with the 5G core network through the first gateway terminal.
In practical applications, the first gateway terminal may send first information to a first network function in the 5G core network, where the first information may be used to instruct the first network function to configure a data exchange rule, which may be Packet filtering (Packet Filters) information, and the first network function may receive the first information sent by the first gateway terminal.
In an embodiment of the present application, the first information is carried in a PDU session establishment request message or a PDU session modification request message, that is, when the first gateway terminal sends the PDU session establishment request message or the PDU session modification request message to the first network function, the first information is carried in the PDU session establishment request message or the PDU session modification request message.
Step 302, the first network function configures data exchange rules to the first user plane function according to the first configuration information; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
The second gateway terminal may be a gateway in the PIN, which has a capability of connecting to a second device, and the second device may be a PIN device, such as an air conditioner or a lamp, and the second device may be connected to the 5G core network through the second gateway terminal.
After receiving the first information, the first network function may configure data exchange rules for the first user plane function connected thereto according to the source address or the destination address in the first configuration information. After configuring the data exchange rule, the first user plane function may first check whether it is data matching the first configuration information after receiving the data.
For the data matched with the first configuration information, the transmission of the data to the second gateway terminal or the second user plane function (the second gateway terminal or the second user plane function corresponding to the destination address in the data) can be directly executed, and the data not matched with the first configuration information can be transmitted to the server and then processed by the server.
The data matched with the first configuration information may be data carrying a source address or a target address in the first configuration information.
If the source address in the first configuration information is the address of the first device, after receiving the data sent by the first device via the first gateway terminal, the first user plane function may directly execute the function of allowing or prohibiting the data to be sent to the second gateway terminal or the second user plane, and no longer send the data to the server, because the source address of the data is the source address in the first configuration information.
In another example, in the case that the destination address in the first configuration information is the address of the second device, after receiving the data sent by the first device via the first gateway terminal (the destination address of the data is the address of the second device), since the destination address is the destination address in the first configuration information, the first user plane function may directly execute permission or prohibition of sending the data to the second gateway terminal or the second user plane function, and no longer send the data to the server.
If the data is sent to the second gateway terminal, the second gateway terminal may further send the data to the second device connected thereto, and if the data is sent to the second user plane function, the second user plane function may further send the data to the second gateway terminal, which may in turn send the data to the second device.
In an embodiment of the present application, sending the data received from the terminal and matched with the first configuration information to the second user plane function may include:
1. and transmitting the data and the tunnel identification to a second user plane function, wherein the tunnel identification is related to the second gateway terminal or the PDU session. Specifically, the first user plane function may determine a related tunnel identifier according to the second gateway terminal or the PDU session, and may further allow or prohibit sending the data and the tunnel identifier to the second user plane function, where the second user plane function may send the data and the tunnel identifier to the second device via the second gateway terminal.
2. And sending the data to the second user plane function through a tunnel, wherein the tunnel identifier of the tunnel is related to the second gateway terminal or the PDU session. Specifically, the first user plane function may determine a relevant tunnel identifier according to the second gateway terminal or the PDU session, and determine a tunnel corresponding to the tunnel identifier, so that the data may be allowed or prohibited from being sent to the second user plane function through the tunnel, and the second user plane function may send the data to the second device through the second gateway terminal.
In an embodiment of the present application, the method may further include:
the first network function learns from the source address or the destination address at least one of:
PDU session information, second gateway terminal information, second user plane function information, tunnel identification.
In a specific implementation, since the PDU session is established based on the source address or the destination address, the first network function may learn PDU session information according to the source address or the destination address, may acquire a tunnel identifier related to the PDU session, and may also acquire related information, such as an address, of the second gateway terminal and the second user plane function.
In an embodiment of the present application, the first information may further include quality of service (QoS) information, such as QoS parameters, a stream maximum bit rate, a stream guaranteed bit rate, etc., which may be used to indicate QoS quality of data matching the first configuration information.
In an embodiment of the present application, after the first network function completes configuration to the first user plane function, the first network function may send a reply message to the first gateway terminal in response to the first information.
In case the first information is carried in a PDU session establishment request message or a PDU session modification request message, the reply message may be a PDU session establishment acceptance command or a PDU session modification command.
As shown in fig. 4, the first gateway terminal may send a PDU session establishment request message or a PDU session modification request message carrying first information to the first network function, where the first network function performs N4 session establishment or modification with the first user plane function, and may configure a data exchange rule to the first user plane function according to the first information. After the N4 session establishment or modification is completed, the first user plane function may return a PDU session establishment acceptance command or a PDU session modification command to the first gateway terminal.
In this embodiment of the present application, the first network function receives first information sent by the first gateway terminal, where the first information may include first configuration information, where the first configuration information may include at least one of a source address and a destination address, and then may configure a data exchange rule for the first user plane function according to the first configuration information, where the first user plane function may further allow or prohibit, according to the data exchange rule, sending data matched with the first configuration information to the second gateway terminal or the second user plane function or sending the data to the second user plane function through a Protocol Data Unit (PDU) session, thereby implementing a data exchange rule configured with localization, and further being capable of performing data interaction of devices under different gateways in the PIN without depending on a server, simplifying a data transmission path, and improving communication efficiency.
Referring to fig. 5, a flowchart illustrating steps of a method for network communication according to an embodiment of the present application is shown, where the method may be applied to a first network function side, and the first network function may be a session management function in a core network.
Specifically, the method comprises the following steps:
step 501, a first network function receives first information sent by a first gateway terminal; wherein the first information comprises first configuration information comprising at least one of a source address and a destination address.
Step 502, the first network function configures data exchange rules to the first user plane function according to the first configuration information; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
Step 503, the first network function sends second configuration information to the second gateway terminal according to the first configuration information; wherein the second configuration information is used for indicating at least one of the following:
allowing or prohibiting data received from the network side device to be transmitted to the second device, the data matching the second configuration information;
And allowing or prohibiting the data which is received from the second device and is matched with the second configuration information from being sent to the network side device.
In a specific implementation, in addition to the configuration of the data exchange rule in the 5G core network, the second gateway terminal may be configured correspondingly on the PIN side (since the first information is sent by the first gateway terminal and has already been configured correspondingly, the first network function may generate, according to the received first configuration information, second configuration information, which may carry the same configuration as the first configuration information, and then may send the second configuration information to the second gateway terminal.
After receiving the second configuration information, the second gateway terminal may configure to enable or disable the data that matches the second configuration information and is received from the network side device to be sent to the second device, that is, after the first device sends the data to the second user plane function through the first gateway terminal and the first user plane function, the second user plane function sends the data to the second gateway terminal, and the second gateway terminal sends the data to the second device.
In practical application, the data interaction is bidirectional, and when the second gateway terminal is configured to allow or prohibit the data received from the network side device to be sent to the second device, the second gateway terminal may also be configured to allow or prohibit the data received from the second device to be sent to the network side device, that is, the data sent by the second device is sent to the first user plane function through the second gateway terminal and the second user plane function, the first user plane function sends the data to the first gateway terminal, and the first gateway terminal sends the data to the first device.
Of course, the first network function may also configure the second user plane function with a data exchange rule, where the data exchange rule may be used to instruct to allow or prohibit sending of data matched with the second configuration information to the first gateway terminal or the first user plane function, and further may enable sending of data sent by the second device to the first device without going through the server.
In an embodiment of the present application, the second information may further include QoS information, where the QoS information in the second information may carry the same configuration as the QoS information in the first information, such as QoS parameters, a maximum bit rate of a stream, a guaranteed bit rate of a stream, and the method further includes:
the first network function sends QoS information to the second gateway terminal; the QoS information is used for indicating the second gateway terminal to configure the QoS of the data matched with the second configuration information.
In a specific implementation, the first network function may further send QoS information to the second gateway terminal, and after receiving the QoS information, the second gateway terminal may further configure QoS of data matched with the second configuration information.
In an embodiment of the present application, after the first network function sends the second configuration information or QoS information to the second gateway terminal (the second configuration information and QoS information may be included in the second information and sent to the second gateway terminal at the same time), the second gateway terminal may send a reply message to the first network function in response to the received second configuration information or QoS information (i.e., the second information), and after the first network function receives the reply message, the first network function may determine that the configuration is completed, and may further send the reply message to the first gateway terminal.
In case the first information is carried in a PDU session establishment request message or a PDU session modification request message, the reply message may be a PDU session establishment acceptance command or a PDU session modification command.
As shown in fig. 6, the first gateway terminal may send a PDU session establishment request message or a PDU session modification request message carrying the first information to the first network function, and the first network function may send a PDU session establishment command or a PDU session modification command carrying the first information to the second gateway terminal. After the PDU session establishment or the PDU session modification is completed, the second gateway terminal may send a PDU session establishment completion message or a PDU session modification completion message to the first network function, and the first network function may further send a PDU session establishment acceptance command or a PDU session modification command to the first gateway terminal.
Referring to fig. 7, a flowchart illustrating steps of a method for network communication according to an embodiment of the present application is shown, where the method may be applied to a first gateway terminal, which may be a gateway in a PIN, and the first gateway terminal may have a capability of connecting to a first device, which may be a PIN device, such as a smart speaker, and the first device may be connected to a 5G core network through the first gateway terminal.
Specifically, the method comprises the following steps:
step 701, a first gateway terminal sends first information to a first network function; the first information comprises first configuration information, wherein the first configuration information comprises at least one of a source address and a target address and is used for indicating a first network function to execute a configuration data exchange rule according to the first configuration information; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
In practical applications, the first gateway terminal may send first information to a first network function in the 5G core network, where the first information may be used to instruct the first network function to configure a data exchange rule, which may be Packet filtering (Packet Filters) information, and the first network function may receive the first information sent by the first gateway terminal.
In an embodiment of the present application, the first information is carried in a PDU session establishment request message or a PDU session modification request message, that is, when the first gateway terminal sends the PDU session establishment request message or the PDU session modification request message to the first network function, the first information is carried in the PDU session establishment request message or the PDU session modification request message.
After receiving the first information, the first network function may configure data exchange rules for the first user plane function connected thereto according to the source address or the destination address in the first configuration information. After configuring the data exchange rule, the first user plane function may first check whether it is data matching the configuration information after receiving the data.
For the data matched with the first configuration information, the transmission of the data to the second gateway terminal or the second user plane function (the second gateway terminal or the second user plane function corresponding to the destination address in the data) can be directly executed, and the data not matched with the first configuration information can be transmitted to the server and then processed by the server.
The data matched with the first configuration information may be data carrying a source address or a target address in the first configuration information.
If the source address in the first configuration information is the address of the first device, after receiving the data sent by the first device via the first gateway terminal, the first user plane function may directly execute the permission or prohibition of sending the data to the second gateway terminal or the second user plane function, and not send the data to the server any more, because the source address of the data is the source address in the first configuration information.
In another example, in the case that the destination address in the first configuration information is the address of the second device, after receiving the data sent by the first device via the first gateway terminal (the destination address of the data is the address of the second device), since the destination address is the destination address in the first configuration information, the first user plane function may directly execute the permission or prohibition of sending the data to the second gateway terminal or the second user plane function, and may not send the data to the server any more.
If the data is allowed to be sent to the second gateway terminal, the second gateway terminal may further send the data to the second device connected thereto, and if the data is allowed to be sent to the second user plane function, the second user plane function may further send the data to the second gateway terminal, which may in turn send the data to the second device.
In a specific implementation, in addition to the configuration of the data exchange rule in the 5G core network, the second gateway terminal may be configured correspondingly on the PIN side (since the first information is sent by the first gateway terminal and has already been configured correspondingly, the first network function may generate, according to the received first configuration information, second configuration information, which may carry the same configuration as the first configuration information, and then may send the second configuration information to the second gateway terminal.
After receiving the second configuration information, the second gateway terminal may configure to enable or disable the data that matches the second configuration information and is received from the network side device to be sent to the second device, that is, after the first device sends the data to the second user plane function through the first gateway terminal and the first user plane function, the second user plane function sends the data to the second gateway terminal, and the second gateway terminal sends the data to the second device.
In practical application, the data interaction is bidirectional, and when the second gateway terminal is configured to allow or prohibit the data received from the network side device to be sent to the second device, the second gateway terminal may also be configured to allow or prohibit the data received from the second device to be sent to the network side device, that is, the data sent by the second device is sent to the first user plane function through the second gateway terminal and the second user plane function, the first user plane function sends the data to the first gateway terminal, and the first gateway terminal sends the data to the first device.
Of course, the first network function may also configure the second user plane function with a data exchange rule, where the data exchange rule may be used to instruct to allow or prohibit sending of data matched with the second configuration information to the first gateway terminal or the first user plane function, and further may enable sending of data sent by the second device to the first device without going through the server.
In an embodiment of the present application, before the first gateway terminal sends the first information to the first network function, the method may further include:
the first gateway terminal receives the third configuration information sent by the management terminal.
In a specific implementation, the management terminal in the PIN has the capability of managing other PIN devices, and then the management terminal can generate third configuration information, and further can send the third configuration information to the first gateway terminal.
After receiving the third configuration information, the first gateway terminal may further generate first information according to the third configuration information, where the first information may include the first configuration information, and the first configuration information may carry the same configuration as the third configuration information, and further send the first information carrying the first configuration information to the first network function.
Of course, the QoS information in the first information may also be sent to the first gateway terminal by the management terminal, and then the first gateway terminal sends the QoS information to the first network function, as shown in fig. 8, where the management terminal interacts with the first gateway terminal to interact with the information, that is, the configuration information and the QoS information.
In an embodiment of the present application, the third configuration information may include at least one of the following:
Source information;
target information;
protocol information;
the node indicated by the target information of the configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
the node indicated by the target information of the configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
The source information may be a source address of the data or first indication information for indicating the source address, for example, the source information may be an IP address of the first device, the destination information may be a destination address of the data or second indication information for indicating a destination of the data, for example, the destination information may be an IP address of the second device, and the protocol information is used to indicate a type of communication protocol employed by the data, such as TCP/IP protocol.
Referring to fig. 9, a flowchart of steps of a method for network communication according to an embodiment of the present application is shown, where the method may be applied to a second gateway terminal, which may be a gateway in a PIN, and the second gateway terminal may have a capability of connecting to a second device, which may be a PIN device, such as an air conditioner or a lamp, and the second device may be connected to a 5G core network through the second gateway terminal.
Specifically, the method comprises the following steps:
step 901, a second gateway terminal receives second information sent by a first network function; wherein the second information comprises second configuration information.
In practical applications, the first gateway terminal may send first information to a first network function in the 5G core network, where the first information may be used to instruct the first network function to configure a data exchange rule, which may be Packet filtering (Packet Filters) information, and the first network function may receive the first information sent by the first gateway terminal.
In a specific implementation, besides the configuration of the data exchange rule in the 5G core network, the second gateway terminal may be configured correspondingly on the PIN side, so that the first network function may generate second configuration information according to the received first configuration information, where the second configuration information may carry the same configuration as the first configuration information, and then may send the second configuration information to the second gateway terminal.
Step 902, the second gateway terminal performs at least one of the following based on the second configuration information:
allowing or prohibiting data received from the network side device to be transmitted to the second device, the data matching the second configuration information;
Allowing or prohibiting the data which is received from the second device and is matched with the second configuration information from being sent to the network side device;
the second gateway terminal is connected with the second device.
In practical application, the data interaction is bidirectional, and when the second gateway terminal is configured to allow or prohibit the data received from the network side device to be sent to the second device, the second gateway terminal may also be configured to allow or prohibit the data received from the second device to be sent to the network side device, that is, the data sent by the second device is sent to the first user plane function through the second gateway terminal and the second user plane function, and the first user plane function may send the data to the first gateway terminal, and the first gateway terminal sends the data to the first device.
Of course, the first network function may also configure the second user plane function with a data exchange rule, where the data exchange rule may be used to instruct to allow or prohibit sending of data matched with the second configuration information to the first gateway terminal or the first user plane function, and further may enable sending of data sent by the second device to the first device without going through the server.
In an embodiment of the present application, the second information further includes QoS information, where the QoS information in the second information may carry the same configuration as the QoS information in the first information, such as QoS parameters, a maximum bit rate of a stream, a guaranteed bit rate of a stream, and the method may further include:
The second gateway terminal configures QoS of the data matched with the second configuration information based on the QoS information.
In a specific implementation, the first network function may further send QoS information to the second gateway terminal, and after receiving the QoS information, the second gateway terminal may further configure QoS of data matched with the second configuration information.
Referring to fig. 10, a flowchart illustrating steps of a method for network communication according to an embodiment of the present application is shown, where the method may be applied to a management terminal side, and may be a terminal or a device having other devices for management.
Specifically, the method comprises the following steps:
step 1001, the management terminal sends third configuration information to the first gateway terminal; wherein the third configuration information includes at least one of:
source information;
target information;
protocol information; the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
The source information may be a source address of the data, such as an IP address of the first device, the destination information may be a destination address of the data, such as an IP address of the second device, and the protocol information may be a communication protocol type adopted by the data, such as a TCP/IP protocol.
In a specific implementation, if the management terminal in the PIN has the capability of managing other PIN devices, the management terminal may generate third configuration information, and then may send the third configuration information to the first gateway terminal.
After receiving the third configuration information, the first gateway terminal may further generate first information according to the third configuration information, where the first information may include the first configuration information, and the first configuration information may carry the same configuration as the third configuration information, and further send the first information carrying the first configuration information to the first network function.
Of course, the QoS information in the first information may also be sent to the first gateway terminal by the management terminal, and then the first gateway terminal sends the QoS information to the first network function, as shown in fig. 8, where the management terminal interacts with the first gateway terminal to interact with the information, that is, the configuration information and the QoS information.
After receiving the first information, the first network function may configure data exchange rules for the first user plane function connected thereto according to the source address or the destination address in the first configuration information. After configuring the data exchange rule, the first user plane function may first check whether it is data matching the configuration information after receiving the data.
For the data matched with the first configuration information, the transmission of the data to the second gateway terminal or the second user plane function (the second gateway terminal or the second user plane function corresponding to the destination address in the data) can be directly executed, and the data not matched with the first configuration information can be transmitted to the server and then processed by the server.
The data matched with the first configuration information may be data carrying a source address or a target address in the first configuration information.
If the source address in the first configuration information is the address of the first device, after receiving the data sent by the first device via the first gateway terminal, the first user plane function may directly execute the permission or prohibition of sending the data to the second gateway terminal or the second user plane function, and not send the data to the server any more, because the source address of the data is the source address in the first configuration information.
In another example, in the case that the destination address in the first configuration information is the address of the second device, after receiving the data sent by the first device via the first gateway terminal (the destination address of the data is the address of the second device), since the destination address is the destination address in the first configuration information, the first user plane function may directly execute the permission or prohibition of sending the data to the second gateway terminal or the second user plane function, and may not send the data to the server any more.
If the data is allowed to be sent to the second gateway terminal, the second gateway terminal may further send the data to the second device connected thereto, and if the data is allowed to be sent to the second user plane function, the second user plane function may further send the data to the second gateway terminal, which may in turn send the data to the second device.
In a specific implementation, besides the configuration of the data exchange rule in the 5G core network, the second gateway terminal may be configured correspondingly on the PIN side, so that the first network function may generate second configuration information according to the received first configuration information, where the second configuration information may carry the same configuration as the first configuration information, and then may send the second configuration information to the second gateway terminal.
After receiving the second configuration information, the second gateway terminal may configure to enable or disable the data that matches the second configuration information and is received from the network side device to be sent to the second device, that is, after the first device sends the data to the second user plane function through the first gateway terminal and the first user plane function, the second user plane function may send the data to the second gateway terminal, and the second gateway terminal sends the data to the second device.
In practical application, the data interaction is bidirectional, and when the second gateway terminal is configured to allow or prohibit the data received from the network side device to be sent to the second device, the second gateway terminal may also be configured to allow or prohibit the data received from the second device to be sent to the network side device, that is, the data sent by the second device is sent to the first user plane function through the second gateway terminal and the second user plane function, and the first user plane function may send the data to the first gateway terminal, and the first gateway terminal sends the data to the first device.
Of course, the first network function may also configure the second user plane function with a data exchange rule, where the data exchange rule may be used to instruct to allow or prohibit sending of data matched with the second configuration information to the first gateway terminal or the first user plane function, and further may enable sending of data sent by the second device to the first device without going through the server.
According to the network communication method provided by the embodiment of the application, the execution subject can be a network communication device. In the embodiment of the present application, a method for executing network communication by a network communication device is taken as an example, and the network communication device provided in the embodiment of the present application is described.
Referring to fig. 11, a block diagram of a network communication device 1100 according to an embodiment of the present application is shown, where the device may be applied to a first network function side, and may specifically include the following modules:
a first information module 1101, configured to receive first information sent by a first gateway terminal; wherein the first information comprises first configuration information comprising at least one of a source address and a destination address;
a data exchange rule configuration module 1102, configured to configure data exchange rules for the first user plane function according to the first configuration information; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function or sent through a Protocol Data Unit (PDU) session.
In an embodiment of the present application, sending data received from the terminal and matching the first configuration information to the second user plane function includes:
transmitting the data and the tunnel identifier to a second user plane function, wherein the tunnel identifier is related to a second gateway terminal or related to a PDU session;
and sending the data to the second user plane function through a tunnel, wherein the tunnel identifier of the tunnel is related to the second gateway terminal or the PDU session.
In an embodiment of the present application, the first gateway terminal has a capability of connecting to the first device, and the second gateway terminal has a capability of connecting to the second device.
In an embodiment of the present application, the apparatus further includes:
the PDU session information or tunnel identification learning module is used for learning at least one of the following according to the source address or the target address:
PDU session information, second gateway terminal information, second user plane function information, tunnel identification.
In an embodiment of the present application, the first information further includes quality of service (QoS) information.
In an embodiment of the present application, the apparatus further includes:
a second configuration information module for sending second configuration information to the second gateway terminal according to the first configuration information; wherein the second configuration information is used for indicating at least one of the following:
allowing or prohibiting data received from the network side device to be transmitted to the second device, the data matching the second configuration information;
and allowing or prohibiting the data which is received from the second device and is matched with the second configuration information from being sent to the network side device.
In an embodiment of the present application, the second information further includes Qos information, and the apparatus further includes:
a QoS information sending module for sending QoS information to the second gateway terminal; the QoS information is used for indicating the second gateway terminal to configure the QoS of the data matched with the second configuration information.
In this embodiment of the present application, the first network function receives first information sent by the first gateway terminal, where the first information may include first configuration information, where the first configuration information may include at least one of a source address and a destination address, and then may configure a data exchange rule for the first user plane function according to the first configuration information, where the first user plane function may further allow or prohibit, according to the data exchange rule, sending data that is received from the terminal and matches with the first configuration information to the second gateway terminal or the second user plane function or sending the data through a Protocol Data Unit (PDU) session, thereby implementing a data exchange rule for configuring localization, and further being capable of performing data interaction of devices under different gateways in a PIN without depending on a server, simplifying a data transmission path, and improving communication efficiency.
Referring to fig. 12, a block diagram of a network communication apparatus 1200 according to an embodiment of the present application is shown, where the apparatus may be applied to a first gateway terminal side, and may specifically include the following modules:
a first information module 1201 for sending first information to a network function; the first information comprises first configuration information, wherein the first configuration information comprises at least one of a source address and a target address and is used for indicating a first network function to execute a configuration data exchange rule according to the first configuration information; wherein the data exchange rules are used to indicate that data received from the terminal that matches the first configuration information is allowed or prohibited from being sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
In an embodiment of the present application, the apparatus further includes:
a third configuration information module for receiving the third configuration information sent by the management terminal from the management terminal; wherein the third configuration information includes at least one of:
source information;
target information;
protocol information;
the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
Referring to fig. 13, a block diagram of a network communication apparatus 1300 according to an embodiment of the present application is shown, where the apparatus may be applied to a second gateway terminal side, and may specifically include the following modules:
a second information module 1301, configured to receive second information sent by the first network function, from the network function; wherein the second information comprises second configuration information;
A second gateway terminal executing module 1302, configured to execute at least one of the following based on the second configuration information:
allowing or prohibiting data received from the network side device to be transmitted to the second device, the data matching the second configuration information;
and allowing or prohibiting the data which is received from the second device and is matched with the second configuration information from being sent to the network side device.
In an embodiment of the present application, the second information further includes QoS information, and the apparatus further includes:
and a QoS configuration module for configuring QoS of the data matched with the second configuration information based on the QoS information.
Referring to fig. 14, there is shown a block diagram of an apparatus 1400 for network communication according to an embodiment of the present application, where the apparatus may be applied to a management terminal side, and may specifically include the following modules:
a third configuration information module 1401 for sending third configuration information to the first gateway terminal; wherein the third configuration information includes at least one of:
source information;
target information;
protocol information;
the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
The node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
The network communication device in the embodiment of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The network communication device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 2 to fig. 10, and achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Optionally, as shown in fig. 15, the embodiment of the present application further provides a communication device 1500, including a processor 1501 and a memory 1502, where the memory 1502 stores a program or instructions that can be executed on the processor 1501, for example, when the communication device 1500 is a terminal, the program or instructions implement the steps of the method embodiment of network communication when executed by the processor 1501, and achieve the same technical effects. When the communication device 1500 is a network side device, the program or the instructions, when executed by the processor 1501, implement the steps of the method embodiment of network communication described above, and achieve the same technical effects, and for avoiding repetition, will not be described herein.
The embodiment of the application also provides a terminal, as shown in fig. 16, which is a schematic diagram of a hardware structure of the terminal for implementing the embodiment of the application.
The terminal 1600 includes, but is not limited to: at least some of the components of the radio frequency unit 1601, the network module 1602, the audio output unit 1603, the input unit 1604, the sensor 1605, the display unit 1606, the user input unit 1607, the interface unit 1608, the memory 1609, the processor 1610, and the like.
Those skilled in the art will appreciate that terminal 1600 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to processor 1610 by a power management system that performs functions such as managing charge, discharge, and power consumption. Drawing of the figure16The terminal structure shown in (c) does not constitute a limitation of the terminal, and the terminal may comprise more or less components than shown in the figures, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
It should be appreciated that in embodiments of the present application, the input unit 1604 may include a graphics processing unit (Graphics Processing Unit, GPU) 16041 and a microphone 16042, with the graphics processor 16041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1606 may include a display panel 16061, and the display panel 16061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1607 includes at least one of a touch panel 16071 and other input devices 16072. The touch panel 16071, also referred to as a touch screen. The touch panel 16071 may include two parts, a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
In this embodiment, after receiving downlink data from the network side device, the radio frequency unit 1601 may transmit the downlink data to the processor 1610 for processing; in addition, the radio frequency unit 1601 may send uplink data to the network-side device. In general, radio frequency unit 1601 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
Memory 1609 may be used to store software programs or instructions and various data. The memory 1609 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 1609 may include volatile memory or nonvolatile memory, or memory 1609 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1609 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1610 may include one or more processing units; optionally, processor 1610 integrates an application processor that primarily handles operations related to operating systems, user interfaces, applications, etc., and a modem processor that primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1610.
The embodiment of the application also provides network side equipment. As shown in fig. 17, the network-side device 1700 includes: a processor 1701, a network interface 1702, and a memory 1703. The network interface 1702 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the network side device 1700 of the embodiment of the present application further includes: instructions or programs stored in the memory 1703 and executable on the processor 1701, the processor 1701 invokes the instructions or programs in the memory 1703 to perform the network communication method as described above and achieve the same technical effects, and are not repeated here.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction implements each process of the method embodiment of network communication when executed by a processor, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
Wherein the processor is the processor in the terminal in the above embodiment. The readable storage medium may be non-volatile or non-transitory. The readable storage medium may include a computer readable storage medium such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, each process of the method embodiment of network communication is implemented, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, or the like.
The embodiments of the present application further provide a computer program/program product, where the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the respective processes of the method embodiments of network communication, and achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The embodiment of the application also provides a communication system, which comprises a first network function, a first gateway terminal and a second gateway terminal, wherein the first network function is used for executing the method of network communication (refer to the related description of fig. 3 and 5), the first gateway terminal is used for executing the method of network communication (refer to the related description of fig. 7), and the second gateway terminal is used for executing the method of network communication (refer to the related description of fig. 9).
The embodiment of the application also provides a communication system, which includes a first network function, a first gateway terminal, a second gateway terminal and a management terminal, where the first network function is used for executing the method of network communication described above (refer to the related description of fig. 3 and 5), the first gateway terminal is used for executing the method of network communication described above (refer to the related description of fig. 7), the second gateway terminal is used for executing the method of network communication described above (refer to the related description of fig. 9), and the management terminal is used for executing the method of network communication described above (refer to the related description of fig. 10).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (19)

1. A method of network communication, the method comprising:
the first network function receives first information sent by a first gateway terminal; wherein the first information includes first configuration information including at least one of a source address and a destination address;
the first network function configures data exchange rules for a first user plane function according to the first configuration information; wherein the data exchange rule is used to instruct to allow or prohibit the data received from the terminal and matching the first configuration information to be sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
2. The method of claim 1, wherein the sending the data received from the terminal that matches the first configuration information to the second user plane function comprises:
transmitting the data and a tunnel identifier to the second user plane function, wherein the tunnel identifier is related to the second gateway terminal or the PDU session;
and sending the data to the second user plane function through a tunnel, wherein the tunnel identifier of the tunnel is related to the second gateway terminal or the PDU session.
3. The method of claim 1, wherein the first gateway terminal has the capability to connect to a first device and the second gateway terminal has the capability to connect to a second device.
4. The method of claim 1, wherein the first information further comprises quality of service (QoS) information.
5. The method according to any one of claims 1 to 4, further comprising:
the first network function sends second configuration information to the second gateway terminal according to the first configuration information; wherein the second configuration information is used to indicate at least one of:
allowing or prohibiting data which is received from the network side equipment and is matched with the second configuration information from being sent to the second equipment;
and allowing or prohibiting the data which is received from the second equipment and is matched with the second configuration information from being sent to the network side equipment.
6. The method of claim 5, wherein the second information further comprises Qos information, the method further comprising:
the first network function sends the QoS information to the second gateway terminal; the QoS information is used for indicating the second gateway terminal to configure the QoS of the data matched with the second configuration information.
7. The method according to claim 1 or 2, characterized in that the method further comprises:
the first network function learns at least one of the following according to the source address or the target address:
the PDU session information, the second gateway terminal information, the second user plane function information and the tunnel identifier.
8. A method of network communication, the method comprising:
the first gateway terminal sends first information to a first network function; wherein the first information includes first configuration information, the first configuration information including at least one of a source address and a destination address, for instructing the first network function to execute a configuration data exchange rule according to the first configuration information; wherein the data exchange rule is used to instruct to allow or prohibit the data received from the terminal and matching the first configuration information to be sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
9. The method of claim 8, wherein prior to the first gateway terminal sending the first information to the first network function, the method further comprises:
the first gateway receives third configuration information sent by a management terminal; wherein the third configuration information includes at least one of:
Source information;
target information;
protocol information;
the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
and the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
10. A method of network communication, the method comprising:
the second gateway terminal receives second information sent by the first network function; wherein the second information comprises second configuration information;
the second gateway terminal performs at least one of the following based on the second configuration information:
allowing or prohibiting data which is received from the network side equipment and is matched with the second configuration information from being sent to the second equipment;
and allowing or prohibiting the data which is received from the second equipment and is matched with the second configuration information from being sent to the network side equipment.
11. The method of claim 10, wherein the second information further comprises QoS information, the method further comprising:
the second gateway terminal configures QoS of data matched with the second configuration information based on the QoS information.
12. A method of network communication, the method comprising:
the management terminal sends third configuration information to the first gateway terminal; wherein the third configuration information includes at least one of:
source information;
target information;
protocol information;
the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
and the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
13. An apparatus for network communication, the apparatus comprising:
A first information module is received from a first gateway terminal and is used for receiving first information sent by the first gateway terminal; wherein the first information includes first configuration information including at least one of a source address and a destination address;
the data exchange rule configuration module is used for configuring data exchange rules for the first user plane function according to the first configuration information; wherein the data exchange rule is used to instruct to allow or prohibit the data received from the terminal and matching the first configuration information to be sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
14. An apparatus for network communication, the apparatus comprising:
a first information module for sending first information to the network function; wherein the first information includes first configuration information, the first configuration information including at least one of a source address and a destination address, for instructing the first network function to execute a configuration data exchange rule according to the first configuration information; wherein the data exchange rule is used to instruct to allow or prohibit the data received from the terminal and matching the first configuration information to be sent to the second gateway terminal or the second user plane function, or sent through a Protocol Data Unit (PDU) session.
15. An apparatus for network communication, the apparatus comprising:
a second information module for receiving second information sent by the first network function from the network function; wherein the second information comprises configuration information;
a second gateway terminal executing module, configured to execute at least one of the following based on the second configuration information:
allowing or prohibiting data which is received from the network side equipment and is matched with the second configuration information from being sent to the second equipment;
and allowing or prohibiting the data which is received from the second equipment and is matched with the second configuration information from being sent to the network side equipment.
16. An apparatus for network communication, the apparatus comprising:
a third configuration information module for sending third configuration information to the first gateway terminal; wherein the third configuration information includes at least one of:
source information;
target information;
protocol information;
the node indicated by the target information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is not directly connected with the first gateway terminal;
the node indicated by the source information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the target information is not directly connected with the first gateway terminal;
And the node indicated by the target information of the third configuration information is directly connected with the first gateway terminal, and the node indicated by the source information is not directly connected with the first gateway terminal.
17. A network side device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of network communication according to any one of claims 1 to 7.
18. A terminal comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, performs the steps of the method of network communication as claimed in any one of claims 8 to 12.
19. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implement the steps of the method of network communication according to any of claims 1-12.
CN202211145671.8A 2022-09-20 2022-09-20 Network communication method, device, network side equipment, terminal and medium Pending CN117793951A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211145671.8A CN117793951A (en) 2022-09-20 2022-09-20 Network communication method, device, network side equipment, terminal and medium
PCT/CN2023/118723 WO2024061091A1 (en) 2022-09-20 2023-09-14 Network communication method and apparatus, and network-side device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211145671.8A CN117793951A (en) 2022-09-20 2022-09-20 Network communication method, device, network side equipment, terminal and medium

Publications (1)

Publication Number Publication Date
CN117793951A true CN117793951A (en) 2024-03-29

Family

ID=90394980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211145671.8A Pending CN117793951A (en) 2022-09-20 2022-09-20 Network communication method, device, network side equipment, terminal and medium

Country Status (2)

Country Link
CN (1) CN117793951A (en)
WO (1) WO2024061091A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10630551B2 (en) * 2015-04-07 2020-04-21 Huawei Technologies Co., Ltd. Method and apparatus for automatic networking of gateway device
CN111953514A (en) * 2015-10-30 2020-11-17 华为技术有限公司 Gateway configuration method and gateway equipment
CN109587187A (en) * 2017-09-28 2019-04-05 华为技术有限公司 For calling the methods, devices and systems of network function service
EP3846508A1 (en) * 2017-10-09 2021-07-07 Comcast Cable Communications LLC Policy control for ethernet packet data
EP4292249A1 (en) * 2021-02-11 2023-12-20 Volvo Construction Equipment AB A gateway device with a routing function

Also Published As

Publication number Publication date
WO2024061091A1 (en) 2024-03-28

Similar Documents

Publication Publication Date Title
WO2023116786A1 (en) Registration method and apparatus of internet of things device, communication device, core network device, storage medium and system
CN116156667A (en) Session establishment method and device of Internet of things equipment
CN117793951A (en) Network communication method, device, network side equipment, terminal and medium
CN116567591A (en) Direct connection air interface configuration method, terminal and network side equipment
CN116567777A (en) Access parameter using method, terminal and network side
WO2023143414A1 (en) Data transmission method and apparatus, configuration method and apparatus, and terminal and network-side device
CN116567770A (en) Method, device, terminal equipment and network equipment for processing session
CN116567625A (en) Equipment authentication method, device, terminal and network function
CN116567765A (en) Data forwarding method, device, terminal equipment and network equipment
WO2023179595A1 (en) Session channel establishment method and apparatus for non-3gpp device, and device
CN116266916A (en) RSC determination method, terminal and network side equipment
CN117641497A (en) Equipment path selection method, device, terminal and network side equipment
WO2024027578A1 (en) Traffic routing method and apparatus, and device
CN116567588A (en) Notification method, second terminal and first network function
CN117177229A (en) Data transmission method, device, communication equipment and network element
CN117793943A (en) Network route configuration method and device, network side equipment and terminal
CN116744277A (en) Data transmission method, device, terminal, equipment and storage medium
CN116567709A (en) Equipment identifier distribution method, device, network function and storage medium
CN116939738A (en) Session holding method, terminal and network side equipment
CN117479142A (en) Configuration information acquisition method and device and configuration information storage method and device
CN116939759A (en) Routing processing method, terminal and network side equipment
CN117528712A (en) Network selection method and terminal
CN117835213A (en) Information acquisition method and device, terminal equipment and network side equipment
CN117412409A (en) Relay control method, relay control device, terminal and network side equipment
CN117641571A (en) Positioning message transmission method, terminal and network side equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination