Identity identifier assignment method for communication device, network apparatus, core network device, storage medium, and computer program product
By assigning unique identifiers to base stations and relay terminals, the problem of duplicate inventorying of tag devices when the coverage areas of base stations and relay terminals overlap is solved, reducing the consumption of communication resources.
Patent Information
- Application Number
- PCT/CN2025/115033
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-15
- Filing Date
- 2025-08-15
- Publication Date
- 2026-02-19
AI Technical Summary
When the coverage areas of base stations and relay terminals overlap, tag devices may be repeatedly inventoried, leading to excessive consumption of communication resources.
The system assigns identity identifiers to base stations and relay terminals respectively. By receiving identity identifier assignment requests from target communication devices, it generates and sends identity identifiers that support passive IoT communication capabilities, thus avoiding relay terminals and base stations having the same identity identifiers and avoiding duplicate inventory.
This reduces the consumption of communication resources and avoids the process of repeatedly inventorying the tag device by the target communication device and other communication devices.
Smart Images

Figure CN2025115033_19022026_PF_FP_ABST
Abstract
Description
An identity allocation method of a communication device, and a network device, a core network device, a storage medium, and a computer program product
[0001] Cross-reference to Related Applications
[0002] The present disclosure claims priority to a Chinese patent application No. 202411122768.6, filed on August 15, 2024, entitled "An identity allocation method of a communication device, and a network device, a core network device, a storage medium, and a computer program product", the entire contents of which are incorporated herein by reference. TECHNICAL FIELD
[0003] The present disclosure relates to the technical field of Internet of Things, and relates to but is not limited to an identity allocation method of a communication device, and a network device, a core network device, a storage medium, and a computer program product. BACKGROUND
[0004] With the development of communication technology, more and more scenarios need to use tags, and tags have brought great convenience to human life.
[0005] In the related art, the base station and the relay terminal can inventory the tags in the coverage range. In the case that the coverage ranges of the base station and the relay terminal overlap, and both the base station and the relay terminal inventory the tags in the overlapping area, the tags may be repeatedly inventoried, thereby causing excessive consumption of communication resources. SUMMARY
[0006] To solve the above technical problems, the embodiments of the present disclosure aim to provide an identity allocation method of a communication device, and a network device, a core network device, a storage medium, and a computer program product, which can reduce the consumption of communication resources.
[0007] The technical solution of the present disclosure is implemented as follows:
[0008] The embodiments of the present disclosure provide an identity allocation method of a communication device, applied to a network device, and the identity allocation method of the communication device comprises:
[0009] receiving an identity allocation request sent by a target communication device, the target communication device being a base station or a relay terminal; the relay terminal being a terminal configured for the base station to communicate with a tag device;
[0010] in the case that the identity allocation request carries first information indicating that the target communication device supports a passive Internet of Things communication capability, generating a target identity of the target communication device;
[0011] sending the target identity to the target communication device.
[0012] The embodiment of the present disclosure provides a network device, which comprises:
[0013] a receiving part configured to receive an identity allocation request sent by a target communication device, wherein the target communication device is a base station or a relay terminal; and the relay terminal is a terminal configured for the base station to communicate with a tag device;
[0014] a generating part configured to generate a target identity of the target communication device in a case that the target communication device supports passive Internet of Things communication capability first information carried in the identity allocation request;
[0015] a sending part configured to send the target identity to the target communication device.
[0016] The embodiment of the present disclosure provides a network device, which comprises:
[0017] a memory, a processor and a communication bus, wherein the memory communicates with the processor through the communication bus, and the memory stores a program of identity allocation of a communication device executable by the processor, and when the program of identity allocation of the communication device is executed, the above-mentioned method of identity allocation of the communication device is executed by the processor.
[0018] The embodiment of the present disclosure provides a storage medium, which stores a computer program, and is applied to a core network device, and is characterized by that the computer program is executed by a processor to realize the above-mentioned method of identity allocation of the communication device.
[0019] The embodiment of the present disclosure further provides a computer program product, which comprises a computer program, and the computer program is executable by a processor to complete the steps of the above-mentioned method of identity allocation of the communication device.
[0020] The embodiment of the present disclosure provides a communication device identity allocation method and a network device, a core network device, a storage medium and a computer program product. The communication device identity allocation method comprises the following steps: receiving an identity allocation request sent by a target communication device; the target communication device is a base station or a relay terminal; the relay terminal is a terminal configured for the base station and used for communicating with a tag device; in the case that the first information of the passive Internet of Things communication capability supported by the target communication device is carried in the identity allocation request, generating a target identity of the target communication device; and sending the target identity to the target communication device. By using the above method, the network device generates the target identity of the target communication device in the case that the network device receives the identity allocation request sent by the target communication device and determines that the first information of the passive Internet of Things communication capability supported by the target communication device is carried in the identity allocation request. The target communication device includes the base station and the relay terminal, and the relay terminal is a terminal configured for the base station and used for communicating with the tag device, that is, the network device allocates the identities of the base station and the relay terminal respectively, so that the identities of the relay terminal and the base station are not the same, and the network device does not let the relay terminal and the base station inventory the same tag device because the relay terminal and the base station have the same identity, thereby avoiding the process that the tag device is inventoried repeatedly by the target communication device and other communication devices, and reducing the consumption of communication resources.
[0021] The above description is only a summary of the technical scheme of the present disclosure. In order to more clearly understand the technical means of the present disclosure, the contents of the specification can be implemented, and in order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific embodiments of the present disclosure are described below. BRIEF DESCRIPTION OF DRAWINGS
[0022] Various other advantages and benefits will become apparent to those of ordinary skill in the art, upon reading the following detailed description of the preferred embodiments. The accompanying drawings are included to provide a description of preferred embodiments, and are not meant to limit the present disclosure. Moreover, the same reference numerals are used throughout the various drawings to designate identical parts. In the drawings:
[0023] FIG. 1 is a flowchart of a communication device identity allocation method according to an embodiment of the present disclosure;
[0024] FIG. 2 is a schematic diagram of an exemplary communication device identity allocation method according to an embodiment of the present disclosure;
[0025] FIG. 3 is a schematic diagram of the composition structure of a network device according to an embodiment of the present disclosure;
[0026] FIG. 4 is a schematic diagram of the composition structure of a core network device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] Exemplary embodiments of the present disclosure will be described in greater detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure can be more thoroughly understood, and so that the scope of the present disclosure is completely conveyed to those skilled in the art.
[0028] The embodiment of the present disclosure provides a method for allocating an identity of a communication device, and the method for allocating an identity of a communication device is applied to a network device. FIG. 1 is a flowchart of a method for allocating an identity of a communication device according to an embodiment of the present disclosure. As shown in FIG. 1, the method for allocating an identity of a communication device can include the following steps.
[0029] S101, receiving an identity allocation request sent by a target communication device, the target communication device being a base station or a relay terminal; the relay terminal being a terminal configured for the base station to communicate with a tag device.
[0030] The method for allocating an identity of a communication device provided by the embodiment of the present disclosure is suitable for a scenario where a network device allocates an identity for a base station and a relay terminal.
[0031] In the embodiment of the present disclosure, the network device can be implemented in various forms. For example, the network device described in the present disclosure can include a core network, a network element, and the like, and can also be other devices. The specific embodiments of the present disclosure do not limit this.
[0032] In the embodiment of the present disclosure, the number of target communication devices can be one, and the number of target communication devices can also be multiple. The number of target communication devices can be determined according to actual conditions, and the specific embodiments of the present disclosure do not limit this.
[0033] In the embodiment of the present disclosure, the target communication device corresponds to the identity allocation request one-to-one, and specifically, one target communication device corresponds to one identity allocation request.
[0034] It should be noted that the identity allocation request is a request for applying for allocating an identity number (Identity document, ID) for the target communication device.
[0035] In the embodiment of the present disclosure, the target communication device can be a base station, and the target communication device can also be a terminal. The specific embodiments of the present disclosure do not limit this.
[0036] In the embodiments of the present disclosure, one relay terminal can be configured for the base station, or multiple relay terminals can be configured for the base station, and the number of relay terminals configured for the base station can be determined according to actual conditions, and the present disclosure does not limit this.
[0037] It should be noted that the relay terminal is deployed in an area far away from the base station, so as to inventory the tag devices in these areas.
[0038] S102, in the case that the first information of the target communication device supporting the passive IoT communication capability is carried in the identity identification allocation request, generating a target identity identification of the target communication device.
[0039] In the embodiments of the present disclosure, after the network device receives the identity identification allocation request sent by the target communication device, in the case that the first information of the target communication device supporting the passive IoT communication capability is carried in the identity identification allocation request, the network device generates a target identity identification of the target communication device.
[0040] In the embodiments of the present disclosure, the passive IoT communication capability can be the capability of supporting Ambient IoT inventory. The passive IoT can be Ambient IoT or Ambient power enabled IoT, and the specific type can be determined according to actual conditions, and the present disclosure does not limit this.
[0041] In the embodiments of the present disclosure, the process of generating the target identity identification of the target communication device by the network device includes: in the case that the target communication device is a relay terminal, obtaining the subscription information of the relay terminal; in the case that the subscription information identifies that the relay terminal has subscribed to the passive IoT communication service, determining that the verification of the first information is successful; and generating the target identity identification of the target communication device.
[0042] In the embodiments of the present disclosure, the network device generates the target identity identification of the target communication device in the case that it is determined that the verification of the first information is successful.
[0043] In the embodiments of the present disclosure, if the subscription information identifies that the relay terminal has subscribed to the passive IoT communication service, it is determined that the target communication device supports the passive IoT communication capability.
[0044] In the embodiments of the present disclosure, the subscription information means that the terminal and the operator network side sign a service supporting Ambient IoT inventory, and authorize the network side to inventory the tag devices by using the terminal.
[0045] In the embodiments of the present disclosure, the network device generates the target identity identification including one of the following:
[0046] The random number, the communication device identifier of the target communication device, and the network element information of the network device.
[0047] In the embodiments of the present disclosure, the network device can generate a random number and take the random number as the target identity identifier. The network device can also obtain the communication device identifier of the target communication device and take the communication device identifier as the target identity identifier. The network device can also obtain the network element information of the network device and take the network element information as the target identity identifier. The network device can also generate the target identity identifier in other manners, and the specific implementation manner can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0048] It should be noted that the network element information of the network device can be an authentication management function (AMF) ID. The communication device identifier of the target communication device includes a base station ID, a cell ID, and a relay terminal ID.
[0049] S103, sending the target identity identifier to the target communication device.
[0050] In the embodiments of the present disclosure, after the network device generates the target identity identifier of the target communication device, the network device sends the target identity identifier to the target communication device.
[0051] In the embodiments of the present disclosure, the process in which the network device receives the identity identifier allocation request sent by the target communication device includes: receiving a network connection request sent by the base station in the case that the target communication device is a base station; correspondingly, the target identity identifier includes a first identity identifier; the process in which the network device sends the target identity identifier to the target communication device includes: sending a network connection response corresponding to the network connection request to the base station, wherein the network connection response includes the first identity identifier allocated by the network device for the base station.
[0052] It should be noted that the identity identifier allocation request includes a network connection request.
[0053] In the embodiments of the present disclosure, the network connection request can be a request for the base station to establish an NG interface with the core network (network device), such as an NG SETUP REQUEST. Correspondingly, the network connection response can be an NG SETUP RESPONSE.
[0054] It should be noted that the network connection request carries the first information about the support of the passive Internet of Things communication capability of the base station.
[0055] In the embodiment of the present disclosure, a base station (gNodeB, gNB) sends "support Ambient IoT inventory" information to a core network (network device), which is used for the gNB to inform the core network that the gNB supports the Ambient IoT inventory function. This information can be carried in the "NG SETUP REQUEST". The gNB receives the communication device ID information (i.e., the first identity) sent by the core network to indicate the communication device ID (i.e., the first identity) used by the gNB. This information can be carried in the NG SETUP RESPONSE.
[0056] In the embodiment of the present disclosure, the process of receiving the identity allocation request sent by the target communication device by the network device includes: in the case that the target communication device is a relay terminal, receiving the registration request sent by the relay terminal from the base station, and correspondingly, the target identity includes a second identity; the process of sending the target identity to the target communication device includes: sending the second identity to the base station; and forwarding the second identity allocated by the network device to the relay terminal by the base station.
[0057] It should be noted that the identity allocation request includes the registration request.
[0058] In the embodiment of the present disclosure, since the relay terminal is a terminal configured by the base station and deployed in an area far away from the base station, which is used to inventory the tag devices in these areas, the relay terminal needs to interact with the network device through the base station.
[0059] In the embodiment of the present disclosure, the relay terminal first sends a registration request to the network device through the base station, and the registration request carries the first information of the relay terminal supporting the passive Internet of Things communication capability. After the network device receives the registration request, the first information is verified. In the case that the verification of the first information is successful, the second identity of the relay terminal is generated, and the second identity is forwarded to the relay terminal through the base station.
[0060] In the embodiment of the present disclosure, the relay terminal initiates a registration process (sends a registration request to the network device through the base station), and reports the relay terminal capability, which indicates the capability of the relay terminal supporting the Ambient IoT inventory. The network side (such as the core network, i.e., the network device) queries the registration information of the relay terminal to confirm whether the relay terminal subscribes to the Ambient IoT inventory service. For example, the base station receives the capability information of the relay terminal (i.e., the base station receives the first information), sends the capability information to the core network AMF (i.e., the network device), and queries the registration information (i.e., the subscription information) of the relay terminal in the UDM to confirm whether the relay terminal subscribes to the Ambient IoT inventory service. If the relay terminal has subscribed, the core network AMF allocates the second identity to the relay terminal.
[0061] It can be understood that the network device uniformly allocates the target identity (i.e., allocates the first identity and the second identity) for the relay terminal and the gNB, which can avoid the conflict between the second identity corresponding to the relay terminal and the first identity corresponding to the base station. The problem caused by the identity conflict between the relay terminal and the base station is that after the inventory tag device is inventoried, the network side needs to save the correspondence table of the base station or the relay terminal and the tag device, so that the next time only the specific tag device is inventoried, the network side only needs to send the inventory message to the specific base station or relay terminal, and there is no need to inventory again. If the identity of the relay terminal and the base station conflicts, the communication device corresponding to the tag device cannot be found.
[0062] In the embodiment of the present disclosure, after the network device sends the target identity to the target communication device, in the case that the target communication device is a base station, the network device sends an instruction for inventorying the tag device to the base station, so that the base station sends a first inventory instruction to the tag device; in the case that the base station receives a first response information of the tag device inventorying successfully, the network device acquires the first identity of the base station and the tag identity of the tag device from the first response information; according to the first identity and the tag identity, the network device establishes a first communication relationship between the base station and the tag device; and according to the first communication relationship, the network device instructs the base station to inventory the tag device next time.
[0063] In the embodiment of the present disclosure, the first inventory information is also the first inventory instruction, which can be query (Q). Wherein, the meaning of inventory is equivalent to paging, inventory, and inventory.
[0064] It should be noted that the number of the first inventory instruction is one.
[0065] In the embodiment of the present disclosure, the first response information can be the ID information of the RN16 and / or the tag device, or the first response information can be other information. The specific first response information can be determined according to the actual situation, and the embodiment of the present disclosure does not limit this.
[0066] It should be noted that the first response information can be the information configured in the tag device, or the information transmitted to the tag device by other devices, or the information obtained by the tag device through other ways. The specific way for the tag device to obtain the first response information can be determined according to the actual situation, and the embodiment of the present disclosure does not limit this.
[0067] In the embodiment of the present disclosure, the first response information further includes the first identity of the base station.
[0068] In the embodiment of the present disclosure, after the network device establishes the first communication relationship between the base station and the tag device according to the first identity and the tag identity, the base station can be instructed to inventory the tag device next time according to the first communication relationship.
[0069] For example, if the base station does not inventory the tag device according to the first communication relationship next time, the range of the gNB base station sending the inventory instruction can be expanded.
[0070] In the embodiment of the present disclosure, the manner in which the base station sends the first inventory instruction to the tag device can be determined according to actual conditions, and the embodiment of the present disclosure does not limit this.
[0071] In the embodiment of the present disclosure, after the network device sends the target identity to the target communication device, if the target communication device is a relay terminal, the base station sends an instruction to inventory the tag device to the relay terminal, so that the relay terminal sends a second inventory instruction to the tag device; if the relay terminal successfully inventories the tag device and the base station receives the second response information of the relay terminal, the second identity of the relay terminal, the first identity of the base station, and the tag identity of the tag device are obtained from the second response information; a second communication relationship between the base station, the relay terminal, and the tag device is established according to the second identity, the first identity, and the tag identity; and the relay terminal is instructed to inventory the tag device next time according to the second communication relationship.
[0072] In the embodiment of the present disclosure, the second response information can be the ID information of the RN16 and / or the tag device, or other information. The specific second response information can be determined according to actual conditions, and the embodiment of the present disclosure does not limit this.
[0073] It should be noted that the second response information can be information configured in the tag device, information transmitted to the tag device by other devices, or information obtained by the tag device through other manners. The specific manner in which the tag device obtains the second response information can be determined according to actual conditions, and the embodiment of the present disclosure does not limit this.
[0074] In the embodiment of the present disclosure, the second response information further includes the first identity of the base station and the second identity of the relay terminal.
[0075] In the embodiment of the present disclosure, after the network device establishes the second communication relationship between the base station, the relay terminal, and the tag device according to the second identity, the first identity, and the tag identity, the relay terminal can be instructed to inventory the tag device next time according to the second communication relationship.
[0076] For example, if the relay terminal does not inventory the tag device according to the second communication relationship at the next inventory, the range of the relay terminal sending the inventory instruction is expanded again.
[0077] In the embodiments of the present disclosure, the manner in which the relay terminal sends the second inventory instruction to the tag device can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0078] In the embodiments of the present disclosure, in the case where the network device receives the second response information transmitted by the base station in the case where the relay terminal successfully inventories the tag device, before the network device acquires the second identity of the relay terminal, the first identity of the base station and the tag identity of the tag device from the second response information, in the case where the tag device receives the first inventory instruction of the base station, and adjusts the inventory flag bit of the tag device to the inventory flag, and the adjustment duration of the inventory flag state is greater than or equal to the preset duration, and receives the second inventory instruction, the network device receives the second response information transmitted by the base station.
[0079] In the embodiments of the present disclosure, the inventory flag of the tag device can be a character flag, an image flag, or other forms of flags, and the specific inventory flag can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0080] In the embodiments of the present disclosure, in the case where the tag device receives the first inventory instruction transmitted by the base station, the tag device adjusts the inventory flag bit of the tag device to the inventory flag; the tag device sends the first response information of the successful inventory to the base station; in the case where the tag device receives the second inventory instruction transmitted by the relay terminal again, and the inventory flag bit is the inventory flag, the tag device prohibits responding to the second inventory instruction. Or after the tag device sends the first response information of the successful inventory to the base station, in the case where the tag device receives the third inventory instruction transmitted by the base station or other communication devices again, and the inventory flag bit is the inventory flag, the tag device prohibits responding to the third inventory instruction.
[0081] The second inventory instruction and the third inventory instruction are inventory instructions received after the first inventory instruction; and the other communication device is a communication device other than the base station or the relay terminal.
[0082] It should be noted that the number of second inventory instructions can be one, and the number of second inventory instructions can also be multiple, and the specific number of second inventory instructions can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0083] It should be noted that the number of third inventory instructions can be one, and the number of third inventory instructions can also be multiple, and the specific number of third inventory instructions can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0084] In the embodiments of the present disclosure, the tag device is prohibited from responding to the second inventory instruction if the tag device receives the second inventory instruction transmitted by the relay terminal again within a first time period after receiving the first inventory instruction, and the inventory flag bit is the inventoried flag.
[0085] In the embodiments of the present disclosure, the tag device adjusts the inventory flag bit of the tag device from the inventoried flag to the un-inventoried flag bit after a first time period after receiving the first inventory instruction.
[0086] In the embodiments of the present disclosure, the process of adjusting the inventory flag bit of the tag device to the inventoried flag includes: flipping the inventory flag bit of the tag device to obtain the inventoried flag; or setting the inventory flag bit of the tag device to obtain the inventoried flag.
[0087] In the embodiments of the present disclosure, the tag device can flip the flag information on the inventory flag bit to obtain the inventoried flag. For example, the flag information on the inventory flag bit of the tag device can be F when the tag device has not been inventoried, and the flag information on the inventory flag bit of the tag device is flipped to obtain -F, i.e., the inventoried flag, after the tag device is successfully inventoried.
[0088] In the embodiments of the present disclosure, the tag device can set the flag information on the inventory flag bit to obtain the inventoried flag. For example, the flag information on the inventory flag bit of the tag device can be 0 when the tag device has not been inventoried, and the flag information on the inventory flag bit of the tag device is set to obtain 1, i.e., the inventoried flag, after the tag device is successfully inventoried.
[0089] It can be understood that the inventory flag bit of the tag device is adjusted by flipping or setting, so that the tag device is prohibited from responding to the inventory instruction of the other communication device according to the inventoried flag, the tag device is prevented from being inventoried repeatedly by the target communication device and the other communication device, and the consumption of communication resources is reduced.
[0090] In the embodiments of the present disclosure, after the tag device adjusts the inventory flag bit of the tag device to the inventoried flag after receiving the first inventory information transmitted by the target communication device, the tag device adjusts the inventory flag bit of the tag device from the inventoried flag to the un-inventoried flag bit after a first time period after receiving the first inventory information.
[0091] The duration of the first time period is the preset duration.
[0092] In the embodiments of the present disclosure, the first time period can be determined by hardware of the tag device, can be a time period configured in the tag device, can be a time period sent to the tag device by a network side, or can be a time period obtained by the tag device in other manners. The manner in which the tag device obtains the first time period can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0093] For example, the duration of the first time period can be 2 minutes, the first time period can also be 1 minute, and the first time period can also be other time periods. The duration of the first time period can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0094] For example, in the case of flipping the inventory flag of the tag device to obtain the inventory flag, the manner of adjusting the inventory flag of the tag device from the inventory flag to the non-inventory flag can be flipping the inventory flag of the tag device to obtain the non-inventory flag. For example, if the flag information of the inventory flag is -F, the inventory flag of the tag device is flipped to obtain the non-inventory flag F on the non-inventory flag.
[0095] For example, in the case of setting the inventory flag of the tag device to obtain the inventory flag, the manner of adjusting the inventory flag of the tag device from the inventory flag to the non-inventory flag can be de-setting the inventory flag of the tag device to obtain the non-inventory flag. For example, if the flag information of the inventory flag is 1, the inventory flag of the tag device is de-set to obtain the non-inventory flag 0 on the non-inventory flag.
[0096] It can be understood that the tag device adjusts the inventory flag of the tag device from the inventory flag to the non-inventory flag after a period of time, that is, the tag device can respond to the inventory instruction transmitted by the target communication device or other communication devices after the period of time, so that the tag device can also communicate with other communication devices or the target communication device in the case that the target communication device does not communicate with the tag device, thereby reducing the consumption of communication resources.
[0097] In the embodiments of the present disclosure, the tag device inventoried by the base station will not respond to the inventory from the relay terminal again within a period of time (the first time period), and the tag device inventoried by the relay terminal will not respond to the inventory from the base station again within a period of time, so that the same tag device is avoided from being inventoried repeatedly by the base station and the relay terminal.
[0098] In the embodiments of the present disclosure, the gNB base station or the relay terminal sends the inventory information (first inventory instruction) to the tag device, and the inventory information instructs the tag device to flip or set the flag bit after completing the inventory. After receiving the inventory information, the tag device sends the RN16 and / or the tag device ID information to the base station or the relay terminal. After the tag device reports the tag device ID to the network device, the tag device flips or sets the flag bit. For example, the flag bit F is flipped to -F. Or 0 is set to 1. The above-mentioned flipping or setting can have a time limit (first time period), and after exceeding a certain time limit, the tag device will restore the original flag bit. The tag device that is flipped or set will not respond to the inventory message again after receiving the inventory message.
[0099] For example, the time length of the first time period is 1 minute, the un-inventory flag is F, and the first response information is the ID information of the tag device. When the tag device receives the first inventory information sent by the target communication device, the tag device adjusts the flag information F on the inventory flag bit of the tag device to the inventory flag (i.e., flips the inventory flag bit of the tag device to obtain the flag bit -F on the inventory flag bit), and sends the ID information of the tag device to the target communication device. Within 1 minute from receiving the first inventory information, the tag device is prohibited from responding to the inventory instruction again if the tag device receives the inventory instruction transmitted by the target communication device or other communication devices and the inventory flag bit is the inventory flag. After 1 minute from receiving the first inventory information, the inventory flag bit of the tag device is adjusted from the inventory flag to the un-inventory flag bit (i.e., -F is flipped to F).
[0100] For example, the time length of the first time period is 2 minutes, the un-inventory flag is 0, and the first response information is RN16. When the tag device receives the first inventory information sent by the target communication device, the tag device adjusts the flag information 0 on the inventory flag bit of the tag device to the inventory flag (i.e., sets the inventory flag bit of the tag device to obtain the flag bit 1 on the inventory flag bit), and sends the RN16 to the target communication device. Within 2 minutes from receiving the first inventory information, the tag device is prohibited from responding to the inventory instruction again if the tag device receives the inventory instruction transmitted by the target communication device or other communication devices and the inventory flag bit is the inventory flag. After 2 minutes from receiving the first inventory information, the inventory flag bit of the tag device is adjusted from the inventory flag to the un-inventory flag bit (i.e., 1 is reset to 0).
[0101] In the embodiments of the present disclosure, for the tag device to be inventoried, the core network (network device) finds the identity of the tag device (or gNB base station ID (i.e., the first identity), or relay terminal ID (i.e., the second identity)), determines the identity (gNB base station ID or relay terminal ID) that needs to be executed for inventory. The core network sends an inventory message (i.e., an instruction to inventory the tag device) to the target communication device (or gNB base station or relay terminal) according to the identity (gNB base station ID or relay terminal ID), and the message carries the tag identity of the tag device. The tag identity can be the ID of the tag device, or the mask, identification number, etc. of the tag device. The specific terminal tag ID can be determined according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0102] For example, the relay terminal inventories the tag device, and the relay terminal reports its own communication device ID (second identity) and the identity of the tag device (i.e., the tag identity) to the network side device (base station or core network). The first network side device (such as a base station) inventories the tag device, and the first network side device (base station) reports its own communication device ID (first identity) and the identity of the tag device (i.e., the tag identity) to the second network side device (such as a core network mobility management node). Then, the network side device (such as the core network) saves the correspondence between the tag device and the terminal and the gNB base station. Next time the core network wants to inventory the tag device, it only needs to send an inventory message to the corresponding gNB base station or relay terminal according to the correspondence, so that the tag device can be inventoried with high probability. If the tag device cannot be inventoried, the range of gNB base stations or relay terminals sending the inventory message is expanded.
[0103] As shown in FIG. 2, the network device (core network) receives a network connection request sent by the base station, the network connection request carrying first information that the base station supports passive Internet of Things communication capability, generates a first identity of the base station, and sends a network connection response corresponding to the network connection request to the base station, the network connection response including the first identity. The network device (core network) receives a registration request sent by the relay terminal from the base station, the registration request carrying first information that the relay terminal supports passive Internet of Things communication capability, obtains subscription information of the relay terminal, and determines that the first information is verified successfully in a case where the subscription information indicates that the relay terminal has subscribed to a passive Internet of Things communication service. Then, a second identity of the relay terminal is generated, and the second identity is sent to the relay terminal through the base station. The network device (core network) sends an instruction for inventorying a tag device to the base station, so that the base station sends a first inventory instruction to the tag device. In a case where a first response information indicating that the base station successfully inventories the tag device is received, a first identity of the base station and a tag identity of the tag device are obtained from the first response information. A first communication relationship between the base station and the tag device is established according to the first identity and the tag identity. The base station is instructed to inventory the tag device next time according to the first communication relationship. The network device (core network) sends an instruction for inventorying a tag device to the relay terminal through the base station, so that the relay terminal sends a second inventory instruction to the tag device. In a case where a second response information indicating that the relay terminal successfully inventories the tag device is received, a second identity of the relay terminal, a first identity of the base station, and a tag identity of the tag device are obtained from the second response information. A second communication relationship among the base station, the relay terminal, and the tag device is established according to the second identity, the first identity, and the tag identity. The relay terminal is instructed to inventory the tag device next time according to the second communication relationship.
[0104] It can be understood that the network device generates a target identity of a target communication device in a case where the network device receives an identity allocation request sent by the target communication device and determines that the identity allocation request carries first information that the target communication device supports passive Internet of Things communication capability. The target communication device includes a base station and a relay terminal, and the relay terminal is a terminal configured for the base station to communicate with a tag device. That is, the network device allocates identities to the base station and the relay terminal respectively, so that the identities of the relay terminal and the base station are not the same, and the network device does not instruct the relay terminal and the base station to inventory the same tag device because the relay terminal and the base station have the same identity. This avoids the process of repeatedly inventorying a tag device by a target communication device and other communication devices, thereby reducing the consumption of communication resources.
[0105] Based on the same inventive concept as the identity allocation method applied to the communication device in the network device, the embodiments of the present disclosure provide a network device 1, corresponding to an identity allocation method of a communication device; FIG. 3 is a schematic diagram of the component structure of a network device according to an embodiment of the present disclosure. The network device 1 can include:
[0106] The receiving part 11 is configured to receive an identity allocation request sent by a target communication device, wherein the target communication device is a base station or a relay terminal; and the relay terminal is a terminal configured for the base station to communicate with a tag device;
[0107] The generating part 12 is configured to generate a target identity of the target communication device in a case where the target communication device supports passive Internet of Things communication capability first information carried in the identity allocation request;
[0108] The sending part 13 is configured to send the target identity to the target communication device.
[0109] In some embodiments of the present disclosure, the receiving part 11 is configured to receive a network connection request sent by the base station in a case where the target communication device is a base station; and the identity allocation request includes the network connection request;
[0110] Correspondingly, the sending part 13 is configured to send a network connection response corresponding to the network connection request to the base station; and the network connection response includes the first identity allocated by the network device for the base station.
[0111] In some embodiments of the present disclosure, the network device further includes an obtaining part and a determining part;
[0112] The obtaining part is configured to obtain subscription information of the relay terminal in a case where the target communication device is the relay terminal;
[0113] The determining part is configured to determine that the verification of the first information is successful in a case where the subscription information identifies that the relay terminal has subscribed to a passive Internet of Things communication service;
[0114] The generating part 12 is configured to generate a target identity of the target communication device.
[0115] In some embodiments of the present disclosure, the receiving part 11 is configured to receive a registration request sent by the relay terminal from the base station in a case where the target communication device is the relay terminal; and the identity allocation request includes the registration request;
[0116] Correspondingly, the sending part 13 is configured to send the second identity identifier to the base station, so as to forward the second identity identifier allocated by the network device to the relay terminal through the base station.
[0117] In some embodiments of the present disclosure, the target identity identifier comprises one of the following:
[0118] a random number, a communication device identifier of the target communication device, and network element information of the network device.
[0119] In some embodiments of the present disclosure, the network device further comprises an establishing part.
[0120] The sending part 13 is configured to send an inventory tag device instruction to the base station, so as to send a first inventory instruction to the tag device by the base station when the target communication device is a base station.
[0121] The obtaining part is configured to obtain a first identity identifier of the base station and a tag identity identifier of the tag device from the first response information when the base station successfully inventories the tag device.
[0122] The establishing part is configured to establish a first communication relationship between the base station and the tag device according to the first identity identifier and the tag identity identifier, and instruct the base station to inventory the tag device next time according to the first communication relationship.
[0123] In some embodiments of the present disclosure, the sending part 13 is configured to send an inventory tag device instruction to the relay terminal through the base station, so as to send a second inventory instruction to the tag device by the relay terminal when the target communication device is a relay terminal.
[0124] The obtaining part is configured to obtain a second identity identifier of the relay terminal, a first identity identifier of the base station and a tag identity identifier of the tag device from the second response information when the relay terminal successfully inventories the tag device.
[0125] The establishing part is configured to establish a second communication relationship among the base station, the relay terminal and the tag device according to the second identity identifier, the first identity identifier and the tag identity identifier, and instruct the relay terminal to inventory the tag device next time according to the second communication relationship.
[0126] In some embodiments of the present disclosure, the receiving part 11 is configured to receive the first inventory instruction from the base station, and receive the second response information transmitted by the base station in the case that the inventory flag of the tag device is adjusted to the already-inventoried flag according to the first inventory instruction, and the adjustment duration of the already-inventoried flag state is greater than or equal to a preset duration.
[0127] It should be noted that, in actual applications, the receiving part 11, the generating part 12 and the sending part 13 can be implemented by a processor 14 on the core network device, specifically, a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processing (DSP) or a Field Programmable Gate Array (FPGA), etc., and the data storage can be implemented by a memory 15 on the core network device.
[0128] The embodiments of the present disclosure further provide a core network device, as shown in FIG. 4, which comprises a processor 14, a memory 15 and a communication bus 16, the memory 15 communicates with the processor 14 through the communication bus 16, and the memory 15 stores programs executable by the processor 14, when the programs are executed, the communication device identity allocation method as described above is executed by the processor 14.
[0129] In actual applications, the memory 15 can be a volatile memory, such as a Random-Access Memory (RAM), or a non-volatile memory, such as a Read-Only Memory (ROM), a flash memory, a Hard Disk Drive (HDD) or a Solid-State Drive (SSD), or a combination of the above kinds of memories, and provides instructions and data to the processor 14.
[0130] The embodiments of the present disclosure provide a computer readable storage medium having a computer program thereon, when the program is executed by the processor 14, the communication device identity allocation method as described above is implemented.
[0131] Exemplarily, the embodiment of the present disclosure further provides a computer program product comprising a computer program, which can be executed by the processor 14 to complete the steps of the aforementioned identity allocation method of the communication device.
[0132] It can be understood that, in the case that the network device receives the identity allocation request sent by the target communication device and determines that the first information carried in the identity allocation request indicates that the target communication device supports the passive IoT communication capability, the network device generates the target identity of the target communication device, and the target communication device includes a base station and a relay terminal, and the relay terminal is a terminal configured for the base station to communicate with the tag device, that is, the network device allocates identities to the base station and the relay terminal respectively, so that the identities of the relay terminal and the base station are not the same, and the network device does not let the relay terminal and the base station both inventory the same tag device because the relay terminal and the base station have the same identity, avoiding the process that the tag device is inventoried repeatedly by the target communication device and other communication devices, thereby reducing the consumption of communication resources.
[0133] Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage, etc.) containing computer-usable program code.
[0134] The present disclosure is described with reference to flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices produce the device for implementing the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.
[0135] These computer program instructions can also be stored in a computer-readable memory capable of guiding the computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product comprising instruction devices, which implement the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.
[0136] These computer program instructions can also be loaded into a computer or other programmable data processing devices, so that a series of operation steps are performed on the computer or other programmable devices to generate a computer implemented process, so that the instructions executed on the computer or other programmable devices provide steps for implementing the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.
[0137] The above description is merely preferred embodiments of the present disclosure, but not for limiting the protection range of the present disclosure.
Claims
1. A method for allocating an identity of a communication device, applied to a network device, comprising: receiving an identity allocation request sent by a target communication device, wherein the target communication device is a base station or a relay terminal; the relay terminal is a terminal configured for the base station to communicate with a tag device; in a case where the identity allocation request carries first information indicating that the target communication device supports passive Internet of Things (IoT) communication capability, generating a target identity of the target communication device; sending the target identity to the target communication device.
2. The method of claim 1, wherein, The receiving an identity allocation request sent by a target communication device comprises: in a case where the target communication device is a base station, receiving a network connection request sent by the base station; the identity allocation request comprises the network connection request; correspondingly, the target identity comprises a first identity; the sending the target identity to the target communication device comprises: sending a network connection response corresponding to the network connection request to the base station; the network connection response comprises the first identity allocated to the base station by the network device.
3. The method of claim 1, wherein, The generating a target identity of the target communication device comprises: in a case where the target communication device is the relay terminal, obtaining subscription information of the relay terminal; in a case where the subscription information indicates that the relay terminal has subscribed to a passive IoT communication service, determining that the first information is verified successfully; generating a target identity of the target communication device.
4. The method of claim 1, wherein, The receiving an identity allocation request sent by a target communication device comprises: in a case where the target communication device is the relay terminal, receiving a registration request sent by the relay terminal from the base station, wherein the identity allocation request comprises the registration request; correspondingly, the target identity comprises a second identity; the sending the target identity to the target communication device comprises: sending the second identity to the base station, so as to forward the second identity allocated to the relay terminal by the network device to the relay terminal via the base station.
5. The method of claim 1, wherein, The target identity comprises one of the following : a random number, a communication device identifier of the target communication device, and network element information of the network device.
6. The method of claim 1, wherein, After the sending the target identity to the target communication device, the method further comprises: in a case where the target communication device is a base station, sending an instruction of inventorying a tag device to the base station, so as to send a first inventorying instruction to the tag device by the base station; in a case where a first response information indicating that the tag device is successfully inventoried by the base station is received, obtaining a first identity of the base station and a tag identity of the tag device from the first response information; establishing a first communication relationship between the base station and the tag device according to the first identity and the tag identity; and instructing the base station to inventory the tag device next time according to the first communication relationship.
7. The method of claim 1, wherein, After the sending the target identity to the target communication device, the method further comprises: In the case that the target communication device is a relay terminal, an inventory tag device instruction is sent to the relay terminal by the base station, so that the relay terminal sends a second inventory instruction to the tag device; In the case that the second response information of the relay terminal to the successful inventory of the tag device transmitted by the base station is received, the second identity of the relay terminal, the first identity of the base station and the tag identity of the tag device are obtained from the second response information; According to the second identity, the first identity and the tag identity, a second communication relationship between the base station, the relay terminal and the tag device is established, and the relay terminal is instructed to inventory the tag device next time according to the second communication relationship.
8. The method of claim 7, wherein, Before the case that the second response information of the relay terminal to the successful inventory of the tag device transmitted by the base station is received, the second identity of the relay terminal, the first identity of the base station and the tag identity of the tag device are obtained from the second response information, the method further comprises: In the case that the second inventory instruction is received when the tag device receives the first inventory instruction of the base station, and adjusts the inventory flag bit of the tag device to the inventory flag, and the adjustment time length of the inventory flag state is greater than or equal to the preset time length, the second response information transmitted by the base station is received.
9. A network device, comprising: a receiving part configured to receive an identity allocation request sent by a target communication device, the target communication device being a base station or a relay terminal; the relay terminal is a terminal configured for the base station to communicate with a tag device; a generating part configured to generate a target identity of the target communication device in the case that first information that the target communication device supports passive Internet of Things communication capability is carried in the identity allocation request; a sending part configured to send the target identity to the target communication device.
10. A core network device, comprising: a memory, a processor and a communication bus, the memory being in communication with the processor through the communication bus, the memory storing a program of identity allocation of a communication device executable by the processor, when the program of identity allocation of the communication device is executed, the method of any one of claims 1-8 is executed by the processor.
11. A storage medium having a computer program stored thereon, applied to a core network device, the computer program being executed by a processor to implement the method of any one of claims 1-8.
12. A computer program product comprising a computer program, the computer program being executed by a processor to implement the method of any one of claims 1-8.
Citation Information
Patent Citations
Method and system for distributing equipment identifiers
CN104066078A
Communication method, server and terminal
CN105554730A
Identification allocation method and device
CN111148092A
Intra-group communication method and system of Internet of Things
CN116033555A
Internet of Things terminal and identification method thereof, base station, core network equipment and storage medium
CN118215149A