Terminal access management platform address method and system and terminal

A management platform and terminal technology, applied in the network field, can solve the problems of manual modification, inconvenience of modifying the IP address of the management platform, inconvenient application, etc., and achieve the effect of easy modification, easy application and strong flexibility

Active Publication Date: 2014-05-21
CHINA MOBILE COMM GRP CO LTD
8 Cites 6 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0004] However, the inventor found in the process of implementing the present invention that the method provided by the prior art has at least the following defects: for the method of building the IP address of the management platform in the terminal of the Internet of Things, once the IP address of the management platform changes, it is necessary to manually modify each The IP address of the management platform stored in each IoT terminal
However, there are a large number of IoT terminals, the distribution is relatively scattered, and som...
View more

Abstract

The invention relates to the communication technical field, particularly to a terminal access management platform address method. The terminal access management platform address method comprises step 1, sending a packet data protocol context activation request to the network side, wherein the packet data protocol context activation request comprises first address configuration parameters and second address configuration parameters, the first address configuration parameters are used for requesting an IP (Internet Protocol) address of the network side configuration terminal, and the second address configuration parameters are used for requesting an IP address of a network side configuration management platform or an IP address of a DNS (Domain Name System) and step 2, receiving a response of the network side to the packet data protocol context activation request, accessing the IP address of the terminal according to the first address configuration parameters which are returned from the network side and accessing the IP address of the management platform according to the second address configuration parameters which are returned from the network side. According to the terminal access management platform address method, the IP address of the management platform can be automatically accessed by the terminal and accordingly changes of the IP address of the management platform are convenient, the flexibility is strong, and the application is convenient.

Application Domain

Transmission

Technology Topic

Ip addressConfiguration management +3

Image

  • Terminal access management platform address method and system and terminal
  • Terminal access management platform address method and system and terminal
  • Terminal access management platform address method and system and terminal

Examples

  • Experimental program(1)

Example Embodiment

[0063] In the prior art, since the IP address of the management platform or the IP address of the DNS domain name resolution server is hard-coded in the IoT terminal, once the IP address of the management platform or the IP address of the DNS domain name resolution server is changed, for example, when the management platform When upgrading, expanding capacity, or changing the physical address, in order to ensure the normal connection between the terminal and the management platform, you need to manually modify the built-in IP address of the terminal. However, the number of terminals is large, and manual modification is inconvenient, and the methods of the prior art have the disadvantages of poor flexibility and inconvenient application.
[0064] Based on this, the embodiments of the present invention provide a method, terminal and system for a terminal to obtain the address of the management platform, so that the terminal can automatically obtain the address updated in real time by the management platform without having to have the address of the built-in management platform, which is flexible and convenient for application.
[0065] In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0066] see figure 1 , is a schematic diagram of the first embodiment of the method for the terminal to obtain the address of the management platform provided by the present invention.
[0067] The method is applied to the terminal side, the terminals include various Internet of Things terminals, handheld terminals or mobile terminals, and the terminals support GPRS (General Packet Radio Service, General Packet Radio Service) data services, including but not limited to mobile phones, electricity meters , POS machines, etc.
[0068] The method includes:
[0069] S101. Send a packet data protocol context activation request to a network side, where the packet data protocol context activation request includes a first address configuration parameter and a second address configuration parameter.
[0070] The first address configuration parameter is used to request the network side to configure the IP address of the terminal, and the second address configuration parameter is used to request the network side to configure the IP address of the management platform or the IP address of the DNS domain name resolution server.
[0071] S102: Receive a response from the network side to the packet data protocol context activation request, obtain the IP address of the terminal according to the first address configuration parameter returned by the network side, and obtain the IP address of the management platform according to the second address configuration parameter returned by the network side.
[0072] see figure 2 , is a schematic diagram of the second embodiment of the method for the terminal to obtain the address of the management platform provided by the present invention.
[0073] The method is applied to the network side, including:
[0074] S201: Receive a packet data protocol (PDP) context activation request sent by a terminal.
[0075] S202, in response to the packet data protocol PDP context activation request, configure the IP address of the terminal for the first address configuration parameter; configure the second address configuration parameter according to the preset IP address of the management platform or the IP address of the DNS domain name resolution server; The IP address of the management platform or the IP address of the DNS domain name resolution server is the most recently updated address.
[0076] S203. Send a response message to the terminal, where the response message includes a first address configuration parameter and a second address configuration parameter.
[0077] see image 3 , is a schematic diagram of the third embodiment of the method for the terminal to obtain the address of the management platform provided by the present invention.
[0078] In the third embodiment of the present invention, the terminal supports GPRS data services, the network is specifically a packet data protocol core network, and the network side includes SGSN, GGSN, and a management platform.
[0079] S301, the terminal sends a packet data protocol PDP activation request to the SGSN, where the activation request includes a first address configuration parameter and a second address configuration parameter.
[0080] In the third embodiment of the present invention, the terminal supports GPRS data services, and the terminal has a built-in network-specific APN (Access Point Name, access point), user name and password for security authentication and network access when GPRS is activated. The terminal sends a PDP context activation request to an SGSN (Serving GPRS Support Node, Serving GPRS Support Node), and the PDP context activation request includes an APN field and a PCO (Protocol Configuration Options) field. The APN field is used for network access authentication, and the PCO field contains two configuration parameters, which are a first address configuration parameter and a second address configuration parameter. The first address configuration parameter is used to request the network side to configure the IP address of the terminal, and the second address configuration parameter is used to request the network side to configure the IP address of the management platform or the IP address of the DNS domain name resolution server.
[0081] S302, the SGSN performs terminal identity authentication, and forwards the PDP context activation request to the GGSN.
[0082] After receiving the PDP activation request of the terminal, the SGSN obtains the authentication judgment standard information from the GGSN, and judges whether to reject or pass the activation request of the terminal. When the SGSN uses the APN information in the activation request for authentication, after the authentication is passed, it forwards the PDP context activation request to the GGSN.
[0083] S303, the GGSN configures the first address configuration parameter and the second address configuration parameter, and sends a response message to the SGSN.
[0084] The GGSN responds to the PDP context activation request forwarded by the SGSN, and at the same time performs data configuration on the first address configuration parameter and the second address configuration parameter in the PCP field in the request message according to the actual situation, and then configures the configured first address configuration The parameters and the second address configuration parameters are returned to the SGSN. During specific implementation, the GGSN configures the terminal's local IP address for the terminal, and the configured first address parameter is configured as the terminal's IP address.
[0085] In the third embodiment of the present invention, the GGSN stores the IP address of the management platform in advance. Preferably, when the IP address of the management platform is updated, the management platform sends an update request to the GGSN, and the GGSN receives the update request from the management platform and stores the most recently updated IP address of the management platform. Therefore, the GGSN stores the IP address of the management platform, which is the most recently updated IP address. In this way, when the GGSN configures the second address configuration parameter, the second address configuration parameter carries the latest IP address of the management platform. Therefore, the terminal obtains the IP address updated in real time by the management platform.
[0086] Further, when there are multiple management platforms, in order to ensure the effective utilization of resources and the load balancing of the management platforms, in this embodiment of the present invention, the GGSN obtains the load situation of the management platforms, and according to the preset allocation strategy, is the terminal that sends the activation request. A management platform that matches the terminal is determined, and the second address configuration parameter is configured according to the determined IP address of the management platform that matches the terminal. During specific implementation, the preset allocation strategy is a strategy for ensuring load balance of the management platform, that is, the management platform with the smallest load is preferentially configured as the management platform matching the terminal. Of course, other allocation strategies can also be preset to realize the matching between the terminal and the management platform.
[0087]S304, the SGSN delivers the response message carrying the first address configuration parameter and the second address configuration parameter to the terminal. The SGSN sends a PDP context activation completion response to the terminal, and the response message carries two address configuration parameters.
[0088] S305, the terminal receives the response message, and obtains the IP address of the terminal and the IP address of the management platform.
[0089] If the second address configuration parameter is the IP address of the management platform, the terminal sets the IP address carried in the first address configuration parameter as the IP address of the terminal, and sets the IP address carried in the second address configuration parameter as the IP address of the management platform.
[0090] S306, the terminal initiates a connection according to the IP address of the management platform.
[0091] S307, the SGSN forwards the terminal connection request.
[0092] S308, the GSSN establishes and manages the connection of the platform.
[0093] S309, the management platform returns a connection success message to the GGSN.
[0094] S310, the GGSN forwards the management platform connection success message.
[0095] S311, the SGSN forwards the connection success message, and the terminal and the management platform complete the connection.
[0096] So far, the terminal has acquired the communication capability and established a connection with the management platform.
[0097] Preferably, the embodiment of the present invention may further include a deactivation step.
[0098] S312, the terminal sends a packet data protocol packet data protocol context deactivation request to the network side.
[0099] When the terminal completes data communication with the management platform, it can send a PDP context deactivation request to the network side.
[0100] S313: The terminal receives the network side's response to the packet data protocol context deactivation request, and deletes the acquired IP address of the management platform.
[0101] When the terminal receives the network side's response to the PDP context deactivation request, it deletes the saved IP address of the management platform. In this way, the security of terminal network data can be guaranteed.
[0102] In another embodiment, when the terminal and the management platform are in a connected state, when the IP address of the management platform changes and the terminal and the platform are disconnected, the terminal may also send a PDP context deactivation request to the network side, and when the receiving to the deactivation response. The terminal re-sends the PDP context activation request to the network side, executes steps S301 to S311, and has completed the connection with the management platform.
[0103] In the third embodiment of the present invention, the GGSN presets the latest IP address of the management platform. When the terminal sends a PDP context activation request to the network side, the activation request carries two address configuration parameters, and the GGSN configures the IP address for the terminal. address, and configure the second address parameter according to the preset IP address of the management platform, so that the PDP context activation completion response returned by the network side carries the IP address of the management platform and the IP address of the terminal, so that the terminal can be activated through the PDP context Directly obtain the IP address updated in real time by the management platform, and then establish a connection with the management platform. In this implementation manner, the terminal can flexibly obtain the IP address of the management platform without programming the IP address of the management platform in advance, which is convenient for implementation.
[0104] On the other hand, from the perspective of future technological development, for security reasons, it is hoped that the terminal will not save any information related to the Internet of Things when it is not awakened. By applying the method of the present invention, only when the terminal initiates the activation of the PDP context, the relevant content is obtained from the network, thus ensuring the security of the data.
[0105] see Figure 4 , is a schematic diagram of the fourth embodiment of the method for the terminal to obtain the address of the management platform provided by the present invention.
[0106] In the fourth embodiment of the present invention, the terminal supports GPRS data services, the network is specifically a packet data protocol core network, and the network side includes SGSN, GGSN, DNS domain name resolution server, and a management platform.
[0107] S401, the terminal sends a packet data protocol PDP activation request to the SGSN, where the activation request includes a first address configuration parameter and a second address configuration parameter.
[0108] The first address configuration parameter is used to request the network side to configure the IP address of the terminal, and the second address configuration parameter is used to request the network side to configure the IP address of the DNS domain name resolution server.
[0109] S402, the SGSN performs terminal identity authentication, and forwards the PDP context activation request to the GGSN.
[0110] S403, the GGSN configures the first address configuration parameter and the second address configuration parameter, and sends a response message to the SGSN.
[0111] The GGSN responds to the PDP context activation request forwarded by the SGSN, and at the same time performs data configuration on the first address configuration parameter and the second address configuration parameter in the PCP field in the request message according to the actual situation, and then configures the configured first address configuration The parameters and the second address configuration parameters are returned to the SGSN. During specific implementation, the GGSN configures the terminal's local IP address for the terminal, and the configured first address parameter is configured as the terminal's IP address.
[0112] In the fourth embodiment of the present invention, the GGSN pre-stores the IP address of the DNS domain name resolution server. Preferably, when the IP address of the DNS domain name resolution server is updated, the DNS domain name resolution server sends an update request to the GGSN, and the GGSN receives the update request from the DNS domain name resolution server and saves the latest updated IP address of the DNS domain name resolution server. Therefore, the GGSN stores the IP address of the DNS domain name resolution server, which is the most recently updated IP address. In this way, when the GGSN configures the second address configuration parameter, the second address configuration parameter carries the latest IP address of the DNS domain name resolution server. Therefore, what the terminal obtains will also be the real-time updated IP address of the DNS domain name resolution server. .
[0113] S404, the SGSN delivers the response message carrying the first address configuration parameter and the second address configuration parameter to the terminal. The SGSN sends a PDP context activation completion response to the terminal, and the response message carries two address configuration parameters.
[0114] S405, the terminal receives the response message, and obtains the IP address of the terminal.
[0115] The terminal sets the IP address carried in the first address parameter as the local IP address of the terminal.
[0116] S406, the terminal sends a resolution request to the DNS according to the IP address of the DNS domain name resolution server.
[0117] During specific implementation, the terminal has a built-in domain name of the management platform, and sends a resolution request carrying the domain name of the management platform to the DNS according to the obtained IP address of the DNS domain name resolution server.
[0118] S407, the DNS sends a resolution response message.
[0119] The DNS domain name resolution server performs resolution conversion according to the domain name of the management platform to obtain the IP address of the management platform, and sends a feedback message to the terminal, where the feedback message carries the IP address of the management platform.
[0120] S408, the terminal initiates a connection according to the acquired IP address of the management platform.
[0121] S409, the SGSN forwards the terminal connection request.
[0122] S410, the GSSN establishes and manages the connection of the platform.
[0123] S411, the management platform returns a connection success message to the GGSN.
[0124] S412, the GGSN forwards the management platform connection success message.
[0125] S413, the SGSN forwards the connection success message, and the terminal and the management platform complete the connection.
[0126] So far, the terminal has acquired the communication capability and established a connection with the management platform.
[0127] Preferably, the embodiment of the present invention may further include a deactivation step.
[0128] S415, the terminal sends a packet data protocol packet data protocol context deactivation request to the network side.
[0129] When the terminal completes data communication with the management platform, it can send a PDP context deactivation request to the network side.
[0130] S416, the terminal receives a response from the network side to the packet data protocol context deactivation request, and deletes the acquired IP address of the DNS domain name resolution server.
[0131] When the terminal receives the network side's response to the PDP context deactivation request, it deletes the stored IP address of the DNS domain name resolution server. In this way, the security of terminal network data can be guaranteed.
[0132] In the fourth embodiment of the present invention, the GGSN presets the latest IP address of the DNS domain name resolution server. When the terminal sends a PDP context activation request to the network side, the activation request carries two address configuration parameters, and GGSN is the terminal Configure the IP address, and configure the second address parameter according to the preset IP address of the DNS domain name resolution server, so that the PDP context activation completion response returned by the network side carries the IP address of the DNS domain name resolution server and the IP address of the terminal, so that The terminal can obtain the IP address updated in real time by the DNS domain name resolution server through PDP context activation, and then obtain the IP address of the management platform through domain name resolution conversion, and establish a connection with the management platform. In this implementation manner, the terminal can flexibly obtain the IP address of the management platform without programming the IP address of the DNS domain name resolution server in advance, which is convenient for implementation. At the same time, the address of the DNS domain name resolution server can be changed flexibly, and there is no need to worry that the terminal needs to be modified accordingly.
[0133] see Figure 5 , which is a schematic diagram of a terminal provided by an embodiment of the present invention.
[0134] A terminal 500, comprising:
[0135] A requesting module 501 is configured to send a packet data protocol context activation request to the network side, where the packet data protocol context activation request includes a first address configuration parameter and a second address configuration parameter; wherein the first address configuration parameter uses The IP address of the terminal is configured at the requesting network side, and the second address configuration parameter is used for requesting the network side to configure the IP address of the management platform or the IP address of the DNS domain name resolution server.
[0136] The obtaining module 502 is configured to receive the response of the network side to the packet data protocol context activation request, obtain the IP address of the terminal according to the first address configuration parameter returned by the network side, and obtain the management platform according to the second address configuration parameter returned by the network side IP address.
[0137] Preferably, the acquisition module includes a terminal address acquisition unit and a management platform address acquisition unit, wherein the management platform acquisition unit specifically includes:
[0138] a first obtaining unit, configured to use the second address parameter as the IP address of the management platform when the second address configuration parameter is the IP address of the management platform;
[0139] The second obtaining unit is configured to obtain the IP address of the management platform through domain name resolution conversion according to the domain name of the management platform preset by the terminal when the second address configuration parameter is the IP address of the DNS domain name resolution server.
[0140] Preferably, the second obtaining unit specifically includes:
[0141] The parsing request unit is configured to send a parsing request to the DNS domain name parsing server according to the obtained IP address of the DNS domain name parsing server, where the request carries the domain name of the management platform, so that the DNS domain name parsing server can The domain name is resolved and converted to obtain the IP address of the management platform.
[0142] The receiving unit is configured to receive a feedback message from the DNS domain name resolution server, and obtain the IP address of the management platform from the feedback message.
[0143] Preferably, the terminal further includes:
[0144] The connection module is used for using the obtained IP address of the management platform to send a connection request to the management platform; and to receive an approval connection request from the management platform to complete the connection with the management platform.
[0145] Preferably, the terminal further includes:
[0146] a deactivation request module, configured to send a packet data protocol context deactivation request to the network side;
[0147] The deletion module is configured to receive the response of the network side to the request for deactivating the packet data protocol context, and delete the acquired IP address of the management platform or the IP address of the DNS domain name resolution server.
[0148] see Image 6 , is a schematic diagram of a gateway GPRS support node GGSN provided by an embodiment of the present invention.
[0149] A gateway GPRS support node GGSN600, comprising:
[0150] The receiving module 601 is configured to receive a packet data protocol context activation request sent by a terminal; the packet data protocol context activation request is forwarded to the GGSN by the serving GPRS support node SGSN after completing the identity authentication of the terminal.
[0151] The configuration module 602 is configured to configure the IP address of the terminal for the first address configuration parameter in response to the packet data protocol context activation request; configure the second address according to the preset IP address of the management platform or the IP address of the DNS domain name resolution server Configuration parameters; the IP address of the management platform or the IP address of the DNS domain name resolution server is the most recently updated address.
[0152] The response module 603 is configured to send a response message to the terminal, where the response message includes a first address configuration parameter and a second address configuration parameter.
[0153] Preferably, the GGSN also includes:
[0154] The update module is used to receive an update request from the management platform or the DNS domain name resolution server when the IP address of the management platform or the IP address of the DNS domain name resolution server is updated, and save the updated IP address.
[0155] Preferably, when there are multiple management platforms, the GGSN also includes:
[0156] The matching module is used to obtain the load situation of the management platform, determine the management platform that matches the terminal for the terminal sending the activation request according to the preset allocation strategy, and match the second address according to the IP address of the determined management platform that matches the terminal. configuration parameters.
[0157] see Figure 7 , is a schematic diagram of a system for a terminal to obtain an address of a management platform according to an embodiment of the present invention.
[0158] A system for a terminal to obtain an address of a management platform, comprising:
[0159] The terminal 500 is configured to send a packet data protocol context activation request to the network side, where the packet data protocol context activation request includes a first address configuration parameter and a second address configuration parameter; wherein the first address configuration parameter is used for Request the network side to configure the IP address of the terminal, and the second address configuration parameter is used to request the network side to configure the IP address of the management platform or the IP address of the DNS domain name resolution server; receive the network side's response to the packet data protocol context activation request , obtaining the IP address of the terminal according to the first address configuration parameter returned by the network side, and obtaining the IP address of the management platform according to the second address configuration parameter returned by the network side.
[0160] The gateway GPRS support node GGSN600 is used for receiving the packet data protocol context activation request sent by the terminal; in response to the packet data protocol context activation request, configure the IP address of the terminal for the first address parameter; according to the preset IP address of the management platform or The IP address of the DNS domain name resolution server, and the second address parameter is configured; the IP address of the management platform or the IP address of the DNS domain name resolution server is the most recently updated address; a response message is sent to the terminal, and the response message includes the first address configuration parameters and second address configuration parameters.
[0161] It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
[0162] The invention may be described in the general context of computer-executable instructions, such as program elements, being executed by a computer. Generally, program elements include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program elements may be located in both local and remote computer storage media including storage devices.
[0163] The above are only specific embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Electrobath structure

ActiveCN101298683AEasy to modifyreduce shipping costs
Owner:FUJIAN NANPING ALUMINUM

Cell LED screen article selling wireless remote control system

InactiveCN103971269AEasy to modify
Owner:黄叶芳

Data processing method based on class SQL engine

InactiveCN107577803AEasy to modifyModify shortcut
Owner:北京维联众诚科技有限公司

Compressed file modification method and device

ActiveCN106886566AThe process is simple and time-savingEasy to modify
Owner:BEIHANG UNIV

Picture searching method and device

ActiveCN107291943AImprove legibility and concisenessEasy to modify
Owner:SUZHOU LANGCHAO INTELLIGENT TECH CO LTD

Classification and recommendation of technical efficacy words

  • Easy to modify
  • Strong flexibility

Aerofoils and vertical Tails horizontal measurement and point print system and method

InactiveCN101387517AEasy to teach and programEasy to modify
Owner:ZHEJIANG UNIV +1

Method for injecting advertisements based on Openwrt router

InactiveCN105657046AEasy to modifyfast access
Owner:UNIV OF SCI & TECH OF CHINA

Android system and customized tailoring method thereof

InactiveCN103793254AEasy to modify
Owner:DONGGUAN YUANFENG TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products