Short-distance communication method and device

By receiving and comparing the physical layer identification version number information in the system messages sent by the access network device, the terminal device updates the identification and selects a suitable random access process, solving the problem of waste of physical layer identification and improving short-distance communication efficiency and resource utilization.

CN114374957BActive Publication Date: 2025-08-08SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011099765.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-14
Publication Date
2025-08-08
Estimated Expiration
2040-10-14

AI Technical Summary

Technical Problem

The physical layer identification is still occupied after the terminal device is disconnected from the access network device, resulting in wasting communication resources.

Method used

By receiving system messages sent by access network devices, comparing the version number information of the physical layer identification, updating the identification if it is different, continuing to use if it is the same. When the terminal device establishes a connection with the access network device, different random access procedures are used to save identification resources.

Benefits of technology

It improves the efficiency of short-distance communication, saves physical layer identification resources, and optimizes the communication connection establishment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114374957B_ABST
    Figure CN114374957B_ABST
Patent Text Reader

Abstract

The present application discloses a short-distance communication method, which is applied to a terminal device, wherein the method comprises: receiving a system message sent by an access network device, the system message including identification information, the identification information being used to indicate version number information of a physical layer identifier; if the version number information of a first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identification information, determining that the first physical layer identifier is invalid; if the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information, determining that the first physical layer identifier is valid. By using this method, the efficiency of short-distance communication can be improved and physical layer identifier resources can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a short-distance communication method and device. Background Art

[0002] With the advancement of wireless communication technology, high-speed data exchange between terminal devices and access network equipment has become possible. After a terminal device establishes a connection with an access network device, the access network device sends a physical layer identifier to the terminal device. This identifier uniquely identifies the terminal device within the current communication range. However, the number of physical layer identifiers is limited. Once a terminal device disconnects from the access network device, the corresponding physical layer identifier remains in use, resulting in a waste of communication resources. Summary of the Invention

[0003] The present application discloses a short-distance communication method and apparatus, which can improve the efficiency of short-distance communication and save physical layer identification resources.

[0004] In a first aspect, an embodiment of the present application provides a short-range communication method, applied to a terminal device, the method comprising:

[0005] Receive a system message sent by an access network device, where the system message includes identification information, where the identification information is used to indicate version number information of a physical layer identifier;

[0006] If the version number information of the first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identification information, it is determined that the first physical layer identifier is invalid;

[0007] If the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information, it is determined that the first physical layer identifier is valid.

[0008] In one embodiment, if the first physical layer identifier is invalid, a connection is established with the access network device through a contention-based random access process; if the first physical layer identifier is valid, a connection is established with the access network device through a non-contention-based random access process.

[0009] In one embodiment, before receiving the system message sent by the access network device, a connection is established with the access network device; a first physical layer identifier and / or version number information of the first physical layer identifier sent by the access network device is received; and the connection with the access network device is disconnected.

[0010] In one embodiment, if the first physical layer identifier fails, after establishing a connection with the access network device through a contention-based random access process, a second physical layer identifier and / or version number information of the second physical layer identifier sent by the access network device is received, and the second physical layer identifier is different from the first physical layer identifier.

[0011] In one embodiment, if the terminal device is of a target terminal type, a connection is established with the access network device through a non-contention-based random access process, and the target terminal type is configured by the access network device.

[0012] In a second aspect, an embodiment of the present application provides a short-range communication method, applied to an access network device, the method comprising:

[0013] Sending a system message to the terminal device, the system message including identification information, the identification information being used to indicate version number information of the physical layer identifier, and the terminal device including a first physical layer identifier;

[0014] If the version number information of the physical layer identifier indicated by the identification information is different from the version number information of the first physical layer identifier, then after establishing a connection with the terminal device, a second physical layer identifier and / or the version number information of the second physical layer identifier is sent to the terminal device, and the second physical layer identifier is different from the first physical layer identifier.

[0015] In one embodiment, before sending a system message to the terminal device, a connection is established with the terminal device; a first physical layer identifier and / or version number information of the first physical layer identifier is sent to the terminal device; and the connection with the terminal device is disconnected.

[0016] In one embodiment, after the connection with the terminal device is disconnected, if a preset time period has passed since the disconnection with the terminal device, the first physical layer identifier is recycled.

[0017] In one embodiment, after disconnecting from the terminal device, if the consumption quantity of the physical layer identifiers reaches a preset consumption quantity, the first physical layer identifier is recycled.

[0018] In a third aspect, an embodiment of the present application provides a short-range communication device, applied to a terminal device, the device comprising:

[0019] A communication unit, configured to receive a system message sent by an access network device, the system message including identification information, the identification information being used to indicate version number information of a physical layer identifier;

[0020] a processing unit, configured to determine that the first physical layer identifier is invalid if the version number information of the first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identification information;

[0021] The above-mentioned processing unit is also used to determine that the first physical layer identifier is valid if the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information.

[0022] In a fourth aspect, an embodiment of the present application provides a short-range communication device, applied to an access network device, the device comprising:

[0023] A communication unit, configured to send a system message to a terminal device, the system message including identification information, the identification information being used to indicate version number information of a physical layer identifier, and the terminal device including a first physical layer identifier;

[0024] The above-mentioned communication unit is also used to establish a connection with the terminal device through a contention-based random access process. After establishing the connection with the terminal device, the second physical layer identifier and / or version number information of the second physical layer identifier is sent to the terminal device, and the second physical layer identifier is different from the first physical layer identifier.

[0025] In a fifth aspect, an embodiment of the present application provides a short-range communication device, comprising a processor, a memory, and a user interface, wherein the processor, the memory, and the user interface are interconnected, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the short-range communication method as described in the first and second aspects.

[0026] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the short-range communication method described in the first and second aspects.

[0027] In an embodiment of the present application, a terminal device receives a system message sent by an access network device, the system message including identification information, the identification information being used to indicate version number information of a physical layer identifier; if the version number information of a first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identification information, the terminal device determines that the first physical layer identifier is invalid, and establishes a connection with the access network device through a contention-based random access process; if the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information, the terminal device determines that the first physical layer identifier is valid, and establishes a connection with the access network device through a non-contention-based random access process. This method can improve the efficiency of short-distance communication and save physical layer identifier resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0029] Figure 1 A communication architecture diagram for implementing short-range communication provided in an embodiment of the present application;

[0030] Figure 2 A communication architecture diagram for implementing short-range communication within a vehicle provided in an embodiment of the present application;

[0031] Figure 3 A schematic diagram of a short-distance communication method according to an embodiment of the present invention;

[0032] Figure 4 A schematic diagram of a flow chart of another short-range communication method provided in an embodiment of the present application;

[0033] Figure 5 A schematic diagram of a short-range communication device according to an embodiment of the present application;

[0034] Figure 6 A simplified schematic diagram of the physical structure of a short-range communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0036] It should be noted that, in this document, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0037] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the term "if" as used herein may be interpreted as "at the time of," "when," or "in response to a determination." Furthermore, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, steps, operations, elements, components, items, types, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, types, and / or groups. The terms "or" and "and / or" as used herein are to be interpreted as inclusive, meaning any one or any combination. Thus, “A, B, or C” or “A, B, and / or C” means “any of: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition occurs only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0038] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and they can be performed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0039] It should be noted that in this article, step codes such as 110 and 120 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute 120 first and then 110, etc., but these should all be within the scope of protection of this application.

[0040] In the subsequent description, suffixes such as "module," "component," or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meaning. Therefore, "module," "component," or "unit" may be used interchangeably.

[0041] In order to better understand the embodiments of the present application, the following professional terms involved in the embodiments of the present application are introduced:

[0042] Contention-based random access and non-contention-based random access procedures: Random access procedures can be divided into contention-based random access and non-contention-based random access. Contention-based random access means that the access resources are randomly obtained by the terminal device itself, while non-contention-based random access means that the access resources of the terminal device are allocated by the access network equipment. The essential difference between the two lies in whether the terminal device receives a dedicated random access resource allocated by the network before initiating random access. The contention-based random access process is initiated by the terminal device randomly selecting an access resource based on the random access parameters broadcast in the cell system message. Therefore, different terminal devices may select the same random access resource, which will cause a transmission collision and cause the random access to fail.

[0043] In order to better understand the embodiments of the present application, the network architecture applicable to the embodiments of the present application is described below.

[0044] See Figure 1 , Figure 1 A communication architecture diagram for implementing short-range communication provided in an embodiment of the present application includes an access network device and a terminal device. The access network device can deploy a service cell within a certain range, and within the service cell, the access network device can communicate with the terminal devices within the range. The service cell may include one or more channels as a data transmission medium between the access network device and the terminal device, such as a physical downlink control channel (PDCCH), a physical downlink shared channel (PDSCH), a physical uplink shared channel (PUSCH), and the like. Of course, in actual applications, one or more terminal devices may be distributed in the service cell to which the access network device is deployed. In addition, other access network devices may also be distributed around the access network device, and the various access network devices may also be interconnected, thereby conducting more extensive communication, which is not limited in the embodiment of the present application. The short distance in the embodiment of the present application may refer to the distance between the access network device and the terminal device being within a few meters, or the range within which the terminal device can receive the signal sent by the access network device, etc.

[0045] like Figure 1 The communication architecture shown can be applied to the short-range communication architecture within the vehicle, such as Figure 2As shown, the in-vehicle short-range communication architecture may also include access network equipment and terminal equipment, wherein the access network equipment may be installed on the car; the terminal equipment may be installed on the car, such as a computer or smart device that comes with the car, or may not be installed on the car, such as a user's mobile phone or laptop computer, etc., which is not limited in the embodiments of the present application.

[0046] It should be noted that the technical solution of the present invention is applicable to the 5th Generation (5G) mobile communication system, as well as to 4G and 3G communication systems, and various new future communication systems, such as 6G, 7G, and in-vehicle short-range communication systems. The technical solution of the present invention is also applicable to different network architectures, including but not limited to relay network architectures, dual-link architectures, vehicle-to-everything communication architectures, and in-vehicle short-range communication architectures.

[0047] The core network described in the embodiments of the present application can be an evolved packet core (EPC), a 5G Core Network (5G Core Network), or a new core network in a future communication system. The 5G Core Network is composed of a group of devices and implements access and mobility management functions (AMF) that implement functions such as mobility management, user plane functions (UPF) that provide functions such as packet routing and forwarding and QoS (Quality of Service) management, and session management functions (SMF) that provide functions such as session management, IP address allocation and management. The EPC can be composed of an MME that provides functions such as mobility management and gateway selection, a Serving Gateway (S-GW) that provides functions such as packet forwarding, and a PDN Gateway (P-GW) that provides functions such as terminal address allocation and rate control.

[0048] The access network device involved in the embodiments of the present application is an entity on the network side for transmitting or receiving signals, which can be used to convert received air frames into Internet Protocol (IP) packets and serve as a router between the terminal device and the rest of the access network, where the rest of the access network may include an IP network, etc. The access network device can also coordinate the attribute management of the air interface. For example, the access network device can be an eNB in LTE, a new radio controller (NR controller), a gNB in a 5G system, a centralized network element (Centralized Unit), a new wireless base station, a radio frequency remote module, a micro base station, a relay, a distributed network element (Distributed Unit), a transmission reception point (TRP) or a transmission point (TP), a G node in an in-vehicle short-range communication system, or any other wireless access device, but the embodiments of the present application are not limited thereto.

[0049] The access network equipment in the embodiments of the present application may include a base station (BS), which may also be referred to as a base station device. It is a device deployed in a radio access network (RAN) to provide wireless communication functions. For example, the device providing base station functions in a 2G network includes a base transceiver station (BTS), the device providing base station functions in a 3G network includes a node B (NodeB), the device providing base station functions in a 4G network includes an evolved node B (eNB), and in wireless local area networks (WLANs), the device providing base station functions is an access point (AP). The device providing base station functions in 5G New Radio (NR) is a gNB, and an evolved node B (ng-eNB). The gNB and the terminal use NR technology for communication, and the ng-eNB and the terminal use E-UTRA (Evolved Universal Terrestrial Radio Access) technology for communication. Both the gNB and the ng-eNB can be connected to the 5G core network. The base station in the embodiments of the present application also includes devices that provide base station functions in future new communication systems.

[0050] The base station controller in the embodiment of the present application is a device for managing base stations, such as a base station controller (BSC) in a 2G network, a radio network controller (RNC) in a 3G network, and may also refer to a device for controlling and managing base stations in future new communication systems.

[0051] The embodiment of the present application defines the unidirectional communication link from the access network to the terminal as a downlink, the data transmitted on the downlink is downlink data, and the transmission direction of the downlink data is called the downlink direction; and the unidirectional communication link from the terminal to the access network is an uplink, the data transmitted on the uplink is uplink data, and the transmission direction of the uplink data is called the uplink direction.

[0052] The terminal device involved in the embodiments of the present application is an entity on the user side for receiving or transmitting signals. The terminal device can be a device that provides voice and / or data connectivity to the user, for example, a handheld device with wireless connection function, a vehicle-mounted device, etc. The terminal device can also be other processing devices connected to a wireless modem. The terminal device can communicate with the radio access network (RAN). The terminal device can also be called a wireless terminal, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), mobile station (Mobile Station), mobile station (Mobile), remote station (Remote Station), access point (Access Point), remote terminal (Remote Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User Agent), user device (User Device), or user equipment (User Equipment, UE), etc. The terminal device can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges language and / or data with the radio access network. For example, the terminal device may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. Common terminal devices include, for example, mobile phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MIDs), vehicles, roadside equipment, aircraft, T-nodes, wearable devices such as smart watches, smart bracelets, pedometers, etc., but the embodiments of the present application are not limited thereto. The communication method and related equipment provided in the present application are described in detail below.

[0053] In order to improve the efficiency of short-distance communication and save physical layer identification resources, an embodiment of the present application provides a short-distance communication method and device. The short-distance communication method and device provided by the embodiment of the present application are further introduced in detail below.

[0054] See Figure 3 , Figure 3A flow chart of a short-distance communication method is provided for an embodiment of the present application. Figure 3 When the method shown in is applied to a terminal device, the following steps may be included:

[0055] 310. Receive a system message sent by an access network device, where the system message includes identification information, and the identification information is used to indicate version number information of a physical layer identifier.

[0056] In one possible implementation, the terminal device may have established a connection with the access network device before receiving the system message sent by the access network device. The first time the terminal device establishes a connection with the access network device, it may be through a contention-based random access process or a non-contention random access process. After the terminal device establishes a connection with the access network device, it can receive the first physical layer identifier and / or the version number information of the first physical layer identifier sent by the access network device, and save the first physical layer identifier and / or the version number information of the first physical layer identifier. After the terminal device saves the first physical layer identifier, it can disconnect from the access network device. That is, the current terminal device is in a state of establishing a communication connection with the access network device and disconnecting, and then trying to establish a connection with the access network device again.

[0057] Among them, the first physical layer identifier can be pre-configured by the access network device, or configured by the access network device for the terminal device. The physical layer identifier can be used to uniquely identify the terminal device corresponding to the physical layer identifier in a communication domain, such as a service cell where the access network device is deployed. In addition, the access network device can be responsible for maintaining the mapping relationship between the terminal device and the physical layer identifier in the communication domain. Through the mapping relationship, the access network device can know which physical layer identifier is assigned to which terminal device. The version number information of the physical layer identifier is one-to-one, that is, one physical layer identifier can correspond to one version number information. The terminal device obtains the version number information of a physical layer identifier by receiving a system message sent by the access network device, or by reading and identifying the physical layer identifier to obtain the corresponding version number information, which is not limited in the embodiments of the present application.

[0058] When the terminal device expects to reconnect to the access network device, it will first read the system message sent by the access network device, obtain the identification information from the system message, read the version number information of the physical layer identifier indicated by the identification information, and compare the version number information of the physical layer identifier indicated by the identification information with the version number information of the physical layer identifier (i.e., the first physical layer identifier) stored in the terminal device.

[0059] 320. If the version number information of the first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identifier information, it is determined that the first physical layer identifier is invalid.

[0060] If the terminal device determines that the version number information of the first physical layer identifier is different from the version number information of the physical layer identifier indicated by the identification information, it means that the access network device has recycled the first physical layer identifier allocated to the terminal device, and the first physical layer identifier has expired. At this time, the terminal device can no longer use the first physical layer identifier, and the terminal device will establish a communication connection with the access network device through a contention-based random access process. After the connection is established, the terminal device can also receive the second physical layer identifier and / or the version number information of the second physical layer identifier sent by the access network device, and the second physical layer identifier is different from the first physical layer identifier. In this way, the terminal device updates the physical layer identifier, and the access network device can continue to uniquely identify the terminal device in the communication domain.

[0061] 330. If the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identifier information, it is determined that the first physical layer identifier is valid.

[0062] If the terminal device determines that the version number information of the first physical layer identifier is the same as the version number information of the physical layer identifier indicated by the identifier information, the access network device has not reclaimed the first physical layer identifier of the terminal device and the first physical layer identifier is valid. In this way, the terminal device can establish a communication connection with the access network device through a non-contention-based random access procedure. This non-contention-based random access procedure can improve the efficiency and success rate of communication connection establishment.

[0063] It should be noted that if the first physical layer identifier of a terminal device has not been reclaimed by the access network device, the terminal device can use the first physical layer identifier to establish a communication connection with the access network device through a non-contention-based random access procedure. However, if the first physical layer identifier of a terminal device is reclaimed by the access network device, the terminal device can only establish a communication connection with the access network device through a contention-based random access procedure. When a terminal device connects to an access network device for the first time, it can use either of the two methods.

[0064] In one possible implementation, if the terminal device is a target terminal type, the terminal device can establish a connection with the access network device through a non-competitive random access process, and the target terminal type is configured by the access network device. That is to say, for a terminal device whose terminal device type is a target terminal type, it may not be restricted by the version number information of the physical layer identifier. Regardless of whether the version number of the first network identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information in the system message of the access network device, the terminal device can establish a connection with the access network device through a non-competitive random access process. For example, the access network device can Figure 2The tablet computer in the car shown is configured as a target terminal type, so that when the car is turned off and restarted, the tablet computer can establish a connection with the access network device through a non-contention-based random access process, thereby improving the efficiency and success rate of the connection.

[0065] In one possible implementation, if the terminal device is another specific terminal type, regardless of whether the version number of the first network identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information in the system message of the access network device, the terminal device needs to establish a connection with the access network device through a contention-based random access process.

[0066] Next, the short-distance communication method of the embodiment of the present application is described in detail with reference to specific examples. Figure 2 The terminal device in the car shown is a terminal device carried by the user. When the user carries the terminal device into the service cell where the access network device in the car is deployed for the first time, the terminal device can establish a connection with the access network device, and at this time the access network device can send a first physical layer identifier to the terminal device. The terminal device may be disconnected from the access network device due to various circumstances, such as the user carrying the terminal device out of the range of the service cell, or the user manually closing the connection with the access network device. When the terminal device expects to connect to the access network device again, it will first read the system message sent by the access network device in the car, obtain the identification information from the system message, read the version number information of the physical layer identifier indicated by the identification information, and compare it with the version number information of the first physical layer identifier. If the two are the same, a non-competition-based random access process is adopted; if the two are different, a competition-based random access process is adopted.

[0067] It should be noted that the use of step codes such as 310, 320, and 330 in this document is intended to more clearly and concisely describe the corresponding content and does not constitute a substantive restriction on the order. For example, if the version number information of the first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identification information, the terminal device only executes step 320 and does not execute step 330; if the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information, the terminal device only executes step 330 and does not execute step 320.

[0068] Through the embodiments of the present application, when a terminal device reestablishes a communication connection with an access network device, it can compare the version number information of the first physical layer identifier stored by the terminal device with the version number information of the physical layer identifier indicated by the identifier information in the received system message. If the two are the same, a non-contention-based random access process is adopted; if the two are different, a contention-based random access process is adopted. This can improve the efficiency of establishing a communication connection and thus improve the efficiency of short-distance communication.

[0069] See Figure 4 , Figure 4 The present invention provides another flow chart of a short-distance communication method. Figure 4 When the method shown in is applied to an access network device, the following steps may be included:

[0070] 410. Send a system message to a terminal device, where the system message includes identification information, where the identification information is used to indicate version number information of a physical layer identifier, and the terminal device includes a first physical layer identifier.

[0071] The access network device may send system messages to the terminal device by broadcasting.

[0072] In one possible implementation, before sending a system message to the terminal device, the access network device can establish a connection with the terminal device, which can be done through a contention-based random access process or a non-contention-based random access process. In this way, the access network device can send the first physical layer identifier and / or the version number information of the first physical layer identifier to the terminal device, which can uniquely identify the terminal device in the communication domain. After the terminal device saves the first physical layer identifier, it can disconnect from the access network device. In other words, the current terminal device is in a state of establishing a communication connection with the access network device and disconnecting it, and then trying to establish a connection with the access network device again.

[0073] 420. If the version number information of the physical layer identifier indicated by the identification information is different from the version number information of the first physical layer identifier, after establishing a connection with the terminal device, a second physical layer identifier and / or the version number information of the second physical layer identifier is sent to the terminal device, and the second physical layer identifier is different from the first physical layer identifier.

[0074] If the version number information of the physical layer identifier indicated by the identification information is different from the version number information of the first physical layer identifier, it means that the access network device has recycled the first physical layer identifier of the terminal device, and the first physical layer identifier has expired. The terminal device will establish a communication connection with the access network device through a contention-based random access process. After the connection is established, the access network device will send the second physical layer identifier and / or the version number information of the second physical layer identifier to the terminal device, and instruct the terminal device to update the physical layer identifier, for example, instructing the terminal device to delete the first physical layer identifier and save the second physical layer identifier. The second physical layer identifier is different from the first physical layer identifier.

[0075] If the version number information of the physical layer identifier indicated by the identification information is the same as the version number information of the first physical layer identifier, it means that the access network device has not recovered the first physical layer identifier of the terminal device, and the first physical layer identifier is valid. Then, a communication connection can be established with the terminal device through a non-competitive random access process.

[0076] In one possible implementation, before sending a system message to the terminal device, after disconnecting from the terminal device, the access network device may reclaim the first physical layer identifier if it determines that a preset time has passed since the disconnection from the terminal device. The preset time can be set by the access network device. This prevents the terminal device from being disconnected from the access network device for an extended period of time, causing the first physical layer identifier to remain occupied but unused for an extended period, thereby wasting physical layer identifier resources.

[0077] In one possible implementation, the access network device may recycle the first physical layer identifier if it detects that the number of physical layer identifiers consumed has reached a preset number after disconnecting from the terminal device before sending a system message to the terminal device. This is because physical layer identifiers are limited. If there are too many terminal devices in the environment, there will be a shortage of physical layer identifiers. Therefore, the access network device recycles the physical layer identifiers of disconnected terminal devices for use by other newly connected terminal devices.

[0078] Through the embodiment of the present application, the access network device can recycle the first physical layer identifier in the terminal device when a preset time has passed since the connection with the terminal device was disconnected, or when it is detected that the number of physical layer identifiers consumed has reached a preset number. This method can save physical layer identifier resources.

[0079] See Figure 5 , Figure 5 A schematic diagram of a unit of a short-range communication device provided in an embodiment of the present application. Figure 5 The control device of the terminal device shown can be used to perform the above Figure 3 Figure 4The device may be a terminal device or an access network device, or a device in a terminal device or an access network device, or a device that can be used in conjunction with a terminal device or an access network device.

[0080] In the several embodiments provided in this application, it should be understood that the disclosed methods, devices, and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is merely a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical, or other forms.

[0081] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0082] In addition, the functional units in various embodiments of the present invention may be integrated into a single processing unit, each unit may be physically included separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or hardware plus software functional units.

[0083] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to perform some of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., various media that can store program code.

[0084] Although the present invention is disclosed above, it is not limited thereto. Any person skilled in the art may readily conceive of variations or substitutions, and may make various modifications and alterations without departing from the spirit and scope of the present invention. Combinations of the above-described functions and implementation steps, including software and hardware implementations, are all within the scope of protection of the present invention.

[0085] The logical structure of the device may include: a communication unit 510 and a processing unit 520. When the device is applied to a terminal device:

[0086] The communication unit 510 is configured to receive a system message sent by an access network device, where the system message includes identification information, where the identification information is used to indicate version number information of a physical layer identifier;

[0087] The communication unit 510 is further configured to determine that the first physical layer identifier is invalid if the processing unit 520 determines that the version number information of the first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identification information;

[0088] The communication unit 510 is also used to determine that the first physical layer identifier is valid if the processing unit 520 determines that the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information.

[0089] In one possible implementation, the communication unit 510 is also used to establish a connection with the access network device through a contention-based random access process if the first physical layer identifier is invalid; and to establish a connection with the access network device through a non-contention-based random access process if the first physical layer identifier is valid.

[0090] In one possible implementation, before receiving the system message sent by the access network device, the above-mentioned communication unit 510 is also used to establish a connection with the access network device; receive the first physical layer identifier and / or version number information of the first physical layer identifier sent by the access network device; and disconnect from the access network device.

[0091] In one possible implementation, if the first physical layer identifier fails, after establishing a connection with the access network device through a contention-based random access process, the above-mentioned communication unit 510 is also used to receive a second physical layer identifier and / or version number information of the second physical layer identifier sent by the access network device, and the second physical layer identifier is different from the first physical layer identifier.

[0092] In one possible implementation, if the processing unit 520 determines that the terminal device is a target terminal type, the communication unit 510 is further used to establish a connection with the access network device through a non-competition-based random access process, and the target terminal type is configured by the access network device.

[0093] When the device is used in access network equipment:

[0094] The communication unit 510 is configured to send a system message to a terminal device, where the system message includes identification information, where the identification information is used to indicate version number information of a physical layer identifier, and the terminal device includes a first physical layer identifier;

[0095] If the version number information of the physical layer identifier indicated by the identification information is different from the version number information of the first physical layer identifier, then after establishing a connection with the terminal device, the above-mentioned communication unit 510 is also used to send a second physical layer identifier and / or the version number information of the second physical layer identifier to the terminal device, and the second physical layer identifier is different from the first physical layer identifier.

[0096] In one possible implementation, before sending a system message to the terminal device, the communication unit 510 is also used to establish a connection with the terminal device; send a first physical layer identifier and / or version number information of the first physical layer identifier to the terminal device; and disconnect from the terminal device.

[0097] In a possible implementation, after disconnecting from the terminal device, the processing unit 520 is configured to recycle the first physical layer identifier if a preset time period has passed since the disconnection from the terminal device.

[0098] In a possible implementation, after disconnecting from the terminal device, the processing unit 520 is further configured to recycle the first physical layer identifier if the consumed quantity of the physical layer identifier reaches a preset consumed quantity.

[0099] See Figure 6 , Figure 6 This is a simplified schematic diagram of the physical structure of a short-range communication device provided in an embodiment of the present application. The device includes a processor 610, a memory 620, and a communication interface 630. The processor 610, the memory 620, and the communication interface 630 are connected via one or more communication buses.

[0100] The processor 610 is configured to support the communication device to execute Figure 2 and Figure 4 It should be understood that in the embodiment of the present application, the processor 610 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0101] The memory 620 is used to store program code, etc. The memory 620 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0102] The communication interface 630 is used to send and receive data, information or messages, etc., and can also be described as a transceiver, a transceiver circuit, etc.

[0103] In the embodiment of the present application, when the short-range communication device is used as a terminal device, the processor 610 may call the program code stored in the memory 620 to perform the following operations:

[0104] The control communication interface 630 receives a system message sent by the access network device, where the system message includes identification information, and the identification information is used to indicate the version number information of the physical layer identifier;

[0105] Controlling the communication interface 630, if the processor 610 calls the program code stored in the memory 620 to determine that the version number information of the first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identification information, then determining that the first physical layer identifier is invalid;

[0106] If the processor 610 of the control communication interface 630 calls the program code stored in the memory 620 to determine that the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identification information, it is determined that the first physical layer identifier is valid.

[0107] In one possible implementation, if the first physical layer identifier is invalid, the control communication interface 630 establishes a connection with the access network device, then establishes a connection with the access network device through a contention-based random access process; if the first physical layer identifier is valid, then establishes a connection with the access network device through a non-contention-based random access process.

[0108] In one possible implementation, before receiving the system message sent by the access network device, the control communication interface 630 establishes a connection with the access network device; receives the first physical layer identifier and / or the version number information of the first physical layer identifier sent by the access network device; and disconnects from the access network device.

[0109] In one possible implementation, if the processor 610 calls the program code stored in the memory 620 to determine that the first physical layer identifier is invalid, then after establishing a connection with the access network device through a contention-based random access process, the control communication interface 630 receives the second physical layer identifier and / or the version number information of the second physical layer identifier sent by the access network device, and the second physical layer identifier is different from the first physical layer identifier.

[0110] In one possible implementation, if the processor 610 calls the program code stored in the memory 620 to determine that the terminal device is a target terminal type, the control communication interface 630 establishes a connection with the access network device through a non-competition-based random access process, and the target terminal type is configured by the access network device.

[0111] When the device is used in access network equipment:

[0112] Control the communication interface 630 to send a system message to the terminal device, where the system message includes identification information, where the identification information is used to indicate version number information of the physical layer identifier, and the terminal device includes a first physical layer identifier;

[0113] If the version number information of the physical layer identifier indicated by the identification information is different from the version number information of the first physical layer identifier, then after establishing a connection with the terminal device, the control communication interface 630 sends a second physical layer identifier and / or the version number information of the second physical layer identifier to the terminal device, and the second physical layer identifier is different from the first physical layer identifier.

[0114] In one possible implementation, before sending a system message to the terminal device, the control communication interface 630 establishes a connection with the terminal device; sends a first physical layer identifier and / or version number information of the first physical layer identifier to the terminal device; and disconnects from the terminal device.

[0115] In a possible implementation, after disconnecting from the terminal device, the processor 610 calls the program code stored in the memory 620 to recycle the first physical layer identifier if a preset time has passed since the disconnection from the terminal device.

[0116] In a possible implementation, after disconnecting from the terminal device, the processor 610 calls the program code stored in the memory 620 to recycle the first physical layer identifier if the consumption quantity of the physical layer identifier reaches a preset consumption quantity.

[0117] It should be noted that, in the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0118] The steps in the method of the embodiment of the present invention can be adjusted in sequence, combined, or deleted according to actual needs.

[0119] The units in the processing device of the embodiment of the present invention can be merged, divided, and deleted according to actual needs.

[0120] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a storage disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state storage disk Solid State Disk (SSD)).

[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A short-distance communication method, characterized in that: Applied to a terminal device, the method includes: Establish a connection with the access network device; Receive and save the first physical layer identifier and / or version number information of the first physical layer identifier sent by the access network device; the first physical layer identifier is pre-configured by the access network device or configured for the terminal device, and is used for the terminal device corresponding to the unique identifier in the serving cell deployed by the access network device; Disconnecting from the access network device; When the terminal device attempts to connect to the access network device again, receiving a system message sent by the access network device, obtaining identification information from the system message, reading version number information of the physical layer identifier indicated by the identification information, and comparing the version number information of the physical layer identifier indicated by the identification information with the version number information of the first physical layer identifier stored in the terminal device; If the version number information of the first physical layer identifier in the terminal device is different from the version number information of the physical layer identifier indicated by the identifier information, it is determined that the access network device has recycled the first physical layer identifier and the first physical layer identifier is invalid, and a connection is established with the access network device through a contention-based random access process; If the version number information of the first physical layer identifier in the terminal device is the same as the version number information of the physical layer identifier indicated by the identifier information, it is determined that the access network device has not recycled the first physical layer identifier, and the first physical layer identifier is valid, then establishing a connection with the access network device through a non-contention-based random access process; Among them, before sending a system message to the terminal device, after disconnecting from the terminal device, if it is determined that the duration of disconnection from the terminal device exceeds a preset duration or it is detected that the consumption number of physical layer identifiers reaches a preset consumption number, the first physical layer identifier in the terminal device is recycled.

2. The method according to claim 1, characterized in that If the first physical layer identifier fails, after establishing a connection with the access network device through a contention-based random access process, the method further includes: Receive a second physical layer identifier and / or version number information of the second physical layer identifier sent by the access network device, where the second physical layer identifier is different from the first physical layer identifier.

3. The method according to claim 1, characterized in that The method further comprises: If the terminal device is of the target terminal type, a connection is established with the access network device through a non-contention-based random access process, and the target terminal type is configured by the access network device.

4. A short-distance communication method, characterized in that: Applied to access network equipment, the method includes: Establish a connection with the terminal device; Sending a first physical layer identifier and / or version number information of the first physical layer identifier to the terminal device; the first physical layer identifier is pre-configured by the access network device or configured for the terminal device, and is used for the terminal device corresponding to the unique identifier in the serving cell deployed by the access network device; When the terminal device saves the first physical layer identifier and / or the version number information of the first physical layer identifier, disconnecting from the terminal device; If a preset time period has passed since the disconnection from the terminal device, the first physical layer identifier is recycled, or if the consumption quantity of the physical layer identifier reaches a preset consumption quantity, the first physical layer identifier is recycled; When the terminal device attempts to connect again, sending a system message to the terminal device, so that the terminal device obtains identification information from the system message, reads the version number information of the physical layer identifier indicated by the identification information, and compares the version number information of the physical layer identifier indicated by the identification information with the saved version number information of the first physical layer identifier to determine whether the first physical layer identifier is invalid; If the first physical layer identifier is invalid, accepting the terminal device to establish a connection based on a contention-based random access process; if the first physical layer identifier is valid, accepting the terminal device to establish a connection based on a non-contention-based random access process; If the version number information of the physical layer identifier indicated by the identification information is different from the version number information of the first physical layer identifier, then after establishing a connection with the terminal device, a second physical layer identifier and / or the version number information of the second physical layer identifier is sent to the terminal device, and the second physical layer identifier is different from the first physical layer identifier.

5. A short-range communication device, characterized in that: The invention comprises a processor, a memory and a user interface, wherein the processor, the memory and the user interface are connected to each other, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the short-range communication method according to any one of claims 1 to 4.

6. A computer-readable storage medium, characterized in that The computer-readable storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the short-range communication method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • System information delivery

    CN110036573A

  • Random access method, network equipment and terminal

    CN110831227A