CN106303946A - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN106303946A
CN106303946A CN201510313148.5A CN201510313148A CN106303946A CN 106303946 A CN106303946 A CN 106303946A CN 201510313148 A CN201510313148 A CN 201510313148A CN 106303946 A CN106303946 A CN 106303946A
Authority
CN
China
Prior art keywords
address
address information
electronic equipment
information
response message
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
CN201510313148.5A
Other languages
Chinese (zh)
Other versions
CN106303946B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510313148.5A priority Critical patent/CN106303946B/en
Publication of CN106303946A publication Critical patent/CN106303946A/en
Application granted granted Critical
Publication of CN106303946B publication Critical patent/CN106303946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipment, wherein method includes: send address probe instructions to N number of second electronic equipment;Receive the response message for described address probe instructions that described N number of second electronic equipment returns;N number of address information that described N number of second electronic equipment is corresponding is extracted from described response message;The first address information is chosen from described N number of address information;Based on described first address information, determine the geographical location information of described first electronic equipment, the geographical location information of described first electronic equipment is sent to server.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to the terminal management technology of the communications field, particularly relate to a kind of information processing method and electronics Equipment.
Background technology
At present, electronic equipment, after manufacturer produces electronic equipment, it is used in each district of every country Territory, it is desirable to be able to electronic equipment is added up accordingly and manages.But, in prior art, if The address of electronic equipment to be got, need user manual carry out associative operation, common user is difficult to join Conjunction completes operation, and efficiency also can be relatively low.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of information processing method and electronic equipment.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
Embodiments provide a kind of information processing method, be applied to the first electronic equipment, described method Including:
Sending address probe instructions extremely N number of second electronic equipment, wherein, N is the positive integer more than or equal to 1;
Receive the response message for described address probe instructions that described N number of second electronic equipment returns;
N number of address information that described N number of second electronic equipment is corresponding is extracted from described response message;
The first address information is chosen from described N number of address information;Wherein, described first address information characterizes Can be used to indicate that the address of described first electronic equipment;
Based on described first address information, determine the geographical location information of described first electronic equipment, by described The geographical location information of the first electronic equipment sends to server.
In such scheme, described from described response message, extract the N that described N number of second electronic equipment is corresponding Individual address information, including:
The first parameter of address information and described address information is extracted respectively from described response message;Described Described in one parameter characterization, response message sends the moment.
In such scheme, described from described N number of described address information, choose the first address information, including:
From described N number of address information, M described second address information is deleted based on the first address list; Wherein, described first address list includes the address information in LAN;
The first address information is chosen from described N-M address information.
In such scheme, described from described N-M address information, choose the first address information, including:
The first parameter based on described N-M address information, chooses the address information that the first parameter is minimum As meeting the first pre-conditioned described first address information.
In such scheme, described based on described first address information, determine the geography of described first electronic equipment Positional information, including:
Based on described first address information and geographical position presupposed information, determine described first electronic equipment Geographical location information, sends the geographical location information of described first electronic equipment to server;Wherein, institute State and geographical position presupposed information at least includes the corresponding relation between address information and geography information.
The embodiment of the present invention additionally provides a kind of electronic equipment, including:
Communication unit, is used for sending address probe instructions extremely N number of second electronic equipment, and wherein, N is for being more than Positive integer equal to 1;The geographical location information of described first electronic equipment is sent to server;
Processing unit, for receiving referring to for the detection of described address of described N number of second electronic equipment return The response message of order;N number of address that described N number of second electronic equipment is corresponding is extracted from described response message Information;The first address information is chosen from described N number of address information;Wherein, described first address information table Levy the address that can be used to indicate that described first electronic equipment;Based on described first address information, determine described The geographical location information of the first electronic equipment.
In such scheme, described processing unit, for from described response message extract respectively address information and First parameter of described address information;Described in described first parameter characterization, response message sends the moment.
In such scheme, described processing unit, it is used for based on the first address list from described N number of address information Middle deletion M described second address information;Wherein, described first address list includes the address in LAN Information;The first address information is chosen from described N-M address information.
In such scheme, described processing unit, for the first parameter based on described N-M address information, Choose a minimum address information of the first parameter as meeting the first pre-conditioned described first address letter Breath.
In such scheme, described processing unit, for pre-based on described first address information and geographical position If information, determine the geographical location information of described first electronic equipment, by the geography of described first electronic equipment Positional information sends to server;Wherein, described geographical position presupposed information at least includes address information And the corresponding relation between geography information.
Information processing method that the embodiment of the present invention is provided and electronic equipment, it is possible to by setting to the second electronics Preparation is sent address probe instructions and gets response message, based on the address information in response message, determines The geographical location information of described first electronic equipment.So, it becomes possible to quickly determine the first electronic equipment Geographical position, it is ensured that the process relevant to geographical location information can be carried out for electronic equipment.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention information processing method schematic flow sheet one;
Fig. 2 is that the embodiment of the present invention uses scene schematic diagram one;
Fig. 3 is embodiment of the present invention information processing method schematic flow sheet two;
Fig. 4 is that the embodiment of the present invention uses scene schematic diagram two;
Fig. 5 is embodiment of the present invention information processing method schematic flow sheet three;
Fig. 6 is that embodiment of the present invention electronic equipment forms structural representation.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
Embodiment one,
Embodiments provide a kind of information processing method, be applied to the first electronic equipment, such as Fig. 1 institute Showing, described method includes:
Step 101: sending address probe instructions extremely N number of second electronic equipment, wherein, N is for being more than or equal to The positive integer of 1;
Step 102: receive that described N number of second electronic equipment returns for described address probe instructions Response message;
Step 103: extract N number of address information that described N number of electronic equipment is corresponding from described response message;
Step 104: choose the first address information from described N number of address information;Wherein, described first ground Location information representation can be used to indicate that the address of described first electronic equipment;
Step 105: based on described first address information, determine the geographical position letter of described first electronic equipment Breath, sends the geographical location information of described first electronic equipment to server.
Here, described first electronic equipment can be the terminal unit such as notebook computer, desktop computer.
Described second electronic equipment can be routing device.Described server can be to be provided in network The equipment of management.
Address probe instructions described in the present embodiment can be multiple quantity, such as, could be arranged to possess At least 30 address probe instructions;Preferably, can be distinguished by the jumping figure in the probe instructions of address Each instruction of electricity.Wherein, the structure of address probe instructions can be tracert utilize ICMP data with And existence duration (TTL, Time To Live) is sent to the instruction of purpose route.Characterize with TTL The jumping figure of each address probe instructions.
For the response message of probe instructions can at least include described second described in the present embodiment The address information of electronic equipment.
The described geographical location information determining the first electronic equipment based on the first address information, can be based on Described first address information and geographical position presupposed information, determine the geographical position of described first electronic equipment Information, sends the geographical location information of described first electronic equipment to server;Wherein, described geographical position Put and presupposed information at least include the corresponding relation between address information and geography information.
In conjunction with Fig. 2, the present embodiment carried out scene description: the first electronic equipment is notebook computer 21;N number of Second electronic equipment is respectively 221-225, i.e. N is equal to 5;
Notebook computer 21 can first powering on when, based on link information corresponding to server by Individual generation TTL is respectively the address probe instructions of 1-30;
One by one address probe instructions is sent by the second electronic equipment 221;
And receive multiple response messages that the second electronic equipment returns;
Address information is extracted from the multiple response messages received;
Choose first address information to contrast with the address information list preset, obtain geographical position Information;Then the geographical location information obtained is sent to server, so that server is according to receiving The geographical location information of notebook computer carries out the statistics of information.
Visible, use such scheme, it becomes possible to by sending address probe instructions also to the second electronic equipment Get response message, based on the address information in response message, determine the ground of described first electronic equipment Reason positional information.So, it becomes possible to quickly determine the geographical position of the first electronic equipment, it is ensured that can The process relevant to geographical location information is carried out for electronic equipment.
Embodiment two,
Embodiments provide a kind of information processing method, be applied to the first electronic equipment, such as Fig. 3 institute Showing, described method includes:
Step 301: sending address probe instructions extremely N number of second electronic equipment, wherein, N is for being more than or equal to The positive integer of 1;
Step 302: receive that described N number of second electronic equipment returns for described address probe instructions Response message;
Step 303: extract the first ginseng of address information and described address information from described response message respectively Number;Described in described first parameter characterization, response message sends the moment;
Step 304: delete M described second ground from described N number of address information based on the first address list Location information;Wherein, described first address list includes the address information in LAN;
Step 305: choose the first address information from described N-M address information;Wherein, described first Address information characterizes the address that can be used to indicate that described first electronic equipment;
Step 306: based on described first address information, determine the geographical position letter of described first electronic equipment Breath, sends the geographical location information of described first electronic equipment to server.
Here, described first electronic equipment can be the terminal unit such as notebook computer, desktop computer.
Described second electronic equipment can be routing device.Described server can be to be provided in network The equipment of management.
Address probe instructions described in the present embodiment can be multiple quantity, such as, could be arranged to possess At least 30 address probe instructions;Preferably, can be distinguished by the jumping figure in the probe instructions of address Each instruction of electricity.Wherein, the structure of address probe instructions can be tracert utilize ICMP data with And existence duration (TTL, Time To Live) is sent to the instruction of purpose route.Characterize with TTL The jumping figure of each address probe instructions.
For the response message of probe instructions can at least include described second described in the present embodiment The address information of electronic equipment.
First address list can be preset described in the present embodiment the address letter at least one LAN Breath, such as, can include in the first address list and meet address information claimed below: " 10.0.0.0 To 10.255.255.255 ", " 172.16.0.0 to 172.31.255.255 ", " 192.168.0.0 arrives 192.168.255.255 " these three address realm is LAN IP.It is to say, by the first address column Table, it is possible to delete partial address information from the multiple address informations got, deletes this part certainly After cannot be carried out the lan address information of address information coupling, it is possible to promote follow-up address comparison The efficiency of operation.
Choosing the first address information in the present embodiment from described N-M address information can be: according to TTL in the address probe instructions that described N-M address information is corresponding, chooses a TTL of minimum Corresponding address information is as the first address information.
The described geographical location information determining the first electronic equipment based on the first address information, can be based on Described first address information and geographical position presupposed information, determine the geographical position of described first electronic equipment Information, sends the geographical location information of described first electronic equipment to server;Wherein, described geographical position Put and presupposed information at least include the corresponding relation between address information and geography information.
In conjunction with Fig. 4, the present embodiment carried out scene description: the first electronic equipment is notebook computer 21;N number of Second electronic equipment is respectively 221-225, i.e. N is equal to 5;
Notebook computer 21 can first powering on when, based on link information corresponding to server by Individual generation TTL is respectively the address probe instructions of 1-30;
One by one address probe instructions is sent by the second electronic equipment 221;
And receive multiple response messages that the second electronic equipment returns;
Address information is extracted from the multiple response messages received;Wherein, address information one is included To address information five;Then the multiple address informations utilizing the first address information list and obtain contrast After carrying out the deletion of address information, obtain address information two, address information four and address information five this three Individual address information;
Choose the minimum address information two of the ttl value in the address detection information of correspondence as the first address Information contrasts with the address information list preset, and obtains geographical location information;Then the ground that will obtain Reason positional information is sent to server, so that server is according to the geographical position of the notebook computer received Information carries out the statistics of information.
Visible, use such scheme, it becomes possible to by sending address probe instructions also to the second electronic equipment Get response message, based on the address information in response message, determine the ground of described first electronic equipment Reason positional information.So, it becomes possible to quickly determine the geographical position of the first electronic equipment, it is ensured that can The process relevant to geographical location information is carried out for electronic equipment.
Embodiment three,
Embodiments provide a kind of information processing method, be applied to the first electronic equipment, such as Fig. 5 institute Showing, described method includes:
Step 501: sending address probe instructions extremely N number of second electronic equipment, wherein, N is for being more than or equal to The positive integer of 1;
Step 502: receive that described N number of second electronic equipment returns for described address probe instructions Response message;
Step 503: extract the first ginseng of address information and described address information from described response message respectively Number;Described in described first parameter characterization, response message sends the moment;
Step 504: delete M described second ground from described N number of address information based on the first address list Location information;Wherein, described first address list includes the address information in LAN;
Step 505: the first parameter based on described N-M address information, chooses the one of the first parameter minimum Individual address information is as meeting the first pre-conditioned described first address information;Wherein, described first address Information representation can be used to indicate that the address of described first electronic equipment;
Step 506: based on described first address information, determine the geographical position letter of described first electronic equipment Breath, sends the geographical location information of described first electronic equipment to server.
Here, described first electronic equipment can be the terminal unit such as notebook computer, desktop computer.
Described second electronic equipment can be routing device.Described server can be to be provided in network The equipment of management.
Address probe instructions described in the present embodiment can be multiple quantity, such as, could be arranged to possess At least 30 address probe instructions;Preferably, can be distinguished by the jumping figure in the probe instructions of address Each instruction of electricity.Wherein, the structure of address probe instructions can be tracert utilize ICMP data with And existence duration (TTL, Time To Live) is sent to the instruction of purpose route.Characterize with TTL The jumping figure of each address probe instructions.
For the response message of probe instructions can at least include described second described in the present embodiment The address information of electronic equipment.
First address list can be preset described in the present embodiment the address letter at least one LAN Breath, such as, can include in the first address list and meet address information claimed below: " 10.0.0.0 To 10.255.255.255 ", " 172.16.0.0 to 172.31.255.255 ", " 192.168.0.0 arrives 192.168.255.255 " these three address realm is LAN IP.It is to say, by the first address column Table, it is possible to delete partial address information from the multiple address informations got, deletes this part certainly After cannot be carried out the lan address information of address information coupling, it is possible to promote follow-up address comparison The efficiency of operation.
The address information that described in the present embodiment, the first parameter is minimum can be the reception time the earliest One address information.It is to say, one that the notebook computer of distance transmission address detection information is nearest Router, generally returning response message also can be the earliest.
Furthermore it is also possible to when returning response message, add in response message and for which address detect The mark of the response message of information, thus, the first electronic equipment can be according to self sending address detection letter What the time of breath determined which response message should be corresponding is the first address information.
The described geographical location information determining the first electronic equipment based on the first address information, can be based on Described first address information and geographical position presupposed information, determine the geographical position of described first electronic equipment Information, sends the geographical location information of described first electronic equipment to server;Wherein, described geographical position Put and presupposed information at least includes the corresponding relation between address information and geography information.Institute in the present embodiment State address information can at least include: the information such as country, province, city, district, or can also include more Add detailed address information.
Visible, use such scheme, it becomes possible to by sending address probe instructions also to the second electronic equipment Get response message, based on the address information in response message, determine the ground of described first electronic equipment Reason positional information.So, it becomes possible to quickly determine the geographical position of the first electronic equipment, it is ensured that can The process relevant to geographical location information is carried out for electronic equipment.
Embodiment four,
Embodiments provide a kind of electronic equipment, as shown in Figure 6, including:
Communication unit 61, is used for sending address probe instructions extremely N number of second electronic equipment, and wherein, N is big In the positive integer equal to 1;The geographical location information of described first electronic equipment is sent to server;
Processing unit 62, for receiving detecting for described address of described N number of second electronic equipment return The response message of instruction;Extract from described response message described N number of second electronic equipment corresponding N number ofly Location information;The first address information is chosen from described N number of address information;Wherein, described first address information Characterize the address that can be used to indicate that described first electronic equipment;Based on described first address information, determine institute State the geographical location information of the first electronic equipment.
Here, described first electronic equipment can be the terminal unit such as notebook computer, desktop computer.
Described second electronic equipment can be routing device.Described server can be to be provided in network The equipment of management.
Address probe instructions described in the present embodiment can be multiple quantity, such as, could be arranged to possess At least 30 address probe instructions;Preferably, can be distinguished by the jumping figure in the probe instructions of address Each instruction of electricity.Wherein, the structure of address probe instructions can be tracert utilize ICMP data with And existence duration (TTL, Time To Live) is sent to the instruction of purpose route.Characterize with TTL The jumping figure of each address probe instructions.
For the response message of probe instructions can at least include described second described in the present embodiment The address information of electronic equipment.
The described geographical location information determining the first electronic equipment based on the first address information, can be based on Described first address information and geographical position presupposed information, determine the geographical position of described first electronic equipment Information, sends the geographical location information of described first electronic equipment to server;Wherein, described geographical position Put and presupposed information at least include the corresponding relation between address information and geography information.
In conjunction with Fig. 2, the present embodiment carried out scene description: the first electronic equipment is notebook computer 21;N number of Second electronic equipment is respectively 221-225, i.e. N is equal to 5;
Notebook computer 21 can first powering on when, based on link information corresponding to server by Individual generation TTL is respectively the address probe instructions of 1-30;
One by one address probe instructions is sent by the second electronic equipment 221;
And receive multiple response messages that the second electronic equipment returns;
Address information is extracted from the multiple response messages received;
Choose first address information to contrast with the address information list preset, obtain geographical position Information;Then the geographical location information obtained is sent to server, so that server is according to receiving The geographical location information of notebook computer carries out the statistics of information.
Visible, use such scheme, it becomes possible to by sending address probe instructions also to the second electronic equipment Get response message, based on the address information in response message, determine the ground of described first electronic equipment Reason positional information.So, it becomes possible to quickly determine the geographical position of the first electronic equipment, it is ensured that can The process relevant to geographical location information is carried out for electronic equipment.
Embodiment five,
Embodiments provide a kind of electronic equipment, including:
Communication unit, is used for sending address probe instructions extremely N number of second electronic equipment, and wherein, N is for being more than Positive integer equal to 1;The geographical location information of described first electronic equipment is sent to server;
Processing unit, for receiving referring to for the detection of described address of described N number of second electronic equipment return The response message of order;N number of address that described N number of second electronic equipment is corresponding is extracted from described response message Information;The first address information is chosen from described N number of address information;Wherein, described first address information table Levy the address that can be used to indicate that described first electronic equipment;Based on described first address information, determine described The geographical location information of the first electronic equipment.
Described processing unit, for extracting address information and described address information respectively from described response message The first parameter;Described in described first parameter characterization, response message sends the moment.
Described processing unit, for deleting M based on the first address list from described N number of address information Described second address information;Wherein, described first address list includes the address information in LAN;From institute State and N-M address information is chosen the first address information.
Here, described first electronic equipment can be the terminal unit such as notebook computer, desktop computer.
Described second electronic equipment can be routing device.Described server can be to be provided in network The equipment of management.
Address probe instructions described in the present embodiment can be multiple quantity, such as, could be arranged to possess At least 30 address probe instructions;Preferably, can be distinguished by the jumping figure in the probe instructions of address Each instruction of electricity.Wherein, the structure of address probe instructions can be tracert utilize ICMP data with And existence duration (TTL, Time To Live) is sent to the instruction of purpose route.Characterize with TTL The jumping figure of each address probe instructions.
For the response message of probe instructions can at least include described second described in the present embodiment The address information of electronic equipment.
First address list can be preset described in the present embodiment the address letter at least one LAN Breath, such as, can include in the first address list and meet address information claimed below: " 10.0.0.0 To 10.255.255.255 ", " 172.16.0.0 to 172.31.255.255 ", " 192.168.0.0 arrives 192.168.255.255 " these three address realm is LAN IP.It is to say, by the first address column Table, it is possible to delete partial address information from the multiple address informations got, deletes this part certainly After cannot be carried out the lan address information of address information coupling, it is possible to promote follow-up address comparison The efficiency of operation.
Processing unit described in the present embodiment, visits for the address corresponding according to described N-M address information Survey the TTL in instruction, choose an address information corresponding for TTL of minimum as the first address information.
The described geographical location information determining the first electronic equipment based on the first address information, can be based on Described first address information and geographical position presupposed information, determine the geographical position of described first electronic equipment Information, sends the geographical location information of described first electronic equipment to server;Wherein, described geographical position Put and presupposed information at least include the corresponding relation between address information and geography information.
In conjunction with Fig. 4, the present embodiment carried out scene description: the first electronic equipment is notebook computer 21;N number of Second electronic equipment is respectively 221-225, i.e. N is equal to 5;
Notebook computer 21 can first powering on when, based on link information corresponding to server by Individual generation TTL is respectively the address probe instructions of 1-30;
One by one address probe instructions is sent by the second electronic equipment 221;
And receive multiple response messages that the second electronic equipment returns;
Address information is extracted from the multiple response messages received;Wherein, address information one is included To address information five;Then the multiple address informations utilizing the first address information list and obtain contrast After carrying out the deletion of address information, obtain address information two, address information four and address information five this three Individual address information;
Choose the minimum address information two of the ttl value in the address detection information of correspondence as the first address Information contrasts with the address information list preset, and obtains geographical location information;Then the ground that will obtain Reason positional information is sent to server, so that server is according to the geographical position of the notebook computer received Information carries out the statistics of information.
Visible, use such scheme, it becomes possible to by sending address probe instructions also to the second electronic equipment Get response message, based on the address information in response message, determine the ground of described first electronic equipment Reason positional information.So, it becomes possible to quickly determine the geographical position of the first electronic equipment, it is ensured that can The process relevant to geographical location information is carried out for electronic equipment.
Embodiment six,
Embodiments provide a kind of electronic equipment, as shown in Figure 6, including:
Communication unit 61, is used for sending address probe instructions extremely N number of second electronic equipment, and wherein, N is big In the positive integer equal to 1;The geographical location information of described first electronic equipment is sent to server;
Processing unit 62, for receiving detecting for described address of described N number of second electronic equipment return The response message of instruction;Extract from described response message described N number of second electronic equipment corresponding N number ofly Location information;The first address information is chosen from described N number of address information;Wherein, described first address information Characterize the address that can be used to indicate that described first electronic equipment;Based on described first address information, determine institute State the geographical location information of the first electronic equipment.
Described processing unit 62, for extracting address information and described address letter respectively from described response message First parameter of breath;Described in described first parameter characterization, response message sends the moment.
Described processing unit 62, for deleting M based on the first address list from described N number of address information Individual described second address information;Wherein, described first address list includes the address information in LAN;From Described N-M address information chooses the first address information.
Described processing unit 62, for the first parameter based on described N-M address information, chooses first One address information of parameter minimum is as meeting the first pre-conditioned described first address information.
Here, described first electronic equipment can be the terminal unit such as notebook computer, desktop computer.
Described second electronic equipment can be routing device.Described server can be to be provided in network The equipment of management.
Address probe instructions described in the present embodiment can be multiple quantity, such as, could be arranged to possess At least 30 address probe instructions;Preferably, can be distinguished by the jumping figure in the probe instructions of address Each instruction of electricity.Wherein, the structure of address probe instructions can be tracert utilize ICMP data with And existence duration (TTL, Time To Live) is sent to the instruction of purpose route.Characterize with TTL The jumping figure of each address probe instructions.
For the response message of probe instructions can at least include described second described in the present embodiment The address information of electronic equipment.
First address list can be preset described in the present embodiment the address letter at least one LAN Breath, such as, can include in the first address list and meet address information claimed below: " 10.0.0.0 To 10.255.255.255 ", " 172.16.0.0 to 172.31.255.255 ", " 192.168.0.0 arrives 192.168.255.255 " these three address realm is LAN IP.It is to say, by the first address column Table, it is possible to delete partial address information from the multiple address informations got, deletes this part certainly After cannot be carried out the lan address information of address information coupling, it is possible to promote follow-up address comparison The efficiency of operation.
The address information that described in the present embodiment, the first parameter is minimum can be the reception time the earliest One address information.It is to say, one that the notebook computer of distance transmission address detection information is nearest Router, generally returning response message also can be the earliest.
Furthermore it is also possible to when returning response message, add in response message and for which address detect The mark of the response message of information, thus, the first electronic equipment can be according to self sending address detection letter What the time of breath determined which response message should be corresponding is the first address information.
The described geographical location information determining the first electronic equipment based on the first address information, can be based on Described first address information and geographical position presupposed information, determine the geographical position of described first electronic equipment Information, sends the geographical location information of described first electronic equipment to server;Wherein, described geographical position Put and presupposed information at least includes the corresponding relation between address information and geography information.Institute in the present embodiment State address information can at least include: the information such as country, province, city, district, or can also include more Add detailed address information.
Visible, use such scheme, it becomes possible to by sending address probe instructions also to the second electronic equipment Get response message, based on the address information in response message, determine the ground of described first electronic equipment Reason positional information.So, it becomes possible to quickly determine the geographical position of the first electronic equipment, it is ensured that can The process relevant to geographical location information is carried out for electronic equipment.
In several embodiments provided herein, it should be understood that disclosed equipment can pass through Other mode realizes.Apparatus embodiments described above is only schematically, actual can when realizing There to be other dividing mode, as some features can be ignored.It addition, shown or discussed each composition Part coupling the most each other or direct-coupling or communication connection can be by some interfaces, equipment Or the INDIRECT COUPLING of unit or communication connection, can be being electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location;Can select according to the actual needs Select part or all of unit therein to realize the purpose of the present embodiment scheme.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to In this, any those familiar with the art, can be easily in the technical scope that the invention discloses Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention Scope should be as the criterion with described scope of the claims.

Claims (10)

1. an information processing method, is applied to the first electronic equipment, it is characterised in that described method includes:
Sending address probe instructions extremely N number of second electronic equipment, wherein, N is the positive integer more than or equal to 1;
Receive the response message for described address probe instructions that described N number of second electronic equipment returns;
N number of address information that described N number of second electronic equipment is corresponding is extracted from described response message;
The first address information is chosen from described N number of address information;Wherein, described first address information characterizes Can be used to indicate that the address of described first electronic equipment;
Based on described first address information, determine the geographical location information of described first electronic equipment, by described The geographical location information of the first electronic equipment sends to server.
Method the most according to claim 1, it is characterised in that described extraction from described response message N number of address information that described N number of second electronic equipment is corresponding, including:
The first parameter of address information and described address information is extracted respectively from described response message;Described Described in one parameter characterization, response message sends the moment.
Method the most according to claim 2, it is characterised in that described from described N number of described address Information is chosen the first address information, including:
From described N number of address information, M described second address information is deleted based on the first address list; Wherein, described first address list includes the address information in LAN;
The first address information is chosen from described N-M address information.
Method the most according to claim 3, it is characterised in that described from described N-M address letter Breath is chosen the first address information, including:
The first parameter based on described N-M address information, chooses the address information that the first parameter is minimum As meeting the first pre-conditioned described first address information.
5. according to the method described in any one of claim 1-4, it is characterised in that described based on described first Address information, determines the geographical location information of described first electronic equipment, including:
Based on described first address information and geographical position presupposed information, determine described first electronic equipment Geographical location information, sends the geographical location information of described first electronic equipment to server;Wherein, institute State and geographical position presupposed information at least includes the corresponding relation between address information and geography information.
6. an electronic equipment, it is characterised in that including:
Communication unit, is used for sending address probe instructions extremely N number of second electronic equipment, and wherein, N is for being more than Positive integer equal to 1;The geographical location information of described first electronic equipment is sent to server;
Processing unit, for receiving referring to for the detection of described address of described N number of second electronic equipment return The response message of order;N number of address that described N number of second electronic equipment is corresponding is extracted from described response message Information;The first address information is chosen from described N number of address information;Wherein, described first address information table Levy the address that can be used to indicate that described first electronic equipment;Based on described first address information, determine described The geographical location information of the first electronic equipment.
Electronic equipment the most according to claim 6, it is characterised in that described processing unit, for from Described response message extracts the first parameter of address information and described address information respectively;Described first parameter Characterize described response message sends the moment.
Electronic equipment the most according to claim 7, it is characterised in that described processing unit, for base From described N number of address information, M described second address information is deleted in the first address list;Wherein, Described first address list includes the address information in LAN;Is chosen from described N-M address information One address information.
Electronic equipment the most according to claim 6, it is characterised in that described processing unit, for base In the first parameter of described N-M address information, choose a minimum address information of the first parameter as symbol Close the first pre-conditioned described first address information.
10. according to the electronic equipment described in any one of claim 6-9, it is characterised in that described process list Unit, for based on described first address information and geographical position presupposed information, determines that described first electronics sets Standby geographical location information, sends the geographical location information of described first electronic equipment to server;Wherein, Described geographical position presupposed information at least includes the corresponding relation between address information and geography information.
CN201510313148.5A 2015-06-09 2015-06-09 information processing method and electronic equipment Active CN106303946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510313148.5A CN106303946B (en) 2015-06-09 2015-06-09 information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510313148.5A CN106303946B (en) 2015-06-09 2015-06-09 information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106303946A true CN106303946A (en) 2017-01-04
CN106303946B CN106303946B (en) 2020-01-31

Family

ID=57659244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510313148.5A Active CN106303946B (en) 2015-06-09 2015-06-09 information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106303946B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202664A (en) * 2007-11-30 2008-06-18 华为技术有限公司 Method for reporting equipment information, system and method for obtaining equipment information
US20100103824A1 (en) * 2008-10-27 2010-04-29 Grant James Gilmour System and method for monitoring a plurality of network devices
CN102437931A (en) * 2011-12-29 2012-05-02 华为技术有限公司 Detection method and device of service path
CN104322034A (en) * 2013-03-15 2015-01-28 华为技术有限公司 Method, device and system for determining geographical position of UC terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202664A (en) * 2007-11-30 2008-06-18 华为技术有限公司 Method for reporting equipment information, system and method for obtaining equipment information
US20100103824A1 (en) * 2008-10-27 2010-04-29 Grant James Gilmour System and method for monitoring a plurality of network devices
CN102437931A (en) * 2011-12-29 2012-05-02 华为技术有限公司 Detection method and device of service path
CN104322034A (en) * 2013-03-15 2015-01-28 华为技术有限公司 Method, device and system for determining geographical position of UC terminal

Also Published As

Publication number Publication date
CN106303946B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN101938415B (en) Rapid forwarding method for network forwarding device
CN105490884B (en) A kind of VXLAN tunnel detection method and device
EP3496346B1 (en) Data message forwarding method and apparatus
CN103905251B (en) Network topology obtaining method and device
EP2849498A1 (en) Method of accessing, by wireless device, information mapped to currently positioned space by using network access device, and device for accessing information mapped to currently positioned space by using network access device
CN103166852B (en) The route tracing method of LSP and routing device in MPLS network
CN103313192A (en) Multiple-screen sharing method and system
CN105991600A (en) Identity authentication and apparatus, server and terminal
Chen et al. Reliability analysis for various communication schemes in wireless CORBA
CN104821913A (en) Data message forwarding method and apparatus
CN102497333A (en) Method, client end and system used for outputting contact object weather information
CN104504428A (en) Information transmission method, information transmission system and mobile terminal based on two-dimension code
CN105450529A (en) Method, equipment and system for transmitting multicast message in manner of crossing two-layer virtual network
CN104219144A (en) Method and system for determining forwarding paths of service flow and network management system
CN104038522B (en) A kind of virtual-real blending space positioning system Internet-based
CN101123591A (en) Chat system and its information processing method
AU2013383225B2 (en) Method and device for determining mail path information
CN102857421A (en) VLL fault detection method and device
CN103516596A (en) Method and system for handling E-mail
CN104506405B (en) The method and device of cross-domain access
CN102571464B (en) Link tracking processing method and system
CN104618818B (en) A kind of TV homepage configuration method and device
CN102457407B (en) Method and equipment for detecting IP address conflict in autonomous system
CN106303946A (en) A kind of information processing method and electronic equipment
Fang et al. Design and research on GeoIP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant