[go: up one dir, main page]

CN106303946B - information processing method and electronic equipment - Google Patents

information processing method and electronic equipment Download PDF

Info

Publication number
CN106303946B
CN106303946B CN201510313148.5A CN201510313148A CN106303946B CN 106303946 B CN106303946 B CN 106303946B CN 201510313148 A CN201510313148 A CN 201510313148A CN 106303946 B CN106303946 B CN 106303946B
Authority
CN
China
Prior art keywords
information
address information
address
electronic device
pieces
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.)
Active
Application number
CN201510313148.5A
Other languages
Chinese (zh)
Other versions
CN106303946A (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

Images

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 information processing methods and electronic equipment, wherein the method comprises the steps of sending address detection instructions to N second electronic equipment, receiving response information which is returned by the N second electronic equipment and aims at the address detection instructions, extracting N pieces of address information corresponding to the N second electronic equipment from the response information, selecting th address information from the N pieces of address information, determining the geographical position information of the th electronic equipment based on the th address information, and sending the geographical position information of the th electronic equipment to a server.

Description

information processing method and electronic equipment
Technical Field
The present invention relates to terminal management technologies in the field of communications, and in particular, to information processing methods and electronic devices.
Background
At present, after manufacturers produce electronic devices, the electronic devices are used in various regions of various countries, and the electronic devices need to be capable of being counted and managed accordingly. However, in the prior art, if the address of the electronic device is to be acquired, the user needs to manually perform the related operation, and it is difficult for the ordinary user to complete the operation in a matching manner, and the efficiency is also low.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide information processing methods and electronic devices.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides information processing methods, which are applied to electronic equipment and comprise the following steps:
sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
receiving response information which is returned by the N second electronic devices and aims at the address detection instruction;
extracting N pieces of address information corresponding to the N pieces of second electronic equipment from the response information;
th address information is selected from the N pieces of address information, wherein the th address information represents addresses which can be used for indicating the th electronic equipment;
determining the geographical location information of the th electronic device based on the th address information, and sending the geographical location information of the th electronic device to a server.
In the foregoing solution, the extracting, from the response information, N pieces of address information corresponding to the N pieces of second electronic equipment includes:
and respectively extracting address information and th parameter of the address information from the response information, wherein the th parameter represents the sending time of the response information.
In the foregoing solution, the selecting th address information from the N pieces of address information includes:
deleting M second address information from the N address information based on an th address list, wherein the th address list comprises address information in a local area network;
th address information is selected from the N-M address information.
In the foregoing solution, the selecting th address information from the N-M address information includes:
based on th parameters of the N-M pieces of address information, selecting th pieces of address information with the smallest th parameters as the th pieces of address information meeting th preset conditions.
In the above solution, the determining the geographical location information of the th electronic device based on the th address information includes:
determining the geographical position information of the th electronic device based on the th address information and preset geographical position information, and sending the geographical position information of the th electronic device to a server, wherein the preset geographical position information at least comprises the corresponding relation between the address information and the geographical information.
The embodiment of the present invention further provides electronic devices, including:
the communication unit is used for sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
the processing unit is used for receiving response information which is returned by the N second electronic devices and aims at the address detection instruction, extracting N pieces of address information corresponding to the N second electronic devices from the response information, selecting th address information from the N pieces of address information, wherein the th address information represents an address which can be used for indicating the th electronic device, and determining the geographical position information of the th electronic device based on the th address information.
In the above scheme, the processing unit is configured to extract address information and th parameters of the address information from the response information, respectively, where the th parameter represents an issuing time of the response information.
In the above scheme, the processing unit is configured to delete M pieces of second address information from the N pieces of address information based on an th address list, where the th address list includes address information in a local area network, and select th address information from the N-M pieces of address information.
In the foregoing solution, the processing unit is configured to select, based on the th parameter of the N-M pieces of address information, th address information with the smallest th parameter as the th address information meeting a th preset condition.
In the above scheme, the processing unit is configured to determine geographical location information of the th electronic device based on the th address information and preset geographical location information, and send the geographical location information of the th electronic device to a server, where the preset geographical location information at least includes a correspondence between the address information and the geographical information.
The information processing method and the electronic device provided by the embodiment of the invention can determine the geographical position information of the th electronic device based on the address information in the response information by sending the address detection instruction to the second electronic device and acquiring the response information, so that the geographical position of the th electronic device can be quickly determined, and the processing related to the geographical position information can be ensured for the electronic device.
Drawings
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a usage scenario for an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second information processing method according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a second scenario for implementing the present invention;
FIG. 5 is a third schematic flow chart illustrating an information processing method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The invention is further described in with reference to the following figures and embodiments.
Examples ,
An embodiment of the present invention provides information processing methods, which are applied to a th electronic device, and as shown in fig. 1, the method includes:
step 101: sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
step 102: receiving response information which is returned by the N second electronic devices and aims at the address detection instruction;
step 103: extracting N pieces of address information corresponding to the N pieces of electronic equipment from the response information;
104, selecting th address information from the N pieces of address information, wherein the th address information represents an address which can be used for indicating the th electronic equipment;
and 105, determining the geographical position information of the th electronic equipment based on the th address information, and sending the geographical position information of the th electronic equipment to a server.
Here, the th electronic device may be a terminal device such as a notebook computer or a desktop computer.
The second electronic device may be a routing device. The server may provide a device for management in the network.
The address detection instructions in this embodiment may be in a plurality of numbers, for example, may be set To have at least 30 address detection instructions, and preferably, each instructions may be distinguished by the number of hops in the address detection instructions.
In this embodiment, the response information for the probe instruction may include at least address information of the second electronic device.
The determining of the geographical location information of the th electronic device based on the th address information may be determining the geographical location information of the th electronic device based on the th address information and geographical location preset information, and sending the geographical location information of the th electronic device to a server, where the geographical location preset information at least includes a correspondence between the address information and the geographical information.
Referring to fig. 2, a scenario of the embodiment is described, in which the th electronic device is the notebook computer 21, and the N second electronic devices are 221-;
the notebook computer 21 can generate address detection instructions with TTL of 1-30 one by one based on the link information corresponding to the server when the computer is started for the first time;
sending the address detection instructions one by one through the second electronic device 221;
and receiving a plurality of response messages returned by the second electronic equipment;
extracting address information from the received plurality of response messages;
selecting th address information to compare with a preset address information list to obtain geographical position information, and then sending the obtained geographical position information to a server so that the server can carry out information statistics according to the received geographical position information of the notebook computer.
Therefore, by adopting the scheme, the geographical position information of the th electronic device can be determined based on the address information in the response information by sending the address detection instruction to the second electronic device and acquiring the response information, so that the geographical position of the th electronic device can be rapidly determined, and the processing related to the geographical position information can be ensured for the electronic device.
Example II,
An embodiment of the present invention provides information processing methods, which are applied to a th electronic device, and as shown in fig. 3, the method includes:
step 301: sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
step 302: receiving response information which is returned by the N second electronic devices and aims at the address detection instruction;
step 303, respectively extracting address information and th parameter of the address information from the response information, wherein the th parameter represents the sending time of the response information;
deleting 304M second address information from the N address information based on th address list, wherein the th address list comprises address information in a local area network;
step 305, th address information is selected from the N-M pieces of address information, wherein the th address information represents an address which can be used for indicating the th electronic equipment;
step 306, determining the geographical location information of the th electronic device based on the th address information, and sending the geographical location information of the th electronic device to a server.
Here, the th electronic device may be a terminal device such as a notebook computer or a desktop computer.
The second electronic device may be a routing device. The server may provide a device for management in the network.
The address detection instructions in this embodiment may be in a plurality of numbers, for example, may be set To have at least 30 address detection instructions, and preferably, each instructions may be distinguished by the number of hops in the address detection instructions.
In this embodiment, the response information for the probe instruction may include at least address information of the second electronic device.
In this embodiment, the th address list may preset address information in at least lans, for example, the th address list may include address information meeting the following requirements, that is, three address ranges of "10.0.0.0 to 10.255.255.255", "172.16.0.0 to 172.31.255.255", "192.168.0.0 to 192.168.255.255" are lans IP., that is, part of the address information may be deleted from the obtained multiple pieces of address information through the th address list, and after the part of the address information of lans which must not be matched with the address information is deleted, the efficiency of subsequent address comparison operations may be improved.
In this embodiment, the th address information selected from the N-M address information may be that, according to the TTL in the address probing instructions corresponding to the N-M address information, the address information corresponding to the smallest TTL is selected as the th address information.
The determining of the geographical location information of the th electronic device based on the th address information may be determining the geographical location information of the th electronic device based on the th address information and geographical location preset information, and sending the geographical location information of the th electronic device to a server, where the geographical location preset information at least includes a correspondence between the address information and the geographical information.
Referring to fig. 4, a scenario of the embodiment is described, in which the th electronic device is the notebook computer 21, and the N second electronic devices are 221-;
the notebook computer 21 can generate address detection instructions with TTL of 1-30 one by one based on the link information corresponding to the server when the computer is started for the first time;
sending the address detection instructions one by one through the second electronic device 221;
and receiving a plurality of response messages returned by the second electronic equipment;
extracting address information from the received multiple response messages, wherein the address information comprises -five address information, and then deleting the address information by comparing a address information list with the obtained multiple address information to obtain three address information, namely second address information, fourth address information and fifth address information;
selecting the address information II with the minimum TTL value in the corresponding address detection information as th address information to be compared with a preset address information list to obtain geographical position information, and then sending the obtained geographical position information to a server so that the server can carry out information statistics according to the received geographical position information of the notebook computer.
Therefore, by adopting the scheme, the geographical position information of the th electronic device can be determined based on the address information in the response information by sending the address detection instruction to the second electronic device and acquiring the response information, so that the geographical position of the th electronic device can be rapidly determined, and the processing related to the geographical position information can be ensured for the electronic device.
Example III,
An embodiment of the present invention provides information processing methods, which are applied to a th electronic device, and as shown in fig. 5, the method includes:
step 501: sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
step 502: receiving response information which is returned by the N second electronic devices and aims at the address detection instruction;
step 503, respectively extracting address information and th parameter of the address information from the response information, wherein the th parameter represents the sending time of the response information;
deleting M second address information from the N address information based on an th address list, wherein the th address list comprises address information in a local area network;
step 505, based on th parameters of the N-M pieces of address information, selecting pieces of address information with the minimum th parameters as the th address information meeting th preset conditions, wherein the th address information represents addresses which can be used for indicating electronic equipment;
step 506, determining the geographical position information of the th electronic equipment based on the th address information, and sending the geographical position information of the th electronic equipment to a server.
Here, the th electronic device may be a terminal device such as a notebook computer or a desktop computer.
The second electronic device may be a routing device. The server may provide a device for management in the network.
The address detection instructions in this embodiment may be in a plurality of numbers, for example, may be set To have at least 30 address detection instructions, and preferably, each instructions may be distinguished by the number of hops in the address detection instructions.
In this embodiment, the response information for the probe instruction may include at least address information of the second electronic device.
In this embodiment, the th address list may preset address information in at least lans, for example, the th address list may include address information meeting the following requirements, that is, three address ranges of "10.0.0.0 to 10.255.255.255", "172.16.0.0 to 172.31.255.255", "192.168.0.0 to 192.168.255.255" are lans IP., that is, part of the address information may be deleted from the obtained multiple pieces of address information through the th address list, and after the part of the address information of lans which must not be matched with the address information is deleted, the efficiency of subsequent address comparison operations may be improved.
In this embodiment, the address messages with the smallest th parameter may be address messages with the earliest receiving time, that is, routers closest to the notebook computer sending the address probe message will usually return the earliest response message.
In addition, when the response information is returned, the response information may be added with an identifier of the response information corresponding to which address detection information, so that the th electronic device may determine which response information should correspond to the th address information according to the time when the electronic device itself sends out the address detection information.
The determining of the geographical location information of the th electronic device based on the th address information may be determining the geographical location information of the th electronic device based on the th address information and geographical location preset information, and sending the geographical location information of the th electronic device to a server, where the geographical location preset information at least includes a correspondence between the address information and the geographical information.
Therefore, by adopting the scheme, the geographical position information of the th electronic device can be determined based on the address information in the response information by sending the address detection instruction to the second electronic device and acquiring the response information, so that the geographical position of the th electronic device can be rapidly determined, and the processing related to the geographical position information can be ensured for the electronic device.
Example four,
An embodiment of the present invention provides electronic devices, as shown in fig. 6, including:
the communication unit 61 is used for sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
the processing unit 62 is configured to receive response information, returned by the N second electronic devices, for the address probing instruction, extract N pieces of address information corresponding to the N second electronic devices from the response information, select th address information from the N pieces of address information, wherein the th address information represents an address that can be used for indicating the th electronic device, and determine geographic location information of the th electronic device based on the th address information.
Here, the th electronic device may be a terminal device such as a notebook computer or a desktop computer.
The second electronic device may be a routing device. The server may provide a device for management in the network.
The address detection instructions in this embodiment may be in a plurality of numbers, for example, may be set To have at least 30 address detection instructions, and preferably, each instructions may be distinguished by the number of hops in the address detection instructions.
In this embodiment, the response information for the probe instruction may include at least address information of the second electronic device.
The determining of the geographical location information of the th electronic device based on the th address information may be determining the geographical location information of the th electronic device based on the th address information and geographical location preset information, and sending the geographical location information of the th electronic device to a server, where the geographical location preset information at least includes a correspondence between the address information and the geographical information.
Referring to fig. 2, a scenario of the embodiment is described, in which the th electronic device is the notebook computer 21, and the N second electronic devices are 221-;
the notebook computer 21 can generate address detection instructions with TTL of 1-30 one by one based on the link information corresponding to the server when the computer is started for the first time;
sending the address detection instructions one by one through the second electronic device 221;
and receiving a plurality of response messages returned by the second electronic equipment;
extracting address information from the received plurality of response messages;
selecting th address information to compare with a preset address information list to obtain geographical position information, and then sending the obtained geographical position information to a server so that the server can carry out information statistics according to the received geographical position information of the notebook computer.
Therefore, by adopting the scheme, the geographical position information of the th electronic device can be determined based on the address information in the response information by sending the address detection instruction to the second electronic device and acquiring the response information, so that the geographical position of the th electronic device can be rapidly determined, and the processing related to the geographical position information can be ensured for the electronic device.
Example V,
The embodiment of the invention provides kinds of electronic equipment, which comprises:
the communication unit is used for sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
the processing unit is used for receiving response information which is returned by the N second electronic devices and aims at the address detection instruction, extracting N pieces of address information corresponding to the N second electronic devices from the response information, selecting th address information from the N pieces of address information, wherein the th address information represents an address which can be used for indicating the th electronic device, and determining the geographical position information of the th electronic device based on the th address information.
The processing unit is used for respectively extracting address information and th parameter of the address information from the response information, and the th parameter represents the sending time of the response information.
The processing unit is used for deleting M pieces of second address information from the N pieces of address information based on an th address list, wherein the th address list comprises address information in a local area network, and the th address information is selected from the N-M pieces of address information.
Here, the th electronic device may be a terminal device such as a notebook computer or a desktop computer.
The second electronic device may be a routing device. The server may provide a device for management in the network.
The address detection instructions in this embodiment may be in a plurality of numbers, for example, may be set To have at least 30 address detection instructions, and preferably, each instructions may be distinguished by the number of hops in the address detection instructions.
In this embodiment, the response information for the probe instruction may include at least address information of the second electronic device.
In this embodiment, the th address list may preset address information in at least lans, for example, the th address list may include address information meeting the following requirements, that is, three address ranges of "10.0.0.0 to 10.255.255.255", "172.16.0.0 to 172.31.255.255", "192.168.0.0 to 192.168.255.255" are lans IP., that is, part of the address information may be deleted from the obtained multiple pieces of address information through the th address list, and after the part of the address information of lans which must not be matched with the address information is deleted, the efficiency of subsequent address comparison operations may be improved.
In this embodiment, the processing unit is configured to select, according to the TTL in the address probing instruction corresponding to the N-M address information, the address information corresponding to the smallest TTL as the th address information.
The determining of the geographical location information of the th electronic device based on the th address information may be determining the geographical location information of the th electronic device based on the th address information and geographical location preset information, and sending the geographical location information of the th electronic device to a server, where the geographical location preset information at least includes a correspondence between the address information and the geographical information.
Referring to fig. 4, a scenario of the embodiment is described, in which the th electronic device is the notebook computer 21, and the N second electronic devices are 221-;
the notebook computer 21 can generate address detection instructions with TTL of 1-30 one by one based on the link information corresponding to the server when the computer is started for the first time;
sending the address detection instructions one by one through the second electronic device 221;
and receiving a plurality of response messages returned by the second electronic equipment;
extracting address information from the received multiple response messages, wherein the address information comprises -five address information, and then deleting the address information by comparing a address information list with the obtained multiple address information to obtain three address information, namely second address information, fourth address information and fifth address information;
selecting the address information II with the minimum TTL value in the corresponding address detection information as th address information to be compared with a preset address information list to obtain geographical position information, and then sending the obtained geographical position information to a server so that the server can carry out information statistics according to the received geographical position information of the notebook computer.
Therefore, by adopting the scheme, the geographical position information of the th electronic device can be determined based on the address information in the response information by sending the address detection instruction to the second electronic device and acquiring the response information, so that the geographical position of the th electronic device can be rapidly determined, and the processing related to the geographical position information can be ensured for the electronic device.
Example six,
An embodiment of the present invention provides electronic devices, as shown in fig. 6, including:
the communication unit 61 is used for sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
the processing unit 62 is configured to receive response information, returned by the N second electronic devices, for the address probing instruction, extract N pieces of address information corresponding to the N second electronic devices from the response information, select th address information from the N pieces of address information, wherein the th address information represents an address that can be used for indicating the th electronic device, and determine geographic location information of the th electronic device based on the th address information.
The processing unit 62 is used for respectively extracting address information and th parameter of the address information from the response information, wherein the th parameter represents the sending time of the response information.
The processing unit 62 is configured to delete M pieces of second address information from the N pieces of address information based on an th address list, where the th address list includes address information in a local area network, and select th address information from the N-M pieces of address information.
The processing unit 62 is configured to select address information with the smallest parameter as the -th address information meeting a -th preset condition based on the -th parameter of the N-M address information.
Here, the th electronic device may be a terminal device such as a notebook computer or a desktop computer.
The second electronic device may be a routing device. The server may provide a device for management in the network.
The address detection instructions in this embodiment may be in a plurality of numbers, for example, may be set To have at least 30 address detection instructions, and preferably, each instructions may be distinguished by the number of hops in the address detection instructions.
In this embodiment, the response information for the probe instruction may include at least address information of the second electronic device.
In this embodiment, the th address list may preset address information in at least lans, for example, the th address list may include address information meeting the following requirements, that is, three address ranges of "10.0.0.0 to 10.255.255.255", "172.16.0.0 to 172.31.255.255", "192.168.0.0 to 192.168.255.255" are lans IP., that is, part of the address information may be deleted from the obtained multiple pieces of address information through the th address list, and after the part of the address information of lans which must not be matched with the address information is deleted, the efficiency of subsequent address comparison operations may be improved.
In this embodiment, the address messages with the smallest th parameter may be address messages with the earliest receiving time, that is, routers closest to the notebook computer sending the address probe message will usually return the earliest response message.
In addition, when the response information is returned, the response information may be added with an identifier of the response information corresponding to which address detection information, so that the th electronic device may determine which response information should correspond to the th address information according to the time when the electronic device itself sends out the address detection information.
The determining of the geographical location information of the th electronic device based on the th address information may be determining the geographical location information of the th electronic device based on the th address information and geographical location preset information, and sending the geographical location information of the th electronic device to a server, where the geographical location preset information at least includes a correspondence between the address information and the geographical information.
Therefore, by adopting the scheme, the geographical position information of the th electronic device can be determined based on the address information in the response information by sending the address detection instruction to the second electronic device and acquiring the response information, so that the geographical position of the th electronic device can be rapidly determined, and the processing related to the geographical position information can be ensured for the electronic device.
The above-described embodiments of the apparatus are merely illustrative, and may be implemented in practice in other ways, such as where some features may be omitted, and in addition, the shown or discussed components may be coupled or directly coupled or communicatively coupled to each other via interfaces, indirectly coupled or communicatively coupled devices or units, which may be electrical, mechanical or other.
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; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention 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 invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1, information processing method, applied to electronic equipment, characterized in that the method includes:
sending an address detection instruction to N second electronic devices, wherein N is a positive integer greater than or equal to 1;
receiving response information which is returned by the N second electronic devices and aims at the address detection instruction;
extracting N pieces of address information corresponding to the N pieces of second electronic equipment from the response information;
th address information is selected from the N pieces of address information, wherein the th address information represents addresses which can be used for indicating the th electronic equipment;
determining the geographical location information of the electronic device based on the address information, and sending the geographical location information of the electronic device to a server;
wherein, the selecting th address information from the N address information includes:
deleting M pieces of second address information from the N pieces of address information based on an th address list, wherein the second address information is that the th address list comprises address information in a local area network;
and selecting the minimum address information corresponding to TTLs as the th address information according to the TTL (time to live) in the address detection instruction corresponding to the N-M address information.
2. The method according to claim 1, wherein the extracting N address information corresponding to the N second electronic devices from the response information includes:
and respectively extracting address information and th parameter of the address information from the response information, wherein the th parameter represents the sending time of the response information.
3. The method according to claim 2, wherein said selecting th address information from said N address information comprises:
deleting M second address information from the N address information based on an th address list, wherein the th address list comprises address information in a local area network;
th address information is selected from the N-M address information.
4. The method as claimed in claim 3, wherein said selecting th address information from said N-M address information comprises:
based on th parameters of the N-M pieces of address information, selecting th pieces of address information with the smallest th parameters as the th pieces of address information meeting th preset conditions.
5. The method of any of claims 1-4, wherein the determining the geographic location information of the th electronic device based on the th address information comprises:
determining the geographical position information of the th electronic device based on the th address information and preset geographical position information, and sending the geographical position information of the th electronic device to a server, wherein the preset geographical position information at least comprises the corresponding relation between the address information and the geographical information.
An electronic device of the kind , comprising:
the communication unit is used for sending an address detection instruction to the N second electronic devices, wherein N is a positive integer greater than or equal to 1;
the processing unit is used for receiving response information which is returned by the N second electronic devices and aims at the address detection instruction, extracting N pieces of address information corresponding to the N second electronic devices from the response information, selecting th address information from the N pieces of address information, wherein the th address information represents an address which can be used for indicating the th electronic device, and determining th electronic device geographical position information based on the th address information;
the processing unit is used for deleting M pieces of second address information from the N pieces of address information based on an th address list, wherein the second address information is that the th address list comprises address information in a local area network;
and selecting the minimum address information corresponding to TTLs as the th address information according to the TTL (time to live) in the address detection instruction corresponding to the N-M address information.
7. The electronic device of claim 6, wherein the processing unit is configured to extract address information and th parameter of the address information from the response information, respectively, and wherein the th parameter characterizes an emission time of the response information.
8. The electronic device of claim 7, wherein the processing unit is configured to delete M pieces of second address information from the N pieces of address information based on an th address list, wherein the th address list includes address information in a local area network, and wherein the th address information is selected from the N-M pieces of address information.
9. The electronic device according to claim 6, wherein the processing unit is configured to select address information with the smallest parameter as the address information meeting a preset condition based on the th parameter of the N-M address information.
10. The electronic device according to any one of claims 6-9 and , wherein the processing unit is configured to determine the geographical location information of the th electronic device based on the th address information and preset geographical location information, and send the geographical location information of the th electronic device to a server, wherein the preset geographical location information at least includes a correspondence between the address information and the geographical 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 CN106303946A (en) 2017-01-04
CN106303946B true 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)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100579034C (en) * 2007-11-30 2010-01-06 华为技术有限公司 Method for reporting device information, system and device for obtaining device information
US7920467B2 (en) * 2008-10-27 2011-04-05 Lexmark International, Inc. System and method for monitoring a plurality of network devices
CN102437931B (en) * 2011-12-29 2015-07-08 华为技术有限公司 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
CN106303946A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
JP2019501551A (en) Cloud-based system and method for managing messages related to operation of cable test devices
US9338657B2 (en) System and method for correlating security events with subscriber information in a mobile network environment
EP3145148A1 (en) Resource subscription processing method and device
US20170188186A1 (en) Sign-in method and device, sign-in server, and storage medium
CN107483572A (en) The dispositions method and device of a kind of server
KR20190006988A (en) IDENTIFICATION INFORMATION GENERATION METHOD, DEVICE, FACILITY,
CN108111346B (en) Method and device for determining frequent item set in alarm correlation analysis and storage medium
CN104243282B (en) A kind of information notice method and server
CN105656684B (en) Failure simulation method and device
CN115344315B (en) Skin switching method and device of applet page and electronic equipment
CN109446791A (en) New equipment recognition methods, device, server and computer readable storage medium
CN103428738B (en) Detect the abnormal method of Remote Radio Unit link and Remote Radio Unit
CN113423120A (en) Data distribution processing method and device based on private network terminal and electronic equipment
CN106604316B (en) Method, device and system for positioning fault of wireless access equipment
CN106658670B (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN105939328A (en) Method and device for updating network attack feature library
CN106303946B (en) information processing method and electronic equipment
CN109600257B (en) Tool deployment method, device and storage medium
KR101148488B1 (en) Methods, apparatuses, and computer program products, for automatically finding configuration settings for services
CN107294989B (en) Method and device for preventing ARP gateway spoofing
CN103581822A (en) Location optimization method and device and location server
CN115512472B (en) Information matching method and device, electronic equipment and storage medium
CN105652119A (en) Method, device and system for acquiring fault information
CN106341818B (en) Pseudo base station identification, communication and pseudo base station positioning method and device
US9578529B1 (en) Cellular data testing system

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