CN112135289A - Method and device for acquiring wireless capability information, storage medium and electronic device - Google Patents

Method and device for acquiring wireless capability information, storage medium and electronic device Download PDF

Info

Publication number
CN112135289A
CN112135289A CN201910550758.5A CN201910550758A CN112135289A CN 112135289 A CN112135289 A CN 112135289A CN 201910550758 A CN201910550758 A CN 201910550758A CN 112135289 A CN112135289 A CN 112135289A
Authority
CN
China
Prior art keywords
wireless capability
capability information
information
wireless
index information
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.)
Withdrawn
Application number
CN201910550758.5A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201910550758.5A priority Critical patent/CN112135289A/en
Priority to PCT/CN2020/084016 priority patent/WO2020258986A1/en
Publication of CN112135289A publication Critical patent/CN112135289A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9014Indexing; Data structures therefor; Storage structures hash tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for acquiring wireless capability information, a storage medium and an electronic device, wherein the method comprises the following steps: receiving first wireless capability information sent by User Equipment (UE), wherein the first wireless capability information is used for indicating the capability of the UE for accessing a wireless network; searching whether first index information exists in a wireless capability information table stored by taking the index information as a primary key, wherein the first index information is generated according to the first wireless capability information; and acquiring the wireless capability information corresponding to the first index information in the wireless capability information table when the first index information exists in the wireless capability information table. The invention can solve the problems of memory occupation and low wireless capability efficiency caused by repeated decoding of the wireless capability information of the UE, and achieves the effect of reducing the memory.

Description

Method and device for acquiring wireless capability information, storage medium and electronic device
Technical Field
The invention relates to the field of computers, in particular to a method and a device for acquiring wireless capability information, a storage medium and an electronic device.
Background
According to the technical standard of 3rd Generation Partnership Project (3 GPP), a User Equipment (UE) must transmit its radio capability information to a base station so that the base station can combine the information to select a suitable radio resource or provide a suitable service for the UE.
When the UE initially accesses the network, the UE Radio capability information encoded by an Abstract Syntax Notation (asn.1) is sent to the base station through a Radio Resource Control (RRC) message. The Radio capability of the UE includes information (e.g., power class, frequency band, etc.) related to various Radio Access Technologies (RATs) supported by the UE, and thus, the UE Radio capability information may be large (e.g., more than 1000 bytes). According to the definition of the 3GPP technical standard 23.008, the maximum UE radio capability asn.1 code stream received by an evolved Node B (eNB) of a base station may reach 8188 bytes.
The base station stores the UE radio capability information in the UE instance during the connection with the UE. When the UE releases, the base station clears the information together with the UE instance. In order to avoid wireless overload caused by the fact that the wireless capability of the UE needs to be sent to the base station every time the UE is accessed to the network, the base station can send the received UE wireless capability information to the core network for temporary storage, and when the subsequent UE is accessed to the network, the core network sends the cached UE wireless capability to the base station. And when the UE is unregistered, the core network clears the UE wireless capability information together with the UE instance. The base station device is a network element that adopts a 3GPP technical standard, such as an evolved Node B (eNB) and a New Radio Node B (gNB). The core network device is a network Element that adopts a 3GPP technical standard, such as a Mobility Management Entity (MME), an Access and Mobility Management Function (AMF).
The radio capability information of the UE is related to its software and hardware version. On the one hand, the radio capability information of an individual UE is stable, i.e. the radio capability information of the UE is the same each time the UE accesses the network. On the other hand, for a plurality of UEs on the market in the same batch of a certain brand, their radio capability information is usually the same. However, according to the prior art, both the base station and the core network device need to store and maintain the UE radio capability information for each UE they serve, which may consume a large amount of memory resources. For example, assuming that the length of the asn.1 code stream per UE radio capability is 1000 bytes, and the base station needs to store 4000 bytes of asn.1 decoded UE radio capability information in addition to the 1000 bytes of asn.1 code stream in the UE instance, which amounts to 5000 bytes, for the base station device that supports 40000 maximum UEs, memory resources of 5000 × 40000-200 mbytes need to be consumed to process the UE radio capability information. However, the types of UE radio capability information (asn.1 code streams) actually existing in the network are limited, for example, 4000, and then the base station actually only needs to consume memory resources of 5000 × 4000-20 mbytes to process the UE radio capability information. Similarly, for the core network device, the maximum number of connected UEs supported by the core network device may reach the hundreds of thousands or even millions, and more memory resources may be required to store the UE wireless capability information.
In addition, for a given UE, the base station needs to perform asn.1 decoding on its UE radio capability each time it accesses the network, especially when the UE radio capability asn.1 code stream is long (e.g., over 1000 bytes), the asn.1 decoding operation may become a performance bottleneck for the base station.
On one hand, the hardware cost of the base station and the core network equipment is increased on the premise of the specification of the number of the set users, on the other hand, the performance bottleneck is introduced for the software processing of the base station, the UE access time delay is increased, and the user network sensitivity is reduced.
In view of the above technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring wireless capability information, a storage medium and an electronic device, which are used for at least solving the problems that the wireless capability information of UE (user equipment) is repeatedly decoded, the memory is occupied and the wireless capability efficiency is low in the related technology.
According to an embodiment of the present invention, there is provided a method for acquiring wireless capability information, including: receiving first wireless capability information sent by User Equipment (UE), wherein the first wireless capability information is used for indicating the capability of the UE for accessing a wireless network; searching whether first index information exists in a wireless capability information table stored by taking the index information as a primary key, wherein the first index information is generated according to the first wireless capability information; and acquiring the wireless capability information corresponding to the first index information in the wireless capability information table under the condition that the first index information exists in the wireless capability information table.
According to another embodiment of the present invention, there is provided an apparatus for acquiring wireless capability information, including: the wireless network access control system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving first wireless capability information sent by User Equipment (UE), and the first wireless capability information is used for indicating the capability of the UE for accessing a wireless network; the searching module is used for searching whether first index information exists in a wireless capability information table stored according to index information as a primary key, wherein the first index information is generated according to the first wireless capability information; an obtaining module, configured to obtain, when the first index information exists in the wireless capability information table, wireless capability information corresponding to the first index information in the wireless capability information table.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the first wireless capability information sent by the UE is received, wherein the first wireless capability information is used for indicating the capability of the UE for accessing the wireless network; searching whether first index information exists in a wireless capability information table stored by taking the index information as a primary key, wherein the first index information is generated according to the first wireless capability information; and acquiring the wireless capability information corresponding to the first index information in the wireless capability information table when the first index information exists in the wireless capability information table. The first wireless capability information can be searched based on the first index information, and further, the storage of the wireless capability information on the network side can be reduced. Therefore, the problems that the wireless capability information of the UE is repeatedly decoded, the memory is occupied, and the wireless capability efficiency is low can be solved, and the effect of reducing the memory is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of acquiring wireless capability information according to an embodiment of the present invention;
FIG. 3 is a signaling timing diagram of a LTE network acquiring UE radio capability;
fig. 4 shows the source side of the handover preparation procedure of LTE network X2eThe NB transmits the UE wireless capability to a signaling timing diagram of the target side eNB;
fig. 5 is a block diagram of a UE radio capability information management apparatus;
FIG. 6 is a schematic diagram of a data structure design of a UE wireless capability information hash storage module;
fig. 7 is a flowchart of an eNB apparatus UE wireless capability information management apparatus;
FIG. 8 is a flow chart of an eNB device UE wireless capability information hash storage module storing UE wireless capability information;
FIG. 9 is a state flow diagram of the eNB device UE wireless capability information hash storage module updating UE wireless capability information;
FIG. 10 is a flow chart of an eNB device UE wireless capability information monitoring module operation;
fig. 11 is a flowchart of the operation of the AMF device UE wireless capability information management means;
fig. 12 is a flowchart of the AMF device UE wireless capability information hash storage module storing UE wireless capability information;
fig. 13 is a block diagram of a configuration of an apparatus for acquiring wireless capability information according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking an example of the method running on a mobile terminal, fig. 1 is a hardware structure block diagram of the mobile terminal of the method for acquiring wireless capability information according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the method for acquiring wireless capability information in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for acquiring wireless capability information is provided, and fig. 2 is a flowchart of a method for acquiring wireless capability information according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving first wireless capability information sent by User Equipment (UE), wherein the first wireless capability information is used for indicating the capability of the UE for accessing a wireless network;
step S204, searching whether first index information exists in a wireless capability information table stored by taking the index information as a primary key, wherein the first index information is generated according to the first wireless capability information;
in step S206, when the first index information exists in the wireless capability information table, the wireless capability information corresponding to the first index information in the wireless capability information table is acquired.
Through the steps, first wireless capability information sent by the UE is received, wherein the first wireless capability information is used for indicating the capability of the UE for accessing the wireless network; searching whether first index information exists in a wireless capability information table stored by taking the index information as a primary key, wherein the first index information is generated according to the first wireless capability information; and acquiring the wireless capability information corresponding to the first index information in the wireless capability information table when the first index information exists in the wireless capability information table. The first wireless capability information can be searched based on the first index information, and further, the storage of the wireless capability information on the network side can be reduced. Therefore, the problems that the wireless capability information of the UE is repeatedly decoded, the memory is occupied, and the wireless capability efficiency is low can be solved, and the effect of reducing the memory is achieved.
Optionally, the main body of the above steps may be a network side, for example, a base station or a core network, but is not limited thereto.
In this embodiment, the index information may be a hash value of the wireless capability information, and the hash value of the wireless capability information may be determined by: determining the address of the wireless capability information and the code stream length of the first wireless capability information; inputting the address of the wireless capability information, the code stream length of the wireless capability information and a random number into a preset Hash algorithm model; and receiving a hash value of the wireless capability information output by the preset hash algorithm model.
The wireless capability information includes the first wireless capability information, the second wireless capability information, and the third wireless capability information in the present embodiment. But the random numbers used for the respective wireless capability information are different.
For example, determining an address of the second wireless capability information and a code stream length of the second wireless capability information; inputting the address, the code stream length and the first random number into a preset Hash algorithm model; receiving a first hash value of second wireless capability information output by a preset hash algorithm model; the first hash value is determined as second index information. Determining the address of the second wireless capability information and the code stream length of the second wireless capability information; inputting the address, the code stream length and a second random number into a preset Hash algorithm model; receiving a second hash value of second wireless capability information output by a preset hash algorithm model; the second hash value is determined as third index information. The third index information is used for authenticating the UE; the third index information is stored in a wireless capability information table. The first random data and the second random number are different, and the third index information is used for verifying whether the UE is the same as the two UEs or not through the second hash value when the UE is in collision with the hash value generated by the wireless capability information of the two UEs.
For example, for different UEs, if the first hash value and the second hash value of the UE are the same, the eNB considers that the wireless capability information of the UEs is the same, and the system only needs to store one piece of UE wireless capability information.
Alternatively, the radio capability information may be received in the following manner, as shown in fig. 3, which is a signaling sequence diagram of an eNB acquiring the radio capability of the UE in a Long Term Evolution (Long Term Evolution, LTE for short) network. The eNB sends a UE CAPABILITY ENQUERY message to inquire the wireless CAPABILITY INFORMATION of the UE, and the UE sends the wireless CAPABILITY INFORMATION coded by the ASN.1 to the eNB through the UE CAPABILITY INFORMATION message. And the eNB stores the received UE wireless CAPABILITY information in the UE instance and sends the UE wireless CAPABILITY information to the MME for storage through a UE CAPABILITY INFO INDICATION message. As shown in fig. 4, it is a signaling sequence diagram of the X2 handover preparation procedure source side eNB transmitting UE radio capability to the target side eNB in the LTE network. The source side eNB carries the UE wireless capability ASN.1 code stream in the HANDOVER REQUEST message and sends the message to the target side eNB, and the target side eNB stores the received UE wireless capability information in the UE instance.
In an optional embodiment, when the first index information exists in the wireless capability information table, after the wireless capability information corresponding to the first index information in the wireless capability information table is acquired, the first wireless capability information is decoded to obtain the decoded first wireless capability information; and storing the decoded first wireless capability information in a wireless capability information table corresponding to the first index information. In this embodiment, the stored UE wireless capability information also includes information obtained by decoding the wireless capability information asn.1 code stream, which can prevent the eNB from performing asn.1 decoding operation each time the UE accesses, thereby reducing system load.
In an optional embodiment, after the second index information is used as the primary key to store the second wireless capability information, the wireless capability information table corresponding to the second index information is deleted when the second wireless capability information is determined not to be used within the preset time. For example, the eNB automatically clears the stored UE wireless capability information for 12 consecutive hours without any UE instances used.
The invention is illustrated below with reference to specific examples:
in order to overcome the problems that in the prior art, when UE accesses a network each time, a base station needs to perform ASN.1 decoding on the wireless capability of the UE to reduce the system performance and increase the access delay, and the base station and a core network need to consume a large amount of memory resources to store the wireless capability information of the UE to increase the equipment cost, a method and a device for processing the wireless capability information of the UE by the base station and the network element equipment of the core network in a mobile communication network are provided.
The embodiment provides a method for managing UE wireless capability information by a base station and a core network, which comprises the following steps:
1) for each received ASN.1 code stream of the UE wireless capability, a hash value (or called digital fingerprint) with a fixed length is generated by adopting a non-encryption hash algorithm, and the UE wireless capability information (comprising the ASN.1 code stream and the decoded information) is stored by taking the hash value as a main key. And for the newly accessed UE, if the generated hash value exists in the system, directly using the UE wireless capability information stored by the system, and otherwise, storing the UE wireless capability information by taking the generated hash value as a primary key.
2) The system automatically clears the stored UE radio capability information that reaches the inactivity threshold and reclaims the associated memory resources. Wherein the inactivity threshold is set by a user, e.g., no UE instance has used the stored UE radio capability information for 12 consecutive hours.
The present embodiment further provides an apparatus for managing UE wireless capability information, as shown in fig. 5, including the following modules:
the UE wireless capability information hash management module is used for storing and searching UE wireless capability information (comprising ASN.1 code stream and decoded information) by taking a hash value as a main key;
and the UE wireless capability information monitoring module is used for monitoring the condition that the UE wireless capability information stored by the system is used by the UE instance, and automatically clearing the UE wireless capability information reaching the inactivity threshold so as to recycle the system memory resources.
In this embodiment, an implementation manner of the UE radio capability information management apparatus in the eNB device is described, in which the eNB uses a non-cryptographic hash algorithm murmurmurr hash3(32bit) to generate a hash value hash1 (first hash value) with a fixed length of 32 bits as a storage key for a UE radio capability asn.1 code stream with an indefinite length. Meanwhile, a secondary re-hash mode is adopted to generate another hash value of hash2 (second hash value) with the fixed length of 32bit for the wireless capability ASN.1 code stream of the UE as a check code. The check code is used for further distinguishing different UE wireless capability ASN.1 code streams in case of collision of the hash 1. For different UEs, if the hashes 1 generated by the asn.1 code streams of the wireless capabilities of their UEs are the same and the hashes 2 are also the same, the eNB considers that the wireless capability information of these UEs is the same, and the system only needs to store one copy of the wireless capability information of the UEs. The stored UE wireless capability information also comprises information after decoding the wireless capability ASN.1 code stream, so that the situation that the eNB needs to execute ASN.1 decoding operation when the UE accesses each time can be avoided, and the system load is reduced. The eNB automatically clears the stored UE radio capability information for 12 consecutive hours without any UE instances used.
As shown in fig. 6, the eNB uses a data structure of an array and a linked list combination to store and manage the UE wireless capability information, where the array size m is set by a user, for example 10000. The array entry with the subscript hash 1% m stores the UE wireless capability information address with the primary key hash1 and resolves the case of a subscript hash 1% m collision in a linked list manner.
As shown in fig. 7, the UE radio capability information management apparatus workflow of eNB includes the following steps S701 to S704.
Step S701, the UE wireless capability information storage module executes initialization operation, including establishing an array hashTable with size m, and generating 2 random numbers rand1 and rand2 within the range of [0,2^32] based on the current system timestamp.
In step S702, the UE wireless capability information monitoring module starts a periodic monitoring timer Tmonitor, and the duration of the timer is set by a user, for example, 1 hour.
Step S703, if the hash storage module receives the UE wireless capability storage request, the UE wireless capability storage process is executed.
Step S704, if the hash storage module receives the UE release indication, the UE wireless capability status updating process is executed.
As shown in fig. 8, the UE wireless capability storage procedure includes the following steps S801 to S805.
Step S801, UE wireless ability storage module receives UE wireless ability ASN.1 code stream
Step S802, the UE wireless capability storage module respectively takes rand1 and rand2 as parameters, calls MurmurHash3(32bit) algorithm, and generates 2 hash values, namely hash1 and hash2, for the UE wireless capability ASN.1 code stream.
Step S803, if the hashTable [ hash 1% m ] is NULL address, or the linked list pointed by the hashTable [ hash 1% m ] does not have a linked list item containing hash1, the newly added linked list item E stores the received UE wireless capability, including: hash1, hash2, asn.1 stream, information after asn.1 stream decoding, ueNum (1), inactiveTime (0). The ueNum indicates the number of UE instances currently using the UE wireless capability information stored in the link table item E in the eNB, and the inactiveTime indicates the duration of the UE wireless capability information stored in the link table item E that has not been continuously used by any UE instance in the eNB, and the unit is 1 hour. Go to step S605.
Step S804, if there is a link entry E containing hash1 and hash2 in the linked list pointed by the hashTable [ hash 1% m ], updating the link entry E: ueNum +1 and inactiveTime 0.
In step S805, the memory address of the link table entry E is output as a result of the storing process.
As shown in fig. 9, the UE radio capability information status update procedure includes the following steps S901 to S902.
In step S901, the UE wireless capability information storage module receives the link table entry E memory address used by the eNB releasing the UE.
Step S902, update linked list item E, ueNum ═ ueNum-1.
As shown in fig. 10, the working process of the UE radio capability information monitoring module includes the following steps S1001 to S1002:
step S1001, after the periodic monitoring timer Tmonitor times out, the UE wireless capability information monitoring module traverses all the link entries according to the hashTable, and updates the variable inactiveTime + timer Tmonitor duration for the link entries satisfying ueNum 0.
In step S1002, all the link entries satisfying inactiveTime > ═ ThreshInactive are cleared. ThreshInactive represents a user-set inactivity time threshold, such as 12 hours.
In step S1003, a monitoring timer is started.
The embodiment describes an implementation manner of a UE wireless capability information management apparatus in an AMF device. In this embodiment, the AMF uses a non-cryptographic hash algorithm ctyyhash 128 to generate a hash value hash with a fixed length of 128 bits as a storage primary key for an asn.1 code stream with an indefinite length of UE radio capability. In this embodiment, the collision probability of the 128-bit hash value has already reached the system design requirement, so the hash check code is not added. For different UEs, if the hash generated by the ASN.1 code stream of the UE wireless capability is the same, the AMF considers that the wireless capability information of the UEs is the same, and the system only needs to store one piece of UE wireless capability information. The AMF automatically clears the stored UE radio capability information for 24 consecutive hours without any UE instance having used it.
As shown in fig. 6, the AMF uses a data structure of an array and a linked list combination to store and manage the UE wireless capability information, wherein the array size m is set by a user, for example 65535. The array item with the subscript of hash% m stores the UE wireless capability information address with the primary key of hash, and solves the conflict condition of the subscript hash% m in a linked list mode.
As shown in fig. 11, the UE wireless capability information management me device workflow of the AMF includes the following steps S1101 to S1104.
Step S1101, the UE wireless capability information storage module executes initialization operation, including establishing an array hashTable of size m, and generating 1 random number rand within the range of [0,2^32] based on the current system time stamp.
In step S1102, the UE wireless capability information monitoring module starts a periodic monitoring timer Tmonitor, and the duration of the timer is set by a user, for example, 1 hour.
Step S1103, if the hash storage module receives the UE wireless capability storage request, execute a UE wireless capability storage process.
Step S1104, if the hash storage module receives the UE release indication, then the UE wireless capability status updating process is executed.
As shown in fig. 12, the UE wireless capability storing procedure includes the following steps S1201 to S1205.
Step S1201, UE wireless ability storage module receives UE wireless ability ASN.1 code stream
Step S1202, the UE wireless capability storage module takes rand as a parameter and calls a type Hash128 algorithm to generate 1 Hash value for the UE wireless capability ASN.1 code stream.
Step S1203, if the hash table [ hash% m ] is NULL address, or the linked list pointed by the hash table [ hash% m ] does not have a linked list item containing hash, then the newly added linked list item E stores the received UE wireless capability, which includes: hash, asn.1 codestream, ueNum (═ 1), inactiveTime (═ 0). The ueNum indicates the number of UE instances using the UE wireless capability information stored in the link table item E in the current AMF, and the inactiveTime indicates the duration of the UE wireless capability information stored in the link table item E that has not been used by any UE instance in the AMF continuously, and the unit is 1 hour. Go to step S1205.
Step S1204, if there is a hash contained in the linked list E pointed by the hashTable [ hash% m ], updating the linked list E: ueNum +1 and inactiveTime 0.
Step S1205, as a result of the storing process, outputs the memory address of the linked list item E.
The UE radio capability information status updating process of this embodiment is shown in fig. 9 and will not be repeated.
The UE radio capability information monitoring process of this embodiment is shown in fig. 10 and will not be repeated. Wherein, the inactivity time threshold threshInactive set by the user is 24 hours.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for acquiring wireless capability information is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 13 is a block diagram of a configuration of an apparatus for acquiring wireless capability information according to an embodiment of the present invention, as shown in fig. 13, the apparatus including: the receiving module 1302, the searching module 1304 and the obtaining module 1306, the following describes the apparatus:
a receiving module 1302, configured to receive first wireless capability information sent by a user equipment UE, where the first wireless capability information is used to indicate a capability of the UE to access a wireless network;
a searching module 1304, configured to search, in a wireless capability information table stored according to index information as a primary key, whether first index information exists, where the first index information is generated according to the first wireless capability information;
an obtaining module 1306, configured to obtain, when the first index information exists in the wireless capability information table, wireless capability information corresponding to the first index information in the wireless capability information table.
According to the invention, the first wireless capability information sent by the UE is received, wherein the first wireless capability information is used for indicating the capability of the UE for accessing the wireless network; searching whether first index information exists in a wireless capability information table stored by taking the index information as a primary key, wherein the first index information is generated according to the first wireless capability information; and acquiring the wireless capability information corresponding to the first index information in the wireless capability information table when the first index information exists in the wireless capability information table. The first wireless capability information can be searched based on the first index information, and further, the storage of the wireless capability information on the network side can be reduced. Therefore, the problems that the wireless capability information of the UE is repeatedly decoded, the memory is occupied, and the wireless capability efficiency is low can be solved, and the effect of reducing the memory is achieved.
In this embodiment, the index information may be a hash value of the wireless capability information, and the hash value of the wireless capability information may be determined by: determining the address of the wireless capability information and the code stream length of the first wireless capability information; inputting the address of the wireless capability information, the code stream length of the wireless capability information and a random number into a preset Hash algorithm model; and receiving a hash value of the wireless capability information output by the preset hash algorithm model.
The wireless capability information includes the first wireless capability information, the second wireless capability information, and the third wireless capability information in the present embodiment. But the random numbers used for the respective wireless capability information are different.
For example, determining an address of the second wireless capability information and a code stream length of the second wireless capability information; inputting the address, the code stream length and the first random number into a preset Hash algorithm model; receiving a first hash value of second wireless capability information output by a preset hash algorithm model; the first hash value is determined as second index information. Determining the address of the second wireless capability information and the code stream length of the second wireless capability information; inputting the address, the code stream length and a second random number into a preset Hash algorithm model; receiving a second hash value of second wireless capability information output by a preset hash algorithm model; the second hash value is determined as third index information. The third index information is used for authenticating the UE; the third index information is stored in a wireless capability information table. The first random data and the second random number are different, and the third index information is used for verifying whether the UE is the same as the two UEs or not through the second hash value when the UE is in collision with the hash value generated by the wireless capability information of the two UEs.
For example, for different UEs, if the first hash value and the second hash value of the UE are the same, the eNB considers that the wireless capability information of the UEs is the same, and the system only needs to store one piece of UE wireless capability information.
Optionally, the wireless capability information may be received in the following manner, as shown in fig. 3, which is a signaling sequence diagram of an eNB acquiring the wireless capability of the UE in a Long Term Evolution (Long Term Evolution, LTE for short) network, and includes the following steps:
s301: the eNB sends a UE CAPABILITY ENQUERY message to inquire the wireless CAPABILITY information of the UE;
s302: the UE sends the wireless CAPABILITY INFORMATION coded by the ASN.1 to the eNB through a UE CAPABILITY INFORMATION message;
s303: and the eNB stores the received UE wireless CAPABILITY information in the UE instance and sends the UE wireless CAPABILITY information to the MME for storage through a UE CAPABILITY INFO INDICATION message.
As shown in fig. 4, a signaling sequence diagram of a source side eNB transmitting UE radio capability to a target side eNB in an X2 handover preparation procedure in an LTE network includes the following steps:
s401: the source side eNB carries the UE wireless capability ASN.1 code stream in the HANDOVER REQUEST message and sends the message to the target side eNB;
s402: and the target side eNB stores the received UE wireless capability information in the UE instance.
In an optional embodiment, the apparatus further comprises: the processing module is used for receiving second wireless capability information sent by the UE before searching whether the first index information exists in a wireless capability information table stored according to the index information as a primary key, and generating the second index information according to the second wireless capability information; a storage module, configured to store second wireless capability information using the second index information as a primary key, where the wireless capability information table includes: second wireless capability information, second index information.
In an optional embodiment, when the first index information exists in the wireless capability information table, after the wireless capability information corresponding to the first index information in the wireless capability information table is acquired, the first wireless capability information is decoded to obtain the decoded first wireless capability information; and storing the decoded first wireless capability information in a wireless capability information table corresponding to the first index information. In this embodiment, the stored UE wireless capability information also includes information obtained by decoding the wireless capability information asn.1 code stream, which can prevent the eNB from performing asn.1 decoding operation each time the UE accesses, thereby reducing system load.
In an optional embodiment, after the second index information is used as the primary key to store the second wireless capability information, the wireless capability information table corresponding to the second index information is deleted when the second wireless capability information is determined not to be used within the preset time. For example, the eNB automatically clears the stored UE wireless capability information for 12 consecutive hours without any UE instances used.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the above steps.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in this embodiment, the processor may be configured to execute the above steps through a computer program.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for acquiring wireless capability information, comprising:
receiving first wireless capability information sent by User Equipment (UE), wherein the first wireless capability information is used for indicating the capability of the UE for accessing a wireless network;
searching whether first index information exists in a wireless capability information table stored by taking the index information as a primary key, wherein the first index information is generated according to the first wireless capability information;
and acquiring the wireless capability information corresponding to the first index information in the wireless capability information table under the condition that the first index information exists in the wireless capability information table.
2. The method according to claim 1, wherein before looking up whether the first index information exists in a wireless capability information table stored according to the index information as a primary key, the method further comprises:
receiving second wireless capability information sent by the UE, and generating second index information according to the second wireless capability information;
and storing the second index information as a primary key to the second wireless capability information, wherein the wireless capability information table comprises: the second wireless capability information, the second index information.
3. The method of claim 2, wherein receiving second radio capability information sent by the UE, and generating the second index information according to the second radio capability information comprises:
determining the address of the second wireless capability information and the code stream length of the second wireless capability information;
inputting the address, the code stream length and a first random number into a preset Hash algorithm model;
receiving a first hash value of the second wireless capability information output by the preset hash algorithm model;
determining the first hash value as the second index information.
4. The method of claim 2, wherein after storing the second wireless capability information with the second index information as a primary key, the method further comprises:
generating third index information according to the second wireless capability information, wherein the third index information is used for verifying the UE;
storing the third index information in the wireless capability information table.
5. The method according to claim 1, wherein after the wireless capability information corresponding to the first index information in the wireless capability information table is acquired in a case where the first index information exists in the wireless capability information table, the method further comprises:
decoding the first wireless capability information to obtain decoded first wireless capability information;
storing the decoded first wireless capability information in the wireless capability information table corresponding to the first index information.
6. The method of claim 2, wherein after storing the second wireless capability information with the second index information as a primary key, the method further comprises:
and deleting the wireless capability information table corresponding to the second index information under the condition that the second wireless capability information is not used within the preset time.
7. An apparatus for acquiring wireless capability information, comprising:
the wireless network access control system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving first wireless capability information sent by User Equipment (UE), and the first wireless capability information is used for indicating the capability of the UE for accessing a wireless network;
the searching module is used for searching whether first index information exists in a wireless capability information table stored according to index information as a primary key, wherein the first index information is generated according to the first wireless capability information;
an obtaining module, configured to obtain, when the first index information exists in the wireless capability information table, wireless capability information corresponding to the first index information in the wireless capability information table.
8. The apparatus of claim 7, further comprising:
the processing module is used for receiving second wireless capability information sent by the UE before searching whether first index information exists in a wireless capability information table stored according to the index information as a primary key, and generating the second index information according to the second wireless capability information;
a storage module, configured to store the second wireless capability information using the second index information as a primary key, where the wireless capability information table includes: the second wireless capability information, the second index information.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN201910550758.5A 2019-06-24 2019-06-24 Method and device for acquiring wireless capability information, storage medium and electronic device Withdrawn CN112135289A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910550758.5A CN112135289A (en) 2019-06-24 2019-06-24 Method and device for acquiring wireless capability information, storage medium and electronic device
PCT/CN2020/084016 WO2020258986A1 (en) 2019-06-24 2020-04-09 Method and device for obtaining radio capability information, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910550758.5A CN112135289A (en) 2019-06-24 2019-06-24 Method and device for acquiring wireless capability information, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112135289A true CN112135289A (en) 2020-12-25

Family

ID=73849842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910550758.5A Withdrawn CN112135289A (en) 2019-06-24 2019-06-24 Method and device for acquiring wireless capability information, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN112135289A (en)
WO (1) WO2020258986A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964293A (en) * 2005-11-10 2007-05-16 中兴通讯股份有限公司 Terminal wireless access method and its system
CN101640879A (en) * 2008-08-01 2010-02-03 华为技术有限公司 Method, device and system for intersystem switching capacity information acquisition and system access
CN102244891A (en) * 2010-05-10 2011-11-16 中兴通讯股份有限公司 Method and device for reporting multi-carrier measurement capability and method and device for obtaining multi-carrier measurement capability
CN102932765A (en) * 2011-08-12 2013-02-13 华为技术有限公司 Method and equipment for acquiring capability information
US20180227904A1 (en) * 2017-02-03 2018-08-09 Qualcomm Incorporated Methods and apparatus for user equipment capability exchange
CN108810876A (en) * 2017-05-05 2018-11-13 华为技术有限公司 Communication means and relevant device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282773B (en) * 2017-01-06 2021-09-03 中兴通讯股份有限公司 Information sending method, resource configuration method, device, control node and network element
EP3682656B1 (en) * 2017-09-13 2022-06-15 Telefonaktiebolaget LM Ericsson (PUBL) Configuration of a connection
CN110267251A (en) * 2019-05-27 2019-09-20 华为技术有限公司 Wireless access capability information processing method and relevant device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964293A (en) * 2005-11-10 2007-05-16 中兴通讯股份有限公司 Terminal wireless access method and its system
CN101640879A (en) * 2008-08-01 2010-02-03 华为技术有限公司 Method, device and system for intersystem switching capacity information acquisition and system access
CN102244891A (en) * 2010-05-10 2011-11-16 中兴通讯股份有限公司 Method and device for reporting multi-carrier measurement capability and method and device for obtaining multi-carrier measurement capability
CN102932765A (en) * 2011-08-12 2013-02-13 华为技术有限公司 Method and equipment for acquiring capability information
US20180227904A1 (en) * 2017-02-03 2018-08-09 Qualcomm Incorporated Methods and apparatus for user equipment capability exchange
WO2018144421A1 (en) * 2017-02-03 2018-08-09 Qualcomm Incorporated Methods and apparatus for user equipment capability exchange
CN108810876A (en) * 2017-05-05 2018-11-13 华为技术有限公司 Communication means and relevant device

Also Published As

Publication number Publication date
WO2020258986A1 (en) 2020-12-30

Similar Documents

Publication Publication Date Title
RU2750996C1 (en) Method for wireless communication, network apparatus and terminal
CN110519709B (en) Context management method and device
WO2022171051A1 (en) Communication method and device
JP2021510997A (en) Methods, devices, and systems for configuring policies for UEs
US11943304B2 (en) Information processing method, communication apparatus, and communication system
CN113596816B (en) Control method and device for limited UE (user equipment) capability and computer storage medium
CN111567086A (en) Wireless communication method, terminal equipment and network equipment
RU2767991C1 (en) Information processing method, terminal device and data medium
CN110944361B (en) Method and network element for load balancing
CN110505662B (en) Policy control method, device and system
US12003607B2 (en) Systems and methods for packet-based file compression and storage
CN111107539B (en) Method and device for sending and receiving communication capacity of terminal
CN110913437B (en) Communication method and network element
US11166203B2 (en) Wireless communication method and apparatus, access network entity and terminal device
US20200169923A1 (en) Communication method, network device, and terminal device
CN114143820A (en) Network analysis method and device
CN112135289A (en) Method and device for acquiring wireless capability information, storage medium and electronic device
RU2735386C1 (en) Communication method, a terminal device and a network access device
CN114691734A (en) Cache control method and device, computer readable medium and electronic device
CN113383573B (en) Message sending and control method and device thereof
CN111385110B (en) Network management method and device
KR20110079868A (en) Method and apparatus of transmitting and receiving system information update control information in a wireless system
US20180302949A1 (en) Network Message Notification Apparatus and Method and Communication System
WO2024093437A1 (en) Information sending method and apparatus, information receiving method and apparatus, functional module updating methods and apparatus
RU2748165C1 (en) Method and device for data transmission and computer data carrier

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201225