WO2021248971A1 - Procédé d'accès à un réseau, dispositif électronique et support de stockage - Google Patents

Procédé d'accès à un réseau, dispositif électronique et support de stockage Download PDF

Info

Publication number
WO2021248971A1
WO2021248971A1 PCT/CN2021/081903 CN2021081903W WO2021248971A1 WO 2021248971 A1 WO2021248971 A1 WO 2021248971A1 CN 2021081903 W CN2021081903 W CN 2021081903W WO 2021248971 A1 WO2021248971 A1 WO 2021248971A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
address
correspondence
actual
message
Prior art date
Application number
PCT/CN2021/081903
Other languages
English (en)
Chinese (zh)
Inventor
刘领
卢学锋
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021248971A1 publication Critical patent/WO2021248971A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a network access method, electronic equipment, and storage medium.
  • the purpose of the embodiments of the present application is to provide a network access method, electronic equipment, and storage medium. Through a new network access method, IP resources are saved and provisioning costs are saved.
  • the embodiment of the present application provides a network access method for connecting a terminal to a network to which an application server belongs, including: receiving a first message from the terminal, and determining the first message according to the first message A correspondence relationship; wherein the first correspondence relationship at least indicates the correspondence relationship between the identification information of the terminal and the actual Internet Protocol IP address of the terminal; according to the first correspondence relationship and the preset second correspondence relationship, the third correspondence relationship is determined so that Based on the third correspondence, the terminal and the application server forward the message; where the second correspondence at least indicates the correspondence between the identification information of the terminal and the fixed IP address of the terminal, and the third correspondence at least indicates the actual IP address of the terminal and the terminal’s fixed IP address. Correspondence between fixed IP addresses.
  • the embodiment of the present application also provides an electronic device for connecting the terminal to the network to which the application server belongs, including: a user plane gateway module and an address mapping service module; the user plane gateway module is used to: receive the first message of the terminal , And determine the first correspondence relationship according to the first message; wherein the first correspondence relationship at least indicates the correspondence relationship between the identification information of the terminal and the actual Internet Protocol IP address of the terminal; the address mapping service module is used to: according to the first correspondence relationship , And the preset second correspondence relationship, determine the third correspondence relationship, so that the electronic device forwards the message for the terminal and the application server based on the third correspondence relationship; wherein, the second correspondence relationship at least indicates the identification information of the terminal and the fixed IP of the terminal The correspondence between addresses, and the third correspondence at least indicates the correspondence between the actual IP address of the terminal and the fixed IP address of the terminal.
  • the embodiment of the present application also provides a server, including: at least one processor; The processor executes, so that at least one processor can execute the aforementioned network access method.
  • the embodiment of the present application also provides a computer-readable storage medium that stores a computer program, and the computer program is executed by a processor to implement the above-mentioned network access method.
  • Fig. 1 is a flowchart of a network access method according to the first embodiment of the present application
  • FIG. 2 is a flowchart of a method for setting a fixed IP address of a terminal by an application server in the first embodiment of the present application
  • FIG. 3 is a schematic diagram of the connection relationship between the terminal, the network access device, the electronic device, and the application server in the first embodiment of the present application;
  • Fig. 4 is a schematic diagram of interaction among a terminal, a network access device, an electronic device, and an application server according to the first embodiment of the present application;
  • Fig. 5 is a flowchart of a network access method according to a second embodiment of the present application.
  • Fig. 6 is a schematic diagram of the connection relationship among cameras, eNB/gNB, MEC equipment, 5GC/EPC, and application server in the second embodiment of the present application;
  • FIG. 7 is a schematic diagram of the connection relationship of temperature control 1, temperature control 2, AGV equipment, CPE, eNB/gNB, MEC equipment, 5GC/EPC, application server 1 and application server 2 in the second embodiment of the present application;
  • Fig. 8 is a schematic structural diagram of an electronic device in a third embodiment according to the present application.
  • FIG. 9 is another schematic diagram of the structure of the electronic device in the third embodiment according to the present application.
  • Fig. 10 is a schematic structural diagram of an electronic device in a fourth embodiment according to the present application.
  • the allocation method of the IP address of the terminal in the mobile network cannot meet the requirements for the IP address of the terminal in the enterprise campus scenario.
  • the IP address of the terminal is dynamically allocated by the operator, and generally cannot be fixed.
  • the terminal's IP address will change.
  • CPE Customer Premise Equipment
  • the first embodiment of the present application relates to a network access method for connecting a terminal to a network to which an application server belongs, including: receiving a first message from the terminal, and determining a first correspondence relationship based on the first message; where , The first correspondence relationship at least indicates the correspondence relationship between the identification information of the terminal and the actual Internet Protocol IP address of the terminal; according to the first correspondence relationship and the preset second correspondence relationship, the third correspondence relationship is determined so as to be based on the third correspondence relationship Forward messages for the terminal and the application server; wherein the second correspondence relationship at least indicates the correspondence relationship between the terminal's identification information and the terminal's fixed IP address, and the third correspondence relationship at least indicates the correspondence between the terminal's actual IP address and the terminal's fixed IP address relation.
  • the electronic device can construct the actual IP address of the terminal and the terminal based on the corresponding relationship between the configured terminal identification information and the fixed IP address of the terminal, and the corresponding relationship between the terminal identification information and the terminal's actual IP address
  • the fixed IP address of the terminal can be obtained by mapping based on the actual IP address of the terminal, so that the fixed IP address of the terminal is satisfied by the application server.
  • the network access method does not require the operator to fix the IP address of the terminal, saving IP resources, the application server does not perceive the change of the terminal's IP address, and there is no need to modify the application server, which reduces the activation cost. There is no need to add new equipment, saving startup costs and maintenance costs.
  • the network access method in this embodiment is applied to an electronic device.
  • the electronic device may be a device that connects a terminal to a network to which an application server belongs.
  • it may be a Multi-access Edge Compute (MEC) device.
  • MEC Multi-access Edge Compute
  • Step 101 Receive a first message from a terminal, and determine a first correspondence relationship according to the first message.
  • the first message carries the identification information of the terminal and the actual Internet Protocol (IP) address of the terminal, so that the electronic device can determine the first correspondence based on the information carried in the first message.
  • the first correspondence at least indicates the correspondence between the identification information of the terminal and the actual Internet Protocol IP address of the terminal.
  • the actual IP address refers to the IP address dynamically allocated by the mobile network for the terminal.
  • the identification information of the terminal is information that can uniquely identify the terminal.
  • it can be a mobile subscriber’s international ISDN/PSTN number (Mobile Subscriber International ISDN/PSTN number, MSISDN), and an International Mobile Subscriber identification code (International Mobile Subscriber).
  • IMSI International Mobile Subscriber identification code
  • ID Internet of Things identity
  • the first message may be a message for requesting access to the network to which the application server belongs (referred to as an access message for short), that is, when the terminal needs to access the application server, it first sends an access message to Electronic equipment, so that the electronic equipment can determine the correspondence between the actual IP address of the terminal and the fixed IP address based on the network access method mentioned in this embodiment.
  • the first message is automatically sent by the terminal.
  • the terminal automatically sends the first message to the electronic device after the terminal is powered on, or after the terminal re-establishes a connection with the mobile network, or after every interval of time.
  • the first message can be manually triggered by the user.
  • the terminal provides controls for connecting electronic devices. The user clicks this control when it is determined that it needs to access the application server. After determining that the control is triggered, the terminal sends the first message to the electronic device.
  • the sending timing and sending mode of the first message can be set as required, and this embodiment does not limit it.
  • Step 102 Determine a third correspondence relationship according to the first correspondence relationship and the preset second correspondence relationship, so as to forward packets for the terminal and the application server based on the third correspondence relationship.
  • the second correspondence relationship at least indicates the correspondence relationship between the identification information of the terminal and the fixed IP address of the terminal
  • the third correspondence relationship at least indicates the correspondence relationship between the actual IP address of the terminal and the fixed IP address of the terminal.
  • the electronic device obtains the second correspondence in advance, and generates the third correspondence according to the business scenario.
  • the fixed IP address refers to the IP address of the terminal in the network to which the application server belongs.
  • the fixed IP address is configured by the management network element or the application server, and will not change when the terminal goes offline on the network to which the application server belongs.
  • the content contained in the first correspondence, the second correspondence, and the third correspondence will be illustrated below with examples in combination with different business scenarios.
  • the port number of the service is not limited. For example, if you may access multiple ports such as 8080 and 553, you need to configure the mapping relationship between the terminal's identification information and the fixed IP address.
  • the first correspondence is the correspondence between the identification information of the terminal and the actual IP address of the terminal
  • the second correspondence is the correspondence between the identification information of the terminal and the fixed IP address of the terminal.
  • the electronic device searches for the fixed IP address corresponding to the identification information in the second correspondence relationship according to the identification information of the terminal, thereby establishing the correspondence relationship between the actual IP address of the terminal and the corresponding fixed IP address, that is, the third correspondence relationship.
  • the service of the port of the service needs to be restricted, and the mapping relationship from (terminal identification information + actual port) to (fixed IP address of the terminal + fixed port) needs to be configured.
  • the first correspondence indicates the correspondence between the identification information of the terminal, the actual IP address of the terminal, and the actual port of the terminal;
  • the second correspondence indicates the identification information of the terminal, the actual port of the terminal, and the actual port of the terminal.
  • the third correspondence indicates the correspondence between the actual IP address of the terminal and the fixed IP address of the terminal, and the correspondence between the actual port of the terminal and the fixed port of the terminal.
  • the actual port refers to the port actually used by a certain service of the terminal, and the fixed port is the port allocated for a certain service of the terminal by the network to which the application server belongs.
  • the third correspondence also indicates the correspondence between the actual port of the terminal and the fixed port of the terminal, so that the network access method can be applied to scenarios where service ports need to be limited, so that multiple cameras or other devices can pass through A CPE is connected to the application server, on the premise that the problem of well-known port numbers is solved, the waste of CPE resources is avoided, and the cost is reduced.
  • the first correspondence indicates the correspondence between the identification information of the terminal, the actual IP address of the terminal, and the actual port number of the terminal;
  • the second correspondence indicates the identification information of the terminal, the actual port number of the terminal, The correspondence between the fixed IP address of the terminal and the fixed port number of the terminal;
  • the third correspondence indicates the correspondence between the actual IP address of the terminal and the fixed IP address of the terminal, as well as the actual port number of the terminal and the fixed port of the terminal Correspondence between numbers.
  • the service port is dynamically allocated during the power-on process, and the server will use the terminal's IP address as the verification of the user identification in the uplink and downlink data.
  • the mapping relationship between (terminal identification information + actual port segment) and (terminal fixed IP address + fixed port segment) needs to be configured.
  • the first correspondence indicates the correspondence between the identification information of the terminal, the actual IP address of the terminal, and the actual port segment of the terminal;
  • the second correspondence indicates the identification information of the terminal, the actual port segment of the terminal, and the terminal The corresponding relationship between the fixed IP address of the terminal and the fixed port segment of the terminal;
  • the third correspondence indicates the corresponding relationship between the actual IP address of the terminal and the fixed IP address of the terminal, as well as the actual port segment of the terminal and the fixed port segment of the terminal The corresponding relationship.
  • the second correspondence is set by the management network element of the electronic device.
  • the second correspondence is set by the application server after calling the interface of the electronic device.
  • the electronic device provides an open interface to the application server, so that the application server can set the fixed IP address of the terminal through the interface.
  • the second correspondence can be configured by the application server, which makes the configuration of the second correspondence more convenient.
  • the process of setting the second correspondence relationship by the application server is described below with an example. Specifically, for enterprise campus networks, companies often hope that they can control the fixed IP addresses of terminals. If the fixed IP address of the terminal is still configured through the management network element, it is not convenient for the enterprise.
  • MEC equipment can set the fixed IP address of the terminal to the application server of the enterprise by means of the capability open interface, which is convenient for the enterprise to use.
  • the application server registers in the open interface module of the MEC device in advance to obtain the user name and password.
  • the process of setting the fixed IP address of the terminal by the application server is shown in Figure 2. It includes the following steps:
  • Step 201 The application server invokes the authentication interface provided by the open interface module of the MEC device for user authentication. After the authentication is successful, the application server obtains the token allocated by the open interface module of the MEC device to the application server.
  • the application server is allowed to call the interface after successful authentication to ensure the security of the interface.
  • Step 202 The application server calls the interface provided by the MEC device, sets the second correspondence, and sends the second correspondence and the acquired token to the open interface module of the MEC device.
  • the application server fills in the API interface input parameters, which includes at least identification information and a fixed IP address corresponding to the identification information.
  • the input parameter further includes a fixed port corresponding to the identification information.
  • the entry may also include related information such as device name, service area, and protocol, and no examples are given here.
  • Step 203 The open interface module of the MEC device verifies the data received by the interface.
  • Step 204 If the verification is successful, send the data to the address mapping service for subsequent processing.
  • the data includes at least the mapping relationship between the identification information and the actual IP address.
  • Step 205 The address mapping service module of the MEC device receives the data, and establishes a third correspondence relationship based on the mapping relationship between the identification information and the actual IP address.
  • Step 206 The address mapping service module returns the result to the open interface module.
  • the address mapping service module if the third correspondence setting is successful, the address mapping service module returns information indicating that the configuration is successful to the open interface module, and if the third correspondence setting fails, the address mapping service module returns information indicating that the configuration failed to Open interface module.
  • Step 207 The open interface module returns the result to the application server.
  • the open interface module sends the information returned by the address mapping service module indicating the configuration is successful or the configuration failed to the application server, so that the tester can understand the configuration result.
  • the application server of the enterprise park can conveniently set the fixed IP address of the terminal, eliminating the need for the original operator's lengthy approval process, taking into account data security, and having better serviceability.
  • the electronic device forwards the message to the terminal and the application server based on the third correspondence.
  • the third correspondence is the correspondence between the actual IP address of the terminal and the corresponding fixed IP address.
  • the electronic device receives the second message sent by the terminal, and the second message Includes the actual IP address of the terminal; according to the third correspondence, replaces the actual IP address in the second message with a fixed IP address corresponding to the actual IP address; forwards the replaced second message to the application server; or ,
  • the electronic device receives the third message sent by the application server; according to the third correspondence, replaces the fixed IP address in the third message with the actual IP address corresponding to the fixed IP address; replaces the fixed IP address according to the corresponding actual IP address
  • the subsequent third message is forwarded to the terminal corresponding to the actual IP address corresponding to the fixed IP address in the third message.
  • the third correspondence indicates the correspondence between the actual IP address of the terminal and the fixed IP address of the terminal, and the correspondence between the actual port of the terminal and the fixed port of the terminal.
  • the electronic device receives the information sent by the terminal.
  • the second message includes the actual IP address of the terminal and the actual port of the terminal; according to the third correspondence, the actual IP address in the second message is replaced with a fixed IP address corresponding to the actual IP address , Replace the actual port in the second message with a fixed port corresponding to the actual port; forward the replaced second message to the application server; or, the electronic device receives the third message sent by the application server;
  • Three correspondences replace the fixed IP address in the third message with the actual IP address corresponding to the fixed IP address, and replace the fixed port in the third message with the actual port corresponding to the fixed port; according to the corresponding The actual IP address and the corresponding actual port forward the replaced third message to the corresponding actual port of the terminal corresponding to the corresponding actual IP address.
  • connection relationship between the terminal 301, the network access device 302, the electronic device 303, and the application server 304 is shown in FIG. 3, where the terminal 301 accesses the wireless network through the network access device.
  • the electronic device includes a user plane gateway module, a subscription publishing service module, and an address mapping service module.
  • the user plane gateway module is configured to: receive the first message of the terminal, and determine a first corresponding relationship according to the first message;
  • the subscription publishing service module is configured to: receive the user plane gateway module Determine the first correspondence relationship, and publish the first correspondence relationship to the address mapping service module;
  • the address mapping service module is configured to: according to the first correspondence relationship and a preset second correspondence relationship, The third correspondence is determined, so that the electronic device forwards the message for the terminal and the application server based on the third correspondence.
  • the interaction diagram of the terminal, the network access device, the electronic device, and the application server is shown in Figure 4, including the following steps:
  • Step 401 The terminal accesses the wireless network through the network access device, that is, connects to the user plane gateway.
  • Step 402 The user plane gateway obtains the identification information and the actual IP address of the terminal, and determines the first correspondence.
  • Step 403 The address mapping service module obtains the second correspondence.
  • Step 404 The user plane gateway publishes the first corresponding relationship to the subscription publishing service module.
  • Step 405 The address mapping service module subscribes to the first correspondence from the subscription service publishing module, and the subscription service publishing module sends the first correspondence to the address mapping service module.
  • Step 406 The address mapping service module establishes a correspondence between the actual IP address of the terminal and the fixed IP address of the terminal based on the first correspondence and the second correspondence, that is, the third correspondence.
  • step 403 is set after step 402. In practical applications, step 403 can be executed in any step before step 406, and this embodiment does not limit it.
  • Step 407 The terminal sends an uplink message to the user plane gateway.
  • Step 408 User plane gateway matching rule.
  • the user plane gateway may store preset shunt rules, and the shunt rules include the IP address of the application server.
  • the user plane gateway determines whether the destination IP address of the uplink packet is the same as the IP address of the application server, and if it is determined so, it is considered that the uplink packet conforms to the offloading rule. If it is determined that the destination IP address of the uplink packet is not the IP address of the application server, it is deemed that the uplink packet does not comply with the offloading rule, and no subsequent operations are performed.
  • Step 409 The user plane gateway sends the uplink message to the address mapping service module.
  • Step 410 Based on the third correspondence, the address mapping service module maps the actual IP address in the uplink message to a fixed IP address corresponding to the actual IP address.
  • Step 411 The address mapping service module forwards the mapped uplink message to the application server.
  • Step 412 The application server accesses the terminal based on the fixed IP address and the fixed port.
  • Step 413 The application server sends a downlink message to the address mapping service module.
  • Step 414 The address mapping service module maps the fixed IP address of the terminal in the downlink message to the actual IP address of the terminal based on the third correspondence.
  • Step 415 The address mapping service sends the mapped downlink message to the user plane gateway.
  • Step 416 The user plane gateway sends the mapped downlink message to the terminal.
  • the electronic device replaces the IP address in the message to be forwarded based on the third correspondence, so that the IP of the terminal seen by the application server is fixed, or the IP and port of the terminal are fixed. It can solve the problem of the terminal's real IP address change under the mobile communication network.
  • this embodiment provides a network access method, because the electronic device can be based on the correspondence between the configured terminal identification information and the fixed IP address of the terminal, and the correspondence between the terminal identification information and the actual IP address of the terminal.
  • the relationship between the actual IP address of the terminal and the fixed IP address of the terminal is constructed.
  • the fixed IP address of the terminal can be obtained by mapping based on the actual IP address of the terminal, so as to satisfy The application server requires a fixed IP address of the terminal.
  • the network access method does not require the operator to fix the IP address of the terminal, saving IP resources, the application server does not perceive the change of the terminal's IP address, and there is no need to modify the application server, which reduces the activation cost. There is no need to add new equipment, saving startup costs and maintenance costs.
  • the second embodiment of the present application relates to a network access method.
  • the second embodiment is roughly the same as the first embodiment.
  • the third correspondence is updated according to the updated first correspondence; if it is determined that the second correspondence is updated, according to the updated second correspondence, Update the third correspondence.
  • the third correspondence is automatically updated, which can reduce the workload of operation and maintenance personnel.
  • FIG. 5 An example flow chart of the network access method in this embodiment is shown in FIG. 5, and includes steps 501 to 504, where step 501 and step 502 are substantially the same as step 101 and step 102, respectively, and will not be repeated here. The differences are mainly introduced below:
  • Step 501 Receive the first message of the terminal, and determine the first correspondence relationship according to the first message.
  • Step 502 Determine a third correspondence relationship according to the first correspondence relationship and the preset second correspondence relationship.
  • Step 503 If it is determined that the first correspondence relationship is updated, update the third correspondence relationship according to the updated first correspondence relationship.
  • the actual IP address of the terminal is dynamically allocated by the operator.
  • its actual IP address may change. Therefore, the electronic device can update the third correspondence in time after the actual IP address of the terminal changes.
  • the electronic device receives a fourth message from the terminal, and the fourth message carries at least the identification information of the terminal and the updated actual IP address of the terminal; according to the identification information of the terminal and the updated actual IP address of the terminal, Update the first correspondence.
  • the fourth message may be an access message, that is, the electronic device monitors whether it receives the access message of the terminal.
  • the updated actual IP address of the terminal updates the first corresponding relationship.
  • the fourth message may be a service-related message (referred to as a service message) sent by the terminal, that is, a message interacting with the application server.
  • the electronic device compares the identification information of the terminal and the actual IP address information of the terminal carried in the service message with the first corresponding relationship. If it finds the actual IP of the terminal carried in the service message If the address is different from the actual IP address of the terminal recorded in the first correspondence, it is determined that the actual IP address of the terminal has changed, and the first correspondence is updated based on the service message.
  • Step 504 If it is determined that the second correspondence is updated, update the third correspondence according to the updated second correspondence.
  • the operation and maintenance personnel may need to adjust the fixed IP address of one or more terminals in combination with the application scenario.
  • the electronic device determines that the second corresponding relationship is updated, the third corresponding relationship is updated in time, so that the operation of the operation and maintenance personnel takes effect in time.
  • the camera is connected to the mobile network and the MEC device is used to connect to the application server as an example.
  • the connected terminal is 3 cameras, namely camera 1, camera 2, and camera 3.
  • Camera 1, camera 2, and camera 3 are respectively connected to the 4G base station or 5G base station (eNR/gNB) of the wireless network.
  • eNR/gNB is connected to MEC equipment.
  • the MEC equipment is responsible for the configuration of local shunt rules, user message analysis and dynamic IP mapping.
  • the MEC device is connected to the application server, and forwards messages for the terminal and the application server.
  • 5G core network 5G core, 5GC
  • 4G evolved core network Evolved Packet Core network, EPC
  • EPC evolved Packet Core network
  • camera 1 (601), camera 2 (602), camera 3 (603), eNB/gNB (604), MEC equipment 605, 5GC/EPC (606), and application server 607 is shown in Figure 6.
  • the camera 2 and the camera 3 are respectively inserted into the mobile card, and the related information is shown in Table 1 below.
  • Terminal name Identification information Actual IP address Actual port Camera 1 12300000040 192.168.1.11 554 Camera 2 14500000030 192.168.1.12 554 Camera 3 14500000041 192.168.1.13 554
  • the identification information of each camera may be MSISDN, which is unique in the network.
  • the actual IP address of the camera is allocated by the core network and may change with the state of the terminal. In this scenario, the actual port number 554 of the application message is fixed.
  • the application server needs to configure a fixed IP address for each camera.
  • MEC equipment In order to meet the requirements of the application server, MEC equipment needs to be configured as follows:
  • the business process and data processing process of MEC equipment are as follows:
  • Each camera is connected to the wireless network, and the user plane gateway of the MEC device parses the message to obtain the identification information of each camera, the actual IP address, and the first correspondence between the actual port, that is, the content of Table 1.
  • the user plane gateway of the MEC device publishes the first correspondence to the subscription publishing service module.
  • the user plane gateway perceives the terminal (each camera) status or IP address change, and after the actual IP address changes, it publishes the updated first correspondence.
  • the address mapping service module subscribes to the first correspondence relationship, and combines the pre-configured data (ie, the second correspondence relationship) to associate through identification information to generate the mapping relationship between the actual IP address and the fixed IP address, that is, the first
  • the three correspondences are stored in the address mapping data area.
  • the third correspondence can be stored in the address mapping data area in a table form, as shown in Table 3.
  • the destination address of the message is 10.1.2.3
  • the source address of the message is the actual IP address of camera 1 (192.168.1.11)
  • the port of the message is the actual port of camera 1 (554 ).
  • Camera 1 sends the message to the user plane gateway of the MEC device. Because the target address meets the pre-configured shunt rules, the message needs to be forwarded through the local port, that is, the message is forwarded to the address mapping service module.
  • the address mapping service module searches in the address mapping data area, and the match succeeds, and maps the source address of the message to the fixed IP address of camera 1 (172.167.0.1) .
  • the port is mapped to a fixed port (544), that is, 192.168.1.11:554 is mapped to 172.167.0.1:554, and the message is sent to the application server through the local port of the MEC device.
  • the application server is pre-configured with the fixed IP address of camera 1 and the corresponding application message port (ie, fixed port). After receiving the message from camera 1, it matches the locally configured IP address of camera 1 successfully.
  • the destination address of the message is the fixed IP address of camera 1 (172.167.0.1), and the message port is the fixed port of camera 1 (554).
  • the application server first sends the message to the local port of the MEC device.
  • the address mapping service module of the MEC device converts the fixed IP address to the actual IP address, that is, the target address in the message is converted to the actual IP address of camera 1 (192.168.1.11), and the port is converted to the fixed port of camera 1 (554) , That is, 172.167.0.1:554 is mapped to 192.168.1.11:554.
  • the address mapping service module sends the converted message to the user plane gateway, and then sends it to the camera 1 through the wireless network.
  • the MEC device can update the third correspondence in time to ensure the message quality Send it correctly.
  • the MEC device processing process is as follows:
  • the actual IP address of camera 1 is redistributed, and the user plane gateway of the MEC device obtains the updated actual IP address, that is, the first correspondence has changed as follows.
  • the actual IP address of the terminal with the identification information of 12300000040 is changed from 192.168. 1.11 is converted to 192.168.1.30.
  • the user plane gateway of the MEC device publishes the correspondence between the latest identification information and IP to the subscription publishing service module.
  • the address mapping service subscribes to the first correspondence between the new identification information and the actual IP address, and updates the data area.
  • the destination address of the message is 10.1.2.3
  • the source address of the message is 192.168.1.30
  • the message port is 554.
  • the user plane gateway of the MEC device forwards the message to the address mapping service module.
  • the address mapping service module searches the address mapping data area according to the source address and the message port (192.168.1.30:554), and the match succeeds, maps the source address and port of the message to 172.167.0.1:554, and reports
  • the text is sent to the application server through the local port of the MEC device.
  • the application server is pre-configured with the fixed IP address of the camera 1 and the corresponding fixed port.
  • the edge application server receives the packet sent by camera 1, and it matches the fixed IP address of camera 1 configured locally.
  • the destination address is 172.167.0.1:554, and it is sent to the local port of the MEC device.
  • the address mapping service module of the MEC device converts the fixed IP address to the actual IP address, that is, converts the target address in the message to 192.168.1.11:554, and then sends it to the user plane gateway, and then sends it to the camera 1 through the wireless network.
  • the connected terminal includes AGV equipment, temperature control 1 and temperature control 2, and the available application servers include application server 1 and application server 2.
  • the AGV equipment is connected to the wireless network gNR/eNB, and the temperature control 1 and the temperature control 2 are connected to the wireless network through the CPE.
  • the MEC equipment is responsible for the configuration of local shunt rules, user message analysis, and dynamic IP mapping.
  • the core network 5GC/EPC is a standard network element for wireless terminal access, and will not be repeated here.
  • Temperature control 1 (701), temperature control 2 (702), AGV equipment 703, CPE (704), eNB/gNB (705), MEC equipment 706, 5GC/EPC (707), application server 1 (708) and application server
  • the connection relationship of 2(709) is shown in Figure 7.
  • the relevant information of AGV equipment, temperature control 1 and temperature control 2 are shown in Table 4.
  • Temperature control 1 15500000030 10.10.10.1 800-900 Temperature control 2 15500000030 10.10.10.1 1000-1100
  • the identification information may be an Internet of Things ID, which is unique in the network.
  • the actual IP address of the AGV device can be allocated by the core network, and the actual port number cannot be fixed, and there may be multiple ports.
  • Temperature control 1 and temperature control 2 are connected to the wireless network through the CPE.
  • the IP address of the CPE is allocated by the core network and the address will change.
  • the small network IP addresses (actual IP addresses) of temperature control 1 and temperature control 2 are configured by the CPE, and the service ports (ie actual ports) of temperature control 1 and temperature control 2 are dynamically allocated within the range of 100-200.
  • CPE maps the business of temperature control 1 to the port segment of 800-900 and the business of temperature control 2 to the port segment of 1000-1100 through port mapping.
  • Application server 1 needs to actively access the AGV equipment, and needs a fixed IP address, and the port range is not limited.
  • Application server 2 needs to actively access temperature control 1 and temperature control 2.
  • the two devices correspond to different fixed IP addresses, and the port range is 100-200.
  • MEC In order to meet the requirements of the application server, MEC needs to be configured:
  • the API interface or management network element configure a fixed IP address and fixed port for each AGV device, temperature control 1 and temperature control 2, and associate it with the identification information of the AGV device, temperature control 1 and temperature control 2, namely configuration
  • the second correspondence indicates the correspondence between the identification information, the fixed IP address, and the fixed port, as shown in Table 5.
  • the business process and data processing process of MEC equipment are as follows:
  • Terminals are connected to the wireless network, and the user plane gateway of the MEC equipment obtains the identification information of each terminal, the actual IP address and the first of the actual port by parsing the message.
  • the user plane gateway of the MEC equipment obtains the identification information of each terminal, the actual IP address and the first of the actual port by parsing the message.
  • the user plane gateway of the MEC device publishes the first correspondence to the subscription publishing service module.
  • the user plane gateway perceives the status of each terminal or the change of the actual IP address, and after the actual IP address changes, publishes the updated first correspondence.
  • the address mapping service module subscribes to the first correspondence relationship, and combines the pre-configured data (ie the second correspondence relationship) to associate through identification information to generate the mapping relationship between the actual IP address and the fixed IP address, and the actual port
  • the mapping relationship with the fixed port that is, the third corresponding relationship, is stored in the address mapping data area.
  • the third correspondence relationship may be stored in the address mapping data area in the form of a table, as shown in Table 6.
  • the message processing process of the AGV device is as follows:
  • the destination address of the message is the IP address of application server 1 (10.99.2.3), and the source address of the message is the actual IP address of the AGV device (10.10.9.1).
  • the AGV device sends the message to the user plane gateway of the MEC device, and the user plane gateway determines that it meets the pre-configured offloading rules, and forwards the message through the local port. Forward the message to the address mapping service module.
  • the address mapping service module searches the address mapping data area according to the source address (10.10.9.1), and the match succeeds, maps the source address of the message to the fixed IP address of the AGV device (172.167.0.1), and passes the message through the MEC
  • the local port of the device is sent to the edge application server 1.
  • the application server 1 is pre-configured with the fixed IP address of the AGV device. After receiving the AGV message, it matches the locally configured IP address successfully.
  • the destination address is the fixed IP address (172.167.0.1) of the AGV device, and the port is not limited.
  • the application server 1 first sends the message to the local port of the MEC device.
  • the address mapping service module of the MEC device converts the fixed IP address to the actual IP address, that is, converts the target address in the message to 10.10.9.1, and then sends the converted message to the user plane gateway, and then sends it to the user plane through the wireless network.
  • AGV equipment converts the fixed IP address to the actual IP address, that is, converts the target address in the message to 10.10.9.1, and then sends the converted message to the user plane gateway, and then sends it to the user plane through the wireless network.
  • temperature control 1 Taking temperature control 1 as an example, the processing of temperature control messages is as follows:
  • the destination address of the message is the IP address of application server 2 (10.99.2.5)
  • the source address of the message is the actual IP address of temperature control 1 (10.10.10.1)
  • the port is Any value within the range of actual port (800-900) of temperature control 1.
  • the temperature control 1 sends the message to the user plane gateway of the MEC device.
  • the user plane gateway determines that the message meets the pre-configured shunt rules, and forwards the message through the local port, that is, forwards the message to the address mapping service module.
  • the address mapping service module searches the address mapping data area according to the source address (10.10.10.1) and port (any value within 800-900, such as 801), and the match is successful, and the source address of the message is mapped to temperature control 1
  • the fixed IP address (172.167.0.2)
  • the source port is mapped to the fixed port of temperature control 1 (any value within 100-200, such as 101)
  • the message is sent to the application server 2 through the local port of the MEC device.
  • Application server 2 receives the message of temperature control 1 and performs verification, which is consistent with the fixed IP address of temperature control 1, and the match is successful.
  • the destination address is the fixed IP address of the temperature control 1 (172.167.0.2), and the port is the fixed port of the temperature control 1 (such as 101).
  • the application server sends the message to the local port of the MEC device.
  • the address mapping service module of the MEC device converts the fixed IP address to the actual IP address, that is, the target address in the message is converted to the actual IP address of temperature control 1 (10.10.10.1), and the destination port is mapped to the fixed port of temperature control 1 (801), that is, 172.167.0.2:101 is mapped to 10.10.10.1:801.
  • the address mapping service module sends the converted message to the user plane gateway, and then sends it to the CPE through the wireless network, and the CPE finally sends it to the temperature control 1 device through port mapping.
  • temperature control 2 is similar to that of temperature control 1, and can refer to the related description of temperature control 1 to understand the message transmission and reception between temperature control 2 and application server 2.
  • the MEC equipment needs to be updated in time. Corresponding relationship, the message can be sent correctly, and the application server does not perceive the process.
  • the processing flow of the MEC device is similar to the processing flow of the MEC device when the actual IP address of the camera changes in the first example. Do not repeat it here.
  • this embodiment provides a network access method, because the electronic device can be based on the correspondence between the configured terminal identification information and the fixed IP address of the terminal, and the correspondence between the terminal identification information and the actual IP address of the terminal.
  • the relationship between the actual IP address of the terminal and the fixed IP address of the terminal is constructed.
  • the fixed IP address of the terminal can be obtained by mapping based on the actual IP address of the terminal, so as to satisfy The application server requires a fixed IP address of the terminal.
  • the network access method does not require the operator to fix the IP address of the terminal, saving IP resources, the application server does not perceive the change of the terminal's IP address, and there is no need to modify the application server, which reduces the activation cost. There is no need to add new equipment, which saves startup and maintenance costs.
  • the third correspondence is updated in time, so that the operations of the operation and maintenance personnel can take effect in time.
  • the third embodiment of this application relates to an electronic device, as shown in FIG.
  • the user plane gateway module 801 is configured to: receive the first message of the terminal, and determine the first correspondence according to the first message; wherein the first correspondence at least indicates the identification information of the terminal and the actual Internet Protocol IP address of the terminal Correspondence.
  • the address mapping service module 802 is configured to: determine a third correspondence relationship according to the first correspondence relationship and the preset second correspondence relationship, so that the electronic device forwards the message for the terminal and the application server based on the third correspondence relationship;
  • the correspondence relationship at least indicates the correspondence relationship between the identification information of the terminal and the fixed IP address of the terminal, and the third correspondence relationship at least indicates the correspondence relationship between the actual IP address of the terminal and the fixed IP address of the terminal.
  • the electronic device further includes: a subscription publishing service module; the subscription publishing service module is used to: receive the first correspondence determined by the user plane gateway module, and publish the first correspondence to the address mapping service module.
  • the electronic device further includes: an open interface module; the open interface module is used to: provide an interface for the application server, so that the application server sets the second correspondence on the electronic device through the interface.
  • the electronic device includes: a user plane gateway module 801, an address mapping service module 802, a subscription publishing service module 803, and an open interface module 804.
  • a user plane gateway module 801 For the function of each module, please refer to the relevant description above, which will not be repeated here.
  • this embodiment is a device embodiment corresponding to the first or second embodiment, and this embodiment can be implemented in cooperation with the first or second embodiment.
  • the related technical details mentioned in the first or second embodiment are still valid in this embodiment, and in order to reduce repetition, they will not be repeated here.
  • the related technical details mentioned in this embodiment can also be applied in the first or second embodiment.
  • modules involved in this embodiment are all logical modules.
  • a logical unit can be a physical unit, a part of a physical unit, or multiple physical units. The combination of units is realized.
  • the present embodiment does not introduce a unit that is not closely related to solving the technical problem proposed by the present application, but this does not indicate that there are no other units in the present embodiment.
  • the fourth embodiment of the present application relates to a server. As shown in FIG. 10, it includes: at least one processor 901; and a memory 902 communicatively connected with the at least one processor 901; The instructions executed by the processor 901 are executed by the at least one processor 901, so that the at least one processor 901 can execute the above-mentioned electronic seal application method.
  • the memory and the processor are connected in a bus mode
  • the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together.
  • the bus can also connect various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further description will be given herein.
  • the bus interface provides an interface between the bus and the transceiver.
  • the transceiver may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on the transmission medium.
  • the data processed by the processor is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor.
  • the processor is responsible for managing the bus and general processing. It can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions.
  • the memory can be used to store data used by the processor when performing operations.
  • the fifth embodiment of the present application relates to a computer-readable storage medium storing a computer program.
  • the computer program is executed by the processor, the above method embodiment is realized.
  • the program is stored in a storage medium and includes several instructions to enable a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) that executes all or part of the steps of the methods described in the embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Des modes de réalisation de la présente demande, qui appartient au domaine technique des communications, concernent un procédé d'accès à un réseau, un dispositif électronique et un support de stockage. Dans certains modes de réalisation de la présente demande, le procédé d'accès à un réseau est utilisé pour permettre à un terminal d'accéder à un réseau auquel appartient un serveur d'application, et comprend : la réception d'un premier paquet d'un terminal, et la détermination d'une première correspondance selon le premier paquet, la première correspondance indiquant au moins la correspondance entre des informations d'identification du terminal et une adresse de protocole Internet (IP) réelle du terminal ; et la détermination d'une troisième correspondance selon la première correspondance et une deuxième correspondance prédéfinie afin de transférer le paquet pour le terminal et le serveur d'application sur la base de la troisième correspondance, la deuxième correspondance indiquant au moins la correspondance entre les informations d'identification du terminal et une adresse IP fixe du terminal, et la troisième correspondance indiquant au moins la correspondance entre l'adresse IP réelle du terminal et l'adresse IP fixe du terminal.
PCT/CN2021/081903 2020-06-12 2021-03-19 Procédé d'accès à un réseau, dispositif électronique et support de stockage WO2021248971A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010535779.2 2020-06-12
CN202010535779.2A CN113810900A (zh) 2020-06-12 2020-06-12 网络接入方法、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2021248971A1 true WO2021248971A1 (fr) 2021-12-16

Family

ID=78845161

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081903 WO2021248971A1 (fr) 2020-06-12 2021-03-19 Procédé d'accès à un réseau, dispositif électronique et support de stockage

Country Status (2)

Country Link
CN (1) CN113810900A (fr)
WO (1) WO2021248971A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114882631A (zh) * 2022-06-06 2022-08-09 创斯达科技集团(中国)有限责任公司 一种自适应智能闸机网络配置方法及闸机系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306612A (zh) * 2014-07-15 2016-02-03 中兴通讯股份有限公司 获取终端在网络中的标识的方法及管理网元
CN106790732A (zh) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 地址转换方法、装置及系统、网络标识控制方法及装置
US20170208032A1 (en) * 2016-01-19 2017-07-20 Cisco Technology, Inc. Method and apparatus for forwarding generic routing encapsulation packets at a network address translation gateway
CN110071984A (zh) * 2018-01-24 2019-07-30 中兴通讯股份有限公司 一种网络标识映射方法和系统以及终端、标识网关

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306612A (zh) * 2014-07-15 2016-02-03 中兴通讯股份有限公司 获取终端在网络中的标识的方法及管理网元
CN106790732A (zh) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 地址转换方法、装置及系统、网络标识控制方法及装置
US20170208032A1 (en) * 2016-01-19 2017-07-20 Cisco Technology, Inc. Method and apparatus for forwarding generic routing encapsulation packets at a network address translation gateway
CN110071984A (zh) * 2018-01-24 2019-07-30 中兴通讯股份有限公司 一种网络标识映射方法和系统以及终端、标识网关

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114882631A (zh) * 2022-06-06 2022-08-09 创斯达科技集团(中国)有限责任公司 一种自适应智能闸机网络配置方法及闸机系统

Also Published As

Publication number Publication date
CN113810900A (zh) 2021-12-17

Similar Documents

Publication Publication Date Title
CN109314917B (zh) 网络切片选择策略更新方法、及装置
US11917498B2 (en) Communication method and communications apparatus
AU2021277736B2 (en) Pdu type setting method, ue policy setting method, and related entity
US11963242B2 (en) Communication method and apparatus
WO2018157439A1 (fr) Procédé et dispositif de traitement de services
WO2021082715A1 (fr) Procédé de traitement de communication directe, dispositif, terminal relais et terminal distant
WO2021042398A1 (fr) Procédé et appareil de communication, dispositif de réseau et dispositif terminal
CN113891430A (zh) 一种通信的方法、装置及系统
WO2023000935A1 (fr) Procédé de traitement de données, dispositif d'élément de réseau et support d'enregistrement lisible
WO2020048469A1 (fr) Procédé et appareil de communication
WO2022011883A1 (fr) Procédé et système d'accueil d'un réseau central multi-opérateur avec mec
WO2022033345A1 (fr) Procédé d'établissement de session pdu, dispositif de terminal et système de puce
US20200228618A1 (en) Content delivery method, device, and system
WO2022052875A1 (fr) Procédé de communication inter-région de terminal, dispositif d'élément de réseau, et support de stockage
WO2023125151A1 (fr) Système, procédé et appareil de migration de données pour dispositif de l'internet des objets, et support de stockage
US9417887B2 (en) Method and apparatus for bootstrapping gateway in device management system
WO2021138822A1 (fr) Procédé et dispositif d'acquisition d'informations d'abonnement
WO2021248971A1 (fr) Procédé d'accès à un réseau, dispositif électronique et support de stockage
US20230370823A1 (en) Network capability exposure method, device, and storage medium
US20240048986A1 (en) Communication method and apparatus
WO2022062071A1 (fr) Procédé et système de communication entre un réseau mec et un réseau central multi-opérateur
WO2017185934A1 (fr) Dispositif de gestion et procédé de gestion d'un dispositif
US11057241B2 (en) Network interworking method, network element, and system
US20230164111A1 (en) Method and apparatus for sending domain name system request
WO2020259290A1 (fr) Procédé et appareil de gestion de groupe d'utilisateurs

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21822277

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 22/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21822277

Country of ref document: EP

Kind code of ref document: A1