CN110213355A - The method and its application of search terminal in local area network - Google Patents
The method and its application of search terminal in local area network Download PDFInfo
- Publication number
- CN110213355A CN110213355A CN201910421754.7A CN201910421754A CN110213355A CN 110213355 A CN110213355 A CN 110213355A CN 201910421754 A CN201910421754 A CN 201910421754A CN 110213355 A CN110213355 A CN 110213355A
- Authority
- CN
- China
- Prior art keywords
- terminal
- address
- network
- network segment
- local area
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
- H04L61/3015—Name registration, generation or assignment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of method of search terminal in local area network, which comprises step B1, each terminal in each network segment traverse other IP address of the IP address of the removing terminal in the network segment according to the sequence of the first IP address;Step B2 after the terminal is connected to first terminal, stops the traversing operation and sends the IP address of the terminal to the first terminal, to be stored in the first terminal;Step B3, scanning device is according to the IP address in each network segment in first IP address sequence traversal demand network segment;Step B4, after the scanning device is connected to the first terminal, the IP address that stops the traversing operation and obtain the IP address of the first terminal and be stored in the first terminal.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of method and system of the search terminal in local area network,
Method, terminal and the computer readable storage medium of IP address of terminal are sent in local area network.
Background technique
The existing scanning device in local area network, usually scanning device are by http request, in specified network segment (such as C class
Network segment described in IP) in traversal connection 1 to 255 IP, then according to connection as a result, obtain terminal IP address, scanning speed
It spends very slow.
Summary of the invention
The embodiment of the present invention provides a kind of method and system of search terminal in local area network, sends eventually in local area network
Method, terminal and the computer readable storage medium of IP address are held, main purpose is all in quick obtaining local area network
The IP address of terminal.
To achieve the above object, the embodiment of the present invention provides a kind of method of search terminal in local area network, the side
Method includes: step B1, and each terminal in each network segment traverses described in the removing in the network segment according to the sequence of the first IP address
Other IP address of the IP address of terminal;After the terminal is connected to first terminal, it is concurrent to stop the traversing operation by step B2
Send the IP address of the terminal to the first terminal, to be stored in the first terminal;Step B3, scanning device is according to institute
State the IP address in each network segment in the first IP address sequence traversal demand network segment;Step B4, the scanning device are connected to
After the first terminal, stops the traversing operation and obtain the IP address of the first terminal and be stored in described first eventually
IP address in end.
Optionally, further includes: step B6, the scanning device connect the IP address of the first terminal and be stored in institute
The IP address in first terminal is stated, to be verified.
Optionally, before the step B1, further includes: step B0, comprising: each terminal in each network segment is according to institute
The IP address of terminal is stated, network address is obtained;The terminal intercepts the front section of the network address as other IP address
Common portion;The terminal is successively read a numerical value as variable part in the numberical range of setting, mends in the IP
After the common portion of location, to form other described IP address.
The embodiment of the present invention also provides a kind of search system of search terminal in local area network, including is connected to local area network
Terminal and scanning device, wherein each terminal in each network segment is used to traverse the net according to the sequence of the first IP address
Other IP address of the IP address of the removing terminal in section;The terminal is also used to after being connected to first terminal, is stopped
The traversing operation simultaneously sends the IP address of the terminal to the first terminal, to be stored in the first terminal;It is described
Scanning device is used for according to the IP address in each network segment in first IP address sequence traversal demand network segment;The scanning
After equipment is also used to be connected to the first terminal, stop the traversing operation and obtain the first terminal IP address and
The IP address being stored in the first terminal.
Optionally, the scanning device is also used to connect the IP address of the first terminal and is stored in described first eventually
IP address in end, to be verified.
The embodiment of the present invention also provides a kind of method that IP address of terminal is sent in local area network, which comprises
Step B1, each terminal in each network segment traverse the IP of the removing terminal in the network segment according to the sequence of the first IP address
Other IP address of address;Step B2 after the terminal is connected to first terminal, stops the traversing operation and sends the end
The IP address at end is to the first terminal, to be stored in the first terminal.
Optionally, before the step B1, further includes: step B0, comprising: each terminal in each network segment is according to institute
The IP address of terminal is stated, network address is obtained;The terminal intercepts the front section of the network address as other IP address
Common portion;The terminal is successively read a numerical value as variable part in the numberical range of setting, mends in the IP
After the common portion of location, to form other described IP address.
The embodiment of the present invention also provides a kind of terminal, and the terminal includes memory and processor, on the memory
It is stored with the program that IP address of terminal is sent in local area network that can be run on the processor, described program is by the processing
Device realizes that following method: step B1, the terminal traverse the removing institute in the network segment according to the sequence of the first IP address when executing
State other IP address of the IP address of terminal;Step B2 after the terminal is connected to first terminal, stops the traversing operation simultaneously
The IP address of the terminal is sent to the first terminal, to be stored in the first terminal.
Optionally, before the step B1, the method is also further include: step B0, comprising: each in each network segment
Terminal obtains network address according to the IP address of the terminal;The terminal intercepts the front section of the network address as it
The common portion of his IP address;The terminal is successively read a numerical value as variable part in the numberical range of setting, mends
After the common portion of the IP address, to form other described IP address.
The embodiment of the present invention also provides a kind of computer readable storage medium, deposits on the computer readable storage medium
The program that IP address of terminal is sent in local area network is contained, described program can be executed by one or more processor, to realize
The step of method of IP address of terminal is sent in local area network as described above.
The embodiment of the present invention propose in local area network the method and system of search terminal, terminal is sent in local area network
Method, terminal and the computer readable storage medium of IP address, the IP address in local area network is stored in first terminal, described
After scanning device is connected to the first terminal, by obtaining the IP address of the first terminal and being stored in described first eventually
IP address in end, can terminal in quick obtaining local area network all IP address.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for search terminal in local area network that the embodiment of the present invention provides;
Fig. 2 is the structural schematic diagram of the search system of search terminal in local area network that the embodiment of the present invention provides;
Fig. 3 is the flow diagram for the method that IP address of terminal is sent in local area network that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram of internal structure for the terminal that the embodiment of the present invention provides;
Fig. 5 is that the module that IP address of terminal program is sent in local area network in the terminal that the embodiment of the present invention provides is shown
It is intended to.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of method of search terminal in local area network, shown referring to Fig.1, for the present invention one
The flow diagram of the method for search terminal in local area network that embodiment provides.This method can use search system, as
Execute the device of the search terminal in local area network, the method for realizing the present embodiment.In the present embodiment, search system may include
Scanning device and terminal.
The described method includes:
Step B1, each terminal in each network segment traverse described in the removing in the network segment according to the sequence of the first IP address
Other IP address of the IP address of terminal.
In the present embodiment, terminal refers to the device being connected in local area network, can be fixed type terminal such as computer,
Smart television is also possible to the terminal such as mobile phone, wearable device of removable type.User can specify needed in local area network by
At least one network segment of scanning.Each terminal can traverse removing in the network segment according to the sequence of the first IP address in specific time
Go other IP address of the IP address of the terminal.Wherein, specific time can be at the time point for being connected to the local area network,
Perhaps the time point of fixed time period the first IP address sequence can be ascending or descending IP sequence
Sequentially, it is not limited thereto.It is illustrated by taking the network segment where a C IP like as an example below, such as network segment 192.168.1.X, son
Net mask is 255.255.255.0.Each terminal in the 192.168.1.X network segment can be connected to the local area network
Time point begins stepping through from 192.168.1.1, (removes the IP address of the terminal, such as to 192.168.1.254 cut-off
192.168.222)。
Step B2 after the terminal is connected to first terminal, stops the traversing operation and with sending the IP of the terminal
Location is to the first terminal, to be stored in the first terminal.
In the present embodiment, when the terminal is connected to first terminal (for example, the IP address of the first terminal is
192.168.1.3), stop the traversing operation and send the IP address (for example, 192.168.1.8) of the terminal to described the
One terminal, to be stored in the first terminal.In this way, the first terminal can store the institute of other terminals this network segment Nei
There is IP address, along with the IP address of the machine, so as to obtain the IP address of all terminals in this network segment.Optionally, often
One terminal can traverse other IP address of the IP address of the removing terminal in the network segment according to heartbeat mechanism, to send out
Send the machine IP to the first terminal, accordingly, the first terminal can be connected according to heartbeat next time, to update described
The IP address stored in one terminal.
Step B3, scanning device is according to the IP in each network segment in first IP address sequence traversal demand network segment
Location.
Step B4 after the scanning device is connected to the first terminal, stops the traversing operation and obtains described
The IP address of one terminal and the IP address being stored in the first terminal.
In the present embodiment, scanning device can be hardware or software.Scanning device is arranged according to first IP address
Sequence traverses the IP address in each network segment in demand network segment as from small to large, is thus connected to the first terminal, then from institute
State the IP address for all terminals that first terminal obtains in this network segment.
Optionally, the method also includes step B6, the scanning device connect the first terminal IP address and
The IP address being stored in the first terminal, to be verified.
In the present embodiment, the scanning device connects the IP of all terminals in the network segment got by ping order
Address, it is whether correct come the IP address that verifies acquisition.When incorrect, prompt information is can be generated in the scanning device.
Optionally, before the step B1, further includes: step B0, comprising:
Each terminal in each network segment obtains network address according to the IP address of the terminal;
The terminal intercepts common portion of the front section as other IP address of the network address;
The terminal is successively read a numerical value as variable part in the numberical range of setting, mends in the IP address
Common portion after, to form other described IP address.
In the present embodiment, each terminal in each network segment is according to oneself IP address, such as 192.168.1.222,
And subnet mask is 255.255.255.0, obtains network address 192.168.1.X, intercept network address 192.168.1.X's
Common portion of the front section 192.168.1 as other IP address, then in the numberical range of setting between [1,254] according to
One numerical value of secondary selection fills into after the common portion of the IP address as variable part, thus with forming other IP
Location [192.168.1.1-192.168.1.254].
Referring to Fig. 2, the embodiment of the present invention also provides a kind of search system of search terminal in local area network, including even
It is connected to the terminal and scanning device of local area network.
Wherein, each terminal in each network segment is used to traverse the removing institute in the network segment according to the sequence of the first IP address
State other IP address of the IP address of terminal.
In the present embodiment, terminal refers to the device being connected in local area network, can be fixed type terminal such as computer,
Smart television is also possible to the terminal such as mobile phone, wearable device of removable type.User can specify needed in local area network by
At least one network segment of scanning.Each terminal can traverse removing in the network segment according to the sequence of the first IP address in specific time
Go other IP address of the IP address of the terminal.Wherein, specific time can be at the time point for being connected to the local area network,
Perhaps the time point of fixed time period the first IP address sequence can be ascending or descending IP sequence
Sequentially, it is not limited thereto.It is illustrated by taking the network segment where a C IP like as an example below, such as network segment 192.168.1.X, son
Net mask is 255.255.255.0.Each terminal in the 192.168.1.X network segment can be connected to the local area network
Time point begins stepping through from 192.168.1.1, (removes the IP address of the terminal, such as to 192.168.1.254 cut-off
192.168.222)。
The terminal is also used to after being connected to first terminal, stops the traversing operation and with sending the IP of the terminal
Location is to the first terminal, to be stored in the first terminal.
In the present embodiment, when the terminal is connected to first terminal (for example, the IP address of the first terminal is
192.168.1.3), stop the traversing operation and send the IP address (for example, 192.168.1.8) of the terminal to described the
One terminal, to be stored in the first terminal.In this way, the first terminal can store other terminals in this network segment
All IP address, along with the IP address of the machine, so as to obtain the IP address of all terminals in this network segment.Optionally,
Each terminal can traverse other IP address of the IP address of the removing terminal in the network segment according to heartbeat mechanism, thus
The machine IP is sent to the first terminal, accordingly, the first terminal can be connected according to heartbeat next time, described to update
The IP address stored in first terminal.
The scanning device is used for according to the IP in each network segment in first IP address sequence traversal demand network segment
Address;After the scanning device is also used to be connected to the first terminal, stops the traversing operation and obtain described first eventually
The IP address at end and the IP address being stored in the first terminal.
In the present embodiment, scanning device can be hardware or software.Scanning device is arranged according to first IP address
Sequence traverses the IP address in each network segment in demand network segment as from small to large, is thus connected to the first terminal, then from institute
State the IP address for all terminals that first terminal obtains in this network segment.
Optionally, the scanning device is also used to connect the IP address of the first terminal and is stored in described first eventually
IP address in end, to be verified.
In the present embodiment, the scanning device connects the IP of all terminals in the network segment got by ping order
Address, it is whether correct come the IP address that verifies acquisition.When incorrect, prompt information is can be generated in the scanning device.
Also a kind of method that IP address of terminal is sent in local area network of the embodiment of the present invention is this hair referring to shown in Fig. 3
The flow diagram for the method that IP address of terminal is sent in local area network that a bright embodiment provides.This method can be using eventually
End, as the device for executing the method for transmission IP address of terminal in local area network, the method for realizing the present embodiment.The method packet
It includes:
Step B1, each terminal in each network segment traverse described in the removing in the network segment according to the sequence of the first IP address
Other IP address of the IP address of terminal.
In the present embodiment, terminal refers to the device being connected in local area network, can be fixed type terminal such as computer,
Smart television is also possible to the terminal such as mobile phone, wearable device of removable type.User can specify needed in local area network by
At least one network segment of scanning.Each terminal can traverse removing in the network segment according to the sequence of the first IP address in specific time
Go other IP address of the IP address of the terminal.Wherein, specific time can be at the time point for being connected to the local area network,
Perhaps the time point of fixed time period the first IP address sequence can be ascending or descending IP sequence
Sequentially, it is not limited thereto.It is illustrated by taking the network segment where a C IP like as an example below, such as network segment 192.168.1.X, son
Net mask is 255.255.255.0.Each terminal in the 192.168.1.X network segment can be connected to the local area network
Time point begins stepping through from 192.168.1.1, (removes the IP address of the terminal, such as to 192.168.1.254 cut-off
192.168.222)。
Step B2 after the terminal is connected to first terminal, stops the traversing operation and with sending the IP of the terminal
Location is to the first terminal, to be stored in the first terminal.
In the present embodiment, when the terminal is connected to first terminal (for example, the IP address of the first terminal is
192.168.1.3), stop the traversing operation and send the IP address (for example, 192.168.1.8) of the terminal to described the
One terminal, to be stored in the first terminal.In this way, the first terminal can store other terminals in this network segment
All IP address, along with the IP address of the machine, so as to obtain the IP address of all terminals in this network segment.Optionally,
Each terminal can traverse other IP address of the IP address of the removing terminal in the network segment according to heartbeat mechanism, thus
The machine IP is sent to the first terminal, accordingly, the first terminal can be connected according to heartbeat next time, described to update
The IP address stored in first terminal.
Optionally, before the step B1, the method also includes: step B0, comprising:
Each terminal in each network segment obtains network address according to the IP address of the terminal;
The terminal intercepts common portion of the front section as other IP address of the network address;
The terminal is successively read a numerical value as variable part in the numberical range of setting, mends in the IP address
Common portion after, to form other described IP address.
In the present embodiment, each terminal in each network segment is according to oneself IP address, such as 192.168.1.222,
And subnet mask is 255.255.255.0, obtains network address 192.168.1.X, intercept network address 192.168.1.X's
Common portion of the front section 192.168.1 as other IP address, then in the numberical range of setting between [1,254] according to
One numerical value of secondary selection fills into after the common portion of the IP address as variable part, thus with forming other IP
Location [192.168.1.1-192.168.1.254].
The embodiment of the present invention also provides a kind of terminal, is the terminal that the embodiment of the present invention provides referring to shown in Fig. 4
Schematic diagram of internal structure.
In the present embodiment, the terminal 1 includes at least memory 11, processor 12, and communication bus 13 and network connect
Mouth 14.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11
It can be the internal storage unit of terminal 1, such as the hard disk of the terminal 1 in some embodiments.Memory 11 is at other
It is also possible to the plug-in type hard disk being equipped on the External memory equipment of terminal 1, such as terminal 1, intelligent memory card in embodiment
(Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Into
One step, memory 11 can also both internal storage units including terminal 1 or including External memory equipment.Memory 11 is not only
It can be used for storing the application software and Various types of data for being installed on terminal 1, such as send the journey of IP address of terminal in local area network
The code etc. of sequence 110 can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11
Code or processing data, such as execute the program 110 etc. that IP address of terminal is sent in local area network.
Communication bus 13 is for realizing the connection communication between these components.
Network interface 14 optionally may include standard wireline interface and wireless interface (such as WI-FI interface), be commonly used in
Communication connection is established between described device 1 and other electronic equipments.
Optionally, the terminal 1 can also include user interface, and user interface may include display (Display), defeated
Enter unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.It is optional
Ground, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED
(Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Wherein, display can also be appropriate
Referred to as display screen or display unit, for being shown in the information handled in terminal 1 and for showing visual user interface.
Fig. 4 illustrates only the terminal 1 that the program 110 of IP address of terminal is sent with component 11-14 and in local area network,
It will be appreciated by persons skilled in the art that the restriction of structure shown in Fig. 4 not structure paired terminal 1, may include than diagram
Less perhaps more components perhaps combine certain components or different component layouts.
In terminal shown in Fig. 4, the program 110 that IP address of terminal is sent in local area network is stored in memory 11;
Processor 12 realizes following steps when executing the program 110 for sending IP address of terminal in local area network stored in memory 11:
Step B1, the terminal traverse the IP address of the removing terminal in the network segment according to the sequence of the first IP address
Other IP address.
Step B2 after the terminal is connected to first terminal, stops the traversing operation and with sending the IP of the terminal
Location is to the first terminal, to be stored in the first terminal.As detailed above, it repeats no more.
Optionally, in other embodiments, the program for IP address of terminal being sent in local area network can also be divided into one
A or multiple modules, one or more module are stored in memory 11, and by one or more processors (this implementation
Example is processor 12) it is performed to complete the present invention, the so-called module of the present invention is to refer to complete a series of of specific function
Computer program instructions section sends the implementation procedure of the program of IP address of terminal in the terminal for describing in local area network.
It is the journey of transmission IP address of terminal in local area network in one embodiment of terminal of the present invention for example, referring to shown in Fig. 5
The program module schematic diagram of sequence, in the embodiment, the program 110 that IP address of terminal is sent in local area network can be divided into
Spider module 10, sending module 20, illustratively:
Receiving module 10, for traversing the IP address of the removing terminal in the network segment according to the sequence of the first IP address
Other IP address;
Sending module 20 after being connected to first terminal for the terminal, stops the traversing operation and sends the end
The IP address at end is to the first terminal, to be stored in the first terminal.As detailed above, it repeats no more.
The program modules such as above-mentioned spider module 10, sending module 20 be performed realized functions or operations step with it is upper
It states embodiment to be substantially the same, details are not described herein.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored in local area network send IP address of terminal program, it is described in local area network send IP address of terminal program can quilt
One or more processors execute, to realize following operation:
Step B1, the terminal traverse the IP address of the removing terminal in the network segment according to the sequence of the first IP address
Other IP address.
Step B2 after the terminal is connected to first terminal, stops the traversing operation and with sending the IP of the terminal
Location is to the first terminal, to be stored in the first terminal.As detailed above, it repeats no more.
Computer readable storage medium specific embodiment of the present invention and above-mentioned terminal and each embodiment of method are essentially identical,
Do not make tired state herein.
The embodiment of the present invention propose in local area network the method and system of search terminal, terminal is sent in local area network
Method, terminal and the computer readable storage medium of IP address, the IP address in local area network is stored in first terminal, described
After scanning device is connected to the first terminal, by obtaining the IP address of the first terminal and being stored in described first eventually
IP address in end, can terminal in quick obtaining local area network all IP address.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And
The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet
Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed
Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more
In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the object of the element
There is also other identical elements in product or method.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, and the computer software product is stored in as described above one
In a storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be hand
Machine, computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of method of the search terminal in local area network, which is characterized in that the described method includes:
Step B1, each terminal in each network segment traverse the removing terminal in the network segment according to the sequence of the first IP address
IP address other IP address;
Step B2 after the terminal is connected to first terminal, stops the traversing operation and sends the IP address of the terminal extremely
The first terminal, to be stored in the first terminal;
Step B3, scanning device is according to the IP address in each network segment in first IP address sequence traversal demand network segment;
Step B4 after the scanning device is connected to the first terminal, stops the traversing operation and obtains described first eventually
The IP address at end and the IP address being stored in the first terminal.
2. the method for the search terminal according to claim 1 in local area network, which is characterized in that further include: step B6, institute
The IP address that scanning device connects the IP address of the first terminal and is stored in the first terminal is stated, to carry out school
It tests.
3. the method for the search terminal according to claim 1 in local area network, which is characterized in that the step B1 it
Before, further includes: step B0, comprising:
Each terminal in each network segment obtains network address according to the IP address of the terminal;
The terminal intercepts common portion of the front section as other IP address of the network address;
The terminal is successively read a numerical value as variable part in the numberical range of setting, mends the public affairs in the IP address
Altogether behind part, to form other described IP address.
4. a kind of search system of the search terminal in local area network, which is characterized in that including be connected to local area network terminal and
Scanning device, wherein
Each terminal in each network segment is used to traverse the removing terminal in the network segment according to the sequence of the first IP address
Other IP address of IP address;The terminal is also used to after being connected to first terminal, is stopped the traversing operation and is sent institute
The IP address of terminal is stated to the first terminal, to be stored in the first terminal;
The scanning device is used for according to the IP address in each network segment in first IP address sequence traversal demand network segment;
After the scanning device is also used to be connected to the first terminal, stops the traversing operation and obtain the IP of the first terminal
Address and the IP address being stored in the first terminal.
5. search system according to claim 4, which is characterized in that the scanning device is also used to connect described first eventually
The IP address at end and the IP address being stored in the first terminal, to be verified.
6. a kind of method for sending IP address of terminal in local area network, which is characterized in that the described method includes:
Step B1, each terminal in each network segment traverse the removing terminal in the network segment according to the sequence of the first IP address
IP address other IP address;
Step B2 after the terminal is connected to first terminal, stops the traversing operation and sends the IP address of the terminal extremely
The first terminal, to be stored in the first terminal.
7. the method according to claim 6 for sending IP address of terminal in local area network, which is characterized in that in the step
Before B1, further includes: step B0, comprising:
Each terminal in each network segment obtains network address according to the IP address of the terminal;
The terminal intercepts common portion of the front section as other IP address of the network address;
The terminal is successively read a numerical value as variable part in the numberical range of setting, mends the public affairs in the IP address
Altogether behind part, to form other described IP address.
8. a kind of terminal, which is characterized in that the terminal includes memory and processor, and being stored on the memory can be in institute
The program that IP address of terminal is sent in local area network run on processor is stated, described program is realized when being executed by the processor
Following method:
Step B1, other IP of the IP address for the removing terminal that the terminal is sorted according to the first IP address in traversal network segment
Address;
Step B2 after the terminal is connected to first terminal, stops the traversing operation and sends the IP address of the terminal extremely
The first terminal, to be stored in the first terminal.
9. terminal according to claim 8, which is characterized in that before the step B1, the method is also further include: step
Rapid B0, comprising:
Each terminal in each network segment obtains network address according to the IP address of the terminal;
The terminal intercepts common portion of the front section as other IP address of the network address;
The terminal is successively read a numerical value as variable part in the numberical range of setting, mends the public affairs in the IP address
Altogether behind part, to form other described IP address.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium in local
The program of IP address of terminal is sent in net, described program can be executed by one or more processor, to realize such as claim 6
Or the step of method described in 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910421754.7A CN110213355A (en) | 2019-05-21 | 2019-05-21 | The method and its application of search terminal in local area network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910421754.7A CN110213355A (en) | 2019-05-21 | 2019-05-21 | The method and its application of search terminal in local area network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110213355A true CN110213355A (en) | 2019-09-06 |
Family
ID=67787959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910421754.7A Pending CN110213355A (en) | 2019-05-21 | 2019-05-21 | The method and its application of search terminal in local area network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110213355A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111666109A (en) * | 2020-06-08 | 2020-09-15 | 湖南快乐阳光互动娱乐传媒有限公司 | Method and system for optimizing automatic scanning speed of local area network CIFS (common information platform) sharing equipment |
CN113765967A (en) * | 2020-09-11 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Device searching method, device and storage medium |
-
2019
- 2019-05-21 CN CN201910421754.7A patent/CN110213355A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111666109A (en) * | 2020-06-08 | 2020-09-15 | 湖南快乐阳光互动娱乐传媒有限公司 | Method and system for optimizing automatic scanning speed of local area network CIFS (common information platform) sharing equipment |
CN113765967A (en) * | 2020-09-11 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Device searching method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109358851A (en) | Creation method, device and the computer readable storage medium of chart components | |
CN104572114B (en) | A kind of binding device, using updating device and method | |
CN105607799B (en) | Data processing method and device | |
CN108255602B (en) | Task combination method and terminal equipment | |
CN107870976A (en) | Resume identification device, method and computer-readable recording medium | |
CN105302815B (en) | The filter method and device of the uniform resource position mark URL of webpage | |
CN110213355A (en) | The method and its application of search terminal in local area network | |
CN103778128B (en) | The method for drafting and device of a kind of list information | |
CN109816481A (en) | Bill processing method, device and computer readable storage medium | |
CN109254808A (en) | Interface call method, device and computer readable storage medium | |
CN110941779A (en) | Page loading method and device, storage medium and electronic equipment | |
CN104021008A (en) | Information processing method and electronic devices | |
CN109697090A (en) | A kind of method, terminal device and the storage medium of controlling terminal equipment | |
CN109408669A (en) | A kind of content auditing method and device for different application scene | |
CN105574174B (en) | Searching method and device based on Search Hints | |
CN106843829A (en) | The display methods of desktop control, device and electronic equipment | |
CN110007842A (en) | Web page contents choosing method and device | |
CN106648284A (en) | Method, device and terminal for icon sequencing | |
CN110020060A (en) | Web data crawling method, device and storage medium | |
CN107315784A (en) | A kind of data access method and browser | |
CN105955747B (en) | A kind of operation method of security software, relevant apparatus and electronic equipment | |
CN110087120B (en) | Same-window switching method of online list and local list and computing equipment | |
CN111538672A (en) | Test case layered test method, computer device and computer-readable storage medium | |
CN105204883B (en) | A kind of plug-in unit loading processing method and device | |
CN105005678B (en) | The method and apparatus of Resource Exchange platform acquisition Role Information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190906 |
|
WD01 | Invention patent application deemed withdrawn after publication |