CN108769288A - Determine the method, apparatus and electronic equipment of wireless device address in a network - Google Patents
Determine the method, apparatus and electronic equipment of wireless device address in a network Download PDFInfo
- Publication number
- CN108769288A CN108769288A CN201810551663.0A CN201810551663A CN108769288A CN 108769288 A CN108769288 A CN 108769288A CN 201810551663 A CN201810551663 A CN 201810551663A CN 108769288 A CN108769288 A CN 108769288A
- Authority
- CN
- China
- Prior art keywords
- host address
- wireless device
- address
- wireless
- host
- 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/50—Address allocation
-
- 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/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- 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/50—Address allocation
- H04L61/5053—Lease time; Renewal aspects
-
- 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/50—Address allocation
- H04L61/5092—Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present application provides the method, apparatus and electronic equipment of a kind of determining wireless device address in a network, which includes:First generation unit generates the host address of the wireless device for wireless device;Transmitting-receiving control unit is controlled to send the host address generated, and receives the host address of other wireless devices in network;And the host address of the wireless device of generation is labeled as acknowledgement state by marking unit in the case of the host address of the wireless device of generation and all different host address of other wireless devices.According to the present embodiment, the speed that wireless device is distributed into row address can be risen to, also, without disposing DHCP.
Description
Technical field
This application involves field of communication technology more particularly to a kind of determining wireless device in a network the method for address, dress
It sets and electronic equipment.
Background technology
With the development of the communication technology, the wireless device for being linked into network is more and more.
For the ease of the wireless device for being linked into network is managed and is controlled, need to distribute phase to these wireless devices
The address answered.
In the prior art, the address Internet protocol (IP, Internet Protocol) distribution of wireless device usually makes
It is allocated with dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP).For example,
Dhcp client is run on wireless device, and to the core equipment of wireless network as run on access point (Access Point)
Dynamic Host Configuration Protocol server request distribution IP address, core equipment distribute to corresponding wireless device according to request, by IP address.
It should be noted that above to the introduction of technical background be intended merely to it is convenient to the technical solution of the application carry out it is clear,
Complete explanation, and facilitate the understanding of those skilled in the art and illustrate.Cannot merely because these schemes the application's
Background technology part is expounded and thinks that above-mentioned technical proposal is known to those skilled in the art.
Invention content
The inventors of the present application found that in some cases, such as 2.4G Wireless network congestions etc., point of address in network
It is slow with speed, cause the networking time of wireless device long, user cannot quickly experience;In addition, for each nothing
Between the node of line equipment for the wireless topologies of equality, such as wireless mesh network (MESH) etc., in wireless device and core
Dhcp client is disposed in heart equipment respectively and DHPC servers are increasingly complex.
The embodiment of the present application provides the method, apparatus and electronic equipment of a kind of determining wireless device address in a network, nothing
Line equipment determines the wireless device host address of itself by the host address of other wireless devices in the network that receives,
The speed distributed into row address thereby, it is possible to rise to wireless device, also, without disposing DHCP.
According to the embodiment of the present application in a first aspect, providing a kind of device of determining wireless device address in a network, packet
It includes:
First generation unit generates the host address of the wireless device for wireless device;Transmitting-receiving control unit carries out
Control receives the host address of other wireless devices in network to send the host address of generation;And marking unit,
It, will in the case of the host address of the wireless device of generation and all different host address of other wireless devices
The host address of the wireless device generated is labeled as acknowledgement state.
According to the second aspect of the present embodiment, the method that a kind of determining wireless device address in a network is provided, including:It is raw
At the host address of wireless device;The host address generated is sent, and with receiving in network the host of other wireless devices
Location;And in the case that the host address of the generation and the host address of other wireless devices are all different, by generation
The host address of the wireless device is labeled as acknowledgement state.
According to the third aspect of the present embodiment, a kind of electronic equipment is provided comprising the determination of the first aspect of embodiment
The device of wireless device address in a network.
The advantageous effect of the application is:The wireless device is by the hosts of other wireless devices in the network that receives
Location determines the wireless device host address of itself, and the participation for being not necessarily to core equipment in network as a result, just can determine that this is wireless
The host address of equipment itself will to rise to the speed that wireless device is distributed into row address, also, without disposing DHCP
Low complexity.
With reference to following description and accompanying drawings, only certain exemplary embodiments of this invention is disclosed in detail, specifies the original of the present invention
Reason can be in a manner of adopted.It should be understood that embodiments of the present invention are not so limited in range.In appended power
In the range of the spirit and terms that profit requires, embodiments of the present invention include many changes, modifications and are equal.
The feature for describing and/or showing for a kind of embodiment can be in a manner of same or similar one or more
It is used in a other embodiment, it is combined with the feature in other embodiment, or substitute the feature in other embodiment.
It should be emphasized that term "comprises/comprising" refers to the presence of feature, one integral piece, step or component when being used herein, but simultaneously
It is not excluded for the presence or additional of one or more other features, one integral piece, step or component.
Description of the drawings
Included attached drawing is used for providing being further understood from the embodiment of the present invention, and which constitute one of specification
Point, for illustrating embodiments of the present invention, and come together with verbal description to illustrate the principle of the present invention.Under it should be evident that
Attached drawing in the description of face is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying wound
Under the premise of the property made is laborious, other drawings may also be obtained based on these drawings.In the accompanying drawings:
Fig. 1 is a schematic diagram of the determination wireless device method of address in a network of the embodiment of the present application 1;
Fig. 2 is a schematic diagram of the determination wireless device device of address in a network of the embodiment of the present application 2;
Fig. 3 is a schematic diagram of the electronic equipment of the embodiment of the present application 3.
Specific implementation mode
With reference to attached drawing, by following specification, aforementioned and other feature of the invention will be apparent.In specification
In attached drawing, only certain exemplary embodiments of this invention is specifically disclosed, which show the portions for the principle that the present invention wherein may be used
Divide embodiment, it will thus be appreciated that the present invention is not limited to described embodiments, on the contrary, the present invention includes falling into appended power
Whole modifications, modification and equivalent in the range of profit requirement.
Embodiment 1
The method that the embodiment of the present application 1 provides a kind of determining wireless device address in a network, for determining wireless device
Address in a network.
Fig. 1 is a schematic diagram of the determination wireless device method of address in a network of the present embodiment, as shown in Figure 1,
This method may include:
Step 101, the host address for generating wireless device;
Step 102 sends the host address generated, and receives the host address of other wireless devices in network;
The host address of step 103, the host address of the wireless device generated and other wireless devices is not
With in the case of, the host address of the wireless device of generation is labeled as acknowledgement state.
In the present embodiment, the wireless device can according to the host address of other wireless devices in the network received,
Determine the wireless device host address of itself, the speed distributed into row address thereby, it is possible to rise to the wireless device, and
And without disposing DHCP.
In the step 101 of the present embodiment, the master of the wireless device can be generated according to the identification information of the wireless device
Machine address, wherein the identification information of the wireless device for example can be the unique sequence number (Serial of the wireless device itself
Number, SN).In addition, the present embodiment can be without being limited thereto, identification information can also be that the wireless device can be identified
Other information.
In the step 101 of the present embodiment, the identification information of the check code function pair wireless device can be used to be transported
It calculates, to generate the host address of the wireless device.The check code function for example can be 8 cyclic redundancy check code
(Cyclic Redundancy Check, CRC) function, i.e. CRC8 functions, the CRC8 functions can generate 8 signless integers,
8 signless integers can be as the host address of the wireless device generated.In the present embodiment, the IP of wireless device
Location can be C classes address, that is, host address is 8, therefore, in a step 101 using 8 of CRC8 functions generation without symbol
Integer is as the host address;In the case where the IP address of wireless device is A classes address or the class addresses B, host address 24
Position or 16, therefore, may be used in a step 101 CRC24 or CRC16 functions generation 24 signless integers or 16 nothings
Symbol integer is as the host address.
In the step 101 of the present embodiment, it is also only an example to carry out operation using check code function, and the present embodiment can
With without being limited thereto, other functions can also be used to carry out operation, generate a signless integer as the host address.
In the present embodiment, step 101 can be carried out after the wireless device electrifying startup.In addition it is also possible to other
Opportunity carry out step 101, for example, in the case that user sends specific instruction to wireless device, carry out step 101 etc..
In the step 102 of the present embodiment, which can send the host address of generation, and receive in network
The host address that other wireless devices are sent.
Wherein, which can send the host address of the generation with certain period, also, in the host address
When being marked as acknowledgement state, both the host address and labeled state can be at least sent.In addition, in the master of generation
In the case that machine address is updated, the updated host address is sent.For example, in the 1st sending cycle, the life of the wireless device
At host address be not updated, be not also identified, then sending the host address of the generation;It, should in the 2nd sending cycle
The host address of the generation of wireless device is updated, but without being identified, then sending the updated host address;?
3 sending cycles, the updated host address are identified (that is, being marked as acknowledgement state), then sending the updated master
Machine address and the acknowledgement state.In addition, when the host address that other wireless devices have sent other wireless devices is labeled
When state, which can also receive the labeled state of the host address of other wireless devices.
In the present embodiment, the wireless device may be used broadcast mode send generation the wireless device host
The labeled state of location and/or the host address.
In the present embodiment, the wireless device be with can also receiving the host that other wireless devices are sent with certain period
Location and labeled state, also, store host address and labeled state that other wireless devices of newest reception are sent.
In the step 102 of the present embodiment, the master of the wireless device generated can be sent by low-power consumption bluetooth (BLE)
The labeled state of machine address and/or the host address, and with receiving by the low-power consumption bluetooth host of other wireless devices
The labeled state of the host address of location and/or other wireless devices.
In the present embodiment, other wireless devices can also use mode described in above-mentioned steps 102 with carrying out host
Location and/or labeled state send and receive.
In step 103, when the host address and the host address of other wireless devices of the generation of the wireless device are all different
In the case of, the host address of the generation of the wireless device can be labeled as acknowledgement state, be marked as acknowledgement state
The host address is the determined host address of the wireless device.Wherein, the host address of other wireless devices for example may be used
Be the newest reception described in a step 102 other wireless devices host address.
By step 103, the host address of the wireless device can be quickly determined, also, DHCP need not be disposed,
The determination of host address can be completed without the participation of network core device.
In the present embodiment, as shown in Figure 1, the method for determination wireless device address in a network can also include:
Step 104, the wireless device generation host address and other wireless devices at least one wireless device
In the case of host address is identical, the host address of the generation of the wireless device is updated.
In the step 104 of the present embodiment, which can carry out at least once more the host address of the generation
Newly, upon each update, updated host address is compared with the host address of other wireless devices, if after update
Host address it is identical as the host address of at least one wireless device in other wireless devices, then updated again, until
Updated host address and the host address of other wireless devices are all different.
In the present embodiment, the situation all different from the host address of other wireless devices of host address in the updated
Under, step 103 is returned to, updated host address is labeled as acknowledgement state.
It, can be according in step when updating the host address of the wireless device every time in the step 104 of the present embodiment
The host address of other wireless devices received in 102 generates updated host address.
In one embodiment, which can use other wireless devices that check code function pair receives
Host address carries out operation, generates the updated host address.
For example, the host address of the other wireless devices received in a step 102 be stored as (SNbyte1,
SNbyte2, SNbyte3 ...), wherein SNbyte1, SNbyte2, SNbyte3 be illustrated respectively in it is other it is wireless in, the 1st
The host address of a wireless device, the host address of the 2nd wireless device, the host address of the 3rd wireless device.Wherein, the 1st
A wireless device, the 2nd wireless device, the 3rd wireless device can be according to by the sequence of current wireless device reception
The sequence of progress can also be other sortords.At step 104, needing progress repeatedly newer, currently
The wireless device check code function, such as CRC8 can be used to be carried out successively to SNbyte1, SNbyte2, SNbyte3 ...
Operation, such as:The current wireless device first uses CRC8 to carry out operation to SNbyte1, obtains 8 integers as updated
Host address, if the host address phase of the updated host address and at least one wireless device in other wireless devices
Together, then it is updated again, that is, operation is carried out to SNbyte2 using CRC8;The operation can be directed to each wireless device of storage
Host address carry out successively, until updated host address and the host address of other wireless devices are all different.
In another embodiment, which can use check code function pair random number to carry out operation, generate
The updated host address.
For example, at step 104, the current wireless device can use check code function, such as CRC8, to random number
Operation is carried out, such as:The current wireless device first uses the random number of CRC8 pairs of first generation to carry out operation, obtains 8
Integer is as updated host address, if the updated host address is wirelessly set at least one in other wireless devices
Standby host address is identical, then is updated again, that is, carries out operation to the random number of next generation using CRC8;Every time
Update can be directed to a newly generated random number and carry out, until the host of updated host address and other wireless devices
Location is all different, stops update host address.
In addition, in the present embodiment, the prior art may be used in the producing method of random number, and this embodiment is not repeated.
In the present embodiment, can according to use the other wireless devices of check code function pair host address carry out operation and
Check code function pair random number carries out any one of operation both modes to carry out the update of host address, can also be by two
Person combines the update for carrying out host address, for example, in the host of other wireless devices using check code function pair whole
Address all carries out operation, the case where being still unable to get the host addresses all different from the host address of other wireless devices
Under, check code can be further used, operation is carried out to random number, to update host address.
In the present embodiment, in the case where the IP address of wireless device is A classes address or the class addresses B, in step 104
24 signless integers or 16 signless integers that CRC24 or CRC16 may be used to generate are as newer host address.
In addition, in the step 104 of the present embodiment, it can also be in the host address and other nothings of the generation of the wireless device
In the case of the host address for being marked as determining state of at least one wireless device is identical in line equipment, updates this and wirelessly set
The host address of the standby generation;Also, the wireless device can carry out and above-mentioned renewal process the host address of the generation
It is identical to update at least once, until the host for being marked as determining state of updated host address and other wireless devices
Address is all different.
In the present embodiment, by step 101,102,103 and 104, it can determine the host address of the wireless device.
In the present embodiment, as shown in Figure 1, this method can also include:
Step 105 according to Internet protocol (IP) network address of wireless device and is marked as the host of acknowledgement state
Address generates address Internet protocol (IP) of the wireless device.
In the step 105 of the present embodiment, can according to the host address for being marked as acknowledgement state and this wirelessly set
Standby Internet protocol (IP) network address, generates the IP address of the wireless device, the wireless device can obtain one as a result,
Complete IP address.For example, IP address ,=IP network address+is marked as the host address of acknowledgement state.
In the present embodiment, which can for example be determined by the main equipment being connect with the wireless device.It is main
The method that equipment determines the IP network address can refer to the prior art.
In the present embodiment, by step 105, it can determine the IP address of the wireless device.
In the present embodiment, other wireless devices can also use with above-mentioned steps 101, step 102, step 103, step
104 identical modes, to determine other wireless devices host address of itself.In addition, other wireless devices can also use
Mode identical with above-mentioned steps 105, to determine other wireless devices complete IP address of itself.
In the present embodiment, the wireless device and other wireless devices can be the equipment such as wireless sound box, wireless switching, this
Embodiment is without limitation.
According to the technical solution of the present embodiment, it can simplify and improve the host address point of more than two wireless device networkings
With speed, and then IP address dispensing rate is improved, and DHCP need not be disposed;In addition, the present embodiment passes through wireless device
Low-power consumption bluetooth BLE carries out sending and receiving for host address and/or labeled state, since low-power consumption bluetooth BLE generally can
Start prior to complicated WiFi module, therefore, before the WiFi module of the wireless device starts or in the process, so that it may with by low
Power consumption bluetooth carries out IP address distribution, reduces the time that user waits for IP address to distribute, improves user experience.
Embodiment 2
The embodiment of the present application 2 provides a kind of device of determining wireless device address in a network, the method pair with embodiment 1
It answers.
Fig. 2 is a schematic diagram of the determination wireless device device of address in a network of the present embodiment, as shown in Fig. 2,
The device 200 includes:First generation unit 201, transmitting-receiving control unit 202 and marking unit 203.
In the present embodiment, the first generation unit 201 is the host address that wireless device generates the wireless device;Transmitting-receiving control
Unit 202 processed is controlled to send the host address generated, and receives the host address of other wireless devices in network;
Marking unit 203 is all different in the host address and the host address of other wireless devices of the wireless device of generation
In the case of, the host address of the wireless device of generation is labeled as acknowledgement state.
In the present embodiment, the first generation unit 201 generates the wireless device according to the identification information of the wireless device
Host address, for example, the first generation unit 201 can use the identification information of the check code function pair wireless device to be transported
It calculates, generates the host address of the wireless device.
In the present embodiment, transmitting-receiving control unit 202 is also controlled, with the host of reception other wireless devices
The labeled state of location;Transmitting-receiving control unit 202 is also controlled, to send the labeled shape of the host address generated
State.
In the present embodiment, transmitting-receiving control unit 202 controls low-power consumption bluetooth (BLE) and sends the host address generated
And/or the labeled state of the host address, and receive the host address of other wireless devices communication range Nei and/or described
The labeled state of the host address of other wireless devices.
In the present embodiment, as shown in Fig. 2, the device 200 further includes:
Second generation unit 204, in the host address and other described wireless devices of the generation of the wireless device
In the case of the host address of at least one wireless device is identical, the host address of the more newly-generated wireless device, wherein
Second generation unit, 201 updated host address and the host address of other wireless devices are all different.
In the present embodiment, marking unit 202 can be by 204 updated host address of the second generation unit labeled as true
Recognize state.
In the present embodiment, the second generation unit 203 using check code function pair receive described in other wireless devices
Host address or random number carry out operation, generate the updated host address.
As shown in Fig. 2, the device 200 further includes:
Determination unit 205 according to Internet protocol (IP) network address of the wireless device and is marked as confirming
The host address of state generates address Internet protocol (IP) of the wireless device.
It, can be with the explanation for each step in reference implementation example 1 about the explanation of each unit in the present embodiment.
According to the technical solution of the present embodiment, it can simplify and improve the host address point of more than two wireless device networkings
With speed, and then IP address dispensing rate is improved, and DHCP need not be disposed;In addition, the present embodiment passes through wireless device
Low-power consumption bluetooth BLE carries out sending and receiving for host address and/or labeled state, reduces user and IP address is waited for distribute
Time, improve user experience.
Embodiment 3
The embodiment of the present application 3 provides a kind of electronic equipment, and the electronic equipment includes:Nothing is determined as described in Example 2
The device of line equipment address in a network.For example, the electronic equipment can be the wireless device in embodiment 1.
Fig. 3 is a composition schematic diagram of the electronic equipment of the embodiment of the present application 3, which for example can be to implement
Involved terminal in example 1.As shown in figure 3, electronic equipment 300 may include:Central processing unit (CPU) 301 and memory
302;Memory 302 is coupled to central processing unit 301.Wherein the memory 302 can store various data;Additionally storage is used for
It determines the program of wireless device address in a network, and executes the program under the control of central processing unit 301.
In one embodiment, in determining that function of the wireless device in a network in the device of address can be integrated into
In central processor 301.
Wherein, central processing unit 301 can be configured as:
Generate the host address of wireless device;The host address generated is sent, and receives other in network and wirelessly sets
Standby host address;And the situation that the host address of the generation is all different from the host address of other wireless devices
Under, the host address of the wireless device of generation is labeled as acknowledgement state.
In the present embodiment, central processing unit 301 can be additionally configured to:
The host address of the wireless device is generated according to the identification information of the wireless device.
In the present embodiment, central processing unit 301 can be additionally configured to:
Using the identification information progress operation of the check code function pair wireless device, with generating the host of the wireless device
Location.
In the present embodiment, central processing unit 301 can be additionally configured to:
The wireless device also receives the labeled state of the host address of other wireless devices, the wireless device
Also send the labeled state of the host address of generation.
In the present embodiment, central processing unit 301 can be additionally configured to:
The master of the host address of the generation of the wireless device and at least one wireless device in other described wireless devices
In the case of machine address is identical, the host address of the generation of the wireless device is updated, wherein the wireless device is more
Host address and the host address of other wireless devices after new is all different.
In the present embodiment, central processing unit 301 can be additionally configured to:
The updated host address is labeled as acknowledgement state.
In the present embodiment, central processing unit 301 can be additionally configured to:
The wireless device using check code function pair receive described in the host address of other wireless devices or random
Number carries out operation, generates the updated host address.
In the present embodiment, central processing unit 301 can be additionally configured to:
According to Internet protocol (IP) network address of the wireless device and the host address for being marked as acknowledgement state,
Generate address Internet protocol (IP) of the wireless device.
In the present embodiment, central processing unit 301 can be additionally configured to:
It is controlled, to send the host address generated and/or the host address by low-power consumption bluetooth (BLE)
Labeled state, and receive the quilt of the host address of other wireless devices and/or the host address of other wireless devices
Flag state.
In addition, as shown in figure 3, electronic equipment 300 can also include:3 yuan 303 of input and output and display unit 304 etc.;Its
In, similarly to the prior art, details are not described herein again for the function of above-mentioned component.It is worth noting that, electronics 3 is not for 300 yet
It has to include all components shown in Fig. 3;In addition, electronic equipment 300 can also include the component being not shown in Fig. 3,
The prior art can be referred to.
The embodiment of the present application also provides a kind of computer-readable program, wherein when determining wireless device address in a network
Device or electronic equipment in when executing described program, described program makes the dress of determining wireless device address in a network
It sets or electronic equipment executes method described in embodiment 1.
The embodiment of the present application also provides a kind of storage medium being stored with computer-readable program, wherein the storage is situated between
Matter stores above computer readable program, and the computer-readable program makes the device for determining wireless device address in a network
Or electronic equipment executes method described in embodiment 1.
The software module that can be embodied directly in hardware in conjunction with the positioning device that the embodiment of the present invention describes, be executed by processor
Or the two combination.For example, one or more groups of one or more of functional block diagram shown in Fig. 2 and/or functional block diagram
It closes, both can correspond to each software module of computer program flow, each hardware module can also be corresponded to.These softwares
Module can correspond respectively to each step shown in embodiment 1.These hardware modules are for example using field-programmable gate array
These software modules are cured and are realized by row (FPGA).
Software module can be located at RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, post
The storage medium of storage, hard disk, mobile disk, CD-ROM or any other form known in the art.One kind can be deposited
Storage media is coupled to processor, to enable a processor to from the read information, and can be written to the storage medium
Information;Or the storage medium can be the component part of processor.Pocessor and storage media can be located in ASIC.This is soft
Part module can store in a memory in the mobile terminal, can also be stored in the storage card of pluggable mobile terminal.For example,
If electronic equipment can be stored using the MEGA-SIM cards of larger capacity or the flash memory device of large capacity, the software module
In the flash memory device of the MEGA-SIM cards or large capacity.
One or more combinations of one or more of functional block diagram and/or functional block diagram for Fig. 2 descriptions, can be with
It is embodied as general processor, digital signal processor (DSP), the application-specific integrated circuit for executing function described herein
(ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete
Hardware component or it is arbitrary appropriately combined.One or more of functional block diagram for Fig. 1 descriptions and/or functional block diagram
One or more combinations, the combination of computing device is also implemented as, for example, the combining of DSP and microprocessor, multiple micro- places
Reason device communicates the one or more microprocessors combined or any other this configuration with DSP.
The application is described above in association with specific embodiment, it will be appreciated by those skilled in the art that this
A little descriptions are all exemplary, and are not the limitation to the application protection domain.Those skilled in the art can be according to the application
Principle various variants and modifications are made to the application, these variants and modifications are also within the scope of application.
Claims (18)
1. a kind of device of determining wireless device address in a network, including:
First generation unit generates the host address of the wireless device for wireless device;
Transmitting-receiving control unit is controlled to send the host address generated, and receives other wireless devices in network
Host address;And
Marking unit, the wireless device of generation host address and other wireless devices host address not
With in the case of, the host address of the wireless device of generation is labeled as acknowledgement state.
2. device as described in claim 1, wherein
First generation unit generates the host address of the wireless device according to the identification information of the wireless device.
3. device as claimed in claim 2, wherein
First generation unit carries out operation using the identification information of the check code function pair wireless device, generates described wireless
The host address of equipment.
4. device as described in claim 1, wherein described device further includes:
Second generation unit, the wireless device generation host address with it is at least one in other described wireless devices
In the case of the host address of wireless device is identical, the host address of the more newly-generated wireless device,
Wherein, the updated host address of the second generation unit and the host address of other wireless devices are all different.
5. device as claimed in claim 4, wherein
The updated host address is labeled as acknowledgement state by the marking unit.
6. device as claimed in claim 4, wherein
Second generation unit using check code function pair receive described in the host address of other wireless devices or random
Number carries out operation, generates the updated host address.
7. device as described in claim 1, wherein described device further includes:
Determination unit, according to Internet protocol (IP) network address of the wireless device and the master for being marked as acknowledgement state
Machine address generates address Internet protocol (IP) of the wireless device.
8. device as described in claim 1, wherein
The transmitting-receiving control unit control low-power consumption bluetooth (BLE) sends the host address generated, and receives communication range
The host address of other interior wireless devices.
9. a kind of electronic equipment, including the determination wireless device address in a network as described in any one of claim 1-8
Device.
10. a kind of method of determining wireless device address in a network, including:
Generate the host address of wireless device;
The host address generated is sent, and receives the host address of other wireless devices in network;And
In the case that the host address of the generation and the host address of other wireless devices are all different, described in generation
The host address of wireless device is labeled as acknowledgement state.
11. method as claimed in claim 10, wherein the host address for generating wireless device includes:
The host address of the wireless device is generated according to the identification information of the wireless device.
12. method as claimed in claim 11, wherein
Using the identification information progress operation of the check code function pair wireless device, the host address of the wireless device is generated.
13. method as claimed in claim 10, wherein the method further includes:
The host address of the generation of the wireless device is with the host of at least one wireless device in other described wireless devices
In the case of location is identical, the host address of the generation of the wireless device is updated,
Wherein, the updated host address of the wireless device and the host address of other wireless devices are all different.
14. method as claimed in claim 13, wherein
The updated host address is labeled as acknowledgement state.
15. method as claimed in claim 13, wherein
The wireless device using check code function pair receive described in other wireless devices host address or random number into
Row operation generates the updated host address.
16. method as claimed in claim 10, wherein the method further includes:
According to Internet protocol (IP) network address of the wireless device and the host address for being marked as acknowledgement state, generate
Address Internet protocol (IP) of the wireless device.
17. method as claimed in claim 10, wherein
The host address generated is sent by low-power consumption bluetooth (BLE), and receives the host address of other wireless devices.
18. a kind of computer readable storage medium, is stored thereon with computer program, which is being executed by processor
Determination wireless device described in any one of Shi Shixian claims 10-17 in a network the method for address the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810551663.0A CN108769288A (en) | 2018-05-31 | 2018-05-31 | Determine the method, apparatus and electronic equipment of wireless device address in a network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810551663.0A CN108769288A (en) | 2018-05-31 | 2018-05-31 | Determine the method, apparatus and electronic equipment of wireless device address in a network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108769288A true CN108769288A (en) | 2018-11-06 |
Family
ID=64001309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810551663.0A Pending CN108769288A (en) | 2018-05-31 | 2018-05-31 | Determine the method, apparatus and electronic equipment of wireless device address in a network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769288A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101500023A (en) * | 2008-02-03 | 2009-08-05 | 北京艾德斯科技有限公司 | Automatic configuration method for network appliance IP address |
CN102572010A (en) * | 2010-12-29 | 2012-07-11 | 诺基亚公司 | Network established through short distance |
CN103442450A (en) * | 2013-08-21 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | Wireless communication method and wireless communication equipment |
US20160127309A1 (en) * | 2014-11-04 | 2016-05-05 | Electronics And Telecommunications Research Institute | Method for preventing collisions between addresses in device-to-device communications |
CN106304400A (en) * | 2015-05-21 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The IP address distribution method of wireless network and system |
CN106790734A (en) * | 2016-01-29 | 2017-05-31 | 新华三技术有限公司 | A kind of network address assignment method and device |
CN106817435A (en) * | 2015-12-02 | 2017-06-09 | 国网智能电网研究院 | A kind of communication scheme method based on auto-negotiation IP address |
-
2018
- 2018-05-31 CN CN201810551663.0A patent/CN108769288A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101500023A (en) * | 2008-02-03 | 2009-08-05 | 北京艾德斯科技有限公司 | Automatic configuration method for network appliance IP address |
CN102572010A (en) * | 2010-12-29 | 2012-07-11 | 诺基亚公司 | Network established through short distance |
CN103442450A (en) * | 2013-08-21 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | Wireless communication method and wireless communication equipment |
US20160127309A1 (en) * | 2014-11-04 | 2016-05-05 | Electronics And Telecommunications Research Institute | Method for preventing collisions between addresses in device-to-device communications |
CN106304400A (en) * | 2015-05-21 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The IP address distribution method of wireless network and system |
CN106817435A (en) * | 2015-12-02 | 2017-06-09 | 国网智能电网研究院 | A kind of communication scheme method based on auto-negotiation IP address |
CN106790734A (en) * | 2016-01-29 | 2017-05-31 | 新华三技术有限公司 | A kind of network address assignment method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194525B (en) | Network node configuration method and management node | |
CN109510744A (en) | Internet of Things device intelligence cut-in method and device | |
EP2955946A1 (en) | Electronic device and network connection method of electronic device | |
CN110719345B (en) | Virtual machine MAC address generation method, system, equipment and computer medium | |
CN102932792A (en) | Method and controller for realizing wireless network cloud | |
CN110245128A (en) | Method for building up and device, storage medium, the electronic device of meta-model | |
CN104113435A (en) | Method and device for generating identifier | |
CN105227736B (en) | A kind of update method of reserved phone number, apparatus and system | |
CN109413227A (en) | IPv4 user based on more IPv6 networks accesses IPv6 network interworking device and equipment | |
CN105635337A (en) | Method for binding iOS device, iOS device and auxiliary device | |
CN109445973A (en) | Position the method and device of application crash | |
CN103441931B (en) | A kind of file transmitting method and device | |
CN108769288A (en) | Determine the method, apparatus and electronic equipment of wireless device address in a network | |
CN110149325A (en) | A kind of Intelligent key sharing method, device and equipment | |
CN108989173A (en) | A kind of method and device of message transmissions | |
CN113609349A (en) | Rental vehicle inventory detection method, apparatus and medium | |
CN103916426B (en) | A kind of paxos examples update method, equipment and system | |
CN114528893A (en) | Machine learning model training method, electronic device and storage medium | |
CN114710781A (en) | Terminal identification method and device | |
CN108931248A (en) | Navigation data processing method, device, electronic equipment and readable storage medium storing program for executing | |
CN106412657B (en) | A kind of method and system of set-top box programming sequence code | |
CN113453207B (en) | Identity type determining method and device, storage medium and electronic device | |
CN113157610B (en) | Data storage method and device, storage medium and electronic device | |
CN104184711B (en) | Web Server method, apparatus and system is accessed based on MBIM | |
CN115397033B (en) | Wireless communication method, wireless communication device, wireless communication module, medium, and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |