WO2024082563A1 - Radio frequency front-end control method, apparatus, device, and computer readable storage medium - Google Patents

Radio frequency front-end control method, apparatus, device, and computer readable storage medium Download PDF

Info

Publication number
WO2024082563A1
WO2024082563A1 PCT/CN2023/085991 CN2023085991W WO2024082563A1 WO 2024082563 A1 WO2024082563 A1 WO 2024082563A1 CN 2023085991 W CN2023085991 W CN 2023085991W WO 2024082563 A1 WO2024082563 A1 WO 2024082563A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
target
control request
radio frequency
request
Prior art date
Application number
PCT/CN2023/085991
Other languages
French (fr)
Chinese (zh)
Inventor
兰鹏涛
高峰
Original Assignee
深圳市中兴微电子技术有限公司
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 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2024082563A1 publication Critical patent/WO2024082563A1/en

Links

Abstract

Disclosed in the present application are a radio frequency front-end control method, an apparatus, a device, and a computer readable storage medium. The method comprises: receiving a control request sent by a control end of a radio frequency front-end device; according to channel selection information carried by the control request, determining from among radio frequency front-end buses a radio frequency front-end bus selected by the control request; and converting command information carried in the control request into a command frame corresponding to a radio frequency front-end bus protocol; and sending the command frame obtained according to the control request to a radio frequency front-end device docked with the radio frequency front-end bus selected by the control request.

Description

射频前端控制方法、装置、设备及计算机可读存储介质Radio frequency front end control method, device, equipment and computer readable storage medium
相关申请Related Applications
本申请要求于2022年10月20号申请的、申请号为202211289849.6的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese patent application No. 202211289849.6 filed on October 20, 2022, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本申请涉及无线通信技术领域,尤其涉及一种射频前端控制方法、装置、设备及计算机可读存储介质。The present application relates to the field of wireless communication technology, and in particular to a radio frequency front-end control method, device, equipment and computer-readable storage medium.
背景技术Background technique
射频前端(RFFE,RF Front-End)总线接口是为射频前端制定了标准总线接口,单套射频前端总线最多可以挂载15个从机设备。随着通信技术不断迭代发展,对射频前端设备(如天线开关、天线调谐器、功率放大器、噪声放大器等等)的种类及数量的需求也不断增加,加之控制射频前端的modem(调制解调器)种类较多,不同modem控制的射频前端设备种类和数量也有所不同,且可能存在交叉控制场景,必要时也存在软件代替modem控制射频前端的场景,从而导致单套射频前端总线不能满足对所有射频前端设备的控制需求,也即,需要多套射频前端总线。每个控制端(modem和软件)分别采用一套射频前端总线对接相应的射频前端设备时,射频前端总线的利用率较低。The RF front-end (RFFE) bus interface is a standard bus interface for the RF front-end. A single RF front-end bus can carry up to 15 slave devices. With the continuous iteration and development of communication technology, the demand for the types and quantity of RF front-end devices (such as antenna switches, antenna tuners, power amplifiers, noise amplifiers, etc.) is also increasing. In addition, there are many types of modems that control the RF front-end, and the types and quantities of RF front-end devices controlled by different modems are also different. There may be cross-control scenarios. If necessary, there are also scenarios where software replaces the modem to control the RF front-end, resulting in a single set of RF front-end bus cannot meet the control requirements of all RF front-end devices, that is, multiple sets of RF front-end buses are required. When each control end (modem and software) uses a set of RF front-end buses to connect to the corresponding RF front-end devices, the utilization rate of the RF front-end bus is low.
发明内容Summary of the invention
本申请的主要目的在于提供一种射频前端控制方法、装置、设备及计算机可读存储介质,旨在提高对射频前端设备进行控制时射频前端总线的利用率。The main purpose of the present application is to provide a radio frequency front-end control method, device, equipment and computer-readable storage medium, aiming to improve the utilization rate of the radio frequency front-end bus when controlling the radio frequency front-end device.
为实现上述目的,本申请提供一种射频前端控制方法,所述射频前端控制方法包括以下步骤:To achieve the above object, the present application provides a radio frequency front-end control method, the radio frequency front-end control method comprising the following steps:
接收射频前端设备的控制端发送的控制请求;Receive a control request sent by a control terminal of a radio frequency front-end device;
根据所述控制请求携带的通道选择信息,从各套射频前端总线中确定所 述控制请求所选择的射频前端总线;According to the channel selection information carried in the control request, the selected channel is determined from each set of RF front-end buses. The RF front-end bus selected by the control request;
将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧;Converting the command information carried in the control request into a command frame corresponding to the radio frequency front-end bus protocol;
将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备。The command frame converted according to the control request is sent to the RF front-end device connected to the RF front-end bus selected by the control request.
为实现上述目的,本申请还提供一种射频前端控制装置所述射频前端控制装置包括:To achieve the above object, the present application also provides a radio frequency front-end control device, the radio frequency front-end control device comprising:
接收模块,用于接收射频前端设备的控制端发送的控制请求;A receiving module, used for receiving a control request sent by a control terminal of a radio frequency front-end device;
确定模块,用于根据所述控制请求携带的通道选择信息,从各套射频前端总线中确定所述控制请求所选择的射频前端总线;A determination module, configured to determine the RF front-end bus selected by the control request from each set of RF front-end buses according to the channel selection information carried in the control request;
转换模块,用于将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧;A conversion module, used to convert the command information carried in the control request into a command frame corresponding to the radio frequency front-end bus protocol;
发送模块,用于将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备A sending module, used to send the command frame converted according to the control request to the RF front-end device connected to the RF front-end bus selected by the control request
为实现上述目的,本申请还提供一种射频前端控制设备,所述射频前端控制设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的射频前端控制程序,所述射频前端控制程序被所述处理器执行时实现如上所述的射频前端控制方法的步骤。To achieve the above-mentioned purpose, the present application also provides a radio frequency front-end control device, which includes: a memory, a processor, and a radio frequency front-end control program stored in the memory and executable on the processor, and the radio frequency front-end control program, when executed by the processor, implements the steps of the radio frequency front-end control method as described above.
此外,为实现上述目的,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有射频前端控制程序,所述射频前端控制程序被处理器执行时实现如上所述的射频前端控制方法的步骤。In addition, to achieve the above-mentioned purpose, the present application also proposes a computer-readable storage medium, on which a RF front-end control program is stored, and when the RF front-end control program is executed by a processor, the steps of the RF front-end control method as described above are implemented.
本申请实施例中,通过接收射频前端设备的控制端发送的控制请求;根据控制请求携带的通道选择信息,从各套射频前端总线中确定控制请求所选择的射频前端总线;将控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧;将根据控制请求转换得到的命令帧发送给控制请求所选择的射频前端总线对接的射频前端设备。本申请实施例提供的上述方案,使得各种控制端可共享多套射频前端总线,从而提高了对射频前端设备进行控制时射频前端总线的利用率。In the embodiment of the present application, a control request sent by a control end of a radio frequency front-end device is received; the radio frequency front-end bus selected by the control request is determined from each set of radio frequency front-end buses according to the channel selection information carried in the control request; the command information carried in the control request is converted into a command frame corresponding to the radio frequency front-end bus protocol; and the command frame converted according to the control request is sent to the radio frequency front-end device connected to the radio frequency front-end bus selected by the control request. The above scheme provided in the embodiment of the present application enables various control ends to share multiple sets of radio frequency front-end buses, thereby improving the utilization rate of the radio frequency front-end bus when controlling the radio frequency front-end device.
附图说明 BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例方案涉及的硬件运行环境的结构示意图;FIG1 is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the present application;
图2为本申请射频前端控制方法第一实施例的流程示意图;FIG2 is a schematic diagram of a flow chart of a first embodiment of a radio frequency front-end control method of the present application;
图3为本申请实施例涉及的一种控制端冲突信号示意图;FIG3 is a schematic diagram of a control terminal conflict signal involved in an embodiment of the present application;
图4为本申请实施例涉及的一种射频前端系统架构示意图;FIG4 is a schematic diagram of a radio frequency front-end system architecture involved in an embodiment of the present application;
图5为本申请实施例涉及的一种状态机转换图;FIG5 is a state machine transition diagram involved in an embodiment of the present application;
图6为本申请实施例涉及的一种命令帧发送方式示意图;FIG6 is a schematic diagram of a command frame sending method involved in an embodiment of the present application;
图7为本申请射频前端控制装置一实施例的功能模块示意图。FIG. 7 is a schematic diagram of functional modules of an embodiment of a radio frequency front-end control device of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。The specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的设备结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
本申请实施例射频前端控制设备,所述射频前端控制设备可以是智能手机、个人计算机、服务器等设备,在此不做具体限制。The radio frequency front-end control device in the embodiment of the present application may be a smart phone, a personal computer, a server or other device, and is not specifically limited here.
如图1所示,该射频前端控制设备可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005还可以是独立于前述处理器1001的存储装置。As shown in FIG1 , the RF front-end control device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的设备结构并不构成对射频前端控制设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the device structure shown in FIG. 1 does not constitute a limitation on the RF front-end control device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及射频前端控制程序。操作系统是管理和控制设备硬件和软件资源的程序,支持射频前端控制程序以及其它软件或程序的运行。在图1所示的设备中,用户接口1003主要用于与客户端进行数据 通信;网络接口1004主要用于与服务器建立通信连接;而处理器1001可以用于调用存储器1005中存储的射频前端控制程序,并执行各实施例中的射频前端控制方法。As shown in FIG1 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a radio frequency front-end control program. The operating system is a program that manages and controls the hardware and software resources of the device and supports the operation of the radio frequency front-end control program and other software or programs. In the device shown in FIG1 , the user interface 1003 is mainly used to communicate with the client for data transmission. Communication; the network interface 1004 is mainly used to establish a communication connection with the server; and the processor 1001 can be used to call the RF front-end control program stored in the memory 1005 and execute the RF front-end control method in each embodiment.
基于上述的结构,提出射频前端控制方法的各个实施例。Based on the above structure, various embodiments of the RF front-end control method are proposed.
参照图2,图2为本申请射频前端控制方法第一实施例的流程示意图。本申请实施例提供了射频前端控制方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。以下为便于描述,以射频前端控制系统为执行主体进行各实施例的阐述。在一可行实施方式中,射频前端控制系统可以是一套电路系统,包括实现各个功能的电路模块,或者在一可行实施方式中,射频前端控制系统也可以是一套软件系统,包括实现各个功能的软件模块。在本实施例中,所述射频前端控制方法包括:Refer to Figure 2, which is a flow chart of the first embodiment of the RF front-end control method of the present application. The embodiment of the present application provides an embodiment of the RF front-end control method. It should be noted that although the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that here. For the convenience of description below, each embodiment is explained with the RF front-end control system as the execution subject. In one feasible implementation, the RF front-end control system can be a set of circuit systems, including circuit modules that implement various functions, or in one feasible implementation, the RF front-end control system can also be a set of software systems, including software modules that implement various functions. In this embodiment, the RF front-end control method includes:
步骤S10,接收射频前端设备的控制端发送的控制请求;Step S10, receiving a control request sent by a control terminal of the radio frequency front-end device;
在具体实施方式中,射频前端设备可以包括但不限于天线开关、天线调谐器、功率放大器、噪声放大器中的一种或多种。射频前端设备的控制端可以包括但不限于各种modem和软件控制端中的一种或多种。其中,modem可以包括但不限于NR modem、LTE modem、LTEA modem、WD modem、TD modem、GSM modem、V2X modem中的一种或多种。软件控制端例如可以是ARM(ARM公司开发的RISC处理器)。控制端需要向射频前端设备发送控制命令时,向射频前端控制系统发送控制请求,由射频前端控制系统进行转发。In a specific implementation, the RF front-end device may include but is not limited to one or more of an antenna switch, an antenna tuner, a power amplifier, and a noise amplifier. The control end of the RF front-end device may include but is not limited to one or more of various modems and software control ends. Among them, the modem may include but is not limited to one or more of NR modem, LTE modem, LTEA modem, WD modem, TD modem, GSM modem, and V2X modem. The software control end may be, for example, ARM (RISC processor developed by ARM). When the control end needs to send a control command to the RF front-end device, it sends a control request to the RF front-end control system, which is forwarded by the RF front-end control system.
控制端可以在控制请求中携带通道选择信息,通道选择信息用于选择各套射频前端总线(RFFE,RF Front-End)中其中一套射频前端总线。例如,在一可行实施方式中,预先可以给各套射频前端总线赋予唯一的ID,通道选择信息可以是所需要选择的射频前端总线的ID。需要说明的是,在具体实施方式中,可以根据具体应用场景的需求设置射频前端总线的套数。The control end may carry channel selection information in the control request, and the channel selection information is used to select one of the RF front-end buses (RFFE, RF Front-End). For example, in a feasible implementation, each set of RF front-end buses may be assigned a unique ID in advance, and the channel selection information may be the ID of the RF front-end bus to be selected. It should be noted that in a specific implementation, the number of RF front-end buses may be set according to the requirements of a specific application scenario.
在具体实施方式中,在布置各套射频前端总线后,可以根据具体应用场景的需求,设置每个控制端与其要控制的射频前端设备之间采用哪套射频前端总线链接,控制端在发送控制请求时可以根据预先设置的映射关系以及当前要控制的射频前端设备,在控制请求中携带相应的通道选择信息;同一控制端对不同射频前端设备可以通过走不同的射频前端总线,不同的控制端也 可以复用同一套射频前端总线,都可以根据需要来灵活设置。In a specific implementation, after arranging each set of RF front-end buses, it is possible to set which set of RF front-end buses to be used between each control terminal and the RF front-end device to be controlled according to the needs of the specific application scenario. When sending a control request, the control terminal can carry the corresponding channel selection information in the control request according to the preset mapping relationship and the RF front-end device to be controlled currently; the same control terminal can use different RF front-end buses for different RF front-end devices, and different control terminals can also The same set of RF front-end buses can be reused and can be flexibly set according to needs.
控制端可以在控制请求中携带命令信息,该命令信息用于对所要控制的射频前端设备进行控制,也即,当射频前端设备接收到该命令信息时,能够响应于该命令信息执行相应的操作,例如寄存器读、寄存器写等等。可以理解的是,命令信息具体包括哪些信息在本实施例中并不做限制。The control end may carry command information in the control request, and the command information is used to control the RF front-end device to be controlled, that is, when the RF front-end device receives the command information, it can respond to the command information to perform corresponding operations, such as register reading, register writing, etc. It can be understood that what information the command information specifically includes is not limited in this embodiment.
步骤S20,根据所述控制请求携带的通道选择信息,从各套射频前端总线中确定所述控制请求所选择的射频前端总线;Step S20, determining the RF front-end bus selected by the control request from each set of RF front-end buses according to the channel selection information carried in the control request;
射频前端控制系统可以从控制请求中提取通道选择信息,根据通道选择信息从各套射频前端总线中确定该控制请求所选择的射频前端总线。The RF front-end control system can extract channel selection information from the control request, and determine the RF front-end bus selected by the control request from each set of RF front-end buses according to the channel selection information.
步骤S30,将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧;Step S30, converting the command information carried in the control request into a command frame corresponding to the radio frequency front end bus protocol;
射频前端控制系统可以从该控制请求中提取命令信息,将该命令信息转换为射频前端总线协议对应的命令帧,也即,将命令信息转换为射频前端总线协议所规定的格式,将转换后的命令信息称为命令帧以示区分。The RF front-end control system can extract command information from the control request and convert the command information into a command frame corresponding to the RF front-end bus protocol, that is, convert the command information into the format specified by the RF front-end bus protocol, and the converted command information is called a command frame for distinction.
步骤S40,将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备。Step S40: sending a command frame converted according to the control request to a radio frequency front-end device connected to the radio frequency front-end bus selected by the control request.
在确定了控制请求所选择的射频前端总线,以及将该控制请求中携带的命令信息转换得到命令帧后,射频前端控制系统将该命令帧发送给该控制请求所选择的射频前端总线对接的射频前端设备,以实现对射频前端设备的控制。After determining the RF front-end bus selected by the control request and converting the command information carried in the control request into a command frame, the RF front-end control system sends the command frame to the RF front-end device connected to the RF front-end bus selected by the control request to achieve control of the RF front-end device.
在本实施例中,通过接收射频前端设备的控制端发送的控制请求;根据控制请求携带的通道选择信息,从各套射频前端总线中确定控制请求所选择的射频前端总线;将控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧;将根据控制请求转换得到的命令帧发送给控制请求所选择的射频前端总线对接的射频前端设备。本实施例提供的上述方案,使得各种控制端可共享多套射频前端总线,从而提高了对射频前端设备进行控制时射频前端总线的利用率。In this embodiment, a control request sent by a control terminal of a radio frequency front-end device is received; the radio frequency front-end bus selected by the control request is determined from various sets of radio frequency front-end buses according to the channel selection information carried in the control request; the command information carried in the control request is converted into a command frame corresponding to the radio frequency front-end bus protocol; and the command frame converted according to the control request is sent to the radio frequency front-end device connected to the radio frequency front-end bus selected by the control request. The above scheme provided by this embodiment enables various control terminals to share multiple sets of radio frequency front-end buses, thereby improving the utilization rate of the radio frequency front-end bus when controlling the radio frequency front-end device.
基于上述第一实施例,提出本申请射频前端控制方法第二实施例,在本实施例中,所述射频前端控制方法还包括:Based on the above first embodiment, a second embodiment of the RF front-end control method of the present application is proposed. In this embodiment, the RF front-end control method further includes:
步骤A10,对于所述各套射频前端总线中的任意一套目标射频前端总线, 检测所述目标射频前端总线是否同时被多个所述控制请求所选择;Step A10, for any target RF front-end bus among the RF front-end buses, Detecting whether the target RF front-end bus is selected by a plurality of the control requests at the same time;
为避免多个控制端同时对同一前端射频设备进行控制而发生冲突,导致控制失效,在本实施例中,进一步地提出冲突解决机制,以下进行详细说明。In order to avoid conflicts caused by multiple control terminals controlling the same front-end radio frequency device at the same time, which may lead to control failure, in this embodiment, a conflict resolution mechanism is further proposed, which is described in detail below.
对于各套射频前端总线中的任意一套射频前端总线(以下称为目标射频前端总线以示区分),可以检测该目标射频前端总线是否同时被多个控制请求所选择。当射频前端控制系统接收到多个控制请求时,这多个控制请求可能需要对同一射频前端设备进行控制,在依据各个控制请求中携带的通道选择信息确定各个控制请求所选择的射频前端总线后,即可确定目标射频前端总线是否同时被多个控制请求所选择。For any set of RF front-end buses among the sets of RF front-end buses (hereinafter referred to as the target RF front-end bus for distinction), it is possible to detect whether the target RF front-end bus is selected by multiple control requests at the same time. When the RF front-end control system receives multiple control requests, these multiple control requests may need to control the same RF front-end device. After determining the RF front-end bus selected by each control request based on the channel selection information carried in each control request, it is possible to determine whether the target RF front-end bus is selected by multiple control requests at the same time.
步骤A20,若所述目标射频前端总线同时被多个所述控制请求所选择,则按照预设的各种控制端的优先级顺序,对选择所述目标射频前端总线的多个所述控制请求进行排序;Step A20, if the target RF front-end bus is selected by multiple control requests at the same time, sorting the multiple control requests for selecting the target RF front-end bus according to the priority order of various control terminals;
若目标射频前端总线同时被多个控制请求所选择,则射频前端控制设备可以将各个控制请求进行排序。排序的规则有很多种,例如可以是随机排序,在本实施例中并不做限制。在一可行实施方式中,可以预先设置各个控制端的优先级顺序,例如可以设置为NR modem>LTEA modem>v2x modem>WCDMA modem>TD modem>GSM modem>ARM;按照各个控制端的优先级顺序,对同时选择目标射频前端的多个控制请求进行排序,也即,发送控制请求的控制端优先级越高,该控制请求就排在越靠前。If the target RF front-end bus is selected by multiple control requests at the same time, the RF front-end control device can sort the control requests. There are many sorting rules, such as random sorting, which is not limited in this embodiment. In a feasible implementation, the priority order of each control terminal can be pre-set, for example, it can be set to NR modem>LTEA modem>v2x modem>WCDMA modem>TD modem>GSM modem>ARM; according to the priority order of each control terminal, the multiple control requests that simultaneously select the target RF front end are sorted, that is, the higher the priority of the control terminal that sends the control request, the higher the control request is ranked.
步骤A30,对于选择所述目标射频前端总线的多个所述控制请求,按照排序的顺序依次执行所述步骤S40。Step A30: for selecting the multiple control requests for the target RF front-end bus, execute the step S40 in sequence according to the sorting order.
在对各个控制请求进行排序后,可以将各个控制请求按照排序的顺序依次进行命令帧的发送,也即,先发送排在前面的控制请求所对应转换得到的命令帧,再发送排在后面的控制请求所对应转换得到的命令帧。需要说明的是,在具体实施方式中,可以先将各个控制请求分别转换为命令帧后再按顺序发送各个命令帧,也可以是将各个控制请求按照顺序转换一个发送一个,发送完一个再转换下一个。After sorting the control requests, the command frames of the control requests can be sent in sequence according to the sorting order, that is, the command frames corresponding to the control requests in the front are sent first, and then the command frames corresponding to the control requests in the back are sent. It should be noted that in a specific implementation, the control requests can be converted into command frames first and then sent in sequence, or the control requests can be converted one by one in sequence and sent one by one, and then the next one is converted after one is sent.
在本实施例中,通过在有多个控制请求同时选择一套射频前端总线时,将该多个控制请求进行排序,并将该多个控制请求对应转换得到的命令帧按照排序的顺序依次发出,避免了多个控制端同时对同一前端射频设备进行控 制而发生冲突导致控制失效的情况发生。In this embodiment, when there are multiple control requests selecting a set of RF front-end buses at the same time, the multiple control requests are sorted, and the command frames corresponding to the multiple control requests are sent out in sequence according to the sorting order, thereby avoiding the situation where multiple control terminals simultaneously control the same front-end RF device. Conflicts may occur due to control failure.
在一可行实施方式中,所述步骤S20之后,还包括:In a feasible implementation manner, after step S20, the method further includes:
步骤A40,向所述控制请求所选择的射频前端总线对应的冲突检测电路发送一次请求信号;Step A40, sending a request signal to the conflict detection circuit corresponding to the RF front-end bus selected by the control request;
在本实施方式中,提出一种基于电路实现冲突解决机制中的冲突检测功能的实现方案,以下进行详细说明。针对各套射频前端总线可以分别设置一个冲突检测电路,射频前端控制系统每当接收到一个控制请求并确定该控制请求所选择的射频前端总线后,可以向该控制请求所选择的射频前端总线对应的冲突检测电路发送一次请求信号。请求信号的形式在本实施方式中并不做限制,例如,可以是向冲突检测电路发送一个持续一定时长的高电平信号。In this embodiment, a scheme for implementing the conflict detection function in the conflict resolution mechanism based on a circuit is proposed, which is described in detail below. A conflict detection circuit can be set for each set of RF front-end buses. Whenever the RF front-end control system receives a control request and determines the RF front-end bus selected by the control request, it can send a request signal to the conflict detection circuit corresponding to the RF front-end bus selected by the control request. The form of the request signal is not limited in this embodiment. For example, it can be a high-level signal that lasts for a certain period of time sent to the conflict detection circuit.
所述步骤S40之后,还包括:After step S40, the method further includes:
步骤A50,在将根据所述控制请求转换得到的命令帧发送完后,向所述冲突检测电路发送一次结束信号;Step A50, after sending the command frame converted according to the control request, sending an end signal to the conflict detection circuit;
射频前端控制系统在每将一个控制请求所转换得到的命令帧发送完成后,可以向该冲突检测电路发送一次结束信号。结束信号的形式在本实施方式中并不做限制,例如,可以是向冲突检测电路发送一个持续一定时长的高电平信号。After the RF front-end control system completes sending each command frame converted from a control request, it can send an end signal to the conflict detection circuit. The form of the end signal is not limited in this embodiment, for example, it can be a high-level signal that lasts for a certain period of time to the conflict detection circuit.
所述步骤S50包括:The step S50 comprises:
步骤S501,通过目标冲突检测电路在接收到一次目标控制端所发送的所述控制请求对应的所述请求信号后,开始产生与所述目标控制端对应的锁存信号,其中,所述目标冲突检测电路为所述目标射频前端总线对应的冲突检测电路;Step S501, after receiving the request signal corresponding to the control request sent by a target control terminal, a target conflict detection circuit starts to generate a latch signal corresponding to the target control terminal, wherein the target conflict detection circuit is a conflict detection circuit corresponding to the target radio frequency front-end bus;
将目标射频前端总线对应的冲突检测电路称为目标冲突检测电路以示区分,将控制端中的任意一个控制端称为目标控制端以示区分。射频前端控制系统可以通过目标冲突检测电路在接收到一次目标控制端发送的控制请求对应的请求信号后,也即,在通过目标冲突检测电路接收到因目标控制端发送的控制请求所触发的请求信号后,开始产生与该目标控制端对应的锁存信号。若目标冲突检测电路同时接收到多个请求信号,将会对应产生多个锁存信号。锁存信号的形式在本实施方式中并不做限制,例如,可以是持续的高电平信号,当请求信号是一定时长的高电平信号时,可以在该请求信号的下降沿开 始拉高电平,以产生锁存信号。The conflict detection circuit corresponding to the target RF front-end bus is referred to as a target conflict detection circuit for distinction, and any one of the control terminals is referred to as a target control terminal for distinction. The RF front-end control system can start generating a latch signal corresponding to the target control terminal after receiving a request signal corresponding to a control request sent by the target control terminal through the target conflict detection circuit, that is, after receiving a request signal triggered by the control request sent by the target control terminal through the target conflict detection circuit. If the target conflict detection circuit receives multiple request signals at the same time, multiple latch signals will be generated accordingly. The form of the latch signal is not limited in the present embodiment. For example, it can be a continuous high-level signal. When the request signal is a high-level signal of a certain duration, it can be opened at the falling edge of the request signal. Start pulling the level high to generate a latch signal.
在具体实施方式中,射频前端控制系统与不同控制端之间采用不同的连接线连接,射频前端控制系统根据接收控制请求的连接线来区分控制请求来自于哪个控制端,或者,也可以由控制端在控制请求中携带自己的ID,射频前端控制系统根据ID来区分控制请求来自于哪个控制端。In a specific implementation, the RF front-end control system is connected to different control ends using different connection lines, and the RF front-end control system distinguishes which control end the control request comes from based on the connection line that receives the control request. Alternatively, the control end may carry its own ID in the control request, and the RF front-end control system distinguishes which control end the control request comes from based on the ID.
步骤S502,通过所述目标冲突检测电路在接收到一次所述目标控制端所发送的所述控制请求对应的所述结束信号后,结束产生与所述目标控制端对应的所述锁存信号;Step S502, after receiving the end signal corresponding to the control request sent by the target control end once, the target conflict detection circuit ends generating the latch signal corresponding to the target control end;
射频前端控制系统可以通过目标冲突检测电路在接收到一次目标控制端发送的控制请求对应的结束信号后,也即,在通过目标冲突检测电路接收到因目标控制端发送的控制请求所触发的结束信号后,结束产生与该目标控制端对应的锁存信号。例如,当锁存信号是持续的高电平信号,结束信号是一定时长的高电平信号时,可以在该结束信号的下降沿开始,拉低该锁存信号,以结束产生该锁存信号。The RF front-end control system can stop generating a latch signal corresponding to the target control end after receiving an end signal corresponding to a control request sent by the target control end through the target conflict detection circuit, that is, after receiving an end signal triggered by a control request sent by the target control end through the target conflict detection circuit. For example, when the latch signal is a continuous high-level signal and the end signal is a high-level signal of a certain duration, the latch signal can be pulled down starting from the falling edge of the end signal to stop generating the latch signal.
步骤S503,在目标时刻检测到所述目标冲突检测电路所产生的所述锁存信号的数量大于1的情况下,确定在所述目标时刻所述目标射频前端总线同时被多个所述控制请求所选择。Step S503: when it is detected at the target time that the number of the latch signals generated by the target conflict detection circuit is greater than 1, it is determined that the target RF front-end bus is simultaneously selected by a plurality of the control requests at the target time.
将任意一个时刻称为目标时刻以示区分,在目标时刻检测到该目标冲突检测电路所产生的锁存信号的数量大于1的情况下,射频前端控制系统可以确定在该目标时刻目标射频前端总线同时被多个控制请求所选择。其中,当锁存信号是持续的高电平信号时,可以在目标时刻检测目标冲突检测电路所产生的高电平信号的数量,即为锁存信号的数量。Any moment is referred to as a target moment for distinction. When the number of latch signals generated by the target conflict detection circuit is detected to be greater than 1 at the target moment, the RF front-end control system can determine that the target RF front-end bus is simultaneously selected by multiple control requests at the target moment. When the latch signal is a continuous high-level signal, the number of high-level signals generated by the target conflict detection circuit can be detected at the target moment, that is, the number of latch signals.
在一可行实施方式中,所述射频前端控制方法还包括:In one feasible implementation, the RF front-end control method further includes:
步骤A60,通过所述目标冲突检测电路在接收到一次所述目标控制端所发送的所述控制请求对应的所述请求信号后,将所述目标控制端所发送的所述控制请求携带的命令信息进行缓存;Step A60, after receiving the request signal corresponding to the control request sent by the target control end once, the target conflict detection circuit caches the command information carried by the control request sent by the target control end;
在本实施方式中,提出一种冲突上报机制,将发生的冲突和冲突的具体内容进行上报软件控制端,以下进行详细说明。In this embodiment, a conflict reporting mechanism is proposed to report the conflict and the specific content of the conflict to the software control end, which is described in detail below.
射频前端控制系统可以通过目标冲突检测电路在接收到一次目标控制端所发送的控制请求对应的请求信号后,也即,在通过目标冲突检测电路接收 到因目标控制端发送的控制请求所触发的请求信号后,将该目标控制端所发送的控制请求携带的命令信息进行缓存。需要说明的是,将命令信息并不限制是仅将命令信息进行缓存,而是至少对命令信息进行缓存的意思,也即,在一些实施方式中,也可以将除命令信息外的一些信息一并缓存,例如将控制请求整体缓存。The RF front-end control system can receive a request signal corresponding to a control request sent by a target control end through a target conflict detection circuit, that is, after receiving the control request through the target conflict detection circuit, After receiving the request signal triggered by the control request sent by the target control end, the command information carried by the control request sent by the target control end is cached. It should be noted that the command information is not limited to caching only the command information, but at least means caching the command information, that is, in some implementations, some information other than the command information can also be cached, such as caching the control request as a whole.
在具体实施方式中,对于目标控制端新发送的控制请求所携带的命令信息进行缓存时,可以覆盖之前缓存的该目标控制端发送的控制请求所携带的命令信息。In a specific implementation manner, when the command information carried in the control request newly sent by the target control end is cached, the command information carried in the control request sent by the target control end that was previously cached may be overwritten.
所述步骤S50之后,包括:After step S50, the following steps are included:
步骤A70,若所述目标射频前端总线同时被多个所述控制请求所选择,则对所述目标冲突检测电路所产生的各个所述锁存信号按照预设的各种控制端的拼接顺序进行拼接,得到控制端冲突信号;Step A70, if the target RF front-end bus is selected by multiple control requests at the same time, the latch signals generated by the target conflict detection circuit are spliced according to a preset splicing order of various control terminals to obtain a control terminal conflict signal;
预先可以设置各个控制端的一个排列顺序,以下称为拼接顺序。若目标射频前端总线同时被多个控制请求所选择,则射频前端控制系统可以对目标冲突检测电路所产生的各个锁存信号按照各个控制端的拼接顺序进行拼接,得到的信号称为控制端冲突信号。在具体实施方式中,拼接得到的控制端冲突信号是由第一信号和第二信号所组成的信号,其中,有锁存信号的控制端对应的是第一信号,没有锁存信号的控制端对应的是第二信号,且第一信号和第二信号在控制端冲突信号中的排列顺序就是各个控制端的拼接顺序。第一信号和第二信号是不同的信号,在本实施方式中对其形式并不做限制,例如,第一信号可以是高电平信号,第二信号可以是低电平信号,按照拼接顺序进行拼接时,有锁存信号的控制端在控制端冲突信号中相应的位置是高电平信号,没有锁存信号的控制端在控制端冲突信号中相应的位置是低电平信号,假设当有锁存信号的控制端是LTE、TD、GSM时,拼接得到的控制端冲突信号如图3所示。An arrangement order of each control terminal can be set in advance, which is referred to as the splicing order below. If the target RF front-end bus is selected by multiple control requests at the same time, the RF front-end control system can splice each latch signal generated by the target conflict detection circuit according to the splicing order of each control terminal, and the obtained signal is called the control terminal conflict signal. In a specific implementation, the control terminal conflict signal obtained by splicing is a signal composed of a first signal and a second signal, wherein the control terminal with a latch signal corresponds to the first signal, and the control terminal without a latch signal corresponds to the second signal, and the arrangement order of the first signal and the second signal in the control terminal conflict signal is the splicing order of each control terminal. The first signal and the second signal are different signals, and their forms are not limited in this implementation. For example, the first signal can be a high-level signal, and the second signal can be a low-level signal. When splicing according to the splicing order, the control terminal with a latch signal has a high-level signal at the corresponding position in the control terminal conflict signal, and the control terminal without a latch signal has a low-level signal at the corresponding position in the control terminal conflict signal. Assuming that the control terminal with a latch signal is LTE, TD, or GSM, the spliced control terminal conflict signal is shown in Figure 3.
步骤A80,将所述控制端冲突信号和所述目标冲突检测电路缓存的各个命令信息上报给软件控制端。Step A80, reporting the control end conflict signal and each command information cached by the target conflict detection circuit to the software control end.
射频前端控制系统可以将拼接得到的控制端冲突信号和目标冲突检测电路所缓存的各个命令信息上报给软件控制端,以供软件控制端获知哪些控制端存在冲突以及冲突的具体内容。在具体实施方式中,冲突检测电路中可以 针对各个控制端分别设置一个寄存器,射频前端控制系统可以通过目标冲突检测电路将目标控制端发送的控制请求携带的命令信息缓存到该目标控制端对应的寄存器中,在进行上报时,从该寄存器中获取命令信息进行上报。The RF front-end control system can report the spliced control end conflict signal and each command information cached by the target conflict detection circuit to the software control end, so that the software control end can know which control ends have conflicts and the specific content of the conflicts. A register is set for each control end respectively. The RF front-end control system can cache the command information carried by the control request sent by the target control end into the register corresponding to the target control end through the target conflict detection circuit, and obtain the command information from the register for reporting when reporting.
基于上述第一和/或第二实施例,提出本申请射频前端控制方法第三实施例,在本实施例中,所述步骤S40包括:Based on the above first and/or second embodiments, a third embodiment of the RF front-end control method of the present application is proposed. In this embodiment, step S40 includes:
步骤S401,根据预设的命令模式与数据量之间的映射关系,将所述控制请求中携带的命令模式所对应的数据量设置为计数器的计数值;Step S401, according to a preset mapping relationship between command modes and data volumes, setting the data volume corresponding to the command mode carried in the control request as the count value of the counter;
射频前端总线由SCLK和SDATA两根线组成,其中,SCLK为主设备控制的时钟线,用来发送时钟脉冲信号,SDATA线为双向数据线,用来传播主从设备的具体的信息,通过SDATA线发送的信息要与时钟脉冲信号对齐,也即,每一个时钟脉冲信号周期发送一位信息。The RF front-end bus consists of two lines, SCLK and SDATA. SCLK is the clock line controlled by the master device and is used to send clock pulse signals. The SDATA line is a bidirectional data line used to transmit specific information between the master and slave devices. The information sent through the SDATA line must be aligned with the clock pulse signal, that is, one bit of information is sent in each clock pulse signal cycle.
在本实施例中,提出一种实现简单的命令帧发送方式,以下进行详细说明。针对射频前端总线协议中规定的各种命令模式,射频前端控制系统中可以预先设置各种命令模式与数据量之间的映射关系。不同命令模式的命令帧所对应的数据量是不同的,也即命令帧的长度是不同的,利用该特点,射频前端控制系统将控制请求中携带的命令模式所对应的数据量设置为计数器的计数值,采用计数器计数的方式来产生时钟脉冲信号。In this embodiment, a simple command frame sending method is proposed, which is described in detail below. For various command modes specified in the RF front-end bus protocol, the mapping relationship between various command modes and data volume can be pre-set in the RF front-end control system. The data volume corresponding to the command frames of different command modes is different, that is, the length of the command frame is different. Using this feature, the RF front-end control system sets the data volume corresponding to the command mode carried in the control request as the count value of the counter, and uses the counter counting method to generate a clock pulse signal.
步骤S402,通过所述计数器按照所述计数值进行计数;Step S402, counting according to the count value by the counter;
通过计数器按照该计数值进行计数。具体实施方式中,可以是用倒计时或正计数的方式,在此并不做限制,例如,倒计时是从计数值开始倒数,直到减为1时结束,正计数就是从1开始数,直到加到计数值是结束。Counting is performed by a counter according to the count value. In a specific implementation, countdown or count-up can be used, which is not limited here. For example, countdown starts from the count value and ends when it decreases to 1, and count-up starts from 1 and ends when it increases to the count value.
步骤S403,在所述计数器每计数一次后,向所述控制请求所选择的射频前端总线对接的射频前端设备发送一个时钟脉冲信号和所述命令帧中的一位信息。Step S403: after each count by the counter, a clock pulse signal and one bit of information in the command frame are sent to the RF front-end device connected to the RF front-end bus selected by the control request.
在计数器每计数一次后,射频前端控制系统可以向控制请求所选择的射频前端总线对接的射频前端设备发送一个时钟脉冲信号和命令帧中的一位信息,从而实现命令帧的发送。通过计数器计数的方式进行命令帧发送,实现方式简单。After each count of the counter, the RF front-end control system can send a clock pulse signal and one bit of information in the command frame to the RF front-end device connected to the RF front-end bus selected by the control request, thereby sending the command frame. The command frame is sent by counting the counter, and the implementation method is simple.
在一可行实施方式中,所述步骤S402包括:In one feasible implementation, step S402 includes:
步骤S4021,通过所述计数器以目标频率按照所述计数值进行计数,其中, 所述目标频率为所述控制请求中携带的频率,所述控制请求中携带的频率为所述控制请求所支持的射频前端设备的频率。Step S4021, counting is performed by the counter at the target frequency according to the count value, wherein: The target frequency is the frequency carried in the control request, and the frequency carried in the control request is the frequency of the radio frequency front-end device supported by the control request.
考虑到不同的射频前端设备所支持的命令帧发送的频率可能是不同的,在控制请求中可以携带所支持的射频前端设备的频率。射频前端总线可以将控制请求中携带的频率作为计时器的计数频率,通过计数器按照该频率进行计数,从而实现以相应的发送频率发送命令帧。Considering that different RF front-end devices may support different frequencies for sending command frames, the frequencies of the supported RF front-end devices may be carried in the control request. The RF front-end bus may use the frequency carried in the control request as the counting frequency of the timer, and count according to the frequency through the counter, thereby sending the command frame at the corresponding sending frequency.
基于上述第一、第二和/或第三实施例,提出本申请射频前端控制方法第四实施例,在本实施例中,所述步骤S40之后,还包括:Based on the above first, second and/or third embodiments, a fourth embodiment of the RF front-end control method of the present application is proposed. In this embodiment, after step S40, the method further includes:
步骤B10,将通过所述命令帧回读得到的回读数据与所述控制请求中携带的回读指示信息一并上报给软件控制端,以供所述软件控制端根据上报的回读指示信息匹配上报的回读数据所对应的所述控制请求。Step B10, reporting the readback data obtained by reading back the command frame together with the readback indication information carried in the control request to the software control end, so that the software control end can match the control request corresponding to the reported readback data according to the reported readback indication information.
软件控制端所发送的命令帧中的命令模式可能是寄存器读,射频前端设备接收到射频前端控制系统通过射频前端总线发送的该命令帧后,可以响应于该命令帧读取相应的数据,将读取到的该数据(以下称为回读数据以示区分)发送给射频前端控制系统;射频前端控制系统接收射频前端设备针对与控制请求所转换得到的命令帧返回的回读数据后,可以将该控制请求中携带的回读指示信息和该回读数据一并地上报给软件控制端,以供软件控制端根据上报的该回读指示信息可以将该回读数据与对应的控制请求所匹配,也即,软件控制端可以获知回读数据是通过哪个控制请求所读取得到的数据。回读指示信息的内容在本实施例中并不做限制,但可以理解的是,控制端发送的不同的控制请求中所携带的回读指示信息是不同的。The command mode in the command frame sent by the software control end may be register read. After the RF front-end device receives the command frame sent by the RF front-end control system through the RF front-end bus, it can respond to the command frame to read the corresponding data and send the read data (hereinafter referred to as readback data for distinction) to the RF front-end control system; after the RF front-end control system receives the readback data returned by the RF front-end device for the command frame converted from the control request, the readback indication information carried in the control request and the readback data can be reported to the software control end together, so that the software control end can match the readback data with the corresponding control request according to the reported readback indication information, that is, the software control end can know which control request the readback data is read from. The content of the readback indication information is not limited in this embodiment, but it can be understood that the readback indication information carried in different control requests sent by the control end is different.
在一可行实施方式中,当软件控制端是ARM时,可以通过APB(Advanced Peripheral Bus,外围总线)接口来进行回读数据的上报,回读指示信息可以是APB接口中的寄存器的地址,射频前端控制系统可以将回读数据和回读指示信息一并发送给APB接口,APB接口将回读数据缓存在该回读指示信息所表示的寄存器中,软件控制端在需要获取控制请求所读取到的数据时,从APB接口中该控制请求携带的回读指示信息所表示的寄存器去获取回读数据。In a feasible implementation, when the software control end is ARM, the readback data can be reported through the APB (Advanced Peripheral Bus) interface, and the readback indication information can be the address of the register in the APB interface. The RF front-end control system can send the readback data and the readback indication information to the APB interface. The APB interface caches the readback data in the register represented by the readback indication information. When the software control end needs to obtain the data read by the control request, it obtains the readback data from the register represented by the readback indication information carried by the control request in the APB interface.
基于上述第一、第二、第三和/或第四实施例,提出本申请射频前端控制方法第五实施例,在本实施例中,所述步骤S30之前,还包括:Based on the above first, second, third and/or fourth embodiments, a fifth embodiment of the RF front-end control method of the present application is proposed. In this embodiment, before step S30, the method further includes:
步骤C10,获取所述控制请求中携带的协议信息; Step C10, obtaining the protocol information carried in the control request;
在本实施例中,提出在支持射频前端总线协议的基础上,还可以支持其他的协议,以提高射频前端控制的灵活性,以下进行详细说明。控制端发送的控制请求中可以携带协议信息,协议信息指示向射频前端设备发送命令帧所需要采用的协议,该协议信息可以是指示采用射频总线协议,也可以是指示采用其他协议,控制端可以根据射频前端控制的具体应用场景确定采用哪种协议,进而在控制请求中携带相应的协议信息。在本实施例中对其他可以指示的协议并不做限制。In this embodiment, it is proposed that on the basis of supporting the RF front-end bus protocol, other protocols can also be supported to improve the flexibility of RF front-end control, which is described in detail below. The control request sent by the control end can carry protocol information, and the protocol information indicates the protocol required to send a command frame to the RF front-end device. The protocol information can indicate the use of the RF bus protocol or other protocols. The control end can determine which protocol to use based on the specific application scenario of the RF front-end control, and then carry the corresponding protocol information in the control request. In this embodiment, there is no restriction on other protocols that can be indicated.
步骤C20,在协议信息指示所述控制请求所采用的协议为所述射频前端总线协议的情况下,执行所述将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧。Step C20, when the protocol information indicates that the protocol adopted by the control request is the RF front end bus protocol, converting the command information carried in the control request into a command frame corresponding to the RF front end bus protocol is executed.
射频前端控制系统在接收到控制请求后,可以提取控制请求中所携带的协议信息,当该协议信息是指示控制请求所采用的协议为射频前端总线协议的情况下,也即指示需要走射频前端总线协议发送命令帧的情况下,可以将该控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧,再通过所选择的射频前端总线来发送该命令帧。After receiving a control request, the RF front-end control system can extract the protocol information carried in the control request. When the protocol information indicates that the protocol adopted by the control request is the RF front-end bus protocol, that is, it indicates that the command frame needs to be sent using the RF front-end bus protocol, the command information carried in the control request can be converted into a command frame corresponding to the RF front-end bus protocol, and then the command frame is sent through the selected RF front-end bus.
在可行实施方式中,在协议信息是指示控制请求所采用的协议为其他协议的情况下,也即指示需要走其他协议发送命令帧的情况下,可以将该控制请求中携带的命令信息转换为其他协议对应的命令帧,再通过其他协议所对应的发送通道来发送该命令帧。In a feasible implementation manner, when the protocol information indicates that the protocol adopted by the control request is other protocols, that is, when it indicates that the command frame needs to be sent via other protocols, the command information carried in the control request can be converted into a command frame corresponding to other protocols, and then the command frame can be sent through the sending channel corresponding to other protocols.
基于上述第一、第二、第三、第四和/或第五实施例,提出本申请射频前端控制方法第六实施例,在本实施例中,所述射频前端控制方法还包括:Based on the above first, second, third, fourth and/or fifth embodiments, a sixth embodiment of the RF front-end control method of the present application is proposed. In this embodiment, the RF front-end control method further includes:
步骤D10,按照所述预设报文格式从所述控制请求中获取各项信息。Step D10: Obtain various information from the control request according to the preset message format.
为降低射频前端控制系统的实现复杂度,提高射频前端控制系统的性能,在本实施例中,提出各种控制端以报文的形式发送控制请求,并且报文遵循统一的预设报文格式。预设报文格式即规定了报文中各项信息的组织方式,在本实施例中,对预设报文格式并不做限制。由于是各种控制端发送的控制请求都是统一格式的报文,所以射频前端控制系统可以采取按照统一的解析方式来提取报文中的各项信息,相比于针对每种控制端分别设置解析方式,极大地降低了射频前端控制系统的实现复杂度。In order to reduce the implementation complexity of the RF front-end control system and improve the performance of the RF front-end control system, in this embodiment, it is proposed that various control terminals send control requests in the form of messages, and the messages follow a unified preset message format. The preset message format specifies the organization method of various information in the message. In this embodiment, there is no restriction on the preset message format. Since the control requests sent by various control terminals are all messages in a unified format, the RF front-end control system can extract various information in the message in a unified parsing method. Compared with setting a parsing method for each control terminal, the implementation complexity of the RF front-end control system is greatly reduced.
在一可行实施方式中,预设报文格式可以是:报文一共46位,也即0~45 共46位,其中[45:43]bit位用来表示回读指示信息,[42:39]bit位用来表示通道选择信息,第38bit位用来表示所支持的射频前端设备的频率,第[37:35]位用来表示协议信息;低[34:0]位中的低20bit位用来做表示命令信息,剩余高bit位用来表示其他需要传输的数据信息,例如当低20bit位记载不下命令信息时,可以用剩余高bit位用来表示。In a feasible implementation, the preset message format may be: the message has a total of 46 bits, that is, 0 to 45 There are 46 bits in total, of which [45:43] bits are used to indicate readback indication information, [42:39] bits are used to indicate channel selection information, the 38th bit is used to indicate the frequency of the supported RF front-end device, and the [37:35]th bit is used to indicate protocol information; the lower 20 bits in the lower [34:0] bits are used to indicate command information, and the remaining high bits are used to indicate other data information that needs to be transmitted. For example, when the lower 20 bits cannot record the command information, the remaining high bits can be used to indicate it.
在一可行实施方式中,如图4所示,射频前端控制系统可以包括4个模块,分别为input_mux模块(或可称为输入模块)、conflict check模块(或可称为冲突检测模块)、RFFE master模块(或可称为射频前端主设备模块),以及APB接口模块。其中,一个conflict check模块和一个RFFE master模块构成一个射频前端链路,一个射频前端链路对应一套射频前端总线。In a feasible implementation, as shown in FIG4 , the RF front-end control system may include four modules, namely, an input_mux module (or an input module), a conflict check module (or a conflict detection module), an RFFE master module (or an RF front-end master module), and an APB interface module. Among them, a conflict check module and an RFFE master module constitute an RF front-end link, and an RF front-end link corresponds to a set of RF front-end buses.
input_mux模块用于接收控制端发送的报文以及使能信号,并根据报文中的通道选择信息将报文发送给对应的射频前端链路,或者将报文中的通道选择信息或其他后续不需要的信息剔除后,剩余部分组成数据包,将数据包发往射频前端链路中的conflict check模块,并向conflict check模块发送请求信号。The input_mux module is used to receive the message and enable signal sent by the control end, and send the message to the corresponding RF front-end link according to the channel selection information in the message, or remove the channel selection information or other subsequent unnecessary information in the message, and the remaining part constitutes a data packet, and sends the data packet to the conflict check module in the RF front-end link, and sends a request signal to the conflict check module.
射频前端链路中的conflict check模块主要实现对数据包冲突检测及优先级仲裁,实现方式是在该conflict check模块接收到input_mux模块发送的请求信号后,产生与触发该请求信号的控制端所对应的锁存信号;conflict check模块通过对当前正在处理的锁存信号进行计数,如果计数值大于1,说明存在冲突,并产生冲突中断信号进行上报,从而实现冲突检测,并对所有控制端的锁存信号进行拼接,得到控制端冲突信号,上报至APB接口模块。软件控制端通过APB接口读取具体的拼接数据,判断具体的哪些bit位拉高,可知是哪些控制端间存在冲突,同时对缓存的数据包进行上报,软件控制端可读取具体的数据包从而判定冲突的内容是什么。Conflict check模块还实现仲裁机制,仲裁机制按不同制式优先级进行仲裁,系统中可以设计各个控制端的优先级,例如NR modem>LTEA modem>v2x modem>WCDMA modem>TD modem>GSM modem>ARM,此部分功能可以通过状态机实现,状态机转换图如图5所示,这里以NR modem为例说明,如果检测到锁存信号为NR modem锁存信号,那么产生写使能以及将NR modem对应的数据包进行RFFE master写入,每个状态强制跳转到Idle状态,重新查询。 The conflict check module in the RF front-end link mainly implements packet conflict detection and priority arbitration. The implementation method is that after the conflict check module receives the request signal sent by the input_mux module, it generates a latch signal corresponding to the control end that triggers the request signal; the conflict check module counts the latch signal currently being processed. If the count value is greater than 1, it means that there is a conflict, and a conflict interrupt signal is generated for reporting, thereby realizing conflict detection, and splicing the latch signals of all control ends to obtain the control end conflict signal, which is reported to the APB interface module. The software control end reads the specific splicing data through the APB interface, determines which specific bits are pulled high, and knows which control ends have conflicts. At the same time, the cached data packets are reported. The software control end can read the specific data packets to determine what the content of the conflict is. The conflict check module also implements an arbitration mechanism, which arbitrates according to the priority of different standards. The priority of each control end can be designed in the system, such as NR modem>LTEA modem>v2x modem>WCDMA modem>TD modem>GSM modem>ARM. This part of the function can be implemented by a state machine. The state machine transition diagram is shown in Figure 5. Here, NR modem is taken as an example. If the latch signal is detected to be an NR modem latch signal, a write enable is generated and the data packet corresponding to the NR modem is written to the RFFE master. Each state is forced to jump to the Idle state and re-query.
射频前端链路中的RFFE master模块用于接收conflict check模块按照优先级顺序发送过来的数据包,各个数据包可以按照先后顺序缓存在fifo(First In First Out,一种先进先出的数据缓存器)中,RFFE master模块依次处理fifo中的数据包。RFFE master模块根据数据包中携带的命令模式,设置计数器的计数值,根据计数器计数来发送时钟脉冲信号和命令帧中的信息。如图6所示,最上面的是时钟脉冲信号,以SSC开头的即为data线,data线是按照标准的RFFE协议实施,也即发送照SSC启动,紧接着是具体的设备ID信息(图中的SA),再接着是命令模式,随后根据不同的命令模式发送相关的地址或数据信息;图中的P位,指的是校验位,检验位采用奇偶检验电路进行校验,将检验结果随附在相应的数据位上,检验位分为command检验位和数据校验位。因为不同模式下data数据线长短不一,所以采用计数器实现能够适应各种模式。图6中仅绘制出register0写,register写和register读这三种命令模式的处理示意图,可以看出三种命令模式下计数值是不同的。其他命令模式处理方式类似。在RFFE master模块每发送完一个命令帧后,可以向控制端发送应答信号来指示控制端继续下发报文。The RFFE master module in the RF front-end link is used to receive data packets sent by the conflict check module in order of priority. Each data packet can be cached in a fifo (First In First Out) in order, and the RFFE master module processes the data packets in the fifo in sequence. The RFFE master module sets the count value of the counter according to the command mode carried in the data packet, and sends the clock pulse signal and the information in the command frame according to the counter count. As shown in Figure 6, the top is the clock pulse signal, and the one starting with SSC is the data line. The data line is implemented in accordance with the standard RFFE protocol, that is, the transmission starts with SSC, followed by the specific device ID information (SA in the figure), followed by the command mode, and then the relevant address or data information is sent according to different command modes; the P bit in the figure refers to the check bit, which is checked by a parity check circuit, and the check result is attached to the corresponding data bit. The check bit is divided into a command check bit and a data check bit. Because the length of the data line varies in different modes, the counter is used to implement it to adapt to various modes. Figure 6 only shows the processing diagram of the three command modes of register0 write, register write and register read. It can be seen that the count values are different in the three command modes. The processing methods of other command modes are similar. After the RFFE master module sends a command frame, it can send a response signal to the control end to instruct the control end to continue sending messages.
APB接口模块主要实现软件配置及回读功能。其中,软件配置也即软件控制端发送的控制请求通过APB接口发往input_mux模块。回读功能也即:通过RFFE master模块回读的数据,匹配报文中的回读指示信息,上报给APB接口模块,APB接口模块根据回读指示信息将回读数据缓存在相应的寄存器中,软件控制端从寄存器中读取回读数据。Conflict check模块产生的控制端冲突信号和缓存的冲突的数据包也可以通过APB接口模块上报给软件控制端。input_mux模块所接收到的modem发送的报文也可以通过APB接口模块上报给软件控制端,以通过软件控制端进行报文的追踪。The APB interface module mainly implements software configuration and readback functions. Among them, the software configuration, that is, the control request sent by the software control end, is sent to the input_mux module through the APB interface. The readback function is: the data read back by the RFFE master module matches the readback indication information in the message and is reported to the APB interface module. The APB interface module caches the readback data in the corresponding register according to the readback indication information, and the software control end reads the readback data from the register. The control end conflict signal generated by the conflict check module and the cached conflicting data packet can also be reported to the software control end through the APB interface module. The message sent by the modem received by the input_mux module can also be reported to the software control end through the APB interface module to track the message through the software control end.
此外,本申请实施例还提出一种射频前端控制装置,参照图7,所述射频前端控制装置包括:In addition, the embodiment of the present application further provides a radio frequency front-end control device. Referring to FIG. 7 , the radio frequency front-end control device includes:
接收模块10,用于接收射频前端设备的控制端发送的控制请求;A receiving module 10, configured to receive a control request sent by a control terminal of a radio frequency front-end device;
确定模块20,用于根据所述控制请求携带的通道选择信息,从各套射频前端总线中确定所述控制请求所选择的射频前端总线;A determination module 20, configured to determine the RF front-end bus selected by the control request from each set of RF front-end buses according to the channel selection information carried in the control request;
转换模块30,用于将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧; The conversion module 30 is used to convert the command information carried in the control request into a command frame corresponding to the radio frequency front end bus protocol;
发送模块40,用于将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备。The sending module 40 is used to send the command frame converted according to the control request to the RF front-end device connected to the RF front-end bus selected by the control request.
在一实施方式中,所述射频前端控制装置还包括:In one embodiment, the RF front-end control device further includes:
检测模块,用于对于所述各套射频前端总线中的任意一套目标射频前端总线,检测所述目标射频前端总线是否同时被多个所述控制请求所选择;A detection module, used for detecting, for any one of the sets of target RF front-end buses, whether the target RF front-end bus is selected by a plurality of the control requests at the same time;
排序模块,用于若所述目标射频前端总线同时被多个所述控制请求所选择,则按照预设的各种控制端的优先级顺序,对选择所述目标射频前端总线的多个所述控制请求进行排序;A sorting module, configured to sort the multiple control requests for selecting the target RF front-end bus according to a preset priority order of various control terminals if the target RF front-end bus is selected by multiple control requests at the same time;
所述发送模块40用于对于选择所述目标射频前端总线的多个所述控制请求,按照排序的顺序依次执行所述将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备。The sending module 40 is used to execute the command frames converted according to the control requests in sequence according to the sorting order for selecting multiple control requests of the target RF front-end bus to be sent to the RF front-end device connected to the RF front-end bus selected by the control request.
在一实施方式中,所述各套射频前端总线分别对应一个冲突检测电路,所述发送模块40还用于:In one implementation, each set of the RF front-end buses corresponds to a conflict detection circuit, and the sending module 40 is further used for:
向所述控制请求所选择的射频前端总线对应的冲突检测电路发送一次请求信号;Sending a request signal to a conflict detection circuit corresponding to the RF front-end bus selected by the control request;
在将根据所述控制请求转换得到的命令帧发送完后,向所述冲突检测电路发送一次结束信号;After sending the command frame converted according to the control request, sending an end signal to the conflict detection circuit;
所述检测模块还用于:The detection module is also used for:
通过目标冲突检测电路在接收到一次目标控制端所发送的所述控制请求对应的所述请求信号后,开始产生与所述目标控制端对应的锁存信号,其中,所述目标冲突检测电路为所述目标射频前端总线对应的冲突检测电路;After receiving the request signal corresponding to the control request sent by the target control terminal, the target conflict detection circuit starts to generate a latch signal corresponding to the target control terminal, wherein the target conflict detection circuit is a conflict detection circuit corresponding to the target radio frequency front-end bus;
通过所述目标冲突检测电路在接收到一次所述目标控制端所发送的所述控制请求对应的所述结束信号后,结束产生与所述目标控制端对应的所述锁存信号;After receiving the end signal corresponding to the control request sent by the target control end once, the target conflict detection circuit ends generating the latch signal corresponding to the target control end;
在目标时刻检测到所述目标冲突检测电路所产生的所述锁存信号的数量大于1的情况下,确定在所述目标时刻所述目标射频前端总线同时被多个所述控制请求所选择。When it is detected at a target time that the number of latch signals generated by the target conflict detection circuit is greater than 1, it is determined that the target RF front-end bus is simultaneously selected by a plurality of control requests at the target time.
在一实施方式中,所述射频前端控制装置还包括:In one embodiment, the RF front-end control device further includes:
缓存模块,用于通过所述目标冲突检测电路在接收到一次所述目标控制端所发送的所述控制请求对应的所述请求信号后,将所述目标控制端所发送 的所述控制请求携带的命令信息进行缓存;The cache module is used to receive the request signal corresponding to the control request sent by the target control end through the target conflict detection circuit, and then caching the command information carried by the control request;
拼接模块,用于若所述目标射频前端总线同时被多个所述控制请求所选择,则对所述目标冲突检测电路所产生的各个所述锁存信号按照预设的各种控制端的拼接顺序进行拼接,得到控制端冲突信号;A splicing module, configured to splice the latch signals generated by the target conflict detection circuit according to a preset splicing order of various control terminals to obtain a control terminal conflict signal if the target RF front-end bus is selected by multiple control requests at the same time;
第一上报模块,用于将所述控制端冲突信号和所述目标冲突检测电路缓存的各个命令信息上报给软件控制端。The first reporting module is used to report the control end conflict signal and each command information cached by the target conflict detection circuit to the software control end.
在一实施方式中,各种控制端发送的所述控制请求为按照统一的预设报文格式生成的报文,所述射频前端控制装置还包括:In one implementation, the control request sent by various control terminals is a message generated according to a unified preset message format, and the radio frequency front-end control device further includes:
第一获取模块,用于按照所述预设报文格式从所述控制请求中获取各项信息。The first acquisition module is used to acquire various information from the control request according to the preset message format.
在一实施方式中,所述发送模块40还用于:In one implementation, the sending module 40 is further configured to:
根据预设的命令模式与数据量之间的映射关系,将所述控制请求中携带的命令模式所对应的数据量设置为计数器的计数值;According to a preset mapping relationship between the command mode and the data volume, the data volume corresponding to the command mode carried in the control request is set as the count value of the counter;
通过所述计数器按照所述计数值进行计数;Counting according to the count value by the counter;
在所述计数器每计数一次后,向所述控制请求所选择的射频前端总线对接的射频前端设备发送一个时钟脉冲信号和所述命令帧中的一位信息。After each count by the counter, a clock pulse signal and one bit of information in the command frame are sent to the RF front-end device connected to the RF front-end bus selected by the control request.
在一实施方式中,所述发送模块40还用于:In one implementation, the sending module 40 is further configured to:
通过所述计数器以目标频率按照所述计数值进行计数,其中,所述目标频率为所述控制请求中携带的频率,所述控制请求中携带的频率为所述控制请求所支持的射频前端设备的频率。Counting is performed by the counter at a target frequency according to the count value, wherein the target frequency is the frequency carried in the control request, and the frequency carried in the control request is the frequency of the RF front-end device supported by the control request.
在一实施方式中,所述射频前端控制装置还包括:In one embodiment, the RF front-end control device further includes:
第二上报模块,用于将通过所述命令帧回读得到的回读数据与所述控制请求中携带的回读指示信息一并上报给软件控制端,以供所述软件控制端根据上报的回读指示信息匹配上报的回读数据所对应的所述控制请求。The second reporting module is used to report the readback data obtained by reading back the command frame and the readback indication information carried in the control request to the software control end, so that the software control end can match the control request corresponding to the reported readback data according to the reported readback indication information.
在一实施方式中,所述射频前端控制装置还包括:In one embodiment, the RF front-end control device further includes:
第二获取模块,用于获取所述控制请求中携带的协议信息;A second acquisition module, used to acquire the protocol information carried in the control request;
所述转换模块30还用于在协议信息指示所述控制请求所采用的协议为所述射频前端总线协议的情况下,执行所述将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧。The conversion module 30 is further configured to convert the command information carried in the control request into a command frame corresponding to the RF front end bus protocol when the protocol information indicates that the protocol adopted by the control request is the RF front end bus protocol.
本申请射频前端控制装置的具体实施方式的拓展内容与上述射频前端控 制方法各实施例基本相同,在此不做赘述。The specific implementation of the RF front-end control device of this application is extended to the above RF front-end control device. The manufacturing methods of the various embodiments are basically the same and will not be described in detail here.
此外,本申请实施例还提出一种计算机可读存储介质,所述存储介质上存储有射频前端控制程序,所述射频前端控制程序被处理器执行时实现如下所述的射频前端控制方法的步骤。In addition, an embodiment of the present application further proposes a computer-readable storage medium, on which a radio frequency front-end control program is stored. When the radio frequency front-end control program is executed by a processor, the steps of the radio frequency front-end control method described below are implemented.
本申请射频前端控制设备和计算机可读存储介质各实施例,均可参照本申请射频前端控制方法各个实施例,此处不再赘述。The various embodiments of the RF front-end control device and the computer-readable storage medium of the present application can refer to the various embodiments of the RF front-end control method of the present application, and will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
以上仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。 The above are only optional embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims (12)

  1. 一种射频前端控制方法,其中,所述射频前端控制方法包括:A radio frequency front end control method, wherein the radio frequency front end control method comprises:
    接收射频前端设备的控制端发送的控制请求;Receive a control request sent by a control terminal of a radio frequency front-end device;
    根据所述控制请求携带的通道选择信息,从各套射频前端总线中确定所述控制请求所选择的射频前端总线;Determine the RF front-end bus selected by the control request from each set of RF front-end buses according to the channel selection information carried by the control request;
    将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧;Converting the command information carried in the control request into a command frame corresponding to the radio frequency front-end bus protocol;
    将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备。The command frame converted according to the control request is sent to the RF front-end device connected to the RF front-end bus selected by the control request.
  2. 如权利要求1所述的射频前端控制方法,其中,所述射频前端控制方法还包括:The RF front-end control method according to claim 1, wherein the RF front-end control method further comprises:
    对于所述各套射频前端总线中的任意一套目标射频前端总线,检测所述目标射频前端总线是否同时被多个所述控制请求所选择;For any one of the target RF front-end buses, detecting whether the target RF front-end bus is selected by a plurality of the control requests at the same time;
    若所述目标射频前端总线同时被多个所述控制请求所选择,则按照预设的各种控制端的优先级顺序,对选择所述目标射频前端总线的多个所述控制请求进行排序;If the target RF front-end bus is selected by multiple control requests at the same time, the multiple control requests for selecting the target RF front-end bus are sorted according to the priority order of various control terminals;
    对于选择所述目标射频前端总线的多个所述控制请求,按照排序的顺序依次执行所述将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备。For the multiple control requests for selecting the target RF front-end bus, the command frames converted according to the control requests are sent to the RF front-end device connected to the RF front-end bus selected by the control request in sequence in the sorted order.
  3. 如权利要求2所述的射频前端控制方法,其中,所述各套射频前端总线分别对应一个冲突检测电路,所述从各套射频前端总线中确定所述控制请求所选择的射频前端总线之后,还包括:The RF front-end control method according to claim 2, wherein each set of RF front-end buses corresponds to a conflict detection circuit, and after determining the RF front-end bus selected by the control request from each set of RF front-end buses, further comprising:
    向所述控制请求所选择的射频前端总线对应的冲突检测电路发送一次请求信号;Sending a request signal to a conflict detection circuit corresponding to the RF front-end bus selected by the control request;
    所述将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备之后,还包括:After sending the command frame converted according to the control request to the RF front-end device connected to the RF front-end bus selected by the control request, the method further includes:
    在将根据所述控制请求转换得到的命令帧发送完后,向所述冲突检测电路发送一次结束信号;After sending the command frame converted according to the control request, sending an end signal to the conflict detection circuit;
    所述检测所述目标射频前端总线是否同时被多个所述控制请求所选择包括:The detecting whether the target RF front-end bus is selected by a plurality of the control requests at the same time comprises:
    通过目标冲突检测电路在接收到一次目标控制端所发送的所述控制请求对应的所述请求信号后,开始产生与所述目标控制端对应的锁存信号,其中,所述目标冲突检测电路为所述目标射频前端总线对应的冲突检测电路;After receiving the request signal corresponding to the control request sent by the target control terminal, the target conflict detection circuit starts to generate a latch signal corresponding to the target control terminal, wherein the target conflict detection circuit is a conflict detection circuit corresponding to the target radio frequency front-end bus;
    通过所述目标冲突检测电路在接收到一次所述目标控制端所发送的所述控制请求对应的所述结束信号后,结束产生与所述目标控制端对应的所述锁存信号;After receiving the end signal corresponding to the control request sent by the target control end once, the target conflict detection circuit ends generating the latch signal corresponding to the target control end;
    在目标时刻检测到所述目标冲突检测电路所产生的所述锁存信号的数量大于1的情况下,确定在所述目标时刻所述目标射频前端总线同时被多个所述控制请求所选择。When it is detected at a target time that the number of latch signals generated by the target conflict detection circuit is greater than 1, it is determined that the target RF front-end bus is simultaneously selected by a plurality of control requests at the target time.
  4. 如权利要求3所述的射频前端控制方法,其中,所述射频前端控制方法还包括:The RF front-end control method according to claim 3, wherein the RF front-end control method further comprises:
    通过所述目标冲突检测电路在接收到一次所述目标控制端所发送的所述控制请求对应的所述请求信号后,将所述目标控制端所发送的所述控制请求携带的命令信息进行缓存;After receiving the request signal corresponding to the control request sent by the target control end once, the target conflict detection circuit caches the command information carried by the control request sent by the target control end;
    所述检测所述目标射频前端总线是否同时被多个所述控制请求所选择之后,包括:After detecting whether the target RF front-end bus is selected by a plurality of the control requests at the same time, the method further comprises:
    若所述目标射频前端总线同时被多个所述控制请求所选择,则对所述目标冲突检测电路所产生的各个所述锁存信号按照预设的各种控制端的拼接顺序进行拼接,得到控制端冲突信号;If the target RF front-end bus is selected by multiple control requests at the same time, the latch signals generated by the target conflict detection circuit are spliced according to a preset splicing order of various control terminals to obtain a control terminal conflict signal;
    将所述控制端冲突信号和所述目标冲突检测电路缓存的各个命令信息上报给软件控制端。The control end conflict signal and each command information buffered by the target conflict detection circuit are reported to the software control end.
  5. 如权利要求1所述的射频前端控制方法,其中,各种控制端发送的所述控制请求为按照统一的预设报文格式生成的报文,所述射频前端控制方法还包括:The RF front-end control method according to claim 1, wherein the control request sent by various control terminals is a message generated according to a unified preset message format, and the RF front-end control method further comprises:
    按照所述预设报文格式从所述控制请求中获取各项信息。Obtain various information from the control request according to the preset message format.
  6. 如权利要求1所述的射频前端控制方法,其中,所述将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备包括:The RF front-end control method according to claim 1, wherein the sending of the command frame converted according to the control request to the RF front-end device connected to the RF front-end bus selected by the control request comprises:
    根据预设的命令模式与数据量之间的映射关系,将所述控制请求中携带的命令模式所对应的数据量设置为计数器的计数值;According to a preset mapping relationship between the command mode and the data volume, the data volume corresponding to the command mode carried in the control request is set as the count value of the counter;
    通过所述计数器按照所述计数值进行计数;Counting according to the count value by the counter;
    在所述计数器每计数一次后,向所述控制请求所选择的射频前端总线对接的射频前端设备发送一个时钟脉冲信号和所述命令帧中的一位信息。After each count by the counter, a clock pulse signal and one bit of information in the command frame are sent to the RF front-end device connected to the RF front-end bus selected by the control request.
  7. 如权利要求6所述的射频前端控制方法,其中,所述通过所述计数器按照所述计数值进行计数包括:The RF front-end control method according to claim 6, wherein the counting according to the count value by the counter comprises:
    通过所述计数器以目标频率按照所述计数值进行计数,其中,所述目标频率为所述控制请求中携带的频率,所述控制请求中携带的频率为所述控制请求所支持的射频前端设备的频率。Counting is performed by the counter at a target frequency according to the count value, wherein the target frequency is the frequency carried in the control request, and the frequency carried in the control request is the frequency of the RF front-end device supported by the control request.
  8. 如权利要求1所述的射频前端控制方法,其中,所述将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备之后,还包括:The RF front-end control method according to claim 1, wherein after sending the command frame converted according to the control request to the RF front-end device connected to the RF front-end bus selected by the control request, it also includes:
    将通过所述命令帧回读得到的回读数据与所述控制请求中携带的回读指示信息一并上报给软件控制端,以供所述软件控制端根据上报的回读指示信息匹配上报的回读数据所对应的所述控制请求。The readback data obtained by reading back the command frame and the readback indication information carried in the control request are reported to the software control end, so that the software control end can match the control request corresponding to the reported readback data according to the reported readback indication information.
  9. 如权利要求1至8中任一项所述的射频前端控制方法,其中,所述将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧之前,还包括:The RF front-end control method according to any one of claims 1 to 8, wherein before converting the command information carried in the control request into a command frame corresponding to the RF front-end bus protocol, it also includes:
    获取所述控制请求中携带的协议信息;Obtaining protocol information carried in the control request;
    在协议信息指示所述控制请求所采用的协议为所述射频前端总线协议的情况下,执行所述将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧。In a case where the protocol information indicates that the protocol adopted by the control request is the RF front end bus protocol, the step of converting the command information carried in the control request into a command frame corresponding to the RF front end bus protocol is performed.
  10. [根据细则26改正 14.06.2023]
    一种射频前端控制装置,其中,所述射频前端控制装置包括:
    [Corrected 14.06.2023 in accordance with Rule 26]
    A radio frequency front-end control device, wherein the radio frequency front-end control device comprises:
    接收模块,设置为接收射频前端设备的控制端发送的控制请求;A receiving module, configured to receive a control request sent by a control terminal of a radio frequency front-end device;
    确定模块,设置为根据所述控制请求携带的通道选择信息,从各套射频前端总线中确定所述控制请求所选择的射频前端总线;A determination module, configured to determine the RF front-end bus selected by the control request from each set of RF front-end buses according to the channel selection information carried in the control request;
    转换模块,设置为将所述控制请求中携带的命令信息转换为射频前端总线协议对应的命令帧;A conversion module, configured to convert the command information carried in the control request into a command frame corresponding to the RF front-end bus protocol;
    发送模块,设置为将根据所述控制请求转换得到的命令帧发送给所述控制请求所选择的射频前端总线对接的射频前端设备。The sending module is configured to send the command frame converted according to the control request to the RF front-end device connected to the RF front-end bus selected by the control request.
  11. 一种射频前端控制设备,其中,所述射频前端控制设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的射频前端控制程序,所述射频前端控制程序被所述处理器执行时实现如权利要求1至9中任一项所述的射频前端控制方法。A radio frequency front-end control device, wherein the radio frequency front-end control device comprises: a memory, a processor, and a radio frequency front-end control program stored in the memory and executable on the processor, wherein the radio frequency front-end control program, when executed by the processor, implements the radio frequency front-end control method according to any one of claims 1 to 9.
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有射频前端控制程序,所述射频前端控制程序被处理器执行时实现如权利要求1至9中任一项所述的射频前端控制方法。A computer-readable storage medium, wherein a radio frequency front-end control program is stored on the computer-readable storage medium, and when the radio frequency front-end control program is executed by a processor, the radio frequency front-end control method according to any one of claims 1 to 9 is implemented.
PCT/CN2023/085991 2022-10-20 2023-04-03 Radio frequency front-end control method, apparatus, device, and computer readable storage medium WO2024082563A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211289849.6 2022-10-20
CN202211289849.6A CN117955517A (en) 2022-10-20 2022-10-20 Radio frequency front end control method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2024082563A1 true WO2024082563A1 (en) 2024-04-25

Family

ID=90736786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/085991 WO2024082563A1 (en) 2022-10-20 2023-04-03 Radio frequency front-end control method, apparatus, device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN117955517A (en)
WO (1) WO2024082563A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349514A (en) * 2013-07-26 2015-02-11 华为技术有限公司 Multimode wireless terminal
CN106452495A (en) * 2015-08-05 2017-02-22 中国移动通信集团公司 Wireless equipment and radio frequency front-end module control method
CN114665905A (en) * 2020-12-22 2022-06-24 英特尔公司 Distributed radio head system
US20220225244A1 (en) * 2021-01-13 2022-07-14 Samsung Electronics Co., Ltd. Electronic device and method for controlling power of transmission signal in electronic device including multiple antennas

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349514A (en) * 2013-07-26 2015-02-11 华为技术有限公司 Multimode wireless terminal
CN106452495A (en) * 2015-08-05 2017-02-22 中国移动通信集团公司 Wireless equipment and radio frequency front-end module control method
CN114665905A (en) * 2020-12-22 2022-06-24 英特尔公司 Distributed radio head system
US20220225244A1 (en) * 2021-01-13 2022-07-14 Samsung Electronics Co., Ltd. Electronic device and method for controlling power of transmission signal in electronic device including multiple antennas

Also Published As

Publication number Publication date
CN117955517A (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN106951388B (en) PCIe-based DMA data transmission method and system
US20190034311A1 (en) Resource configuration method, mobile terminal and storage medium
CN110955631B (en) File access tracking method and device, storage medium and terminal
US20060179181A1 (en) Apparatus and method for controlling direct memory access
US20230009095A1 (en) Data transmission method and apparatus, and related assembly
US11582321B2 (en) Service request processing method and related apparatus
CN110955584B (en) Block device access tracking method and device, storage medium and terminal
US20230412742A1 (en) Apparatus, method, and system for monitoring image-forming apparatus, and storage medium
JP6531593B2 (en) Communication method, communication program and information processing apparatus
CN114035855B (en) Firmware debugging method, device, terminal and storage medium
WO2024082563A1 (en) Radio frequency front-end control method, apparatus, device, and computer readable storage medium
CN111782027B (en) DDR memory operation frequency adjusting method and device
JP2010211322A (en) Network processor, reception controller, and data reception processing method
CN112422485B (en) Communication method and device of transmission control protocol
US20190310954A1 (en) Data Access Method and Related Device
CN110337147B (en) LORA data communication method based on TMDA and fixed registration window
KR20110134465A (en) Data transmission system and data read method thereof
CN112003800B (en) Method and device for exchanging and transmitting messages of ports with different bandwidths
CN113609041A (en) Data transmission method and system
CN116601616A (en) Data processing device, method and related equipment
CN116431558B (en) AXI protocol-based request response method, device, system and medium
CN110990313A (en) Method, equipment and storage medium for processing clock stretching of I3C bus
US11847089B2 (en) Electronic device and method for sharing data lanes of a network interface device between two or more computing devices
WO2020103041A1 (en) Bluetooth connection control method and router
CN111885613B (en) SIG MESH-based networking method, node equipment and computer equipment