CN115665237A - IP address real-time positioning method and system - Google Patents

IP address real-time positioning method and system Download PDF

Info

Publication number
CN115665237A
CN115665237A CN202211688056.1A CN202211688056A CN115665237A CN 115665237 A CN115665237 A CN 115665237A CN 202211688056 A CN202211688056 A CN 202211688056A CN 115665237 A CN115665237 A CN 115665237A
Authority
CN
China
Prior art keywords
positioning
task
address
target
positioning task
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
CN202211688056.1A
Other languages
Chinese (zh)
Other versions
CN115665237B (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.)
6th Research Institute of China Electronics Corp
Original Assignee
6th Research Institute of China Electronics Corp
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 6th Research Institute of China Electronics Corp filed Critical 6th Research Institute of China Electronics Corp
Priority to CN202211688056.1A priority Critical patent/CN115665237B/en
Publication of CN115665237A publication Critical patent/CN115665237A/en
Application granted granted Critical
Publication of CN115665237B publication Critical patent/CN115665237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The application provides a real-time positioning method and a real-time positioning system for an IP address, which relate to the technical field of IP address positioning and comprise the following steps: the client sends the generated positioning task to a GEO system server; the GEO system server issues the positioning task to the target detector group; the detection machine sequentially detects each IP address to be positioned to obtain time delay data corresponding to each IP address to be positioned, and the detection machine feeds back multiple groups of obtained time delay data to the GEO system server; the GEO system server adopts a preset IP address positioning algorithm to determine a physical position corresponding to each IP address to be positioned according to multiple groups of delay data and preset reference points; and the GEO system server returns the physical position corresponding to each IP address to be positioned to the client so as to complete the positioning task. According to the method and the device, real-time topological mapping calculation is carried out in the Internet, the real-time positioning requirement of the online Internet is met, and the positioning precision is improved.

Description

IP address real-time positioning method and system
Technical Field
The present application relates to the field of IP address location technologies, and in particular, to a method and a system for locating an IP address in real time.
Background
With the rapid development of the internet, IP address positioning has more and more applications in various fields, the IP address is an identifier of internet equipment, and the IP address positioning refers to determining a physical geographic position of the network equipment according to the IP address of the network equipment.
Most of the current IP address location products are located based on an offline location library query method, but offline data is relatively late, and from the perspective of effectiveness of location, the real-time location of an IP address in a current network cannot be reflected, which affects the accuracy of IP address location.
Disclosure of Invention
In view of the above, an object of the present invention is to provide at least a method and a system for real-time positioning an IP address, which fulfill the real-time positioning requirement of an online internet by performing real-time topological mapping calculation in the internet, and improve the positioning accuracy.
The application mainly comprises the following aspects:
in a first aspect, an embodiment of the present application provides a method for real-time positioning an IP address, which is applied to a real-time positioning system for an IP address, where the real-time positioning system for an IP address includes: the method comprises the following steps that a client, a GEO system server and a plurality of probe groups, wherein each probe group comprises a plurality of probes, and each probe is located at different physical positions, and the method comprises the following steps:
the client generates a positioning task, wherein the positioning task comprises at least one IP address to be positioned and a positioning task execution object, and the positioning task execution object is used for indicating a target detector group for executing the positioning task; the client sends the positioning task to the GEO system server; the GEO system server issues the positioning task to a target detector group indicated by the positioning task execution object; for each detector in the target detector group, sequentially detecting each IP address to be positioned by the detector to obtain time delay data corresponding to each IP address to be positioned, and feeding back multiple groups of obtained time delay data to the GEO system server by the detector; the GEO system server adopts a preset IP address positioning algorithm, and determines a physical position corresponding to each IP address to be positioned according to multiple groups of delay data fed back by each detector in the target detector group and a preset reference point; and the GEO system server returns the physical position corresponding to each IP address to be positioned to the client so as to complete the positioning task.
In one possible implementation, the client generates the positioning task by: responding to a positioning task import request, and displaying a positioning task import interface, wherein the positioning task import interface comprises a positioning task configuration item, a positioning task type configuration item, a detector group configuration item and a positioning task generation control; determining a target positioning task file from a plurality of preset positioning task files in response to a configuration operation performed on the positioning task configuration item; responding to the configuration operation executed on the positioning task type configuration item, and determining the positioning task type to which the positioning task belongs; in response to the configuration operation executed on the probe group configuration item, determining a target probe group from the plurality of probe groups as a task execution object; and responding to the selection operation executed on the positioning task generation control, and generating the positioning task by the configured target positioning task file, the positioning task type and the task execution object.
In one possible embodiment, the positioning task type includes a single IP positioning task, a multiple IP positioning task, and a batch processing task, wherein the step of determining the positioning task type in response to the configuration operation performed on the positioning task type configuration item includes: responding to the selection operation executed on the positioning task type configuration item, and displaying a single IP positioning task selection item, a multi-IP positioning task selection item and a batch processing task selection item; if the target positioning task file is a task file formed by a single IP address, responding to the selection operation executed aiming at the single IP positioning task option, and determining that the positioning task type corresponding to the target positioning task file is a single IP positioning task; if the target positioning task file is a task file formed by a plurality of IP addresses, responding to selection operation executed aiming at a multi-IP positioning task option, and determining that the positioning task type corresponding to the target positioning task file is a multi-IP positioning task; and if the target positioning task file is a task file formed by the IP address field, responding to the selection operation executed aiming at the batch processing task option, and determining that the positioning task type corresponding to the target positioning task file is a batch processing task.
In one possible implementation, the step of the client sending the positioning task to the GEO system server includes: the client responds to the task control request and displays a task detail interface, wherein the task detail interface comprises a plurality of task process controls, and the plurality of task process controls comprise a task starting control; and the client side responds to the selection operation executed on the task starting control and sends the positioning task to the GEO system server.
In one possible implementation, the GEO system server determines the physical location corresponding to each IP address to be located by: determining a target detector for positioning calculation from a plurality of detectors by using the delay data fed back by each detector aiming at the IP address to be positioned and the network path from each detector to the IP address to be positioned; performing matching calculation by using the time delay data corresponding to the target detection machine and a plurality of preset reference points, and determining the target preset reference point matched with the time delay data corresponding to the target detection machine from the plurality of preset reference points; and determining the geographic position corresponding to the target preset reference point as the physical position corresponding to the IP address to be positioned.
In one possible embodiment, the method further comprises: the client side responds to selection operation executed on the task starting control, and loads a task log used for recording the completion progress of the positioning task on a task detail interface, wherein the task log comprises a positioning process record corresponding to each IP address to be positioned, and the positioning process record comprises a positioning result viewing identifier; and the client responds to the selection operation executed by the positioning result viewing identification in the target positioning process record in the task log and displays the physical position of the IP address to be positioned corresponding to the target positioning process record.
In a possible implementation manner, the positioning process record further includes a positioning process and a positioning elapsed time, the positioning process includes a completion elapsed time of each positioning stage, wherein the client determines the completion elapsed time and the positioning elapsed time of each IP address to be positioned in each positioning stage by: acquiring a self record and a timestamp corresponding to each positioning stage of the IP address to be positioned fed back by the GEO system server in the positioning process; determining the time consumed for completing each positioning stage by using the time stamp corresponding to each positioning stage of the IP address to be positioned in the positioning process; and determining the positioning time consumption of the IP address to be positioned according to the corresponding completion time consumption of each positioning stage of the IP address to be positioned in the positioning process.
In one possible implementation manner, the positioning stage includes a first task issuing stage in which the client issues a positioning task to the GEO system server, a second task issuing stage in which the GEO system server issues the positioning task to the target probe group, and a detection stage in which the target probe group starts to execute detection, wherein the client records the completion time consumption of each to-be-positioned IP address in each positioning stage by the following method: acquiring a task starting timestamp of a positioning task and a first receiving timestamp of the positioning task received by a GEO system server, and determining the difference between the first receiving timestamp and a starting timestamp as the time consumed for completing a first task issuing stage; acquiring a sending time stamp of the IP address to be positioned sent to a target detector group by the GEO system server and a second receiving time stamp of the IP address to be positioned received by the target detector group, and determining the difference between the second receiving time stamp and the sending time stamp as the time consumed for completing the second task sending stage; and acquiring a detection starting timestamp and a detection ending timestamp of the target detection machine group aiming at the IP address to be positioned, and determining the difference between the detection ending timestamp and the detection starting timestamp as the time consumed for completing the detection stage.
In a second aspect, an embodiment of the present application further provides an IP address real-time positioning system, where the IP address real-time positioning system includes: the system comprises a client, a GEO system server and a plurality of probe groups, wherein each probe group comprises a plurality of probes, each probe is located at different physical positions, the client generates a positioning task, the positioning task comprises at least one IP address to be positioned and a positioning task execution object, and the positioning task execution object is used for indicating a target probe group for executing the positioning task; the client sends the positioning task to the GEO system server; the GEO system server issues the positioning task to a target detector group indicated by the positioning task execution object; for each detector in the target detector group, sequentially detecting each IP address to be positioned by the detector to obtain time delay data corresponding to each IP address to be positioned, and feeding back multiple groups of obtained time delay data to the GEO system server by the detector; the GEO system server adopts a preset IP address positioning algorithm, and determines a physical position corresponding to each IP address to be positioned according to multiple groups of delay data fed back by each detector in the target detector group and a preset reference point; and the GEO system server returns the physical position corresponding to each IP address to be positioned to the client so as to complete the positioning task.
In one possible embodiment, the client is further configured to:
responding to a positioning task import request, and displaying a positioning task import interface, wherein the positioning task import interface comprises a positioning task configuration item, a positioning task type configuration item, a detector group configuration item and a positioning task generation control; determining a target positioning task file from a plurality of preset positioning task files in response to a configuration operation performed on the positioning task configuration item; responding to the configuration operation executed on the positioning task type configuration item, and determining the positioning task type to which the positioning task belongs; in response to the configuration operation executed on the probe group configuration item, determining a target probe group from the plurality of probe groups as a task execution object; and responding to the selection operation executed on the positioning task generation control, and generating the positioning task by the configured target positioning task file, the positioning task type and the task execution object.
The application provides a method and a system for positioning an IP address in real time, which comprises the following steps: the client sends the generated positioning task to a GEO system server; the GEO system server issues the positioning task to the target detector group; for each detector, the detector sequentially detects each IP address to be positioned to obtain delay data corresponding to each IP address to be positioned, and the detector feeds back multiple groups of delay data to the GEO system server; the GEO system server adopts a preset IP address positioning algorithm, and determines a physical position corresponding to each IP address to be positioned according to multiple groups of delay data fed back by each detector in the target detector group and a preset reference point; and the GEO system server returns the physical position corresponding to each IP address to be positioned to the client so as to complete the positioning task. According to the method and the device, real-time topological mapping calculation is carried out in the Internet, the real-time positioning requirement of the online Internet is met, and the positioning precision is improved.
In order to make the aforementioned objects, features and advantages of the present application comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is an interaction diagram of an IP address real-time positioning system provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram illustrating an IP address real-time positioning system provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for generating a positioning task by a client according to an embodiment of the present application;
fig. 4 is a schematic structural diagram illustrating a method for acquiring delay data from a target probe group according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a positioning process record according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and that steps without logical context may be performed in reverse order or concurrently. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present application, fall within the scope of protection of the present application.
The IP address positioning plays an important role in the fields of network security, network management, advertisement putting, big data analysis and the like, the current market not only puts forward the requirement of positioning precision for the IP address positioning, but also comprehensively considers the positioning efficiency and the positioning realization cost.
At present, most of domestic IP address location products perform location based on the query of an IP home offline location database, that is, the geographic location of an IP address to be located is queried from the IP home offline location database, and the IP home offline location database is an offline data packet of IP address location data.
However, since the offline database stores historical positioning data corresponding to IP addresses, the offline data is delayed, and synchronous updating of the data cannot be guaranteed.
Based on this, the embodiment of the application provides a method and a system for positioning an IP address in real time, which fulfill the real-time positioning requirement of an online internet by performing real-time topological mapping calculation in the internet, and improve the positioning accuracy, specifically as follows:
referring to fig. 1, fig. 1 is a schematic diagram illustrating an interaction of a real-time IP address positioning system according to an embodiment of the present disclosure. Referring to fig. 2, fig. 2 is a schematic structural diagram illustrating an IP address real-time positioning system according to an embodiment of the present disclosure. As shown in fig. 1 and 2, the IP address real-time positioning system includes: a client 10, a GEO system server 20, and a plurality of probe groups 30, each probe group 30 including a plurality of probes a, each probe a located at a different physical location.
The embodiment of the application provides an IP address real-time method, which comprises the following steps:
s100, the client generates a positioning task.
The positioning task comprises at least one IP address to be positioned and a positioning task execution object, and the positioning task execution object is used for indicating a detector group for executing the positioning task.
In a preferred embodiment, please refer to fig. 3, and fig. 3 is a flowchart illustrating a method for generating a positioning task by a client according to an embodiment of the present application. As shown in fig. 3, the client generates the positioning task by:
and S1100, receiving a positioning task import request and displaying a positioning task import interface.
Specifically, a client is provided with a task flow resource state monitoring system, the client provides a login interface of the task flow resource state monitoring system, the login interface comprises a login information entry item and a login control, a user responds to selection operation executed on the login control after account information is entered by the login information entry item to complete login of the task flow resource state monitoring system, a positioning task management interface is displayed, the positioning task management interface comprises a positioning task import identifier, and a positioning task import request can be generated in response to the selection operation executed on the positioning task import identifier.
The positioning task importing interface comprises a positioning task configuration item, a positioning task type configuration item, a detection machine group configuration item, a positioning task generation control, a positioning task name configuration item, a positioning task description configuration item, a detection type configuration item, a task execution period configuration item and a task start time configuration item, wherein the detection type configuration item comprises an offline query option and a real-time positioning option.
S1200, responding to the configuration operation executed on the positioning task configuration item, and determining a target positioning task file from a plurality of preset positioning task files.
In the prior art, when a plurality of or a batch of real-time IP addresses are required to be positioned at the same time, a plurality of real-time tasks need to be created in sequence, and in such a way, the steps are complicated, so that the user operation is inconvenient and the tasks are difficult to be effectively managed.
Based on this, in a specific embodiment of the present application, a positioning task configuration item includes a task file import control, and in response to a selection operation performed on the task file import control, a plurality of preset positioning task files are displayed, where the preset positioning task files include at least one IP address to be positioned.
In the process, a task resource mode is adopted, and a single or a plurality of IP addresses are packaged into a task file, so that when a user has a batch IP address positioning requirement, the user operation steps are greatly simplified, the task importing efficiency is improved, and meanwhile, the supervision of the positioning execution conditions of the plurality of IP addresses can be completed by one task file.
And S1300, responding to the configuration operation executed on the positioning task type configuration item, and determining the positioning task type to which the positioning task belongs.
The positioning task types comprise a single IP positioning task, a multi-IP positioning task and a batch processing task.
In a preferred embodiment, the step of determining the positioning task type in response to the configuration operation performed on the positioning task type configuration item comprises:
and responding to the selection operation executed on the positioning task type configuration item, and displaying a single-IP positioning task selection item, a multi-IP positioning task selection item and a batch processing task selection item.
If the target positioning task file is a task file formed by a single IP address, responding to the selection operation executed aiming at the single IP positioning task option, and determining that the positioning task type corresponding to the target positioning task file is a single IP positioning task, for example, the target positioning task file carries { "IP": "47.197.13.10"}.
If the target positioning task file is a task file formed by a plurality of IP addresses, responding to the selection operation executed aiming at the multi-IP positioning task option, and determining that the positioning task type corresponding to the target positioning task file is a multi-IP positioning task, for example, the target positioning task file carries { "IP": "47.197.13.10" }, { "IP": "12.0.65.162" }, { "IP": "23.24.0.166" } and { "IP": "35.130.37.9"}.
If the target positioning task file is a task file formed by an IP address field, responding to the selection operation executed aiming at the batch processing task option, and determining that the positioning task type corresponding to the target positioning task file is a batch processing task, for example, the target positioning task file carries { "IP": "47.197.13.10/24"}.
S1400, in response to the configuration operation executed on the probe group configuration item, determining a target probe group from the plurality of probe groups as a task execution object.
In a specific embodiment, the probe clusters are arranged in different regions of the world, and each region is provided with a plurality of probe clusters.
S1500, responding to the selection operation executed on the positioning task generation control, and generating the positioning task according to the configured target positioning task file, the positioning task type and the task execution object.
Specifically, the positioning task further carries a positioning task name, a positioning task description, a detection type, a task execution period, and a task start time, and can be obtained by configuring a positioning task name configuration item, a positioning task description configuration item, a detection type configuration item, a task execution period configuration item, and a task start time configuration item.
S110, the client sends the positioning task to the GEO system server.
In a specific embodiment, the step of sending the positioning task to the GEO system server by the client includes:
and the client responds to the task control request and displays a task detail interface, the task detail interface comprises a plurality of task process controls, the plurality of task process controls comprise task starting controls, and the client responds to selection operation executed on the task starting controls and sends the positioning task to the GEO system server.
Specifically, the created positioning task is automatically added with a corresponding task number and then displayed in a task list in a positioning task management interface, a task control request is generated and a task detail interface is displayed in response to the selection operation of the positioning task in the task list, and the task detail interface further comprises a positioning task name, a positioning task description, a positioning task type, a detection type, a positioning task execution object, a positioning task state, a positioning task start time, a positioning task end time, a positioning task total time consumption and a task log.
Specifically, if the task start time is set when the positioning task is configured, the client may directly send the positioning task to the GEO system server at the task start time, and may start the positioning task through the task start control.
The task process controls further comprise a task suspension control, a task continuing control, a task stopping control and a task deleting control.
And S120, the GEO system server issues the positioning task to the target detector group indicated by the positioning task execution object.
In a specific embodiment, the GEO system server may first obtain the survival status of each probe in the target probe group, and the GEO system server may issue the positioning task to the surviving probes in the target probe group.
S130, aiming at each detector in the target detector group, the detector sequentially detects each IP address to be positioned to obtain time delay data corresponding to each IP address to be positioned.
And S140, feeding back the obtained multiple groups of time delay data to the GEO system server by the detector aiming at each detector in the target detector group.
In a specific embodiment, for each IP address to be located, a corresponding network path exists between each alive detector and the IP address to be located, and the detector acquires delay data between the alive detector and the IP address to be located through the corresponding network path.
Referring to fig. 4, fig. 4 shows a schematic structural diagram of obtaining delay data from a target probe cluster group according to an embodiment of the present application, as shown in fig. 2, the target probe cluster includes 3 probes a, each probe a has a network path (1), (2), and (3) to an IP address to be located, and the 3 probes a obtain delay data for the IP address to be located through the network paths (1), (2), and (3).
S150, the GEO system server determines a physical position corresponding to each IP address to be positioned according to multiple groups of delay data fed back by each detector in the target detector group and a preset reference point by adopting a preset IP address positioning algorithm.
Specifically, the reference points comprise IP addresses and geographical position information corresponding to the IP addresses, the IP addresses corresponding to the reference points and the corresponding geographical position information are fixed and invariable, and the physical positions corresponding to the IP addresses can be determined by taking a plurality of preset reference points as references, combining time delay data fed back by a detector and presetting an IP address positioning algorithm.
In a preferred embodiment, the GEO system server determines the physical location corresponding to each IP address to be located by:
determining a target detection machine for positioning calculation from the multiple detection machines by using the time delay data fed back by each detection machine aiming at the IP address to be positioned and the network path from each detection machine to the IP address to be positioned, performing matching calculation by using the time delay data corresponding to the target detection machine and multiple preset reference points, determining a target preset reference point matched with the time delay data corresponding to the target detection machine from the multiple preset reference points, and determining the geographic position corresponding to the target preset reference point as the physical position corresponding to the IP address to be positioned.
In a preferred embodiment, for each IP address to be located, the probe machines are first screened through the delay data, acquired by each probe machine, for the IP address to be located, so as to obtain a target probe machine meeting a preset rule, specifically, the preset rule may be that the probe machines to be candidate with the network path hop count within a preset threshold value are first screened, then the probe machine with the shortest detection time among the multiple probe machines to be candidate is determined as the target probe machine, the delay data corresponding to the target probe machine is used for performing comparative analysis with multiple preset reference points stored in a database, a target preset reference point most similar to the delay data is determined from the preset reference points, and after matching is successful, reference point binding is performed, that is, a physical address corresponding to the target reference point is bound with the IP address to be located, so as to obtain a positioning result, that is the physical address corresponding to the target reference point is the physical position corresponding to the IP address to be located.
And S160, the GEO system server returns the physical position corresponding to each IP address to be positioned to the client to complete the positioning task.
In the whole process from the start to the end of the positioning task, the positioning task is encrypted in the whole process, so that the data security is ensured.
In a preferred embodiment, the method further comprises:
the client side responds to selection operation executed on the task starting control, loads a task log used for recording the completion progress of the positioning task on a task detail interface, wherein the task log comprises a positioning process record corresponding to each IP address to be positioned, the positioning process record comprises a positioning result viewing identifier, and the client side responds to the selection operation executed on the positioning result viewing identifier in the target positioning process record in the task log and displays the physical position of the IP address to be positioned corresponding to the target positioning process record.
In a specific embodiment, the positioning result viewing identifier may be a positioning task result skip link, and in response to a selection operation on the positioning task result skip link, a positioning result corresponding to the IP address to be positioned may be displayed in a skip manner.
The positioning process record also comprises a positioning process and positioning time consumption, and the positioning process comprises the time consumption for completing each positioning stage.
In a preferred embodiment, the client determines the completion time and the positioning time of each IP address to be positioned in each positioning stage by the following methods:
acquiring a self record and a timestamp which is fed back by a GEO system server and corresponds to each positioning stage of the IP address to be positioned in the positioning process, determining the time consumption for completing each positioning stage by using the timestamp which corresponds to each positioning stage of the IP address to be positioned in the positioning process, and determining the time consumption for positioning the IP address to be positioned according to the time consumption for completing each positioning stage of the IP address to be positioned in the positioning process.
In one example, the positioning stage includes a first task issuing stage in which the client issues the positioning task to the GEO system server, a second task issuing stage in which the GEO system server issues the positioning task to the target probe group, and a probing stage in which the target probe group starts to perform probing.
The client records the time consumed for completing each positioning stage of each IP address to be positioned in the following mode:
acquiring a starting time stamp of the positioning task and a first receiving time stamp of the positioning task received by the GEO system server, and determining the difference between the first receiving time stamp and the starting time stamp as the time consumed for completing the first task issuing stage;
acquiring a task issuing timestamp of the IP address to be positioned issued to a target detector group by the GEO system server and a second receiving timestamp of the IP address to be positioned received by the target detector group, and determining the difference between the second receiving timestamp and the task issuing timestamp as the time consumed for completing the second task issuing stage;
and acquiring a detection start timestamp and a detection end timestamp of the target detector group aiming at the IP address to be positioned, and determining the difference between the detection end timestamp and the detection start timestamp as the time consumed for completing the detection stage.
In another specific embodiment, the positioning process record further includes an IP positioning start time and an IP positioning end time, and the task detail interface further includes a positioning task completion condition, which includes a total number of IP addresses to be positioned, a number of IP addresses for which positioning has been completed, and a number of remaining IP addresses for which positioning has not been completed.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a positioning process record according to an embodiment of the present disclosure. As shown in fig. 5, in the positioning process record, the IP address to be positioned is 23.56.12.3, the positioning number ID to which the IP address to be positioned belongs is 1, the positioning process includes a first task issuing stage distribution, a second task issuing stage distribution and a Probing stage binding, the time consumed for completing the distribution in the first task issuing stage is 0.001S, the time consumed for completing the distribution in the second task issuing stage distribution is 0.006S, the time consumed for completing the Probing stage binding is 0.016s, the IP positioning start time is 2022-10-19-15:41:50, IP positioning end time is 2022-10-19-15:41:50, positioning time is 0.023S, and viewing identification View of positioning result.
According to the method and the device, the real-time topological mapping calculation is carried out in the Internet, the real-time completion state and time consumption of each task file are tracked, the current latest state of each positioning task is mastered, then the real-time positioning result is encrypted and returned, the real-time positioning of the online Internet is completed, and the requirement of real-time positioning in a current positioning system is effectively met.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A real-time IP address positioning method is applied to a real-time IP address positioning system, and is characterized in that the real-time IP address positioning system comprises: the method comprises the following steps that a client, a GEO system server and a plurality of probe groups, wherein each probe group comprises a plurality of probes, and each probe is located at different physical positions, and the method comprises the following steps:
the client generates a positioning task, wherein the positioning task comprises at least one IP address to be positioned and a positioning task execution object, and the positioning task execution object is used for indicating a target detector group for executing the positioning task;
the client sends the positioning task to the GEO system server;
the GEO system server sends the positioning task to a target detector group indicated by a positioning task execution object;
for each detector in the target detector group, the detector sequentially detects each IP address to be positioned to obtain delay data corresponding to each IP address to be positioned, and the detector feeds back multiple groups of delay data to the GEO system server;
the GEO system server adopts a preset IP address positioning algorithm, and determines a physical position corresponding to each IP address to be positioned according to a plurality of groups of time delay data fed back by each detector in the target detector group and a preset reference point;
and the GEO system server returns the physical position corresponding to each IP address to be positioned to the client so as to complete the positioning task.
2. The method of claim 1, wherein the client generates the positioning task by:
responding to a positioning task import request, and displaying a positioning task import interface, wherein the positioning task import interface comprises a positioning task configuration item, a positioning task type configuration item, a detection machine group configuration item and a positioning task generation control;
determining a target positioning task file from a plurality of preset positioning task files in response to the configuration operation executed on the positioning task configuration item;
responding to the configuration operation executed on the positioning task type configuration item, and determining the positioning task type to which the positioning task belongs;
in response to the configuration operation executed on the probe group configuration item, determining a target probe group from the plurality of probe groups as a task execution object;
and responding to the selection operation executed on the positioning task generation control, and generating a positioning task by the configured target positioning task file, the positioning task type and the task execution object.
3. The method of claim 2, wherein the positioning task types include single IP positioning tasks, multiple IP positioning tasks, and batch processing tasks,
wherein, in response to the configuration operation performed on the positioning task type configuration item, the step of determining the positioning task type comprises:
responding to the selection operation executed on the positioning task type configuration item, and displaying a single IP positioning task selection item, a multi-IP positioning task selection item and a batch processing task selection item;
if the target positioning task file is a task file formed by a single IP address, responding to the selection operation executed aiming at the single IP positioning task option, and determining that the positioning task type corresponding to the target positioning task file is a single IP positioning task;
if the target positioning task file is a task file formed by a plurality of IP addresses, responding to selection operation executed aiming at a multi-IP positioning task option, and determining that the positioning task type corresponding to the target positioning task file is a multi-IP positioning task;
and if the target positioning task file is a task file formed by an IP address field, responding to the selection operation executed aiming at the batch processing task option, and determining that the positioning task type corresponding to the target positioning task file is a batch processing task.
4. The method of claim 1, wherein the step of the client sending the positioning task to the GEO system server comprises:
the client responds to a task control request and displays a task detail interface, wherein the task detail interface comprises a plurality of task process controls, and the task process controls comprise a task starting control;
and the client side responds to the selection operation executed on the task starting control and sends the positioning task to the GEO system server.
5. The method of claim 1, wherein the GEO system server determines the physical location corresponding to each IP address to be located by:
determining a target detector for positioning calculation from a plurality of detectors by using the delay data fed back by each detector aiming at the IP address to be positioned and the network path from each detector to the IP address to be positioned;
performing matching calculation by using the time delay data corresponding to the target detection machine and a plurality of preset reference points, and determining the target preset reference point matched with the time delay data corresponding to the target detection machine from the plurality of preset reference points;
and determining the geographic position corresponding to the target preset reference point as the physical position corresponding to the IP address to be positioned.
6. The method of claim 4, further comprising:
the client side responds to the selection operation executed on the task starting control, and loads a task log for recording the completion progress of the positioning task on the task detail interface, wherein the task log comprises a positioning process record corresponding to each IP address to be positioned, and the positioning process record comprises a positioning result viewing identifier;
and the client responds to the selection operation executed by the positioning result viewing identification in the target positioning process record in the task log and displays the physical position of the IP address to be positioned corresponding to the target positioning process record.
7. The method according to claim 6, wherein the positioning process record further comprises a positioning process and a positioning time, the positioning process comprises the completion time of each positioning stage,
the client determines the completion time consumption and the positioning time consumption of each IP address to be positioned in each positioning stage by the following method:
acquiring a self record and a timestamp corresponding to each positioning stage of the IP address to be positioned fed back by the GEO system server in the positioning process;
determining the time consumed for completing each positioning stage by using the time stamp corresponding to each positioning stage of the IP address to be positioned in the positioning process;
and determining the positioning time consumption of the IP address to be positioned according to the corresponding completion time consumption of each positioning stage of the IP address to be positioned in the positioning process.
8. The method according to claim 7, wherein the positioning stage comprises a first task issuing stage in which a client issues a positioning task to the GEO system server, a second task issuing stage in which the GEO system server issues the positioning task to a target probe group, a probing stage in which the target probe group starts to perform probing,
the client records the completion time consumption of each IP address to be positioned in each positioning stage in the following way:
acquiring a task starting timestamp of a positioning task and a first receiving timestamp of the positioning task received by the GEO system server, and determining a difference value between the first receiving timestamp and a starting timestamp as the time consumed for completing a first task issuing stage;
acquiring a sending timestamp of the IP address to be positioned sent to a target detector group by the GEO system server, receiving a second receiving timestamp of the IP address to be positioned by the target detector group, and determining a difference value between the second receiving timestamp and the sending timestamp as the time consumed for completing a second task sending stage;
and acquiring a detection starting timestamp and a detection ending timestamp of the target detection machine group aiming at the IP address to be positioned, and determining the difference between the detection ending timestamp and the detection starting timestamp as the time consumed for completing the detection stage.
9. An IP address real-time positioning system, comprising: the system comprises a client, a GEO system server and a plurality of probe machine groups, wherein each probe machine group comprises a plurality of probe machines, each probe machine is positioned at different physical positions,
the client generates a positioning task, wherein the positioning task comprises at least one IP address to be positioned and a positioning task execution object, and the positioning task execution object is used for indicating a target detector group for executing the positioning task;
the client side sends the positioning task to the GEO system server;
the GEO system server sends the positioning task to a target detector group indicated by a positioning task execution object;
for each detector in the target detector group, the detector sequentially detects each IP address to be positioned to obtain delay data corresponding to each IP address to be positioned, and the detector feeds back multiple groups of delay data to the GEO system server;
the GEO system server adopts a preset IP address positioning algorithm, and determines a physical position corresponding to each IP address to be positioned according to a plurality of groups of time delay data fed back by each detector in the target detector group and a preset reference point;
and the GEO system server returns the physical position corresponding to each IP address to be positioned to the client so as to complete the positioning task.
10. The system of claim 9, wherein the client is further configured to:
responding to a positioning task import request, and displaying a positioning task import interface, wherein the positioning task import interface comprises a positioning task configuration item, a positioning task type configuration item, a detection machine group configuration item and a positioning task generation control;
determining a target positioning task file from a plurality of preset positioning task files in response to the configuration operation executed on the positioning task configuration item;
responding to the configuration operation executed on the positioning task type configuration item, and determining the positioning task type to which the positioning task belongs;
in response to the configuration operation executed on the probe group configuration item, determining a target probe group from the plurality of probe groups as a task execution object;
and responding to the selection operation executed on the positioning task generation control, and generating a positioning task by the configured target positioning task file, the positioning task type and the task execution object.
CN202211688056.1A 2022-12-28 2022-12-28 IP address real-time positioning method and system Active CN115665237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211688056.1A CN115665237B (en) 2022-12-28 2022-12-28 IP address real-time positioning method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211688056.1A CN115665237B (en) 2022-12-28 2022-12-28 IP address real-time positioning method and system

Publications (2)

Publication Number Publication Date
CN115665237A true CN115665237A (en) 2023-01-31
CN115665237B CN115665237B (en) 2023-03-14

Family

ID=85023116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211688056.1A Active CN115665237B (en) 2022-12-28 2022-12-28 IP address real-time positioning method and system

Country Status (1)

Country Link
CN (1) CN115665237B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848118A (en) * 2010-05-04 2010-09-29 电子科技大学 Self-adaptive smooth treatment method of input time delay based on time delay gradient information
CN105227688A (en) * 2015-08-31 2016-01-06 罗向阳 A kind of region class Target IP localization method based on route characteristic
CN105227689A (en) * 2015-08-31 2016-01-06 罗向阳 Based on the Target IP location algorithm of local time delay distribution similarity tolerance
CN106302737A (en) * 2016-08-17 2017-01-04 郑州埃文计算机科技有限公司 The cleaning method of bench mark data in a kind of IP location technology
US20180310274A1 (en) * 2017-04-19 2018-10-25 International Business Machines Corporation Ip address geo-position detection based on landmark sequencing
CN114520799A (en) * 2021-12-27 2022-05-20 中国人民解放军战略支援部队信息工程大学 Urban IP positioning and error estimation method and system based on minimum circle coverage
CN115086411A (en) * 2022-06-16 2022-09-20 京东城市(北京)数字科技有限公司 IP positioning method, system, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848118A (en) * 2010-05-04 2010-09-29 电子科技大学 Self-adaptive smooth treatment method of input time delay based on time delay gradient information
CN105227688A (en) * 2015-08-31 2016-01-06 罗向阳 A kind of region class Target IP localization method based on route characteristic
CN105227689A (en) * 2015-08-31 2016-01-06 罗向阳 Based on the Target IP location algorithm of local time delay distribution similarity tolerance
CN106302737A (en) * 2016-08-17 2017-01-04 郑州埃文计算机科技有限公司 The cleaning method of bench mark data in a kind of IP location technology
US20180310274A1 (en) * 2017-04-19 2018-10-25 International Business Machines Corporation Ip address geo-position detection based on landmark sequencing
CN114520799A (en) * 2021-12-27 2022-05-20 中国人民解放军战略支援部队信息工程大学 Urban IP positioning and error estimation method and system based on minimum circle coverage
CN115086411A (en) * 2022-06-16 2022-09-20 京东城市(北京)数字科技有限公司 IP positioning method, system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN115665237B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
US10863324B2 (en) Mobile content delivery optimization
US7818418B2 (en) Automatic root cause analysis of performance problems using auto-baselining on aggregated performance metrics
CN102999314B (en) Delay tracker instrument immediately
US11860717B1 (en) Graphical user interface for presenting crash data
CN111143673A (en) Method and system for multi-channel customer information processing and automatic marketing
WO2019024497A1 (en) Method, device, terminal equipment and medium for generating customer return visit event
US9652488B2 (en) Computer product, verification support method, and verification support apparatus
US20120191348A1 (en) Electronic device and method for detecting status of image measuring machine
CN115665237B (en) IP address real-time positioning method and system
CN111292108A (en) Order counting method, device, equipment and computer readable storage medium
CN110910108B (en) Data association method and device, electronic equipment and storage medium
CN112817869A (en) Test method, test device, test medium, and electronic apparatus
CN113835965B (en) Parameter track mark-keeping method and device
JP2019523470A (en) Method and apparatus for processing data
CN111694872B (en) Method and device for providing service handling data scheme
WO2017189249A1 (en) Rule-governed entitlement data structure change notifications
CN111752217B (en) Method and device for determining machine tool identification code, electronic equipment and storage medium
CN110008269B (en) Data reflow method, device, equipment and system
CN111506422B (en) Event analysis method and system
CN110890997A (en) Network delay measuring method, device, equipment and medium
CN113254399A (en) Log query method and device, electronic equipment and medium
CN112860567A (en) Buried point identification method and device, computer equipment and storage medium
CN110780852A (en) Method, device, equipment and medium for determining data source
EP3671467A1 (en) Gui application testing using bots
US20180270102A1 (en) Data center network fault detection and localization

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
GR01 Patent grant
GR01 Patent grant