Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for marking geographical position of host

A geolocation and host technology, applied in the Internet field, can solve the problem that the system cannot dynamically know the host location and single point of failure in real time, and achieve the effect of fast response and simple operation.

Inactive Publication Date: 2013-08-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the defect of the existing technical solution is: not only need to build an independent system, but also need to synchronize a large amount of data; in addition, when inquiring the system, there is a single point of failure problem, and the system cannot dynamically know the geographical location of the host computer in real time. Location

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for marking geographical position of host
  • Method and system for marking geographical position of host
  • Method and system for marking geographical position of host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] HOSTS is a file used to store node information in a computer network. It can map the host name to the corresponding IP address and realize the function of Domain Name System (DNS, Domain Name System). Before DNS resolution, first query the HOSTS file, if it exists The mapping relationship does not need to query DNS.

[0035] Based on the HOSTS file, the basic idea of ​​the present invention is: configure the corresponding relationship between the IP address segment and the geographical location; generate the IP address of the host according to the corresponding relationship between the configured IP address segment and the geographical location, and combine the host name with the IP The mapping relationship of the address is written into the HOSTS file; the IP address mapped to the host name is obtained by querying the HOSTS file; and the geographic location of the host is obtained according to the IP address mapped to the host name obtained through the query.

[0036] ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for marking the geographical position of a host. The method comprises the following steps: configuring the corresponding relation between an IP address field and a geographical position; generating an IP address of the host according to the configured corresponding relation between the IP address field and the geographical position, and writing the mapping relation between the name of the host and the IP address into a HOSTS file; obtaining the IP address mapped by the name of the host through inquiry of the HOSTS file; and acquiring the geographical position of the host according to the inquired IP address mapped by the name of the host. The invention further discloses a system for marking the geographical position of the host. According to the technical scheme of the invention, the specific geographical position of the host can be quickly inquired without depending on the third-party system.

Description

technical field [0001] The invention relates to server management technology in the Internet field, in particular to a method and system for marking the geographic location of a host. Background technique [0002] With the rapid development of the Internet, Internet companies often need to manage a large number of hosts. At the same time, the domestic Internet environment is complex and there are many lines. The deployment of a system on the Internet often involves many operators and computer rooms. Therefore, in order to adapt to the complex Internet environment, a large number of business transformation and development are required. management is very difficult. [0003] In the prior art, it is necessary to build an independent system to register each host, and when it is necessary to know the specific location of the host, it is necessary to inquire about the system. Therefore, the defect of the existing technical solution is: not only need to build an independent syste...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12H04L29/08
Inventor 胡斌
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products