CN106850760A - Geographical position acquisition methods and device - Google Patents

Geographical position acquisition methods and device Download PDF

Info

Publication number
CN106850760A
CN106850760A CN201611270078.0A CN201611270078A CN106850760A CN 106850760 A CN106850760 A CN 106850760A CN 201611270078 A CN201611270078 A CN 201611270078A CN 106850760 A CN106850760 A CN 106850760A
Authority
CN
China
Prior art keywords
message
network access
access server
terminal
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611270078.0A
Other languages
Chinese (zh)
Other versions
CN106850760B (en
Inventor
聂鸿昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611270078.0A priority Critical patent/CN106850760B/en
Publication of CN106850760A publication Critical patent/CN106850760A/en
Application granted granted Critical
Publication of CN106850760B publication Critical patent/CN106850760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1053Group management mechanisms  with pre-configuration of logical or physical connections with a determined number of other peers
    • H04L67/1055Group management mechanisms  with pre-configuration of logical or physical connections with a determined number of other peers involving connection limits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Abstract

A kind of method that geographical position obtains is the embodiment of the invention provides, is related to the communications field.Methods described includes:Sent for setting up the first message being connected with the network access server to network access server;The second message of the network access server feedback is received, the target location code carried in second message is obtained;According to the configuration information for prestoring and the corresponding relation of position code, the corresponding configuration information of the target location code is obtained, the address of service server is at least included in the configuration information;Access the service server in address according to the service server.The present invention is solved the problems, such as the mode convenience of Set Top Box artificial selection service server is not good;Having reached has Set Top Box to automatically select service server, improves the effect of convenience.

Description

Geographical position acquisition methods and device
Technical field
The present invention relates to the communications field, more particularly to a kind of geographical position acquisition methods and device.
Background technology
With developing rapidly for information technology and internet, Web TV (English:Internet Protocol Television, referred to as:IPTV) industry market at home constantly expands, and Set Top Box is played as the terminal device of IPTV Extremely important effect.
Due to different districts and cities for the service server that Set Top Box provides corresponding service may be different, therefore in user's starter motor The service server of the geographical position artificial selection Set Top Box according to residing for Set Top Box is needed after top box.
But usual user is not aware that the corresponding relation in geographical position and service server residing for Set Top Box, so often Need installation personnel to visit to select the service server of Set Top Box, the mode of this artificial selection service server is facilitated Property is not good.
The content of the invention
In order to solve the problems, such as correlation technique, a kind of geographical position acquisition methods and device are the embodiment of the invention provides. The technical scheme is as follows:
First aspect, there is provided a kind of geographical position acquisition methods, methods described includes:Sent to network access server For setting up the first message being connected with the network access server;Receive the second report of the network access server feedback Text, obtains the target location code carried in second message;According to the configuration information for prestoring pass corresponding with position code System, obtains the corresponding configuration information of the target location code, and the address of service server is at least included in the configuration information; Access the service server in address according to the service server.
Geographical position acquisition methods provided in an embodiment of the present invention, are obtained the end by terminal from network access server The corresponding target location code in geographical position where end, according to the configuration information for prestoring and the corresponding relation of position code, obtains To the corresponding configuration information of target location code, industry is accessed in the address according to the service server carried in configuration information information Business server, because terminal can voluntarily access the corresponding service server of target location code according to target location code, solution It is the not good problem of the mode convenience of Set Top Box artificial selection service server to have determined;Having reached has Set Top Box to automatically select industry Business server, improves the effect of convenience.
With reference in a first aspect, in the first possible realization of first aspect, being taken to the reception network insertion described Before second message of business device feedback, methods described also includes:The 3rd message, described the are broadcasted to multiple network access servers The Function Identification of inquiry predetermined function is carried in three messages, the 3rd message is used to trigger network access server when detection When including the Function Identification to the feature list of the network access server, feedback message is sent to the terminal;When When receiving the feedback message of at least one of the multiple network access server network access server transmission, described Objective network access server is determined at least one network access server.
Second aspect, there is provided a kind of geographical position acquisition methods, methods described includes:When receiving the of terminal transmission During one message, set up with the terminal and be connected;Local default geographical position is obtained, by the corresponding target position in the geographical position Put code and be added into the second message;Second message is fed back to the terminal.
Geographical position acquisition methods provided in an embodiment of the present invention, are sent the end by network access server to terminal The corresponding target location code in geographical position where end, by terminal according to the configuration information for prestoring pass corresponding with position code System, obtains the corresponding configuration information of target location code, according to the address of the service server carried in configuration information information Access service server, because terminal can voluntarily access the corresponding business service of target location code according to target location code Device, solves the problems, such as the mode convenience of Set Top Box artificial selection service server is not good;Having reached has Set Top Box automatic Selection service server, improves the effect of convenience.
With reference to the first possible realization of second aspect, second aspect, in second possible realization of second aspect In, it is described set up with terminal be connected after, before obtaining locally default geographical position, methods described also includes:Receive described Second message of terminal broadcast, carries the Function Identification of inquiry predetermined function in acquisition second message;When detecting this When the feature list on ground includes the Function Identification, feedback message is sent to the terminal, the feedback message is used to trigger The terminal determines objective network access server at least one network access server.
With reference to second possible realization of the first and second aspect of second aspect, second aspect, in second aspect The third possible realization in, second message be PPPOE messages, it is described by the corresponding target location in the geographical position Code is added into the second message, including:The corresponding target location code in the geographical position is added to for carrying position generation In the Tag of code.
With reference to second aspect, second aspect the first to second aspect the third possible realization, in second aspect The 4th kind of possible realization in, second message be DHCP message, it is described by the corresponding target location in the geographical position Code is added into the second message, including:The corresponding target location code in the geographical position is added to for carrying position generation In the scheduled field of code.
A kind of third aspect, there is provided server, the server include the memory that is connected with processor of processor and Network interface, the processor is used to realize the geographical position acquisition methods of above-mentioned first aspect.
A kind of fourth aspect, there is provided geographical position acquisition device, the geographical position acquisition device includes at least one Unit, Unit at least one is respectively used to realize the corresponding step involved by the geographical position acquisition methods of above-mentioned first aspect Suddenly.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the structural representation that the geographical position that an illustrative embodiment of the invention is provided obtains system;
Fig. 2 is the structural representation of the terminal that an illustrative embodiment of the invention is provided;
Fig. 3 is the structural representation of the background server that an illustrative embodiment of the invention is provided;
Fig. 4 A are the flow charts of the geographical position acquisition methods that an illustrative embodiment of the invention is provided;
Fig. 4 B are the schematic diagrames of the PPPOE frame formats that an illustrative embodiment of the invention is provided;
Fig. 4 C are the schematic diagrames of the DHCP message form that an illustrative embodiment of the invention is provided;
Fig. 5 is the flow chart of the geographical position acquisition methods that an illustrative embodiment of the invention is provided;
Fig. 6 is the block diagram of the geographical position acquisition device that one embodiment of the invention is provided;
Fig. 7 is the block diagram of the geographical position acquisition device that one embodiment of the invention is provided.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Refer to store the program that can realize some functions or instruction in memory in " module " being mentioned above; " unit " mentioned in this article refers to the functional structure for logically dividing, and being somebody's turn to do " unit " can be realized by pure hardware, or, Software and hardware is implemented in combination with.
Fig. 1 is refer to, it illustrates the structure that the geographical position that an illustrative embodiment of the invention is provided obtains system Schematic diagram.The geographical position obtains system to be included:Terminal 120, network access server 140 and service server 160.
Terminal 120 can respectively with network access server 140 and service server 160 is by wireless network mode or has Line network mode is connected, it is also possible to connected by router, the wireless network mode said here can be mobile data network Or Wireless Fidelity (English:Wireless-Fidelity, referred to as:), or the wireless network mode such as bluetooth etc. Wi-Fi.
Here the terminal 120 said can be Set Top Box (English:Set Top Box, referred to as:) and other are similar STB Equipment etc., is not specifically limited to this present embodiment.
Here the network access server 140 said can be Broadband Remote Access Server (English:Broadband Remote Access Server, referred to as:BRAS) etc., this present embodiment is not specifically limited.
Here the network access server 140 said can be a server, or by some server groups into Server cluster, or a cloud computing service center.Similar, the service server 160 said here can also be one Platform server, or by some server groups into server cluster, an or cloud computing service center.
Fig. 2 is refer to, the structural representation of the terminal provided it illustrates an illustrative embodiment of the invention.The terminal 120 include:Processor 21, network interface 22, Cache 23, memory 24 and bus 35.
Processor 21 includes one or more than one processing core, and processor 21 passes through runs software program and mould Block, so as to perform various function application and data processing.
Network interface 22 is used to be communicated with Database Systems for workload generator.
Memory 24 is connected by bus 35 with processor 21 respectively with Cache 23.
Memory 24 can be used to store software program and module.
Memory 24 can store at least one function needed for application program module 26, application program module 26 can be Receiver module 261, performing module 262, sending module 263 etc..
Receiver module 261 is used to be used to receive the second message that network access server feeds back by network interface 22, obtains Take the target location code carried in the second message.
Performing module 262 is used to, according to the configuration information for prestoring and the corresponding relation of position code, obtain target location generation The corresponding configuration information of code, at least includes the address of service server in configuration information;Access address according to service server Service server;And work as the feedback for receiving the transmission of at least one of multiple network access servers network access server During message, objective network access server is determined at least one network access server.
Sending module 263 be used for by network interface 22 to network access server send for network access server Set up the first message of connection;And the 3rd message is broadcasted to multiple network access servers, carry inquiry in the 3rd message The Function Identification of predetermined function, the 3rd message is used to trigger network access server when the function of detecting network access server When list includes Function Identification, feedback message is sent to terminal.
Memory 24 can realize by any kind of volatibility or non-volatile memory device or combinations thereof, such as Static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is read-only to be deposited Reservoir (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
It will be understood by those skilled in the art that the restriction of the structure of terminal shown in Fig. 1 not structure paired terminal, can With including than illustrating more or less part, or some parts are combined, or different part arrangements.
Fig. 3 is refer to, the structural representation of the background server provided it illustrates an illustrative embodiment of the invention. The network access server 140 includes:Processor 31, network interface 32, Cache 33, memory 34 and bus 35.
Processor 31 includes one or more than one processing core, and processor 31 passes through runs software program and mould Block, so as to perform various function application and data processing.
Network interface 32 is used to be communicated with Database Systems for workload generator.
Memory 34 is connected by bus 35 with processor 31 respectively with Cache 33.
Memory 34 can be used to store software program and module.
Memory 34 can store at least one function needed for application program module 36, application program module 36 can be Receiver module 361, performing module 362, sending module 363 etc..
Receiver module 361 is used to be used for the 3rd message that receiving terminal is broadcasted by network interface 32, obtains the 3rd message In carry inquiry predetermined function Function Identification.
Performing module 362 is used to, when the first message of terminal transmission is received, be set up with terminal and be connected;
Set up with terminal after being connected, local default geographical position is obtained, by the corresponding target location code in geographical position It is added into the second message;And the corresponding target location code in geographical position is added in the Tag for carrying position code; And the corresponding target location code in geographical position is added in the scheduled field for carrying position code.
Sending module 363 is used to feed back the second message to terminal by network interface 32;And local work(ought be detected When energy list includes Function Identification, feedback message is sent to terminal, feedback message is used for triggering terminal at least one network Objective network access server is determined in access server.
Memory 34 can realize by any kind of volatibility or non-volatile memory device or combinations thereof, such as Static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is read-only to be deposited Reservoir (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
It will be understood by those skilled in the art that the structure of the network access server shown in Fig. 1 is not constituted to net The restriction of network access server, can include part more more or less than diagram, or combine some parts, or different Part is arranged.
Fig. 4 A are refer to, the flow of the geographical position acquisition methods provided it illustrates an illustrative embodiment of the invention Figure.The present embodiment is used to come for example, terminal in the present embodiment in acquisition system in geographical position as shown in Figure 1 in this way It is Set Top Box (English:Set Top Box, referred to as:STB) and other same categories of device, network access server is broad band remote Access server (English:Broadband Remote Access Server, referred to as:BRAS), the method includes following Step:
Step 401, terminal is sent for setting up the be connected first report with network access server to network access server Text.
Corresponding, when receiving the first message of terminal transmission, network access server is set up with terminal and is connected.
The procotol that different area online is used is different, and some areas are using the point-to-point protocol (English on Ethernet Text:PPP over Ethernet, referred to as:PPPOE), some areas are using DHCP (English:Dynamic Host Configuration Protocol, referred to as:DHCP).
PPPOE:Fig. 4 B are refer to, the PPPOE frame formats provided it illustrates an illustrative embodiment of the invention are shown It is intended to.Net load (English in PPPOE messages:Payload Data) comprising multiple mark (English:TAG), terminal is to network Access server unicast sends the first message.
DHCP:Fig. 4 C are refer to, the DHCP message form provided it illustrates an illustrative embodiment of the invention shows It is intended to.Option (English in DHCP message:Options) field can be used to store the control information and parameter of expanded definition, eventually Hold the first message sent to network access server.
Step 402, network access server obtains local default geographical position, by the corresponding target location in geographical position Code is added into the second message.
In the present embodiment, default geographical position is the geographical position of the artificial network access server for pre-setting Put.
Different districts and cities are each equipped with network access server corresponding with the districts and cities, the network insertion clothes that terminal is accessed Business device is the network access server of same districts and cities, therefore geographical position where terminal is the geography of network access server Position.
PPPOE:Each Tag is type-size-data (English in PPPOE messages:Type-Length-Value, letter Claim:TLV) structure, wherein, the length of Type is 16 bits, and Lenght length is 16 bits, represents the length of Value.This implementation Example in PPPOE messages one Tag for including geographical position of expanded definition, network access server is according to default geography Position, according to the geographical position for prestoring and the corresponding relation of position code, the corresponding mesh in geographical position where determining the terminal Cursor position code, the target location code is added into the second message, and (PPPoE activities find session message (English:PPPoE Active Discovery Sessionconfirmation, referred to as:PADS sent out in the Tag for carrying position code in)) Terminal is given, the structure of Tag is as shown in Table 1:
Type Length Value
0x0903 4 1301
Table one
Optionally, geographical position represents that the city codes are the standard of China National Bureau of Statistics of China's definition with city codes City codes, such as:Type-Length-Value means the report that type is 0x0903 for the Tag of " 0x0903-4-1301 " 1301 are carried in text.
DHCP:Each Options field is code-size-data (English in DHCP message:Code-Length- Value, referred to as:CLV) structure.In the present embodiment in DHCP message one reserved word for including geographical position of expanded definition Section (Options fields), network access server according to default geographical position, according to the geographical position and position code that prestore Corresponding relation, the corresponding target location code in geographical position where terminal is added to the second message (DHCP-ACK messages) In for carrying the scheduled field of position code in, the structure of Options fields is as shown in Table 2:
Code Length Value
217 4 1301
Table two
Optionally, geographical position represents that the city codes are the standard of China National Bureau of Statistics of China's definition with city codes City codes, such as:Code-Length-Value means that code is 217 for the Options fields of " 217-4-1301 " 1301 are carried in message.
Step 403, network access server feeds back the second message to terminal.
Corresponding, terminal receives the second message of network access server feedback.
Step 404, terminal obtains the target location code carried in the second message.
PPPOE:After terminal receives the second message for receiving network access server feedback, the Tag in the second message of parsing, Target location code is got from Tag.
DHCP:After terminal receives the second message for receiving network access server feedback, Options fields are parsed, from Target location code is got in Options fields.
Step 405, terminal obtains target location code pair according to the configuration information for prestoring and the corresponding relation of position code The configuration information answered, at least includes the address of service server in the configuration information.
Service server in the present embodiment includes vendor server and saves service server.
Such as, when the target location code that terminal gets is 1301, according to the configuration information and position code that prestore Corresponding relation, obtain 1301 corresponding geographical position for Shijiazhuang City and configuration information corresponding with 1301.
Step 406, address access service server of the terminal according to service server.
After terminal accesses vendor server, the related resources such as video display can be obtained from vendor server, when terminal is accessed After saving service server, to business such as province's service server request and target geographic position associated weather, the news.
In sum, geographical position acquisition methods provided in an embodiment of the present invention, by terminal from network access server Obtain the corresponding target location code in geographical position where the terminal, it is right with position code according to the configuration information for prestoring Should be related to, obtain the corresponding configuration information of target location code, according to the service server carried in configuration information information Address access service server, because terminal can voluntarily access the corresponding business of target location code according to target location code Server, solves the problems, such as the mode convenience of Set Top Box artificial selection service server is not good;Having reached has Set Top Box Service server is automatically selected, the effect of convenience is improved.
Fig. 5 is refer to, the flow of the geographical position acquisition methods provided it illustrates an illustrative embodiment of the invention Figure.The method includes following steps:
Step 501, terminal broadcasts the 3rd message to multiple network access servers.
It is corresponding, the 3rd message of network access server receiving terminal broadcast.
In the present embodiment, the Function Identification of inquiry predetermined function is carried in the 3rd message, when terminal is needed to network , it is necessary to the network access server sends inquiry corresponding with the service to be obtained in advance when access server obtains a certain service Determine the Function Identification of function.
PPPOE:To multiple messages of network access server broadcast transmission the 3rd, (PPPoE activities find to initiate message terminal (English:PPPoE Active Discovery Initiation, referred to as:PADI)).
DHCP:Terminal leads to multiple messages of network access server broadcast transmission the 3rd (DHCP-DISCOVER messages).
Step 502, network access server carries the Function Identification for inquiring about predetermined function in obtaining the 3rd message.
Step 503, when detecting local feature list and including Function Identification, network access server is sent out to terminal Send feedback message.
The function that the network access server can be provided of being stored with the local feature list of network access server Function Identification.
PPPOE:Network access server carries the Function Identification for inquiring about predetermined function in obtaining the 3rd message, by the work( Can identify and be matched with Function Identification in local feature list, if the feature list includes the function mark of predetermined function Know, network access server then replys feedback message to terminal unicast, and (PPPoE activities find to provide message (English:PPPoE Active Discovery Offer, referred to as:PADO)), the feedback message must be network access server comprising a Type Mark Tag, Type be inquire about predetermined function Tag, and any number of Type be other types of Tag, the Type For the Tag and Type of the mark of network access server are that the Tag for inquiring about predetermined function is used to show the network insertion to terminal Server can provide the predetermined function corresponding service.
DHCP:Network access server carries the Function Identification for inquiring about predetermined function in obtaining the 3rd message, by the work( Can identify and be matched with Function Identification in local feature list, if the feature list includes the function mark of predetermined function Know, network access server can be then one available IP address of the terminal distribution, and the IP address and other configurations information are added Enter in DHCP-OFFER messages, the DHCP-OFFER messages are replied to terminal unicast, the DHCP-OFFER messages are used for terminal Show that the network access server can provide the corresponding service of the predetermined function and the available IP address provided for the terminal.
Step 504, terminal ought receive the transmission of at least one of multiple network access servers network access server Feedback message when, at least one network access server determine objective network access server.
Optionally, terminal is random at least one network access server determines objective network access server.
Optionally, terminal determines objective network access service at least one network access server according to pre-defined rule Device, the objective network access server is the service of transmission delay minimum between the server and terminal being most recently connected with terminal Device etc., the pre-defined rule of the present embodiment not limited target network access server.
DHCP:After terminal determines objective network access server, can be to the network insertion service for sending feedback message Device broadcast mode sends DHCP-REQUEST messages, and objective network determined by the terminal is included in the DHCP-REQUEST messages The IP address of access server, the DHCP-REQUEST messages are used for the network access server for notifying to send feedback message, should Objective network access server determined by terminal.
Step 505, terminal is sent for setting up the be connected first report with network access server to network access server Text.
Corresponding, when receiving the first message of terminal transmission, network access server is set up with terminal and is connected.
Step 506, network access server obtains local default geographical position, by the corresponding target location in geographical position Code is added into the second message.
Step 507, network access server feeds back the second message to terminal.
Corresponding, terminal receives the second message of network access server feedback.
Step 508, terminal obtains the target location code carried in the second message.
Step 509, terminal obtains target location code pair according to the configuration information for prestoring and the corresponding relation of position code The configuration information answered.
In the present embodiment, the address of service server is at least included in the configuration information.
Step 510, address access service server of the terminal according to service server.
It should be noted that the step 507 in the present embodiment is similar to step 406 with step 401 to step 512, therefore this Embodiment no longer to step 505 to step 510 with repeat explanation.
In sum, geographical position acquisition methods provided in an embodiment of the present invention, by network access server to terminal Send the corresponding target location code in geographical position where the terminal, by terminal according to the configuration information for prestoring and position generation The corresponding relation of code, obtains the corresponding configuration information of target location code, according to the business clothes carried in configuration information information The address access service server of business device, because terminal can voluntarily access target location code correspondence according to target location code Service server, solve the problems, such as the mode convenience of Set Top Box artificial selection service server is not good;Having reached has Set Top Box automatically selects service server, improves the effect of convenience.
Fig. 6 is refer to, the block diagram of the geographical position acquisition device provided it illustrates one embodiment of the invention.The geography Position acquisition device can be by all or part for being implemented in combination with turning into terminal 120 of software, hardware or both.Should Geographical position acquisition device can include:Execution unit 601 and transmitting element 602.
Execution unit 601, the function for realizing at least one step in above-mentioned steps 404, step 405, step 406.
Transmitting element 602, the function for realizing above-mentioned steps 401.
Correlative detail can be combined and refer to above method embodiment.
In another optional embodiment, above-mentioned execution unit 602, for realizing step 504, step 508 to step The function of at least one step in 510.
In another optional embodiment, transmitting element 603, for realizing in above-mentioned steps 501, step 505 at least One function of step.
It should be noted that above-mentioned execution unit 601 can be by the execution in the computing device memory of terminal 120 Module is realized;Above-mentioned transmitting element 602 can be by the sending module in the computing device memory of terminal 120 come real It is existing.
Fig. 7 is refer to, the block diagram of the geographical position acquisition device provided it illustrates one embodiment of the invention.The geography Position acquisition device can by software, hardware or both be implemented in combination with turn into network access server 140 whole or Person's part.The geographical position acquisition device can include:Execution unit 701 and transmitting element 702.
Execution unit 701, the function for realizing above-mentioned steps 402.
Transmitting element 702, the function for realizing above-mentioned steps 403.
Correlative detail can be combined and refer to above method embodiment.
In another optional embodiment, above-mentioned execution unit 701, for realizing in step 502, step 506 at least One function of step.
In another optional embodiment, transmitting element 702, for realizing in above-mentioned steps 503, step 507 at least One function of step.
It should be noted that above-mentioned execution unit 701 can be stored by the computing device of network access server 140 Performing module in device is realized;Above-mentioned transmitting element 702 can be stored by the computing device of network access server 140 Sending module in device is realized.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (12)

1. a kind of geographical position acquisition methods, it is characterised in that methods described includes:
Sent for setting up the first message being connected with the network access server to network access server;
The second message of the network access server feedback is received, the target location generation carried in second message is obtained Code;
According to the configuration information for prestoring and the corresponding relation of position code, the target location code is obtained corresponding with confidence Breath, at least includes the address of service server in the configuration information;
Access the service server in address according to the service server.
2. method according to claim 1, it is characterised in that described to receiving what the network access server fed back Before second message, methods described also includes:
The 3rd message is broadcasted to multiple network access servers, the function mark of inquiry predetermined function is carried in the 3rd message Know, the 3rd message is used to trigger network access server when bag in the feature list for detecting the network access server When including the Function Identification, feedback message is sent to the terminal;
When the feedback message of at least one of the multiple network access server network access server transmission is received, Objective network access server is determined at least one network access server.
3. a kind of geographical position acquisition methods, it is characterised in that methods described includes:
When the first message of terminal transmission is received, set up with the terminal and be connected;
Local default geographical position is obtained, the corresponding target location code in the geographical position is added into the second message;
Second message is fed back to the terminal.
4. method according to claim 3, it is characterised in that it is described set up with terminal be connected after, obtain and locally preset Geographical position before, methods described also includes:
The second message of the terminal broadcast is received, the function mark of inquiry predetermined function is carried in acquisition second message Know;
When detecting local feature list and including the Function Identification, feedback message is sent to the terminal, it is described anti- Feedback message determines objective network access server for triggering the terminal at least one network access server.
5. method according to claim 3, it is characterised in that second message is PPPOE messages, it is described will be described The corresponding target location code in reason position is added into the second message, including:
The corresponding target location code in the geographical position is added in the Tag for carrying position code.
6. method according to claim 3, it is characterised in that second message is DHCP message, it is described will be described The corresponding target location code in reason position is added into the second message, including:
The corresponding target location code in the geographical position is added in the scheduled field for carrying position code.
7. a kind of terminal, it is characterised in that the terminal includes:Processor, memory and transceiver, the memory are used to deposit Storage one or more than one instruction, the instruction are configured to by the computing device;
The transceiver, for being sent for setting up be connected first with the network access server to network access server Message;
The transceiver, is additionally operable to receive the second message of the network access server feedback, in acquisition second message The target location code of carrying;
The processor, for according to the configuration information for prestoring and the corresponding relation of position code, obtaining the target location generation The corresponding configuration information of code, at least includes the address of service server in the configuration information;
The processor, is additionally operable to access the service server according to the address of the service server.
8. terminal according to claim 7, it is characterised in that the transceiver, is additionally operable to:
The 3rd message is broadcasted to multiple network access servers, the function mark of inquiry predetermined function is carried in the 3rd message Know, the 3rd message is used to trigger network access server when bag in the feature list for detecting the network access server When including the Function Identification, feedback message is sent to the terminal;
When the feedback message of at least one of the multiple network access server network access server transmission is received, Objective network access server is determined at least one network access server.
9. a kind of network access server, it is characterised in that the network access server includes:Processor, memory and receipts Hair device, the memory is used to store one or more than one instruction, and the instruction is configured to be held by the processor OK;
The processor, for when the first message of terminal transmission is received, being set up with the terminal and being connected;
The processor, after being connected with terminal foundation, obtains local default geographical position, by geographical position correspondence Target location code be added into the second message;
The transceiver, is additionally operable to feed back second message to the terminal.
10. network access server according to claim 9, it is characterised in that the transceiver, is additionally operable to:
The 3rd message of the terminal broadcast is received, the function mark of inquiry predetermined function is carried in acquisition the 3rd message Know;
When detecting local feature list and including the Function Identification, feedback message is sent to the terminal, it is described anti- Feedback message determines objective network access server for triggering the terminal at least one network access server.
11. network access servers according to claim 9, it is characterised in that second message is PPPOE messages, The processor, is additionally operable to:
The corresponding target location code in the geographical position is added in the Tag for carrying position code.
12. network access servers according to claim 9, it is characterised in that second message is DHCP message, institute Processor is stated, is additionally operable to:
The corresponding target location code in the geographical position is added in the scheduled field for carrying position code.
CN201611270078.0A 2016-12-30 2016-12-30 Geographic position acquisition method and device Active CN106850760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611270078.0A CN106850760B (en) 2016-12-30 2016-12-30 Geographic position acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611270078.0A CN106850760B (en) 2016-12-30 2016-12-30 Geographic position acquisition method and device

Publications (2)

Publication Number Publication Date
CN106850760A true CN106850760A (en) 2017-06-13
CN106850760B CN106850760B (en) 2020-10-27

Family

ID=59118273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611270078.0A Active CN106850760B (en) 2016-12-30 2016-12-30 Geographic position acquisition method and device

Country Status (1)

Country Link
CN (1) CN106850760B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112946553A (en) * 2021-01-29 2021-06-11 南方电网科学研究院有限责任公司 Distribution network homonymy terminal online checking method and device
CN114153315A (en) * 2021-12-02 2022-03-08 浙江科顿科技有限公司 Augmented reality distributed server intelligent glasses system and control method
CN114285796A (en) * 2021-11-30 2022-04-05 中国人民解放军战略支援部队信息工程大学 Route addressing method and system based on geographic space identification

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1623311A (en) * 2001-11-19 2005-06-01 艾利森电话股份有限公司 Method and apparatus for identifying a node for data communications using its geographical location
CN101111014A (en) * 2007-08-15 2008-01-23 华为技术有限公司 Method, equipment and system for client access to third-party server
CN101677285A (en) * 2008-09-17 2010-03-24 中兴通讯股份有限公司 Wireless device dynamic access method and system
CN102474368A (en) * 2009-06-30 2012-05-23 Nxp股份有限公司 Automatic configuration in a broadcast application apparatus
WO2015127852A1 (en) * 2014-02-28 2015-09-03 华为技术有限公司 Method and apparatus for establishing wireless local area network tunnel and access network system
CN105530684A (en) * 2014-09-28 2016-04-27 腾讯科技(深圳)有限公司 Method, device and system for network access

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1623311A (en) * 2001-11-19 2005-06-01 艾利森电话股份有限公司 Method and apparatus for identifying a node for data communications using its geographical location
CN101111014A (en) * 2007-08-15 2008-01-23 华为技术有限公司 Method, equipment and system for client access to third-party server
CN101677285A (en) * 2008-09-17 2010-03-24 中兴通讯股份有限公司 Wireless device dynamic access method and system
CN102474368A (en) * 2009-06-30 2012-05-23 Nxp股份有限公司 Automatic configuration in a broadcast application apparatus
WO2015127852A1 (en) * 2014-02-28 2015-09-03 华为技术有限公司 Method and apparatus for establishing wireless local area network tunnel and access network system
CN105530684A (en) * 2014-09-28 2016-04-27 腾讯科技(深圳)有限公司 Method, device and system for network access

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112946553A (en) * 2021-01-29 2021-06-11 南方电网科学研究院有限责任公司 Distribution network homonymy terminal online checking method and device
CN114285796A (en) * 2021-11-30 2022-04-05 中国人民解放军战略支援部队信息工程大学 Route addressing method and system based on geographic space identification
CN114153315A (en) * 2021-12-02 2022-03-08 浙江科顿科技有限公司 Augmented reality distributed server intelligent glasses system and control method

Also Published As

Publication number Publication date
CN106850760B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
US8724534B2 (en) Information service apparatus and method in wireless communication system
CN104506807A (en) Equipment automatic configuration method in wide area network video monitoring system
CN105681484B (en) A kind of IPC Auto-Sensing connection method based on ARP protocol and ONVIF standard
CN108966303A (en) A kind of loaming method of the wireless internet of things equipment based on LoRa
CN102843391A (en) Information transmitting method and gateway
US20070274274A1 (en) Open wireless access point detection and identification
CN106850760A (en) Geographical position acquisition methods and device
CN109862437B (en) Forwarding table item creating method and BRAS
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
CN102769678B (en) A kind of dhcp address distribution method and device
CN107148020A (en) WiFi shared systems and its method, Wireless Communication Equipment and router
CN104601743A (en) IP (internet protocol) forwarding IPoE (IP over Ethernet) dual-stack user access control method and equipment based on Ethernet
US10771928B2 (en) Communication method for requesting relay service, device, and system
CN107995124B (en) Traffic scheduling method and device
US20220158909A1 (en) Hostname based management of features of a network device
CN107079271B (en) Method and system for broadcasting content to smart devices using a dedicated gateway box
CN102647802A (en) Wireless data sharing method and terminals for realizing sharing
CN104852835B (en) Smart machine WIFI communication systems and its control method
JP2007521763A (en) Service relay inter-subnet multicast-A cross-subnet multicast solution independent of the network infrastructure
CN105376226A (en) Streaming media server forwarding method and system
CN106453693A (en) IP address allocation method and apparatus
CN102231668A (en) Multicast service charging method, device and system
CN106657039B (en) Portal page acquisition method, wireless AP and Portal server
US20090210425A1 (en) Method for sending dynamic content and dynamic content delivery server
US20150067050A1 (en) Method and system for social networking in a multi-screen environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200201

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210000 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Applicant before: Huawei Technologies Co.,Ltd.

GR01 Patent grant
GR01 Patent grant