CN111435950B - Address configuration method and device for terminal - Google Patents

Address configuration method and device for terminal Download PDF

Info

Publication number
CN111435950B
CN111435950B CN201910037024.7A CN201910037024A CN111435950B CN 111435950 B CN111435950 B CN 111435950B CN 201910037024 A CN201910037024 A CN 201910037024A CN 111435950 B CN111435950 B CN 111435950B
Authority
CN
China
Prior art keywords
address
gateway
terminal
pool
configuration request
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
CN201910037024.7A
Other languages
Chinese (zh)
Other versions
CN111435950A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910037024.7A priority Critical patent/CN111435950B/en
Priority to TW108142516A priority patent/TW202044025A/en
Priority to PCT/CN2020/070582 priority patent/WO2020147610A1/en
Publication of CN111435950A publication Critical patent/CN111435950A/en
Application granted granted Critical
Publication of CN111435950B publication Critical patent/CN111435950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Abstract

The embodiment of the application provides a method and a device for configuring an address of a terminal, which are applied to a server, wherein the method comprises the following steps: when a server receives an address configuration request, determining a gateway corresponding to the address configuration request; selecting a target address from an address pool corresponding to the gateway, and configuring the target address to a terminal corresponding to the address configuration request, so that the multicast address and the unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses in each address pool are the same. In the embodiment of the application, because the PingSlot frequency points of the addresses in the same address pool are the same, the frequency point of the multicast address is the same as the frequency point of the unicast address, and the condition that unicast downlink data or multicast downlink data is lost due to the fact that the frequency point of the multicast address is different from the frequency point of the unicast address cannot occur.

Description

Address configuration method and device for terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to an address configuration method and an address configuration apparatus for a terminal.
Background
The internet of things technology is the third information technology revolution after computers and the internet, has the advantages of real-time performance, interactivity and the like, and is widely applied to multiple fields of city management, digital families, positioning navigation, logistics management, security systems and the like. The LoRa is an ultra-long distance transmission scheme based on a spread spectrum technology in the Internet of things, and has the characteristics of long transmission distance, low power consumption, multiple nodes, low cost and the like.
The LoRa network comprises a terminal, a base station and a server. The working modes of the terminal comprise a ClassA mode, a ClassB mode and a ClassC mode. In the ClassB mode, the terminal will start a receive window, called a burst slot pintslot, for a predictable time.
The communication modes of the terminal include unicast and multicast. Unicast: the server configures a unique address identifier DebAddr for each terminal, and calculates the downlink frequency point and the time window of the Class B of the terminal according to the address. The server sends messages to the device separately at this frequency point and time window.
Multicast: the server configures a unique address identifier McAddr for each LoRa multicast group, and calculates the common Class B downlink frequency point and time window of a plurality of terminals in the multicast group according to the address. The server sends the message to all the terminals in the multicast group in the frequency point and the time window in a group mode.
When the terminal has two communication modes of unicast and multicast, the unicast address Pingslot and the multicast address Pingslot may overlap, but the unicast frequency point and the multicast frequency point are different, at this time, the terminal can only monitor the multicast/unicast frequency point fixedly, and the unicast/multicast downlink data is missed periodically, even the unicast/multicast downlink data can never be received.
Disclosure of Invention
In view of the above problems, embodiments of the present application are proposed to provide an address configuration method of a terminal and an address configuration apparatus of a corresponding terminal, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses an address configuration method for a terminal, which is applied to a server, and the method includes:
when a server receives an address configuration request, determining a gateway corresponding to the address configuration request;
selecting a target address from an address pool corresponding to the gateway, and configuring the target address to a terminal corresponding to the address configuration request, so that the multicast address and the unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses in each address pool are the same.
Optionally, the method further includes:
and determining an address pool corresponding to the gateway from a plurality of preset address pools.
Optionally, the determining, from a plurality of preset address pools, an address pool corresponding to the gateway includes:
determining the number of downlink channels of the gateway;
and determining an address pool corresponding to the gateway from a plurality of preset address pools according to the number of downlink channels of the gateway.
Optionally, the determining, according to the number of downlink channels of the gateway, an address pool corresponding to the gateway from a plurality of preset address pools includes:
if the number of the downlink channels of the gateway is one, determining an address pool corresponding to the gateway from a plurality of preset address pools;
if the number of the downlink channels of the gateway is multiple, determining multiple address pools corresponding to the gateway from multiple preset address pools; and unused frequency points are arranged between every two address pools.
Optionally, the selecting a destination address from an address pool corresponding to the gateway and configuring the destination address to the terminal corresponding to the address configuration request includes:
if the address configuration request is an address configuration request for a multicast address and the terminal has previously configured a unicast address, selecting an address from an address pool where the unicast address is located as a target address;
and configuring the target address as the multicast address of the terminal.
Optionally, the selecting a destination address from an address pool corresponding to the gateway and configuring the destination address to the terminal corresponding to the address configuration request includes:
if the address configuration request is an address configuration request for a unicast address and the terminal has previously configured a multicast address, selecting an address from an address pool where the multicast address is located as a target address;
and configuring the target address as a unicast address of the terminal.
Optionally, the selecting a destination address from an address pool corresponding to the gateway and configuring the destination address to the terminal corresponding to the address configuration request includes:
if the address configuration request is an address configuration request aiming at a unicast address and a multicast address, selecting two addresses from an address pool corresponding to the gateway as target addresses;
and respectively configuring the target address as a unicast address and a multicast address of the terminal.
Optionally, the pintslot frequency points of the addresses of different address pools are different.
The embodiment of the application further discloses an address configuration device of the terminal, the device is arranged in the server, and the device includes:
the gateway determining module is used for determining a gateway corresponding to the address configuration request when the server receives the address configuration request;
a terminal address configuration module, configured to select a target address from an address pool corresponding to the gateway, and configure the target address to a terminal corresponding to the address configuration request, so that a multicast address and a unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses of each address pool are the same.
Optionally, the method further includes:
and the gateway address pool determining module is used for determining an address pool corresponding to the gateway from a plurality of preset address pools.
Optionally, the gateway address pool determining module includes:
a downlink channel number determining submodule, configured to determine the number of downlink channels of the gateway;
and the gateway address pool determining submodule is used for determining an address pool corresponding to the gateway from a plurality of preset address pools according to the number of downlink channels of the gateway.
Optionally, the gateway address pool determining submodule includes:
a first gateway address pool determining unit, configured to determine, if the number of downlink channels of the gateway is one, an address pool corresponding to the gateway from among a plurality of preset address pools;
a second gateway address pool determining unit, configured to determine, if the number of downlink channels of the gateway is multiple, multiple address pools corresponding to the gateway from multiple preset address pools; and unused frequency points are arranged between every two address pools.
Optionally, the terminal address configuration module includes:
a first target address selection submodule, configured to select an address from an address pool where a unicast address is located as a target address if the address configuration request is an address configuration request for a multicast address and the terminal has previously configured the unicast address;
and the first target address configuration submodule is used for configuring the target address as the multicast address of the terminal.
Optionally, the terminal address configuration module includes:
a second target address selection submodule, configured to select an address from an address pool where a multicast address is located as a target address if the address configuration request is an address configuration request for a unicast address and the terminal has previously configured the multicast address;
and the second target address configuration submodule is used for configuring the target address as a unicast address of the terminal.
Optionally, the terminal address configuration module includes:
a third target address selecting submodule, configured to select two addresses from one address pool corresponding to the gateway as target addresses if the address configuration request is an address configuration request for a unicast address and a multicast address;
and a third target address configuration submodule, configured to configure the target address as a unicast address and a multicast address of the terminal, respectively.
Optionally, the pintslot frequency points of the addresses of different address pools are different.
The embodiment of the application also discloses a device, including:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more methods as described above.
One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described above, are also disclosed.
The embodiment of the application has the following advantages:
in the embodiment of the application, a target address can be selected from an address pool corresponding to a gateway, and the target address is configured for a terminal, so that a multicast address and a unicast address configured for the terminal are located in the same address pool, and since the pintslot frequency points of the addresses in the same address pool are the same, the frequency points of the multicast address and the unicast address are the same, and the condition that unicast downlink data or multicast downlink data is lost due to the fact that the frequency points of the multicast address and the unicast address are different does not occur.
Drawings
Fig. 1 is a flowchart illustrating a first step of an address configuration method of a terminal according to a first embodiment of the present application;
fig. 2 is a flowchart illustrating steps of a second embodiment of an address configuration method of a terminal according to the present application;
FIG. 3 is a diagram illustrating address pooling in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an address pool for determining a corresponding gateway in an embodiment of the present application;
fig. 5 is a block diagram of an embodiment of an address configuration apparatus of a terminal according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart of a first step of an embodiment of a method for configuring an address of a terminal according to the present application is shown, which specifically includes the following steps:
step 101, when a server receives an address configuration request, determining a gateway corresponding to the address configuration request;
in the embodiment of the present application, the terminal is a ClassB mode terminal. When the terminal accesses the network, the terminal sends an address configuration request to the gateway, and then the gateway forwards the address configuration request to the server.
Specifically, the server is deployed with an address allocator, and the address configuration request includes a terminal identifier DevEUI and a gateway identifier GWEUI.
The address allocator may determine which terminal sent the address configuration request according to the terminal identifier, and determine which gateway forwarded the address configuration request according to the gateway identifier.
102, selecting a target address from an address pool corresponding to the gateway, and configuring the target address to a terminal corresponding to the address configuration request, so that a multicast address and a unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses of each address pool are the same.
In this embodiment of the present application, the address allocator may select at least one corresponding address pool for the gateway, where each address pool includes multiple addresses, where the PingSlot frequency points of addresses belonging to the same address pool are the same, and the PingSlot frequency points of addresses belonging to different address pools are different.
In the embodiment of the application, a target address can be selected from an address pool corresponding to a gateway, and the target address is configured for a terminal, so that a multicast address and a unicast address configured for the terminal are located in the same address pool, and since the pintslot frequency points of the addresses in the same address pool are the same, the frequency points of the multicast address and the unicast address are the same, and the condition that unicast downlink data or multicast downlink data is lost due to the fact that the frequency points of the multicast address and the unicast address are different does not occur.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of an address configuration method for a terminal according to the present application is shown, which may specifically include the following steps:
step 201, when a server receives an address configuration request, determining a gateway corresponding to the address configuration request;
in the embodiment of the present application, the terminal is a ClassB mode terminal. When the terminal accesses the network, the terminal sends an address configuration request to the gateway, and then the gateway forwards the address configuration request to the server.
Specifically, the server is deployed with an address allocator, and the address configuration request includes a terminal identifier DevEUI and a gateway identifier GWEUI.
The address allocator may determine which terminal sent the address configuration request according to the terminal identifier, and determine which gateway forwarded the address configuration request according to the gateway identifier.
Step 202, determining an address pool corresponding to the gateway from a plurality of preset address pools.
The address allocator may determine, from a plurality of address pools that are preset, a corresponding address pool for a gateway to which the address configuration request corresponds.
Each address pool comprises a plurality of addresses, the PingSlot frequency points of the addresses belonging to the same address pool are the same, and the PingSlot frequency points of the addresses belonging to different address pools are different.
Referring to fig. 3, a schematic diagram of address pool partitioning in an embodiment of the present application is shown. The CN470 frequency band is a frequency band allocated to the chinese area, and all addresses in the frequency band may be divided into 8 address pools.
The address of the 1 st address pool may be represented as Nx8, the address of the 2 nd address pool may be represented as Nx8+1, the address of the 3 rd address pool may be represented as Nx8+2, the address of the 4 th address pool may be represented as Nx8+3, the address of the 5 th address pool may be represented as Nx8+4, the address of the 6 th address pool may be represented as Nx8+5, the address of the 7 th address pool may be represented as Nx8+6, and the address of the 8 th address pool may be represented as Nx8+7, N1, 2, … ….
In addition to dividing the CN470 frequency band into 8 address pools, the CN470 frequency band may be divided into other number of address pools; for example, if a network deploys gateways with 16 channels, the CN470 frequency band may be divided into 16 address pools; if a network deploys gateways with 32 channels, the CN470 frequency band may be divided into 32 address pools.
The division mode of the address pool can be determined according to actual conditions, which is not limited in the embodiment of the present application.
The formula for calculating the frequency point of the downlink channel of the Class B according to the unicast address under the CN470 frequency band is as follows:
Figure BDA0001946249480000071
the formula for calculating the frequency point of the downlink channel of the Class B according to the multicast address under the CN470 frequency band is as follows:
Figure BDA0001946249480000072
wherein, floor () is a function of rounding down, modulo is a modulo operation, beacon _ time is a beacon frame duration, and beacon _ period is a beacon frame period.
According to the two formulas, when the unicast address and the multicast address belong to the same address pool, the corresponding channel frequency points are the same.
In the embodiment of the present application, the step 202 may include the following sub-steps:
substep S11, determining the number of downlink channels of the gateway;
the address distributor can search the downlink channel number of the gateway from the database according to the gateway identifier in the address configuration request;
and a substep S12, determining an address pool corresponding to the gateway from a plurality of preset address pools according to the number of downlink channels of the gateway.
The address allocator may determine, according to the number of downlink channels of the gateway, an address pool corresponding to the gateway from among a plurality of address pools that are preset.
In an embodiment of the present application, the sub-step S12 may further include:
substep S121, if the number of the downlink channels of the gateway is one, determining an address pool corresponding to the gateway from a plurality of preset address pools;
substep S122, if the number of the downlink channels of the gateway is multiple, determining multiple address pools corresponding to the gateway from multiple preset address pools; and unused frequency points are arranged between every two address pools.
If the gateway has the capability of multiple downlink channels, a plurality of downlink physical frequency points are close to each other, and a large adjacent channel interference problem is generated. Adjacent channel interference is a common interference problem, and is generated not only in multi-channel multicast but also in multi-channel unicast downlink.
Therefore, in the embodiment of the present application, when the number of the downlink channels of the gateway is multiple, the address allocator may determine multiple corresponding address pools for the gateway, and the multiple address pools are separated by an unused frequency point, so that the downlink channels have a frequency interval, and the problem of adjacent channel interference is solved.
Referring to fig. 4, a schematic diagram of determining an address pool of a corresponding gateway in an embodiment of the present application is shown.
For a gateway with 1 downlink channel, the address pool No. 1 may be selected, and the unicast addresses and multicast addresses of all terminals within the service range of the gateway may be obtained from the address pool No. 1.
For a gateway with 2 downlink channels, address pools No. 1 and 5 can be selected, and the unicast address and the multicast address of all terminals in the service range of the gateway can be acquired from the two address pools.
For a gateway with 2 downlink channels, address pools of No. 1, No. 3, No. 5 and No. 7 can be selected, and unicast addresses and multicast addresses of all terminals in the service range of the gateway can be obtained from the four address pools.
Step 203, selecting a target address from an address pool corresponding to the gateway, and configuring the target address to a terminal corresponding to the address configuration request, so that a multicast address and a unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses of each address pool are the same.
In an embodiment of the present application, the address configuration request may include the type of address to be requested. Specifically, the address configuration request may include an address configuration request for a multicast address, an address configuration request for a unicast address, and an address configuration request for a unicast address and a multicast address.
The address configuration request aiming at the multicast address indicates that the terminal needs to request the multicast address, the address configuration request aiming at the unicast address indicates that the terminal needs to request the unicast address, and the address configuration request aiming at the unicast address and the multicast address indicates that the terminal needs to request the unicast address and the multicast address.
In an example of this embodiment of the application, the step 203 may include:
if the address configuration request is an address configuration request for a multicast address and the terminal has previously configured a unicast address, selecting an address from an address pool where the unicast address is located as a target address; and configuring the target address as the multicast address of the terminal.
And if the address configuration request is an address configuration request for a multicast address and the terminal is not configured with a unicast address in advance, selecting a target address from any address pool corresponding to the gateway and configuring the target address as the multicast address of the terminal.
In another example of the embodiment of the present application, the step 203 may include:
if the address configuration request is an address configuration request for a unicast address and the terminal has previously configured a multicast address, selecting an address from an address pool where the multicast address is located as a target address; and configuring the target address as a unicast address of the terminal.
If the address configuration request is an address configuration request for a unicast address and the terminal is not configured with a multicast address in advance, selecting a target address from any address pool corresponding to the gateway; and configuring the target address as a unicast address of the terminal.
In another example of the embodiment of the present application, the step 203 may include:
if the address configuration request is an address configuration request aiming at a unicast address and a multicast address, selecting two addresses from an address pool corresponding to the gateway as target addresses; and respectively configuring the target address as a unicast address and a multicast address of the terminal.
In the embodiment of the application, a target address can be selected from an address pool corresponding to a gateway, and the target address is configured for a terminal, so that a multicast address and a unicast address configured for the terminal are located in the same address pool, and since the pintslot frequency points of the addresses in the same address pool are the same, the frequency points of the multicast address and the unicast address are the same, and the condition that unicast downlink data or multicast downlink data is lost due to the fact that the frequency points of the multicast address and the unicast address are different does not occur.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 5, a block diagram of an embodiment of an address configuration apparatus of a terminal according to the present application is shown, where the apparatus is disposed in a server, and the apparatus may specifically include the following modules:
a gateway determining module 501, configured to determine, when the server receives an address configuration request, a gateway corresponding to the address configuration request;
a terminal address configuration module 502, configured to select a destination address from an address pool corresponding to the gateway, and configure the destination address to a terminal corresponding to the address configuration request, so that a multicast address and a unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses of each address pool are the same.
In the embodiment of the application, the PingSlot frequency points of the addresses of different address pools are different.
In this embodiment, the apparatus may further include:
and the gateway address pool determining module is used for determining an address pool corresponding to the gateway from a plurality of preset address pools.
In this embodiment of the present application, the gateway address pool determining module may include:
a downlink channel number determining submodule, configured to determine the number of downlink channels of the gateway;
and the gateway address pool determining submodule is used for determining an address pool corresponding to the gateway from a plurality of preset address pools according to the number of downlink channels of the gateway.
In this embodiment of the present application, the gateway address pool determining submodule includes:
a first gateway address pool determining unit, configured to determine, if the number of downlink channels of the gateway is one, an address pool corresponding to the gateway from among a plurality of preset address pools;
a second gateway address pool determining unit, configured to determine, if the number of downlink channels of the gateway is multiple, multiple address pools corresponding to the gateway from multiple preset address pools; and unused frequency points are arranged between every two address pools.
In this embodiment of the application, the terminal address configuration module 502 may include:
a first target address selection submodule, configured to select an address from an address pool where a unicast address is located as a target address if the address configuration request is an address configuration request for a multicast address and the terminal has previously configured the unicast address;
and the first target address configuration submodule is used for configuring the target address as the multicast address of the terminal.
In this embodiment of the application, the terminal address configuration module 502 may include:
a second target address selection submodule, configured to select an address from an address pool where a multicast address is located as a target address if the address configuration request is an address configuration request for a unicast address and the terminal has previously configured the multicast address;
and the second target address configuration submodule is used for configuring the target address as a unicast address of the terminal.
In this embodiment of the application, the terminal address configuration module 502 may include:
a third target address selecting submodule, configured to select two addresses from one address pool corresponding to the gateway as target addresses if the address configuration request is an address configuration request for a unicast address and a multicast address;
and the third target address configuration submodule is used for respectively configuring the target address as the unicast address and the multicast address of the terminal.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform methods as described in embodiments of the present application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods of embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The detailed description is given above to an address configuration method of a terminal and an address configuration device of a terminal provided by the present application, and a specific example is applied herein to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (18)

1. An address configuration method of a terminal, which is applied to a server, the method comprising:
when a server receives an address configuration request, determining a gateway corresponding to the address configuration request;
selecting a target address from an address pool corresponding to the gateway, and configuring the target address to a terminal corresponding to the address configuration request, so that the multicast address and the unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses in each address pool are the same.
2. The method of claim 1, further comprising:
and determining an address pool corresponding to the gateway from a plurality of preset address pools.
3. The method according to claim 2, wherein the determining an address pool corresponding to the gateway from a preset plurality of address pools comprises:
determining the number of downlink channels of the gateway;
and determining an address pool corresponding to the gateway from a plurality of preset address pools according to the number of downlink channels of the gateway.
4. The method according to claim 3, wherein the determining, according to the number of downstream channels of the gateway, an address pool corresponding to the gateway from a plurality of address pools that are preset comprises:
if the number of the downlink channels of the gateway is one, determining an address pool corresponding to the gateway from a plurality of preset address pools;
if the number of the downlink channels of the gateway is multiple, determining multiple address pools corresponding to the gateway from multiple preset address pools; and unused frequency points are arranged between every two address pools.
5. The method according to any one of claims 1-4, wherein said selecting a destination address from an address pool corresponding to the gateway and configuring the destination address to the terminal corresponding to the address configuration request comprises:
if the address configuration request is an address configuration request for a multicast address and the terminal has previously configured a unicast address, selecting an address from an address pool where the unicast address is located as a target address;
and configuring the target address as the multicast address of the terminal.
6. The method according to any one of claims 1-4, wherein said selecting a destination address from an address pool corresponding to the gateway and configuring the destination address to the terminal corresponding to the address configuration request comprises:
if the address configuration request is an address configuration request for a unicast address and the terminal has previously configured a multicast address, selecting an address from an address pool where the multicast address is located as a target address;
and configuring the target address as a unicast address of the terminal.
7. The method according to any one of claims 1-4, wherein said selecting a destination address from an address pool corresponding to the gateway and configuring the destination address to the terminal corresponding to the address configuration request comprises:
if the address configuration request is an address configuration request aiming at a unicast address and a multicast address, selecting two addresses from an address pool corresponding to the gateway as target addresses;
and respectively configuring the target address as a unicast address and a multicast address of the terminal.
8. The method of claim 1, wherein the PingSlot bins of the addresses of different address pools are different.
9. An address configuration device of a terminal, the device being provided in a server, the device comprising:
the gateway determining module is used for determining a gateway corresponding to the address configuration request when the server receives the address configuration request;
a terminal address configuration module, configured to select a target address from an address pool corresponding to the gateway, and configure the target address to a terminal corresponding to the address configuration request, so that a multicast address and a unicast address of the terminal are located in the same address pool; and the pulse time slots PingSlot frequency points of the addresses of each address pool are the same.
10. The apparatus of claim 9, further comprising:
and the gateway address pool determining module is used for determining an address pool corresponding to the gateway from a plurality of preset address pools.
11. The apparatus of claim 10, wherein the gateway address pool determining module comprises:
a downlink channel number determining submodule, configured to determine the number of downlink channels of the gateway;
and the gateway address pool determining submodule is used for determining an address pool corresponding to the gateway from a plurality of preset address pools according to the number of downlink channels of the gateway.
12. The apparatus of claim 11, wherein the gateway address pool determining submodule comprises:
a first gateway address pool determining unit, configured to determine, if the number of downlink channels of the gateway is one, an address pool corresponding to the gateway from among a plurality of preset address pools;
a second gateway address pool determining unit, configured to determine, if the number of downlink channels of the gateway is multiple, multiple address pools corresponding to the gateway from multiple preset address pools; and unused frequency points are arranged between every two address pools.
13. The apparatus according to any of claims 9-12, wherein the terminal address configuration module comprises:
a first target address selection submodule, configured to select an address from an address pool where a unicast address is located as a target address if the address configuration request is an address configuration request for a multicast address and the terminal has previously configured the unicast address;
and the first target address configuration submodule is used for configuring the target address as the multicast address of the terminal.
14. The apparatus according to any of claims 9-12, wherein the terminal address configuration module comprises:
a second target address selection submodule, configured to select an address from an address pool where a multicast address is located as a target address if the address configuration request is an address configuration request for a unicast address and the terminal has previously configured the multicast address;
and the second target address configuration submodule is used for configuring the target address as a unicast address of the terminal.
15. The apparatus according to any one of claims 9-12, wherein the terminal address configuration module comprises:
a third target address selecting submodule, configured to select two addresses from one address pool corresponding to the gateway as target addresses if the address configuration request is an address configuration request for a unicast address and a multicast address;
and a third target address configuration submodule, configured to configure the target address as a unicast address and a multicast address of the terminal, respectively.
16. The apparatus of claim 9, wherein the pintslot bins of addresses of different address pools are different.
17. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of any of claims 1-8.
18. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method of any one of claims 1-8.
CN201910037024.7A 2019-01-15 2019-01-15 Address configuration method and device for terminal Active CN111435950B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910037024.7A CN111435950B (en) 2019-01-15 2019-01-15 Address configuration method and device for terminal
TW108142516A TW202044025A (en) 2019-01-15 2019-11-22 Terminal address configuration method and device
PCT/CN2020/070582 WO2020147610A1 (en) 2019-01-15 2020-01-07 Address configuration method and device for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910037024.7A CN111435950B (en) 2019-01-15 2019-01-15 Address configuration method and device for terminal

Publications (2)

Publication Number Publication Date
CN111435950A CN111435950A (en) 2020-07-21
CN111435950B true CN111435950B (en) 2022-05-27

Family

ID=71580065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910037024.7A Active CN111435950B (en) 2019-01-15 2019-01-15 Address configuration method and device for terminal

Country Status (3)

Country Link
CN (1) CN111435950B (en)
TW (1) TW202044025A (en)
WO (1) WO2020147610A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118584B (en) * 2020-11-23 2021-02-19 翱捷科技(深圳)有限公司 Gateway, LoRa network system, gateway operation method and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316027A (en) * 2011-08-17 2012-01-11 清华大学 Bidirectional conversion method based on IPv6 unicast and SSM multicast and system thereof
CN108063837A (en) * 2017-12-25 2018-05-22 锐捷网络股份有限公司 Dynamic IP addressing distribution method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006568A1 (en) * 2012-06-28 2014-01-02 Alcatel-Lucent Canada, Inc. Prioritization based on ip pool and subnet by dhcp
US9860677B1 (en) * 2016-09-30 2018-01-02 Intel Corporation Internet-of-things gateway coordination
US10178646B2 (en) * 2017-04-12 2019-01-08 Cisco Technology, Inc. System and method to facilitate slice management in a network environment
CN108307355B (en) * 2017-12-21 2020-07-31 中兴克拉科技(苏州)有限公司 Multicast implementation method of L PWAN Internet of things
CN109194774B (en) * 2018-08-09 2021-10-22 中兴克拉科技(苏州)有限公司 Equipment address expansion method of LPWAN network server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316027A (en) * 2011-08-17 2012-01-11 清华大学 Bidirectional conversion method based on IPv6 unicast and SSM multicast and system thereof
CN108063837A (en) * 2017-12-25 2018-05-22 锐捷网络股份有限公司 Dynamic IP addressing distribution method and device

Also Published As

Publication number Publication date
TW202044025A (en) 2020-12-01
WO2020147610A1 (en) 2020-07-23
CN111435950A (en) 2020-07-21

Similar Documents

Publication Publication Date Title
JP6411527B2 (en) User apparatus and control channel receiving method
CN102291845B (en) Accidental access method and system
EP3393167B1 (en) Resource allocation method and device, and base station
CN108353050B (en) Method and device for indicating and obtaining uplink and downlink carrier frequency interval
US9119176B2 (en) Network access method and apparatus
JP4976542B2 (en) Method and apparatus for distributing and acquiring overhead flow data in a multi-frequency network
KR101964534B1 (en) Repeated transmission of scheduling assignment for random access response
EP2733966B1 (en) Method for enhancing machine type communication between a mobile communication network and a machine type communication device
US20130148596A1 (en) Resource management system and method of centralized base station in mobile communication network
CN105794165B (en) The method and user equipment of transmission of reference signals
CN102625387A (en) Spectrum switching method and equipment in cognitive radio (CR) system
EP3725060A1 (en) Directing packets to service chain associated with user plane anchor
CN107241701B (en) data transmission method and device
CN111435950B (en) Address configuration method and device for terminal
CN106713162B (en) Method and device for counting BGP community attributes or expanding community attribute flow values
CN104936183A (en) Method and device for data transmission
CN103200593B (en) Base station self-starting and self-starting householder method and equipment
CN105472570A (en) Base station/terminal and PDCCH scrambling/descrambling method and device thereof
CN103167057A (en) Vehicle-mounted net address collocation method based on locating information
CN101779492B (en) Methods and apparatus for signaling parameter distribution for neighboring radio frequencies
US10834723B2 (en) Resource indication method and related device
EP3457781A1 (en) System information transmitting and receiving method and device, base station, and terminal
WO2020238738A1 (en) Beacon frame communication and base station synchronization methods and apparatuses in communication network
US9860171B2 (en) Large scale message routing in a distributed network
JP2006270500A (en) Terminal connection management system for radio network

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40033295

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant