[go: up one dir, main page]

CN108112089A - Accidental access method, device and non-transitorycomputer readable storage medium - Google Patents

Accidental access method, device and non-transitorycomputer readable storage medium Download PDF

Info

Publication number
CN108112089A
CN108112089A CN201810010687.5A CN201810010687A CN108112089A CN 108112089 A CN108112089 A CN 108112089A CN 201810010687 A CN201810010687 A CN 201810010687A CN 108112089 A CN108112089 A CN 108112089A
Authority
CN
China
Prior art keywords
base station
message
transmission power
random access
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810010687.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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810010687.5A priority Critical patent/CN108112089A/en
Publication of CN108112089A publication Critical patent/CN108112089A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0866Non-scheduled access, e.g. ALOHA using a dedicated channel for access
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开是关于一种随机接入方法、装置及非临时性计算机可读存储介质,该方法包括:通过所述用户设备所包括的多根天线中的一根天线,以初始发射功率向基站发送随机接入消息;判断是否接收到所述基站所发送的所述随机接入消息的响应消息;当判断为没有接收到所述响应消息时,通过所述多根天线中的另一根天线,以比所述初始发射功率大的第一发射功率向所述基站发送随机接入消息,然后继续判断是否接收到该随机接入消息的响应消息。由此,能够提高用户设备向基站发送随机接入消息的成功率,降低通信延迟,节省用户设备的功耗,延长用户设备的待机时间。

The present disclosure relates to a random access method, device, and non-transitory computer-readable storage medium. The method includes: using one of the multiple antennas included in the user equipment, sending an initial transmission power to the base station a random access message; judging whether a response message of the random access message sent by the base station is received; when it is judged that the response message is not received, through another antenna among the multiple antennas, Sending a random access message to the base station with a first transmission power greater than the initial transmission power, and then continuing to judge whether a response message to the random access message is received. Therefore, it is possible to improve the success rate of the user equipment in sending a random access message to the base station, reduce communication delay, save power consumption of the user equipment, and prolong the standby time of the user equipment.

Description

随机接入方法、装置及非临时性计算机可读存储介质Random access method, device and non-transitory computer-readable storage medium

技术领域technical field

本公开涉及无线通信技术领域,尤其涉及随机接入方法、装置及非临时性计算机可读存储介质。The present disclosure relates to the technical field of wireless communication, and in particular to a random access method, device and non-transitory computer-readable storage medium.

背景技术Background technique

第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)规定:当用户设备(User Equipment,UE)需要与基站开始通信时,UE需要向基站发送随机接入消息,从而通知基站UE需要发送信息,并请求基站为UE分配网络资源。The 3rd Generation Partnership Project (3GPP) stipulates that when a user equipment (User Equipment, UE) needs to start communicating with a base station, the UE needs to send a random access message to the base station, thereby notifying the base station that the UE needs to send information , and request the base station to allocate network resources for the UE.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种随机接入方法、装置及非临时性计算机可读存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a random access method, device and non-transitory computer-readable storage medium.

根据本公开实施例的第一方面,提供一种随机接入方法,应用于用户设备UE,包括:According to the first aspect of the embodiments of the present disclosure, a random access method is provided, which is applied to a user equipment UE, including:

通过所述UE所包括的多根天线中的一根天线,以初始发射功率向基站发送随机接入消息;sending a random access message to the base station with initial transmit power through one of the multiple antennas included in the UE;

判断是否接收到所述基站所发送的所述随机接入消息的响应消息;judging whether a response message to the random access message sent by the base station is received;

当判断为没有接收到所述响应消息时,通过所述多根天线中的另一根天线,以比所述初始发射功率大的第一发射功率向所述基站发送随机接入消息,然后继续判断是否接收到该随机接入消息的响应消息。When it is determined that the response message is not received, send a random access message to the base station with a first transmit power greater than the initial transmit power through another antenna among the multiple antennas, and then continue It is judged whether the response message of the random access message is received.

对于上述随机接入方法,在一种可能的实现方式中,还包括:For the above random access method, in a possible implementation manner, it also includes:

每向所述基站发送一次随机接入消息,使随机接入消息的发送次数加1,Each time a random access message is sent to the base station, the number of times the random access message is sent is increased by 1,

相应地,当判断为没有接收到所述响应消息时,通过所述多根天线中的另一根天线,以比所述初始发射功率大的第一发射功率向所述基站发送随机接入消息,然后继续判断是否接收到该随机接入消息的响应消息,包括:Correspondingly, when it is determined that the response message is not received, sending a random access message to the base station with a first transmit power greater than the initial transmit power through another antenna among the plurality of antennas , and then continue to judge whether the response message of the random access message is received, including:

当判断为没有接收到所述响应消息时,判断所述发送次数是否等于所述基站通过广播发送给所述UE的最大尝试次数;When it is determined that the response message is not received, determine whether the number of times of sending is equal to the maximum number of attempts sent by the base station to the UE through broadcast;

当判断为所述发送次数小于所述最大尝试次数时,通过所述另一根天线,以所述第一发射功率向所述基站发送随机接入消息,然后继续判断是否接收到该随机接入消息的响应消息,When it is determined that the number of times of transmission is less than the maximum number of attempts, send a random access message to the base station with the first transmission power through the other antenna, and then continue to determine whether the random access message is received the response message to the message,

当判断为所述发送次数等于所述最大尝试次数时,停止向所述基站发送随机接入消息。Stop sending random access messages to the base station when it is determined that the number of sending times is equal to the maximum number of attempts.

对于上述随机接入方法,在一种可能的实现方式中,For the above random access method, in a possible implementation,

根据公式P1=P0+N×ΔP计算所述第一发射功率,其中,P1是所述第一发射功率,P0是所述初始发射功率,N是所述发送次数,ΔP是所述基站通过广播发送给所述UE的功率爬升步长。The first transmit power is calculated according to the formula P 1 =P 0 +N×ΔP, where P 1 is the first transmit power, P 0 is the initial transmit power, N is the number of times of transmission, and ΔP is the The power ramping step size sent by the base station to the UE by broadcast.

对于上述随机接入方法,在一种可能的实现方式中,还包括:For the above random access method, in a possible implementation manner, it also includes:

当判断为没有接收到所述响应消息时,判断所述第一发射功率是否大于或等于所述UE的最大发射功率,When it is determined that the response message is not received, determine whether the first transmit power is greater than or equal to the maximum transmit power of the UE,

相应地,当判断为没有接收到所述响应消息时,通过所述多根天线中的另一根天线,以比所述初始发射功率大的第一发射功率向所述基站发送随机接入消息,然后继续判断是否接收到该随机接入消息的响应消息,包括:Correspondingly, when it is determined that the response message is not received, sending a random access message to the base station with a first transmit power greater than the initial transmit power through another antenna among the plurality of antennas , and then continue to judge whether the response message of the random access message is received, including:

当判断为所述第一发射功率小于所述最大发射功率时,通过所述另一根天线,以所述第一发射功率向所述基站发送随机接入消息,然后继续判断是否接收到该随机接入消息的响应消息,When it is determined that the first transmit power is less than the maximum transmit power, send a random access message to the base station with the first transmit power through the other antenna, and then continue to determine whether the random access message is received a response message to an incoming message,

当判断为所述第一发射功率大于或等于所述最大发射功率时,停止向所述基站发送随机接入消息。Stop sending random access messages to the base station when it is determined that the first transmission power is greater than or equal to the maximum transmission power.

对于上述随机接入方法,在一种可能的实现方式中,还包括:For the above random access method, in a possible implementation manner, it also includes:

当判断为接收到所述响应消息时,停止向所述基站发送随机接入消息。When it is determined that the response message is received, stop sending the random access message to the base station.

根据本公开实施例的第二方面,提供一种随机接入装置,应用于用户设备UE,包括:According to a second aspect of an embodiment of the present disclosure, a random access apparatus is provided, which is applied to a user equipment UE, including:

发送模块,用于通过所述UE所包括的多根天线中的一根天线,以初始发射功率向基站发送随机接入消息;a sending module, configured to send a random access message to the base station with initial transmit power through one of the multiple antennas included in the UE;

判断模块,用于判断是否接收到所述基站所发送的所述随机接入消息的响应消息,a judging module, configured to judge whether a response message to the random access message sent by the base station is received,

当判断为没有接收到所述响应消息时,所述发送模块通过所述多根天线中的另一根天线,以比所述初始发射功率大的第一发射功率向所述基站发送随机接入消息,然后所述判断模块继续判断是否接收到该随机接入消息的响应消息。When it is determined that the response message is not received, the sending module sends a random access message to the base station at a first transmit power greater than the initial transmit power through another antenna among the multiple antennas message, and then the judging module continues to judge whether a response message to the random access message is received.

对于上述随机接入装置,在一种可能的实现方式中,还包括:For the above random access device, in a possible implementation manner, it also includes:

计数模块,用于每向所述基站发送一次随机接入消息,使随机接入消息的发送次数加1,A counting module, configured to increase the number of times the random access message is sent by 1 each time the random access message is sent to the base station,

相应地,所述判断模块还用于当判断为没有接收到所述响应消息时,判断所述发送次数是否等于所述基站通过广播发送给所述UE的最大尝试次数,Correspondingly, the judging module is further configured to judge whether the sending times are equal to the maximum number of attempts sent by the base station to the UE by broadcasting when it is judged that the response message is not received,

当判断为所述发送次数小于所述最大尝试次数时,所述发送模块通过所述另一根天线,以所述第一发射功率向所述基站发送随机接入消息,然后所述判断模块继续判断是否接收到该随机接入消息的响应消息,When it is determined that the number of times of sending is less than the maximum number of attempts, the sending module sends a random access message to the base station with the first transmission power through the other antenna, and then the judging module continues judging whether a response message to the random access message is received,

当判断为所述发送次数等于所述最大尝试次数时,所述发送模块停止向所述基站发送随机接入消息。When it is determined that the number of sending times is equal to the maximum number of attempts, the sending module stops sending random access messages to the base station.

对于上述随机接入装置,在一种可能的实现方式中,For the above random access device, in a possible implementation manner,

根据公式P1=P0+N×ΔP计算所述第一发射功率,其中,P1是所述第一发射功率,P0是所述初始发射功率,N是所述发送次数,ΔP是所述基站通过广播发送给所述UE的功率爬升步长。The first transmit power is calculated according to the formula P 1 =P 0 +N×ΔP, where P 1 is the first transmit power, P 0 is the initial transmit power, N is the number of times of transmission, and ΔP is the The power ramping step size sent by the base station to the UE by broadcast.

对于上述随机接入装置,在一种可能的实现方式中,For the above random access device, in a possible implementation manner,

所述判断模块还用于当判断为没有接收到所述响应消息时,判断所述第一发射功率是否大于或等于所述UE的最大发射功率,The judging module is further configured to judge whether the first transmit power is greater than or equal to the maximum transmit power of the UE when it is judged that the response message is not received,

当判断为所述第一发射功率小于所述最大发射功率时,所述发送模块通过所述另一根天线,以所述第一发射功率向所述基站发送随机接入消息,然后所述判断模块继续判断是否接收到该随机接入消息的响应消息,When it is determined that the first transmission power is less than the maximum transmission power, the sending module sends a random access message to the base station at the first transmission power through the other antenna, and then the determination The module continues to judge whether the response message of the random access message is received,

当判断为所述第一发射功率大于或等于所述最大发射功率时,所述发送模块停止向所述基站发送随机接入消息。When it is determined that the first transmit power is greater than or equal to the maximum transmit power, the sending module stops sending random access messages to the base station.

对于上述随机接入装置,在一种可能的实现方式中,For the above random access device, in a possible implementation manner,

当判断为接收到所述响应消息时,所述发送模块停止向所述基站发送随机接入消息。When it is determined that the response message is received, the sending module stops sending the random access message to the base station.

根据本公开实施例的第三方面,提供一种随机接入装置,包括:According to a third aspect of an embodiment of the present disclosure, a random access device is provided, including:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:执行上述随机接入方法的步骤。Wherein, the processor is configured to: execute the steps of the above random access method.

根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由处理器执行时,使得处理器能够执行上述随机接入方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, and when the instructions in the storage medium are executed by a processor, the processor can execute the above random access method.

本公开的实施例提供的技术方案可以包括以下有益效果:只要通过当前所使用的天线向基站发送随机接入消息失败,就将当前所使用的天线切换为与当前所使用的天线不同的天线,并使用切换后的天线来继续向基站发送随机接入消息,由此,能够提高向基站发送随机接入消息的成功率,降低通信延迟,节省用户设备的功耗,延长用户设备的待机时间。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: as long as the currently used antenna fails to send a random access message to the base station, the currently used antenna is switched to an antenna different from the currently used antenna, And use the switched antenna to continue sending random access messages to the base station, thereby improving the success rate of sending random access messages to the base station, reducing communication delays, saving power consumption of user equipment, and prolonging the standby time of user equipment.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种随机接入方法的应用场景的示意图。Fig. 1 is a schematic diagram showing an application scenario of a random access method according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种随机接入方法的流程图。Fig. 2 is a flowchart showing a random access method according to an exemplary embodiment.

图3是根据一示例性实施例示出的一种随机接入方法的一个示例的流程图。Fig. 3 is a flowchart showing an example of a random access method according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种随机接入方法的一个示例的流程图。Fig. 4 is a flow chart showing an example of a random access method according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种随机接入装置的框图。Fig. 5 is a block diagram of a random access device according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种用于随机接入的装置的框图。Fig. 6 is a block diagram showing a device for random access according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

为便于说明,以下首先对本公开涉及的部分概念进行解释说明。For the convenience of description, some concepts involved in the present disclosure are firstly explained below.

图1是根据一示例性实施例示出的一种随机接入方法的应用场景的示意图。该应用场景为一种通信系统,该通信系统包括但不限于全球移动通信系统(Global System ofMobile communication,GSM)、通用分组无线业务(General Packet Radio Service,GPRS)系统、长期演进(Long Term Evolution,LTE)系统等。Fig. 1 is a schematic diagram showing an application scenario of a random access method according to an exemplary embodiment. The application scenario is a communication system, which includes but is not limited to Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS) system, Long Term Evolution (Long Term Evolution, LTE) system, etc.

如图1所示,该应用场景包括基站和用户设备。用户设备包括但不限于移动电话(cellphone)、智能手机(smartphone)、计算机(computer)、平板电脑、个人数码助理(personal digital assistant,PDA)、移动互联网设备、可穿戴设备等。基站包括但不限于GSM中的基站(Base Transceiver Station,BTS)、LTE中的演进型基站(evolutional NodeB,eNB)等。As shown in Figure 1, the application scenario includes a base station and user equipment. User equipment includes, but is not limited to, mobile phones (cellphones), smart phones (smartphones), computers (computers), tablet computers, personal digital assistants (personal digital assistants, PDAs), mobile Internet devices, wearable devices, and the like. The base station includes but is not limited to a base station (Base Transceiver Station, BTS) in GSM, an evolved base station (evolutional NodeB, eNB) in LTE, and the like.

当用户设备需要与基站开始通信时,用户设备以初始发射功率向基站发送随机接入消息。如果发射功率过低而使得基站接收不到该随机接入消息,则基站不会向用户设备发送该随机接入消息的响应消息。相应地,用户设备无法从基站接收到该随机接入消息的响应消息。此时,用户设备需要增大发射功率,并以该增大的发射功率再次向基站发送随机接入消息。When the user equipment needs to start communication with the base station, the user equipment sends a random access message to the base station with initial transmit power. If the transmit power is too low so that the base station cannot receive the random access message, the base station will not send the response message of the random access message to the user equipment. Correspondingly, the user equipment cannot receive the response message of the random access message from the base station. At this time, the user equipment needs to increase the transmit power, and send the random access message to the base station again with the increased transmit power.

如果在用户设备将发射功率增大到自身所允许的最大发射功率、并以该最大发射功率向基站发送随机接入消息的情况下仍然没有从基站接收到响应消息,则用户设备一直以该最大发射功率向基站发送随机接入消息,直至从基站接收到响应消息、或者发送随机接入消息的次数达到了最大尝试次数为止。If the user equipment does not receive a response message from the base station even though the user equipment increases the transmission power to the maximum transmission power allowed by itself and sends a random access message to the base station with the maximum transmission power, the user equipment always uses the maximum transmission power The transmission power sends a random access message to the base station until a response message is received from the base station, or the number of times of sending the random access message reaches the maximum number of attempts.

在某些技术中,用户设备通过一根天线向基站发送随机接入消息,如果没有从基站接收到响应消息,则继续通过该天线、以增大的发射功率继续向基站发送随机接入消息,直至从基站接收到响应消息、或者发送随机接入消息的次数达到了最大尝试次数为止。In some technologies, the user equipment sends a random access message to the base station through an antenna, and if no response message is received from the base station, it continues to send the random access message to the base station through the antenna with increased transmit power, Until a response message is received from the base station, or the number of times of sending random access messages reaches the maximum number of attempts.

然而,在用户设备通过该天线以合适的发射功率向基站发送随机接入消息的情况下,如果该天线被干扰,则基站可能无法接收到该随机接入消息,这使得用户设备无法与基站建立连接,从而使得用户设备无法使用基站所提供的网络服务。However, in the case that the user equipment sends a random access message to the base station with a suitable transmission power through the antenna, if the antenna is interfered, the base station may not be able to receive the random access message, which makes it impossible for the user equipment to establish with the base station connection, so that the user equipment cannot use the network service provided by the base station.

并且,在如下任意一种或多种情况下,用户设备的天线的性能可能被干扰:用户握住用户设备的情况、用户遮挡用户设备的情况、用户所穿戴/携带的物品为金属材质的情况、用户携带有其它电子设备的情况、用户设备的背壳是金属材质。In addition, in any one or more of the following situations, the performance of the antenna of the user equipment may be interfered: the user holds the user equipment, the user blocks the user equipment, and the items worn/carried by the user are made of metal 1. If the user carries other electronic equipment, the back shell of the user equipment is made of metal.

在某些技术中,用户设备通过一根天线向基站发送随机接入消息,如果没有从基站接收到响应消息,则继续通过该天线、以增大的发射功率向基站发送随机接入消息。如果在用户设备将发射功率增大到自身所允许的最大发射功率、并以该最大发射功率向基站发送随机接入消息的情况下仍然没有从基站接收到响应消息,则用户设备通过另一根天线向基站发送随机接入消息。In some technologies, the user equipment sends a random access message to the base station through an antenna, and if it does not receive a response message from the base station, it continues to send a random access message to the base station through the antenna with increased transmit power. If the user equipment increases the transmission power to the maximum transmission power allowed by itself and sends a random access message to the base station with the maximum transmission power, it still does not receive a response message from the base station, then the user equipment passes another The antenna sends a random access message to the base station.

然而,在发射功率达到最大发射功率之前的发送随机接入消息的过程都是没有用处的,这浪费了时间和用户设备的资源,增大了通信延迟和用户设备的功耗,降低了用户设备的待机时间。However, the process of sending random access messages before the transmission power reaches the maximum transmission power is useless, which wastes time and resources of the user equipment, increases communication delay and power consumption of the user equipment, and reduces the standby time.

下面结合说明书附图对本公开实施例进行解释说明。Embodiments of the present disclosure will be explained below in conjunction with the accompanying drawings.

图2是根据一示例性实施例示出的一种随机接入方法的流程图,该随机接入方法可以应用于用户设备,例如,该随机接入方法可以应用于图1中的用户设备。如图2所示,该随机接入方法可以包括以下步骤。Fig. 2 is a flowchart showing a random access method according to an exemplary embodiment. The random access method may be applied to user equipment, for example, the random access method may be applied to the user equipment in Fig. 1 . As shown in Fig. 2, the random access method may include the following steps.

在步骤S211中,通过用户设备所包括的多根天线中的一根天线,以初始发射功率向基站发送随机接入消息。In step S211, a random access message is sent to the base station with an initial transmit power through one of the multiple antennas included in the user equipment.

本实施例中,用户设备可以包括多根天线。例如,用户设备包括2至4根天线。又如,用户设备为5G手机,该用户设备包括64根天线。用户设备可以通过自身所包括的多根天线中的任意一根天线,以初始发射功率向基站发送随机接入消息。In this embodiment, the user equipment may include multiple antennas. For example, the user equipment includes 2 to 4 antennas. In another example, the user equipment is a 5G mobile phone, and the user equipment includes 64 antennas. The user equipment can send a random access message to the base station with initial transmit power through any one of the multiple antennas included in the user equipment.

本实施例中,在用户设备进行网络搜索时,用户设备开始监听基站所广播的系统消息,其中系统消息包括初始发射功率。例如,基站所广播的系统信息块(SystemInformationBlock,SIB)类型5或SIB类型6中包含系统消息。因此,用户设备可以通过获取系统消息来获取到初始发射功率。In this embodiment, when the user equipment performs network search, the user equipment starts to monitor the system information broadcast by the base station, where the system information includes the initial transmission power. For example, a system information block (SystemInformationBlock, SIB) type 5 or SIB type 6 broadcast by the base station includes system information. Therefore, the user equipment can obtain the initial transmission power by obtaining the system message.

在步骤S213中,判断是否接收到基站所发送的随机接入消息的响应消息。In step S213, it is judged whether a response message to the random access message sent by the base station is received.

若判断为“是”,则执行下述步骤S217。反之,若判断为“否”,则执行下述步骤S215。也就是说,如果通过当前所使用的天线、以初始发射功率向基站发送随机接入消息成功,则执行下述步骤S217。相应地,如果通过当前所使用的天线、以初始发射功率向基站发送随机接入消息失败,则执行下述步骤S215。If the judgment is "Yes", the following step S217 is executed. On the contrary, if the judgment is "No", then the following step S215 will be performed. That is to say, if the random access message is successfully sent to the base station with the initial transmission power through the currently used antenna, the following step S217 is performed. Correspondingly, if sending the random access message to the base station with the initial transmission power through the currently used antenna fails, the following step S215 is performed.

在步骤S215中,通过多根天线中的另一根天线,以比初始发射功率大的第一发射功率向基站发送随机接入消息,然后继续执行步骤S213。In step S215, a random access message is sent to the base station with a first transmit power greater than the initial transmit power through another antenna among the multiple antennas, and then step S213 is continued.

如上所述的,相关技术中,一直使用当前所使用的天线向基站发送随机接入消息,或者在发射功率达到最大发射功率之前一直使用当前所使用的天线、并且在发射功率达到最大发射功率之后将当前所使用的天线切换为其它天线。As mentioned above, in the related art, the currently used antenna is always used to send random access messages to the base station, or the currently used antenna is always used before the transmit power reaches the maximum transmit power, and after the transmit power reaches the maximum transmit power Switch the currently used antenna to another antenna.

与之相比,本实施例中,如果通过当前所使用的天线、以初始发射功率向基站发送随机接入消息失败,则立即将当前所使用的天线切换为另一根天线,在初始发射功率的基础上增大发射功率,并通过该另一根天线、使用增大的发射功率继续向基站发送随机接入消息。其中,该另一根天线是用户设备所包括的多根天线中的、除当前所使用的天线以外的其它天线中的任意一根天线。In contrast, in this embodiment, if the currently used antenna fails to send a random access message to the base station at the initial transmit power, the currently used antenna is immediately switched to another antenna, and at the initial transmit power Increase the transmit power on the basis of the antenna, and continue to send the random access message to the base station through the other antenna with the increased transmit power. Wherein, the other antenna is any antenna among the multiple antennas included in the user equipment except the currently used antenna.

在步骤S217中,停止向基站发送随机接入消息。In step S217, stop sending random access messages to the base station.

因此,在本公开的实施例中,只要通过当前所使用的天线向基站发送随机接入消息失败,就将当前所使用的天线切换为与当前所使用的天线不同的天线,并使用切换后的天线来继续向基站发送随机接入消息,由此,通过及时地切换天线,能够避免一直使用受干扰或被覆盖的天线向基站发送随机接入消息,这样,能够提高向基站发送随机接入消息的成功率,降低通信延迟,节省用户设备的功耗,延长用户设备的待机时间。Therefore, in the embodiments of the present disclosure, as long as the currently used antenna fails to send a random access message to the base station, the currently used antenna is switched to an antenna different from the currently used antenna, and the switched antenna is used. antennas to continue sending random access messages to the base station, thus, by switching antennas in time, it is possible to avoid using the interfered or covered antenna to send random access messages to the base station all the time, thus improving the efficiency of sending random access messages to the base station The success rate is high, the communication delay is reduced, the power consumption of the user equipment is saved, and the standby time of the user equipment is extended.

以下以用户设备包括三根天线为例来举例说明本公开的实施例。假设这三根天线的编号分别为1、2和3,则用户设备执行以下处理:用户设备通过天线1,以初始发射功率向基站发送随机接入消息。然后,用户设备判断是否接收到该随机接入消息的响应消息。如果判断为没有接收到响应消息,则用户设备通过天线2,以比初始发射功率大的发射功率(第一发射功率)向基站发送随机接入消息。Embodiments of the present disclosure are described below by taking the user equipment including three antennas as an example. Assuming that the numbers of the three antennas are 1, 2 and 3 respectively, the user equipment performs the following processing: the user equipment sends a random access message to the base station with an initial transmission power through antenna 1. Then, the user equipment judges whether to receive the response message of the random access message. If it is determined that no response message is received, the user equipment sends a random access message to the base station through the antenna 2 with a transmission power (first transmission power) greater than the initial transmission power.

然后,用户设备判断是否接收到该随机接入消息的响应消息。如果判断为没有接收到响应消息,则用户设备通过天线3,以比通过天线2向基站发送随机接入消息所使用的发射功率(上一个第一发射功率)大的发射功率(当前的第一发射功率)向基站发送随机接入消息。Then, the user equipment judges whether to receive the response message of the random access message. If it is determined that no response message has been received, the user equipment uses antenna 3 to transmit a random access message to the base station with a transmission power (the current first transmit power) to send a random access message to the base station.

然后,用户设备判断是否接收到该随机接入消息的响应消息。如果判断为没有接收到响应消息,则用户设备通过天线2,以比通过天线3向基站发送随机接入消息所使用的发射功率大的发射功率向基站发送随机接入消息,以此类推,直至接收到随机接入消息的响应消息。Then, the user equipment judges whether to receive the response message of the random access message. If it is determined that no response message is received, the user equipment sends a random access message to the base station through antenna 2 with a transmission power greater than that used for sending the random access message to the base station through antenna 3, and so on, until A response message to the random access message is received.

图3是根据一示例性实施例示出的一种随机接入方法的一个示例的流程图,该随机接入方法可以应用于用户设备,例如,该随机接入方法可以应用于图1中的用户设备。如图3所示,该随机接入方法可以包括以下步骤。Fig. 3 is a flowchart showing an example of a random access method according to an exemplary embodiment, the random access method can be applied to user equipment, for example, the random access method can be applied to the user in Fig. 1 equipment. As shown in Fig. 3, the random access method may include the following steps.

在步骤S311中,通过用户设备所包括的多根天线中的一根天线,以初始发射功率向基站发送随机接入消息,并且使随机接入消息的发送次数加1。In step S311, a random access message is sent to the base station with an initial transmission power through one of the multiple antennas included in the user equipment, and the number of times of sending the random access message is increased by 1.

本实施例中,发送次数的初始值为0。最大尝试次数表示用户设备可以尝试向基站发送随机接入消息的最大次数。例如,如果最大尝试次数为3,则表示用户设备最多可以向基站发送三次随机接入消息。系统消息还可以包括最大尝试次数,用户设备可以通过获取系统消息来获取到最大尝试次数。In this embodiment, the initial value of the sending times is 0. The maximum number of attempts indicates the maximum number of times that the user equipment can try to send the random access message to the base station. For example, if the maximum number of attempts is 3, it means that the user equipment can send random access messages to the base station three times at most. The system message may also include a maximum number of attempts, and the user equipment may acquire the maximum number of attempts by obtaining the system message.

在步骤S312中,判断是否接收到基站所发送的随机接入消息的响应消息。若判断为“是”,则执行下述步骤S315。反之,若判断为“否”,则执行下述步骤S313。In step S312, it is judged whether a response message to the random access message sent by the base station is received. If the judgment is "Yes", the following step S315 is executed. On the contrary, if the determination is "No", the following step S313 will be executed.

在步骤S313中,判断发送次数是否等于基站通过广播发送给用户设备的最大尝试次数。若判断为“是”,则执行下述步骤S315。反之,若判断为“否”,则执行下述步骤S314。In step S313, it is judged whether the number of times of sending is equal to the maximum number of times of attempts sent by the base station to the user equipment through broadcasting. If the judgment is "Yes", the following step S315 is executed. On the contrary, if the determination is "No", the following step S314 is executed.

在步骤S314中,通过另一根天线,以第一发射功率向基站发送随机接入消息,并且使随机接入消息的发送次数加1,然后继续执行步骤S312。In step S314, a random access message is sent to the base station with the first transmission power through another antenna, and the number of times of sending the random access message is increased by 1, and then step S312 is continued.

在一种可能的实现方式中,根据公式P1=P0+N×ΔP计算第一发射功率,其中,P1是第一发射功率,P0是初始发射功率,N是发送次数,ΔP是基站通过广播发送给用户设备的功率爬升步长。In a possible implementation, the first transmit power is calculated according to the formula P 1 =P 0 +N×ΔP, where P 1 is the first transmit power, P 0 is the initial transmit power, N is the number of times of transmission, and ΔP is The base station transmits the power ramp-up step size to the user equipment by broadcasting.

本实施例中,系统消息还可以包括功率爬升步长,用户设备可以通过获取系统消息来获取到功率爬升步长。In this embodiment, the system message may also include a power ramp-up step, and the user equipment may obtain the power ramp-up step by acquiring the system message.

在步骤S315中,停止向基站发送随机接入消息。In step S315, stop sending random access messages to the base station.

因此,在本公开的实施例中,只要通过当前所使用的天线向基站发送随机接入消息失败,就将当前所使用的天线切换为与当前所使用的天线不同的天线,并使用切换后的天线来继续向基站发送随机接入消息,由此,通过及时地切换天线,能够避免一直使用受干扰或被覆盖的天线向基站发送随机接入消息,这样,能够提高向基站发送随机接入消息的成功率,降低通信延迟,节省用户设备的功耗,延长用户设备的待机时间。Therefore, in the embodiments of the present disclosure, as long as the currently used antenna fails to send a random access message to the base station, the currently used antenna is switched to an antenna different from the currently used antenna, and the switched antenna is used. antennas to continue sending random access messages to the base station, thus, by switching antennas in time, it is possible to avoid using the interfered or covered antenna to send random access messages to the base station all the time, thus improving the efficiency of sending random access messages to the base station The success rate is high, the communication delay is reduced, the power consumption of the user equipment is saved, and the standby time of the user equipment is extended.

以下以用户设备包括三根天线为例并且最大尝试次数为2来举例说明本公开的实施例。假设这三根天线的编号分别为1、2和3,则用户设备执行以下处理:用户设备通过天线1,以初始发射功率向基站发送随机接入消息,并且使发送次数加1,此时发送次数为1。The following uses an example in which the user equipment includes three antennas and the maximum number of attempts is 2 to illustrate the embodiments of the present disclosure. Assuming that the numbers of the three antennas are 1, 2, and 3 respectively, the user equipment performs the following processing: the user equipment sends a random access message to the base station with the initial transmission power through antenna 1, and increases the number of times of sending by 1, and the number of times of sending is 1.

然后,用户设备判断是否接收到该随机接入消息的响应消息。如果判断为没有接收到响应消息,则用户设备判断发送次数是否等于最大尝试次数。此时,用户设备判断为发送次数1小于最大尝试次数2,用户设备通过天线2,以比初始发射功率大的发射功率(第一发射功率)向基站发送随机接入消息,并且使发送次数加1,此时,发送次数为2。Then, the user equipment judges whether to receive the response message of the random access message. If it is determined that no response message is received, the user equipment determines whether the number of sending times is equal to the maximum number of attempts. At this time, the user equipment determines that the number of times of sending 1 is less than the maximum number of attempts 2, and the user equipment sends a random access message to the base station with a transmission power (first transmission power) greater than the initial transmission power through the antenna 2, and increases the number of times of sending to the base station. 1. At this time, the number of sending is 2.

接着,用户设备判断是否接收到该随机接入消息的响应消息。如果判断为没有接收到响应消息,则用户设备判断发送次数是否等于最大尝试次数。此时,用户设备判断为发送次数2等于最大尝试次数2,用户设备停止向基站发送随机接入消息。Next, the user equipment judges whether the response message of the random access message is received. If it is determined that no response message is received, the user equipment determines whether the number of sending times is equal to the maximum number of attempts. At this time, the user equipment determines that the number of sending times 2 is equal to the maximum number of attempts 2, and the user equipment stops sending the random access message to the base station.

图4是根据一示例性实施例示出的一种随机接入方法的一个示例的流程图,该随机接入方法可以应用于用户设备,例如,该随机接入方法可以应用于图1中的用户设备。如图4所示,该随机接入方法可以包括以下步骤。Fig. 4 is a flowchart showing an example of a random access method according to an exemplary embodiment, the random access method can be applied to user equipment, for example, the random access method can be applied to the user in Fig. 1 equipment. As shown in Fig. 4, the random access method may include the following steps.

在步骤S411中,通过用户设备所包括的多根天线中的一根天线,以初始发射功率向基站发送随机接入消息。具体说明可以参阅前文关于步骤S211的描述,在此不再赘述。In step S411, a random access message is sent to the base station with an initial transmit power through one of the multiple antennas included in the user equipment. For specific descriptions, reference may be made to the foregoing description of step S211 , which will not be repeated here.

在步骤S412中,判断是否接收到基站所发送的随机接入消息的响应消息。若判断为“是”,则执行下述步骤S415。反之,若判断为“否”,则执行下述步骤S413。In step S412, it is judged whether a response message to the random access message sent by the base station is received. If the judgment is "Yes", the following step S415 is executed. On the contrary, if the determination is "No", the following step S413 is executed.

在步骤S413中,判断第一发射功率是否大于或等于用户设备的最大发射功率。若判断为“是”,则执行下述步骤S415。反之,若判断为“否”,则执行下述步骤S414。In step S413, it is judged whether the first transmit power is greater than or equal to the maximum transmit power of the user equipment. If the judgment is "Yes", the following step S415 is executed. On the contrary, if the determination is "No", the following step S414 is performed.

本实施例中,最大发射功率是用户设备的天线的最大承受功率,最大发射功率是用户设备的天线的性能指标之一。In this embodiment, the maximum transmit power is the maximum withstand power of the antenna of the user equipment, and the maximum transmit power is one of performance indicators of the antenna of the user equipment.

在步骤S414中,通过另一根天线,以第一发射功率向基站发送随机接入消息,然后继续执行步骤S412。In step S414, send a random access message to the base station with the first transmission power through another antenna, and then continue to execute step S412.

在步骤S415中,停止向基站发送随机接入消息。In step S415, stop sending random access messages to the base station.

因此,在本公开的实施例中,只要通过当前所使用的天线向基站发送随机接入消息失败,就将当前所使用的天线切换为与当前所使用的天线不同的天线,并使用切换后的天线来继续向基站发送随机接入消息,由此,通过及时地切换天线,能够避免一直使用受干扰或被覆盖的天线向基站发送随机接入消息,这样,能够提高向基站发送随机接入消息的成功率,降低通信延迟,节省用户设备的功耗,延长用户设备的待机时间。Therefore, in the embodiments of the present disclosure, as long as the currently used antenna fails to send a random access message to the base station, the currently used antenna is switched to an antenna different from the currently used antenna, and the switched antenna is used. antennas to continue sending random access messages to the base station, thus, by switching antennas in time, it is possible to avoid using the interfered or covered antenna to send random access messages to the base station all the time, thus improving the efficiency of sending random access messages to the base station The success rate is high, the communication delay is reduced, the power consumption of the user equipment is saved, and the standby time of the user equipment is extended.

并且,如果以最大发射功率向基站发送随机接入消息失败,则后续一直以该最大发射功率向基站发送随机接入消息可能也会失败,这样增大了用户设备的功耗,因此,在本公开的实施例中,在第一次以最大发射功率向基站发送随机接入消息失败时,停止向基站发送随机接入消息,这样,可以节省用户设备的功耗,延长用户设备的待机时间。Moreover, if sending random access messages to the base station with the maximum transmit power fails, subsequent random access messages sent to the base station with the maximum transmit power may also fail, which increases the power consumption of the user equipment. Therefore, in this In the disclosed embodiment, when sending the random access message to the base station with the maximum transmission power fails for the first time, the sending of the random access message to the base station is stopped, so that the power consumption of the user equipment can be saved and the standby time of the user equipment can be extended.

图5是根据一示例性实施例示出的一种随机接入装置的框图,该随机接入装置可以应用于用户设备UE。参照图5,该随机接入装置500包括发送模块121和判断模块123。Fig. 5 is a block diagram showing a random access apparatus according to an exemplary embodiment, and the random access apparatus may be applied to a user equipment UE. Referring to FIG. 5 , the random access device 500 includes a sending module 121 and a judging module 123 .

发送模块121被配置为通过UE所包括的多根天线中的一根天线,以初始发射功率向基站发送随机接入消息。判断模块123被配置为判断是否接收到基站所发送的随机接入消息的响应消息。The sending module 121 is configured to send a random access message to the base station with an initial transmit power through one of the multiple antennas included in the UE. The judging module 123 is configured to judge whether a response message to the random access message sent by the base station is received.

当判断模块123判断为没有接收到响应消息时,发送模块121通过多根天线中的另一根天线,以比初始发射功率大的第一发射功率向基站发送随机接入消息,然后判断模块123继续判断是否接收到该随机接入消息的响应消息。When the judging module 123 judges that no response message has been received, the sending module 121 sends a random access message to the base station with a first transmit power greater than the initial transmit power through another antenna in the multiple antennas, and then the judging module 123 Continue to judge whether the response message of the random access message is received.

在一种可能的实现方式中,上述随机接入装置500还可以包括:计数模块(未示出),用于每向基站发送一次随机接入消息,使随机接入消息的发送次数加1,相应地,判断模块123还用于当判断为没有接收到响应消息时,判断发送次数是否等于基站通过广播发送给UE的最大尝试次数。当判断为发送次数小于最大尝试次数时,发送模块121通过另一根天线,以第一发射功率向基站发送随机接入消息,然后判断模块123继续判断是否接收到该随机接入消息的响应消息。当判断为发送次数等于最大尝试次数时,发送模块121停止向基站发送随机接入消息。In a possible implementation manner, the random access apparatus 500 may further include: a counting module (not shown), configured to add 1 to the number of times the random access message is sent each time the random access message is sent to the base station, Correspondingly, the judging module 123 is further configured to judge whether the number of times of sending is equal to the maximum number of times of attempts sent by the base station to the UE through broadcasting when it is judged that no response message is received. When it is determined that the number of transmissions is less than the maximum number of attempts, the sending module 121 sends a random access message to the base station with the first transmission power through another antenna, and then the judging module 123 continues to judge whether a response message to the random access message is received . When it is determined that the number of sending times is equal to the maximum number of attempts, the sending module 121 stops sending the random access message to the base station.

在一种可能的实现方式中,根据公式P1=P0+N×ΔP计算第一发射功率,其中,P1是第一发射功率,P0是初始发射功率,N是发送次数,ΔP是基站通过广播发送给UE的功率爬升步长。In a possible implementation, the first transmit power is calculated according to the formula P 1 =P 0 +N×ΔP, where P 1 is the first transmit power, P 0 is the initial transmit power, N is the number of times of transmission, and ΔP is The base station broadcasts the power ramping step size sent to the UE.

在一种可能的实现方式中,判断模块123还用于当判断为没有接收到响应消息时,判断第一发射功率是否大于或等于UE的最大发射功率。当判断为第一发射功率小于最大发射功率时,发送模块121通过另一根天线,以第一发射功率向基站发送随机接入消息,然后判断模块123继续判断是否接收到该随机接入消息的响应消息。当判断为第一发射功率大于或等于最大发射功率时,发送模块121停止向基站发送随机接入消息。In a possible implementation manner, the judging module 123 is further configured to judge whether the first transmit power is greater than or equal to the maximum transmit power of the UE when it is judged that no response message is received. When it is determined that the first transmit power is less than the maximum transmit power, the sending module 121 sends a random access message to the base station with the first transmit power through another antenna, and then the judging module 123 continues to judge whether the random access message is received. Respond to the message. When it is determined that the first transmission power is greater than or equal to the maximum transmission power, the sending module 121 stops sending the random access message to the base station.

在一种可能的实现方式中,当判断为接收到响应消息时,发送模块121停止向基站发送随机接入消息。In a possible implementation manner, when it is determined that the response message is received, the sending module 121 stops sending the random access message to the base station.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图6是根据一示例性实施例示出的一种用于随机接入的装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 6 is a block diagram of an apparatus 800 for random access according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图6,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 6, the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and communication component 816 .

处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .

存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the device 800 . Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to the various components of the device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 800 .

多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC) configured to receive external audio signals when the device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the device 800 orientation or acceleration/deceleration and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 800 and other devices. The device 800 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 800 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, which can be executed by the processor 820 of the device 800 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1932,上述指令可由装置1900的处理组件1922执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1932 including instructions, which can be executed by the processing component 1922 of the apparatus 1900 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. a kind of accidental access method, applied to user equipment (UE), which is characterized in that including:
An antenna in more antennas included by by the UE sends random access to base station with Initial Trans and disappears Breath;
Judge whether to receive the response message of the random accessing message transmitted by the base station;
When being judged as being not received by the response message, by another antenna in the more antennas, with than described The first big transmission power of Initial Trans sends random accessing message to the base station, then proceedes to judge whether to receive The response message of the random accessing message.
2. it according to the method described in claim 1, it is characterized in that, further includes:
A random accessing message often is sent to the base station, the transmission times of random accessing message is made to add 1,
Correspondingly, when being judged as being not received by the response message, by another antenna in the more antennas, with Than the Initial Trans, the first big transmission power sends random accessing message to the base station, then proceedes to judge whether The response message of the random accessing message is received, including:
When being judged as being not received by the response message, judge whether the transmission times equal to the base station passes through broadcast It is sent to the maximum attempts of the UE;
When being judged as that the transmission times is less than the maximum attempts, by another antenna, with described first Transmission power sends random accessing message to the base station, then proceedes to judge whether the response for receiving the random accessing message Message,
When being judged as that the transmission times is equal to the maximum attempts, stop disappearing to base station transmission random access Breath.
3. according to the method described in claim 2, it is characterized in that,
According to formula P1=P0+ N × Δ P calculates first transmission power, wherein, P1It is first transmission power, P0It is institute State Initial Trans, N is the transmission times, and Δ P is the base station to climb step by broadcasting to the power of the UE It is long.
4. it according to the method described in claim 1, it is characterized in that, further includes:
When being judged as being not received by the response message, judge whether first transmission power is greater than or equal to the UE Maximum transmission power,
Correspondingly, when being judged as being not received by the response message, by another antenna in the more antennas, with Than the Initial Trans, the first big transmission power sends random accessing message to the base station, then proceedes to judge whether The response message of the random accessing message is received, including:
When being judged as that first transmission power is less than the maximum transmission power, by another antenna, with described First transmission power sends random accessing message to the base station, then proceedes to judge whether to receive the random accessing message Response message,
When be judged as first transmission power be greater than or equal to the maximum transmission power when, stop to the base station send with Machine accesses message.
5. it according to the method described in claim 1, it is characterized in that, further includes:
When being judged as receiving the response message, stop sending random accessing message to the base station.
6. a kind of accidental access device, applied to user equipment (UE), which is characterized in that including:
Sending module, for passing through an antenna in more antennas included by the UE, with Initial Trans to base station Send random accessing message;
Judgment module, for judging whether to receive the response message of the random accessing message transmitted by the base station,
When being judged as being not received by the response message, the sending module passes through another day in the more antennas Line sends random accessing message with the first transmission power bigger than the Initial Trans to the base station, then described to sentence Disconnected module continues to determine whether to receive the response message of the random accessing message.
7. device according to claim 6, which is characterized in that further include:
Counting module for often sending a random accessing message to the base station, adds the transmission times of random accessing message 1,
Correspondingly, the judgment module is additionally operable to when being judged as being not received by the response message, judges the transmission time The maximum attempts for whether being equal to the base station by broadcasting to the UE are counted,
When being judged as that the transmission times is less than the maximum attempts, the sending module passes through another day Line sends random accessing message with first transmission power to the base station, and then the judgment module continues to determine whether The response message of the random accessing message is received,
When being judged as that the transmission times is equal to the maximum attempts, the sending module stops sending to the base station Random accessing message.
8. device according to claim 7, which is characterized in that
According to formula P1=P0+ N × Δ P calculates first transmission power, wherein, P1It is first transmission power, P0It is institute State Initial Trans, N is the transmission times, and Δ P is the base station to climb step by broadcasting to the power of the UE It is long.
9. device according to claim 6, which is characterized in that
The judgment module is additionally operable to when being judged as being not received by the response message, judges that first transmission power is The no maximum transmission power more than or equal to the UE,
When being judged as that first transmission power is less than the maximum transmission power, the sending module passes through described another Antenna, random accessing message is sent with first transmission power to the base station, and then the judgment module, which continues judgement, is The no response message for receiving the random accessing message,
When being judged as that first transmission power is greater than or equal to the maximum transmission power, the sending module stops to institute It states base station and sends random accessing message.
10. device according to claim 6, which is characterized in that
When being judged as receiving the response message, the sending module stops sending random accessing message to the base station.
11. a kind of accidental access device, which is characterized in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:Perform claim requires the step of accidental access method any one of 1 to 5.
12. a kind of non-transitorycomputer readable storage medium when the instruction in the storage medium is performed by processor, makes It obtains processor and is able to carry out accidental access method according to any one of claim 1 to 5.
CN201810010687.5A 2018-01-05 2018-01-05 Accidental access method, device and non-transitorycomputer readable storage medium Pending CN108112089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810010687.5A CN108112089A (en) 2018-01-05 2018-01-05 Accidental access method, device and non-transitorycomputer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810010687.5A CN108112089A (en) 2018-01-05 2018-01-05 Accidental access method, device and non-transitorycomputer readable storage medium

Publications (1)

Publication Number Publication Date
CN108112089A true CN108112089A (en) 2018-06-01

Family

ID=62219846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810010687.5A Pending CN108112089A (en) 2018-01-05 2018-01-05 Accidental access method, device and non-transitorycomputer readable storage medium

Country Status (1)

Country Link
CN (1) CN108112089A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640388A (en) * 2019-01-08 2019-04-16 维沃移动通信有限公司 Transmit power control method and terminal
CN110572844A (en) * 2018-06-06 2019-12-13 成都鼎桥通信技术有限公司 Random access method, device and terminal
WO2020073815A1 (en) * 2018-10-10 2020-04-16 维沃移动通信有限公司 Processing method and terminal
CN113972955A (en) * 2020-07-22 2022-01-25 华为技术有限公司 Distance determination method, apparatus, electronic device, and computer-readable storage medium
WO2022028339A1 (en) * 2020-08-01 2022-02-10 华为技术有限公司 Antenna selection method and device
WO2025031365A1 (en) * 2023-08-10 2025-02-13 华为技术有限公司 Communication method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438305A (en) * 2010-09-29 2012-05-02 中兴通讯股份有限公司 Power control method and terminal
US20120214538A1 (en) * 2011-02-22 2012-08-23 Samsung Electronics Co., Ltd. User equipment and power control method for random access
CN103974446A (en) * 2013-01-30 2014-08-06 华为技术有限公司 Random access method and user equipment
US20150020157A1 (en) * 2013-07-10 2015-01-15 Samsung Electronics Co., Ltd. Apparatus and method for multi cell communication using beamforming in wireless communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438305A (en) * 2010-09-29 2012-05-02 中兴通讯股份有限公司 Power control method and terminal
US20120214538A1 (en) * 2011-02-22 2012-08-23 Samsung Electronics Co., Ltd. User equipment and power control method for random access
CN103974446A (en) * 2013-01-30 2014-08-06 华为技术有限公司 Random access method and user equipment
US20150020157A1 (en) * 2013-07-10 2015-01-15 Samsung Electronics Co., Ltd. Apparatus and method for multi cell communication using beamforming in wireless communication system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572844A (en) * 2018-06-06 2019-12-13 成都鼎桥通信技术有限公司 Random access method, device and terminal
CN110572844B (en) * 2018-06-06 2023-01-24 成都鼎桥通信技术有限公司 Random access method, device and terminal
WO2020073815A1 (en) * 2018-10-10 2020-04-16 维沃移动通信有限公司 Processing method and terminal
US12250729B2 (en) 2018-10-10 2025-03-11 Vivo Mobile Communication Co., Ltd. Method for controlling power ramping counter, and terminal
CN109640388A (en) * 2019-01-08 2019-04-16 维沃移动通信有限公司 Transmit power control method and terminal
CN113972955A (en) * 2020-07-22 2022-01-25 华为技术有限公司 Distance determination method, apparatus, electronic device, and computer-readable storage medium
CN113972955B (en) * 2020-07-22 2022-12-30 华为技术有限公司 Distance determination method, device, electronic equipment and computer readable storage medium
WO2022028339A1 (en) * 2020-08-01 2022-02-10 华为技术有限公司 Antenna selection method and device
WO2025031365A1 (en) * 2023-08-10 2025-02-13 华为技术有限公司 Communication method and apparatus

Similar Documents

Publication Publication Date Title
CN108496395B (en) Paging synchronization indication method and device, paging synchronization method and device, and base station
CN116744456A (en) Bandwidth part configuration method, bandwidth part configuration device and storage medium
CN113873599B (en) Resource determination method and device
CN108112089A (en) Accidental access method, device and non-transitorycomputer readable storage medium
CN116867064A (en) Paging cause sending method and device, paging cause obtaining method and device
CN107466457B (en) Method, apparatus, base station and user equipment for reducing user equipment temperature
CN106028375A (en) Prompt method, device and terminal equipment for network switching
CN109451880B (en) Network connection method and device
WO2019113883A1 (en) User equipment power-saving method and device, user equipment and base station
CN112543485B (en) Voice call control method, device and storage medium
US10009283B2 (en) Method and device for processing information
WO2018176230A1 (en) Method and apparatus for updating notification area
CN112088541A (en) Paging channel monitoring method, paging channel monitoring device and storage medium
US11197192B2 (en) Network connection management method, device and system
CN106604230A (en) Region configuration method and region configuration device
CN110268746A (en) Cell handover method and device, handover configuration method and device, and user equipment
CN108476420A (en) Page configuration method and device, paging message method of reseptance and device and base station
CN107079349A (en) System information acquisition method, device and system
CN108476479A (en) Accidental access method and device, user equipment and computer readable storage medium
CN109075878A (en) Monitoring method, device, equipment and storage medium
CN108401531A (en) Method, device, user equipment and base station for eliminating intermodulation interference
CN112514430B (en) Paging configuration method and device, paging method and device
CN112840708B (en) Communication method, device and storage medium
WO2020133200A1 (en) Carrier configuration method and device
EP4061071A1 (en) Paging signaling sending method, paging method, and information sending method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180601

RJ01 Rejection of invention patent application after publication