Early warning message broadcasting method and device, storage medium and electronic device
Patent Information
- Application Number
- CN202610993825.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-03
- Publication Date
- 2026-10-27
AI Technical Summary
由于预警消息的实时性要求较高,当前基站对预警消息的广播策略无法满足用于对无线预警系统的场景应用需求
[0016]在本申请实施例中,针对基站待广播的预警消息,在基站中构建了信息块池,该信息块池中记录了基站全部的带广播的预警消息所包括的系统信息块,进而在基站对预警消息的每个广播轮次开始时,根据基站带广播的系统信息块的目标信息块类型确定当前广播轮次的目标广播窗口,进而丛信息块池中筛选出广播时隙落入目标广播窗口的目标系统信息块,进而按照目标系统信息块所对应的目标广播时隙控制基站向终端广播目标系统信息块。从而实现基站按照用户对预警消息的广播需求对多个预警消息进行并行广播。采用上述技术方案,解决了相关技术中基站对预警消息的广播效率较低等问题,实现了提高基站对预警消息的广播效率的技术效果。
Smart Images

Figure CN122994710A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more specifically, to a method and apparatus for broadcasting early warning messages, a storage medium, and an electronic device. Background Technology
[0002] The Public Warning System (PWS) is a wireless public warning system defined by 3GPP based on the 5G NR / LTE standard. It is used to rapidly, reliably, and indiscriminately broadcast warning information to all users within a designated area during natural disasters such as earthquakes, tsunamis, typhoons, and extreme weather events, as well as public safety incidents and Amber alarm scenarios. It covers all terminal users in both idle and connected states. It achieves wide coverage, high reliability, and low latency public warning through broadcasting and dedicated SIBs, and is a core cornerstone of 4G / 5G public safety capabilities.
[0003] Currently, to enable base stations to broadcast warning messages, a scheduler is typically installed within the base station. The scheduler processes warning messages sequentially, meaning that after receiving a warning message, the base station completes its entire broadcast process before processing a subsequent warning message. However, as user applications of wireless warning systems expand, the warning messages sent by users now require multi-SIB concurrent broadcasting, segmentation, periodic repetition, and dynamic start / stop. Due to the high real-time requirements of warning messages, the current base station broadcasting strategy cannot meet the application needs of wireless warning systems.
[0004] There is still no effective solution to the problem of low efficiency in base station broadcasting of early warning messages in related technologies. Summary of the Invention
[0005] This application provides a method and apparatus for broadcasting early warning messages, a storage medium, and an electronic device to at least solve the problem of low broadcasting efficiency of early warning messages by base stations in related technologies.
[0006] According to one embodiment of this application, a method for broadcasting an early warning message is provided, comprising: obtaining the target information block type of the system information blocks included in the early warning message to be broadcast by a base station; determining the target broadcast window when the base station broadcasts the early warning message in the current broadcast round according to the target information block type; filtering target system information blocks from the information block pool that fall within the target broadcast window according to the broadcast information of each system information block in the information block pool of the base station, wherein the information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station; and controlling the base station to broadcast the target system information block to a terminal according to the target broadcast time slot corresponding to the target system information block.
[0007] Optionally, controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block includes: obtaining the next reference system information block to be broadcast by the base station from the target system information block according to the order of the broadcast time slots; obtaining the data to be broadcast corresponding to the reference system information block; encoding the data to be broadcast into a data packet to be broadcast according to a target protocol format, wherein the target protocol format is the protocol format used between the base station and the terminal; and transmitting the data packet to be broadcast to the terminal by broadcasting in the target broadcast time slot of the reference system information block.
[0008] Optionally, after the data packet to be broadcast is transmitted to the terminal via broadcast in the target broadcast time slot, the method includes: obtaining the terminal's reception result of the reference system information block; updating the base station's reference retransmission queue according to the reception result, wherein the reference retransmission queue records system information blocks that failed to be broadcast in the current base station's broadcast round of broadcasting warning messages, in order of arrival from the smallest number of retransmissions.
[0009] Optionally, updating the base station's reference retransmission queue based on the reception result includes one of the following: if the reception result indicates that the terminal has successfully received the reference system information block, deleting the reference system information block from the reference retransmission queue; reordering the remaining information blocks in the reference retransmission queue according to the number of retransmissions of the information blocks; if the reception result indicates that the terminal has failed to receive the reference system information block, modifying the number of information block retransmissions of the reference system information block in the reference retransmission queue; and reordering the system information blocks in the reference retransmission queue based on the number of information block retransmissions of each system information block in the reference retransmission queue.
[0010] Optionally, after updating the base station's reference retransmission queue based on the received result, the method further includes: obtaining a reference broadcast time slot in the target broadcast window that is in a state of no system information block broadcast; and rebroadcasting the information block that is ranked first in the reference retransmission queue in the reference broadcast time slot.
[0011] Optionally, determining the target broadcast window for the base station to broadcast the warning message in the current broadcast round based on the target information block type includes: obtaining a reference bitmap of the base station in the previous broadcast round of the warning message, wherein the reference bitmap records the information block types of all system information blocks included in the information block pool in the previous broadcast round; matching the reference information block type recorded in the reference bitmap with the target information block type; configuring the target broadcast window according to the reference window length of the base station's reference broadcast window in the previous broadcast round if the reference information block type and the target information block type match; generating the target window length for the current broadcast round based on the target information block type if the reference information block type and the target information block type do not match; and configuring the target broadcast window according to the target window length.
[0012] Optionally, after controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block, the method further includes: obtaining the target state machine of the target system information block; if the target state machine indicates that the base station's broadcast result for the target system information block meets the broadcast requirements of the initiator of the warning message for the target system information block, deleting the target system information block from the information block pool, and updating the target bitmap of the base station based on the information block deletion result in the system information block, wherein the target bitmap records the information block types of all system information blocks included in the information block pool; if the target state machine indicates that the base station's broadcast result for the target system information block does not meet the broadcast requirements of the initiator of the warning message for the target system information block, retaining the target system information block in the information block pool, and updating the next broadcast time slot of the target system information block according to the broadcast result of the base station for the target system information block in the current broadcast round.
[0013] According to another embodiment of this application, a broadcasting device for warning messages is also provided, comprising: a first acquisition module, configured to acquire the target information block type of the system information blocks included in the warning message to be broadcast by the base station; a determination module, configured to determine the target broadcast window when the base station broadcasts the warning message in the current broadcast round according to the target information block type; a filtering module, configured to filter out target system information blocks whose broadcast time slots fall within the target broadcast window from the information block pool according to the broadcast information of each system information block in the information block pool of the base station, wherein the information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station; and a control module, configured to control the base station to broadcast the target system information block to a terminal according to the target broadcast time slot corresponding to the target system information block.
[0014] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-mentioned method for broadcasting the warning message when it is run.
[0015] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the broadcasting method of the warning message through the computer program.
[0016] In this embodiment, for the warning messages to be broadcast by the base station, an information block pool is constructed in the base station. This information block pool records all system information blocks included in all the warning messages broadcast by the base station. Then, at the start of each broadcast round of the warning messages, the target broadcast window for the current broadcast round is determined based on the target information block type of the system information blocks to be broadcast by the base station. Target system information blocks whose broadcast time slots fall into the target broadcast window are then selected from the information block pool. Finally, the base station is controlled to broadcast the target system information blocks to the terminals according to the target broadcast time slots corresponding to the target system information blocks. This enables the base station to broadcast multiple warning messages in parallel according to the user's broadcast requirements. By adopting the above technical solution, the problem of low broadcast efficiency of warning messages by the base station in related technologies is solved, achieving the technical effect of improving the broadcast efficiency of warning messages by the base station. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the hardware environment for a method of broadcasting an early warning message according to an embodiment of this application;
[0020] Figure 2 This is a flowchart of a method for broadcasting an early warning message according to an embodiment of this application;
[0021] Figure 3 This is an optional wireless early warning system network architecture diagram according to an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of an optional hierarchical state scheduling according to an embodiment of this application;
[0023] Figure 5 This is a schematic diagram illustrating the linkage relationship between an optional message-level state machine and SI and Cell-level state machines according to an embodiment of this application;
[0024] Figure 6 This is a structural block diagram of a warning message broadcasting device according to an embodiment of this application. Detailed Implementation
[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] The methods and embodiments provided in this application can be executed on a computer terminal, device terminal, or similar computing device. Taking running on a computer terminal as an example, Figure 1 This is a schematic diagram of the hardware environment for a method of broadcasting an early warning message according to an embodiment of this application. For example... Figure 1 As shown, a computer terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. In one exemplary embodiment, the computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the computer terminal described above. For example, the computer terminal may also include components that are more complex than those described above. Figure 1 The more or fewer components shown, or having the same Figure 1 Equivalent functions or ratios shown Figure 1 The functions shown have more different configurations.
[0028] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the message push sending method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0029] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the computer terminal. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0030] This embodiment provides a method for broadcasting early warning messages, applied to the aforementioned computer terminal. Figure 2 This is a flowchart of a method for broadcasting an early warning message according to an embodiment of this application. The process includes the following steps:
[0031] Step S202: Obtain the target information block type of the system information block included in the early warning message to be broadcast by the base station;
[0032] Step S204: Determine the target broadcast window when the base station broadcasts the warning message in the current broadcast round based on the target information block type;
[0033] Step S206: Based on the broadcast information of each system information block in the information block pool of the base station, select the target system information block whose broadcast time slot falls within the target broadcast window from the information block pool. The information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station.
[0034] Step S208: Control the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block.
[0035] Through the above steps, an information block pool is constructed in the base station for the warning messages to be broadcast. This information block pool records all system information blocks included in all the warning messages broadcast by the base station. Then, at the beginning of each broadcast round of the warning messages, the target broadcast window for the current broadcast round is determined based on the target information block type of the system information blocks to be broadcast. Target system information blocks whose broadcast time slots fall into the target broadcast window are then selected from the information block pool. Finally, the base station is controlled to broadcast the target system information blocks to the terminals according to the target broadcast time slots corresponding to the target system information blocks. This enables the base station to broadcast multiple warning messages in parallel according to the user's broadcast requirements. By adopting the above technical solution, the problem of low broadcast efficiency of warning messages by base stations in related technologies is solved, achieving the technical effect of improving the broadcast efficiency of warning messages by base stations.
[0036] In the technical solution provided in step S202 above, the system information block is an information block carried in the warning message to indicate the information content involved in the warning message. Different types of information blocks are used to carry message content in different formats. Warning messages may include, but are not limited to, ETWS (Earthquake and Tsunami Warning) messages, CMAS (Commercial Mobile Alert) messages, and WEA (Wireless Emergency Alert) messages. The information block types of the system information block may include, but are not limited to, SIB6, SIB7, SIB8, etc. Among them, SIB6 is the ETWS main notification (a short message: earthquake, tsunami, etc.); SIB7 is the ETWS auxiliary notification (carrying content including detailed information, action suggestions, etc.); and SIB8 is the CMAS warning (carrying content including extreme weather, alarms, public safety, etc.).
[0037] Optionally, in this embodiment, the target information block type can be, but is not limited to, obtained by filtering and classifying the information block types of all system information blocks included in the base station's information block pool. Alternatively, to quickly determine the information block types of all system information blocks included in the warning messages broadcast by the base station in the previous generation, a bitmap can be configured on the base station. This bitmap also includes multiple flag bits, each flag bit corresponding to a type of information block. Different flag bits indicate different information block types. The update detection operation of each flag bit in this bitmap is triggered when the system information blocks in the information block pool change (for example, after the base station receives a new warning message, it adds the system information block of the warning message to the information block pool; or after the warning message is canceled or the broadcast ends, the number of system information blocks to be broadcast in the information block pool decreases). To further optimize the update efficiency of the bitmap, the information block pool can be divided into multiple information block queues. Each information block queue corresponds to a flag bit in the bitmap. The information block types stored in different information block queues are different. When the system information blocks in the information block pool change, the target number of system information blocks included in each of the multiple information block queues is detected. The bit value of the flag bit corresponding to the information block is set according to the target number (when the target number is 0, the bit value is set to zero, thus indicating that the information block pool does not include system information blocks of that type; when the target number is not 0, the bit value is set to 1, thus indicating that the information block pool includes system information blocks of that type).
[0038] In the technical solution provided in step S204 above, the specific way to determine the target broadcast window of the base station when broadcasting the warning message in the current broadcast round according to the target information block type can be to dynamically calculate and allocate the corresponding SI window resource size according to the message length and number of segments of each type of target system information block.
[0039] Optionally, in this embodiment, the target broadcast window can also be dynamically adjusted based on the difference between the target information block type of the current broadcast round and the reference information block type of the reference broadcast round before the current broadcast round, by adjusting the reference window length value of the reference broadcast window of the reference broadcast round. For example, when the target information block type and the reference information block type are the same, the reference window length value is determined as the target window length value of the current broadcast round; when the target information block type and the reference information block type are different, the target adjustment amount of the reference window length value is determined based on the difference in the information block message length and segment number of the target information block type and the reference information block type, and the reference window length value is adjusted according to the target adjustment amount to obtain the target window length value; the target broadcast window of the current broadcast round is configured according to the target window length value.
[0040] Optionally, in this embodiment, the broadcast information is information indicating the broadcast time slot of the system information block on the base station. The broadcast information may include, but is not limited to, the transmission period of the system information block and the reference broadcast time slot of the system information block during the broadcast phase of the base station before the current time. Then, the broadcast time slot of each system information block to be broadcast by the base station next can be determined based on the broadcast information, and the system information block whose broadcast time slot to be broadcast by the base station next falls within the target broadcast window is determined as the target system information block.
[0041] Optionally, in this embodiment, the method for determining the next broadcast time slot for each system information block to be broadcast by the base station based on the broadcast information can be to add the broadcast period duration of the system information block to the previous broadcast time slot, thereby determining the resulting broadcast time slot as the reference broadcast time slot for the current system information block. This reference broadcast time slot can be used as the broadcast time slot adopted by the base station when broadcasting the system information block next time. Alternatively, to more accurately match the base station's information block broadcasting habits, the difference value of the broadcast period between the historical broadcast rounds of the system information block can be used. Based on the broadcast period difference value, a time slot adjustment amount for the reference broadcast time slot can be generated. The time slot adjustment amount is used to adjust the reference broadcast time slot to obtain the target broadcast time slot, which the base station then uses to broadcast the system information block according to the target broadcast time slot.
[0042] Figure 3 This is an optional wireless early warning system network architecture diagram according to an embodiment of this application, such as... Figure 3 As shown, the wireless early warning server, also known as CBC / CBCF (Cell Broadcast Center / Function), receives early warning instructions from users and generates early warning messages to send to the core network through the N50 interface.
[0043] The core network receives CBC warning messages, routes the messages to the target NG-RAN, and provides status feedback. This mainly includes the warning request message WRITE_REPLACE_WARNING_REQUEST, the warning cancellation message PWS_CANCEL_REQUEST, and the status response message WRITE_REPLACE_WARNING_RESPONSE.
[0044] The warning messages are mainly contained in the warning request message WRITE_REPLACE_WARNING_REQUEST, which includes ETWS and CMAS messages. Taking 5G NR as an example, the message information is as follows:
[0045] ETWS (Earthquake and Tsunami Warning) includes primary and secondary notification messages:
[0046] SIB6: ETWS main notification (brief message: earthquake, tsunami, etc.);
[0047] SIB7: ETWS Support Notifications (details, action suggestions, etc.).
[0048] CMAS / WEA (Commercial Mobile Alarm / Wireless Emergency Alarm):
[0049] SIB8: CMA Warning (Extreme Weather, Amber Alert, Public Safety, etc.).
[0050] The controller's main function is to broadcast warning messages from the core network according to their broadcast areas, convert them into F1 message format, and send them to the corresponding DU unit side. It also packages response messages from the DU units into network messages and forwards them to the core network side. Key messages include F1_WRITE_REPLACE_WARNING_REQUEST and F1_PWS_CANCEL_REQUEST.
[0051] The main processing flow of the DU-side scheduler includes receiving request messages and cancellation messages. The request message flow is as follows: receiving the PWS request message issued by the CU; parsing the PWS message configuration and content segments; sending a response message via MAC; scheduling the corresponding PWS message via MAC; and periodically broadcasting the PWS message. The cancellation message flow is as follows: receiving the PWS cancellation message issued by the CU; parsing the message configuration and content segments; sending a response message via MAC; clearing the corresponding message scheduling and content via MAC; and synchronizing paging and updating SIB1 information.
[0052] The terminal side mainly includes receiving SI alarm segments on the RRC side, reassembling and deduplicating them based on serialNumber, filtering them according to msgid and local policies (black / white lists, language), and handing them over to the upper layer (ETWS / CMAS client) to trigger prompt sounds / vibrations / pop-ups, and persisting and suppressing repeated reminders, while also following priority and do-not-disturb policies.
[0053] As an optional embodiment, controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block includes:
[0054] The next reference system information block to be broadcast by the base station is obtained from the target system information block according to the order of broadcast time slots;
[0055] Obtain the data to be broadcast corresponding to the reference system information block;
[0056] The data to be broadcast is encoded into a data packet to be broadcast according to the target protocol format, wherein the target protocol format is the protocol format used between the base station and the terminal;
[0057] The data packet to be broadcast is transmitted to the terminal via broadcast in the target broadcast time slot of the reference system information block.
[0058] Optionally, in this embodiment, the base station can broadcast multiple different types of system information blocks in the same broadcast time slot. For example, a message broadcast in one broadcast time slot can carry an SIB6 message, an SIB7 message, and an SIB8 message. The multiple different types of system information blocks broadcast in the same broadcast time slot can be system information blocks from the same warning message, or they can be system information blocks from different warning messages. By combining and broadcasting system information blocks from different warning messages according to the broadcast time slot, parallel broadcasting of multiple warning messages is achieved on the one hand, and the effective utilization rate of the base station's broadcast time slots is improved on the other hand.
[0059] As an optional embodiment, after the data packet to be broadcast is transmitted to the terminal via broadcast in the target broadcast time slot, the method includes:
[0060] Obtain the receiving result of the terminal on the reference system information block;
[0061] The base station's reference retransmission queue is updated based on the received result. The reference retransmission queue records system information blocks that failed to be broadcast in the current base station's broadcast round of the warning message, in order of the number of retransmissions of the system information blocks arriving in order of the number of retransmissions.
[0062] Optionally, in this embodiment, the base station broadcasts system information blocks to the terminal. Furthermore, the base station can collect the collection results of the system information blocks broadcast by the terminal to the base station. In order to ensure the broadcast quality of the system information blocks, the base station needs to redundantly broadcast the broadcast information blocks that the terminal failed to receive in the spatial broadcast time slot.
[0063] Optionally, in this embodiment, in each broadcast window, the base station may, but is not limited to, maintain two information block queues, namely a first information block queue and a second information block queue. The first information block queue records the system information blocks to be broadcast to the terminal device in the current broadcast round in the order of the broadcast time slots. The second information block queue (i.e., the retransmission queue, such as the reference retransmission queue) is used to record the system information blocks in the first information block queue that the terminal failed to receive in the current broadcast round due to broadcast failure. The first information block queue has a higher priority than the second information block queue. When a system information block in the first information block queue is broadcast, the system information block is processed according to the terminal's reception result (for example, if the terminal successfully receives the system information block, the system information block is deleted from the first information block queue; if the terminal fails to receive the system information block, the system information block in the first information block queue is moved to the second information block queue). Furthermore, to ensure the management efficiency of system information blocks, multiple sub-information block queues can be set in each information block queue. Specifically, the first information block queue includes multiple first sub-information block queues, and each of the multiple first sub-information block queues corresponds one-to-one with the multiple information block types that the base station can broadcast. Each first sub-information block queue is used to store system information blocks of the corresponding information block type. The second information block queue includes multiple second sub-information block queues, and each of the multiple second sub-information block queues corresponds one-to-one with the multiple information block types that the base station can broadcast. Each second sub-information block queue is used to store system information blocks of the corresponding information block type.
[0064] Optionally, in this embodiment, the system information blocks are recorded in the reference retransmission queue in order of their retransmission count (i.e., the number of times they are repeatedly broadcast in the current broadcast round). After the base station completes the sequential broadcast of system information blocks, the order of the system information blocks in the reference retransmission queue needs to be updated. For example, if the first broadcast of a system information block in this broadcast round fails, the failed system information block is inserted into the reference retransmission queue. If a retransmitted system information block fails to be broadcast again, the retransmission count of that system information block needs to be updated in the reference retransmission queue, and the order of the information blocks in the reference retransmission queue is updated according to the updated retransmission count. Alternatively, if a retransmitted system information block is broadcast successfully, the system information block needs to be deleted from the reference retransmission queue, and the system information blocks in the reference retransmission queue that have been deleted are reordered.
[0065] As an optional embodiment, updating the base station's reference retransmission queue based on the received result includes one of the following:
[0066] If the receiving result indicates that the terminal has successfully received the reference system information block, the reference system information block is deleted from the reference retransmission queue; the remaining information blocks in the reference retransmission queue are reordered according to the number of retransmissions of the information block.
[0067] If the receiving result indicates that the terminal has failed to receive the reference system information block, the number of information block retransmissions of the reference system information block in the reference retransmission queue is modified; and the system information blocks in the reference retransmission queue are reordered based on the number of information block retransmissions of each system information block in the reference retransmission queue.
[0068] As an optional embodiment, after updating the base station's reference retransmission queue based on the received result, the method further includes:
[0069] Obtain the reference broadcast slot in the target broadcast window that is in a state of no system information block broadcast;
[0070] The information block that is first in the reference retransmission queue is rebroadcast in the reference broadcast time slot.
[0071] Optionally, in this embodiment, in each broadcast window, the base station may, but is not limited to, maintain two information block queues: a first information block queue and a second information block queue. The first information block queue contains system information blocks to be broadcast to the terminal device in the current broadcast round, ordered according to the broadcast time slot sequence. The second information block queue (i.e., a retransmission queue, such as a reference retransmission queue) records system information blocks in the first information block queue that were not successfully received by the terminal in the current broadcast round due to broadcast failure. The first information block queue has a higher priority than the second information block queue. Therefore, if the base station does not have any system information blocks to broadcast in the first information block queue for a certain broadcast time slot, it can be considered that the broadcast time slot is an unoccupied reference broadcast time slot. Thus, a system information block to be broadcast can be found from the reference retransmission queue in the order it is sorted. It is worth noting that a base station can carry multiple types of system information blocks in a broadcast time slot (for example, carrying a SIB6, a SIB7, and a SIB8 in a broadcast message in a broadcast time slot). When there is no system information block of the reference information block type to be broadcast in the first information block queue of the broadcast time slot, the system information block of the reference information block type with the highest broadcast priority (ranked at the top of the queue) can be selected from the reference retransmission queue for broadcast.
[0072] As an optional embodiment, determining the target broadcast window when the base station broadcasts the warning message in the current broadcast round based on the target information block type includes:
[0073] Obtain a reference bitmap of the base station in the previous broadcast round of the warning message, wherein the reference bitmap records the information block types of all system information blocks included in the information block pool in the previous broadcast round;
[0074] Match the reference information block type recorded in the reference bitmap with the target information block type;
[0075] If the reference information block type and the target information block type match, the target broadcast window is configured according to the reference window length of the base station's reference broadcast window in the previous broadcast round;
[0076] If the reference information block type and the target information block type do not match, the target window length for the current broadcast round is generated according to the target information block type; and the target broadcast window is configured according to the target window length.
[0077] Optionally, in this embodiment, in order to facilitate the management of the information block types to be broadcast by the base station, a bitmap is maintained in the base station to record the information block types of the information blocks to be broadcast by the base station. The bitmap may be, but is not limited to, a bitmap, which includes multiple bits, each bit corresponding to an information block type. The value of the bit can be 0 or 1. When it is 0, it indicates that the base station has no system information blocks of the current information block type to be broadcast. When it is 1, it indicates that the base station has system information blocks of the current information block type to be broadcast.
[0078] Optionally, in this embodiment, at the end of each broadcast window, the system information blocks in the information block pool are updated according to the broadcast parameters of the system information blocks (parameters indicating broadcast attributes such as the broadcast round and broadcast period of the system information blocks), thereby triggering the update of the base station's bitmap.
[0079] As an optional embodiment, after controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block, the method further includes:
[0080] Obtain the target state machine of the target system information block;
[0081] When the target state machine instructs the base station that the broadcast result of the target system information block satisfies the broadcast requirements of the initiator of the warning message of the target system information block, the target system information block is deleted from the information block pool, and the target bitmap of the base station is updated based on the deletion result of the information block in the system information block, wherein the target bitmap records the information block type of all system information blocks included in the information block pool;
[0082] If the target state machine indicates that the base station's broadcast result for the target system information block does not meet the broadcast requirements of the initiator of the warning message for the target system information block, the target system information block is retained in the information block pool, and the next broadcast slot of the target system information block is updated according to the base station's broadcast result for the target system information block in the current broadcast round.
[0083] Optionally, in this embodiment of the application, the method of updating the next broadcast time slot of the target system information block according to the broadcast result of the base station to the target system information block in the current broadcast round can be: obtaining the target timestamp of the base station successfully broadcasting the target system information block (the terminal successfully received the system information block), and accumulating the target transmission period duration of the target system information block based on the target timestamp, thereby obtaining the next broadcast time slot of the target system information block.
[0084] As an optional embodiment, this application designs a hierarchical state machine management strategy for a base station scheduler. It employs a three-tiered state machine management mechanism at the Cell, SI, and message levels to achieve categorized management of the wireless early warning message system. Actual verification in a live network demonstrates that this strategy enables efficient real-time scheduling of wireless early warning messages, controlling the transmission time from reception to dispatch on the base station side within 10ms to 100ms, thus providing ample emergency response time for end users. This hierarchical collaborative control mechanism allows the Cell-level state machine to manage global state switches, the SI-level state machine to manage specific content, and the message-level queue-level state machine to manage the flow of messages with different attributes. This enables upward aggregation of state machine states and downward distribution of control. This hierarchical, event-driven state machine transition strategy is highly suitable for managing the aggregation of multiple independent sub-state machines in the wireless early warning message process, as well as for managing the complex processing flow of periodic, segmented, and redundant broadcasts of wireless early warning messages.
[0085] The Cell-level PWS state machine is designed as follows:
[0086] enum{
[0087] IDLE,
[0088] PAGING
[0089] SIB1,
[0090] }
[0091] The cell-level state machine adopts a three-state model, and its basic transition sequence is: IDLE (wait) → PAGING (prepare) → SIB1 (send) → IDLE.
[0092] The characteristics of a state machine are shown in Table 1:
[0093] Table 1
[0094]
[0095] The detailed information for each state of the Cell-level state machine is as follows:
[0096] 1. IDLE state:
[0097] Meaning: Currently not in a PWS broadcast process.
[0098] Triggering conditions: Initial state; all PWS SIs have been processed; after Cancel clears; the GAP periodic interval process with no PWS sent will be forced to return to this point.
[0099] Perform the following actions:
[0100] Upon receiving an alert request message, the following steps are required: validation, deduplication and enqueueing, updating the bitmap control bitmap, and triggering the paging process. It's important to note that the deduplication and validation mechanisms differ slightly between different messages. SiB6 / 7 allows only one msgid+sn to exist at a time, with new messages replacing older ones. SiB8 allows multiple msgid+sn messages to coexist and ignores new messages with the same msgid+sn.
[0101] Upon receiving a cancellation warning message: The process involves deleting the queue, clearing the Bitmap control bitmap, and re-triggering the paging process to re-converge the sib1 / SI scheduling. Deleting the queue includes deleting all messages (cancel-all) or clearing specific messages from the queue by msgid+sn.
[0102] Subsequent state: After the MAC scheduler sends a paging message, an indication message is sent via paging to trigger the cell-level state to enter the PAGING state.
[0103] 2. PAGING state:
[0104] Meaning: The short message format paging corresponding to the wireless warning message has been triggered, and sib6 / 7 / 8 is being added to the siSchedulingInfo linked list of sib1.
[0105] The short message format paging refers to the Short MessagesIndicator and Short Message indicator bits in DCI1_0 of 3GPP protocol 38.212. The Short Messages Indicator corresponds to Table 7.3.1.2.1-1 in 38.212, as shown in Table 2.
[0106] Table 2
[0107]
[0108] The Short Message corresponds to Table 6.5-1 in document 38.331, as shown in Table 3:
[0109] Table 3
[0110]
[0111] Triggering: After triggering PWS short message paging, it is important to note that, unlike regular paging at the UE level, it is necessary to iterate through all transmission slots within the paging cycle to cover all active and dormant users in the cell.
[0112] Actions performed: Initialize the SI window state table, using the latest bitmap control bitmap as the target state, and update the SI mapping list in sib1. Update the currently running bitmap and the scheduler SIX-encoded PWS message list, and pass the updated sib1 / SI buffer to the MAC.
[0113] Subsequent status: After receiving the sib1 scheduling success message, switch to PWS_SIB1.
[0114] 3. SIB1 status:
[0115] Meaning: The new sib1 has been sent, and the UE is aware that sib6 / 7 / 8 exist. Now it can actually send PWS SI content.
[0116] Trigger: The scheduler schedules and sends the updated sib1 message.
[0117] Action: Each slot calls the sib6 / 7 / 8 generation processing module in the PWS message processing flow.
[0118] Take a sib6 / 7 / 8 message to be broadcast from the list of wireless early warning messages (i.e., the queue for newly created request messages in the IDLE state), update the sibX buffer, then fill in the corresponding siX buffer, and finally advance the state machine flow at the SI level.
[0119] Subsequent status: If there are still messages to be broadcast, the cell-level status remains in this round of process status; after all siX return to idle, the cell-level status returns to the IDLE state.
[0120] II. The SI-level state machine is designed as follows:
[0121] enum PwsState,
[0122] {
[0123] SI_IDLE,
[0124] SI_READY,
[0125] SI_READY_MID,
[0126] SI_READY_LAST,
[0127] SI_SENT
[0128] };
[0129] The SI-level state machine adopts a five-state model, and its basic transition sequence is: SI_IDLE (waiting) → SI_READY (first ready) / SI_READY_MID (intermediate round) / SI_READY_LAST (last round) → SI_SENT (this transmission completed) → SI_IDLE.
[0130] Each specific SI message maintains its own state to control whether "this SI is ready to be sent, has been sent, or is there a next round".
[0131] Detailed information for each status is as follows:
[0132] 1. SI_IDLE state:
[0133] Meaning: There are currently no pre-coded PWS SI messages to be sent for the PWS warning message corresponding to this siIdx index.
[0134] Triggering: There are four scenarios: (1) initialization; (2) PWS complete; (3) Cancel process; (4) a round of sending ends.
[0135] Action: In the SI processing flow of generating PWS, if the simap corresponding to this siIdx index contains sib6 / 7 / 8 and the message can be retrieved in the queue, then the buffer content is generated and the process is advanced to the SI_READY state.
[0136] 2. SI_READY state:
[0137] Meaning: A PWS SI has been prepared for the warning message corresponding to the siIdx index and is waiting for MAC broadcast.
[0138] Triggered: The first time PWS SI is encoded.
[0139] Action: When the base station MAC scheduler broadcast processing module detects SI_READY, it will send the SI_IND indication message of the siIdx index to drive the actual broadcast channel to perform message scheduling broadcast.
[0140] Subsequent status: After sending, it enters SI_SENT or is prepared again to become the next READY series status.
[0141] 3. SI_READY_MID:
[0142] Meaning: The intermediate rounds are ready, and more will be broadcast later.
[0143] Trigger: In the SI processing flow of generating PWS, if it is found that this is not the last round, the state is set to this.
[0144] Action: Similar to SI_READY, semantically it represents "the intermediate state of the current cycle".
[0145] 4. SI_READY_LAST:
[0146] Meaning: The content encoded in the SI processing flow that generates PWS is the last broadcast in this round.
[0147] Triggered: The last broadcast of the SI message corresponding to this siIdx index.
[0148] Action: After the base station MAC scheduler broadcast processing module schedules the broadcast, if there are no other messages to be sent under the siIdx index, this siIdx index needs to be deleted from the scheduling bitmap control bitmap.
[0149] 5. SI_SENT state:
[0150] Meaning: The PWS SI corresponding to this siIdx index has been sent out.
[0151] Triggered by: Broadcast scheduling process processing module.
[0152] Action: Check if there are any remaining messages to send after this siIdx. If there are, maintain the intermediate state activation flag information. If not, clear the corresponding bit in the scheduling bitmap and may trigger the paging process again to have sib1 remove this PWS SI configuration.
[0153] Subsequent state: If there is remaining space, maintain the intermediate working state; if there is no remaining space, return to SI_IDLE.
[0154] The characteristics and advantages of this SI-level state machine design are as follows: Three-state fusion: SI_IDLE / SI_READY series / SI_SENT correspond to "to be generated → to be sent → sent"; Intermediate state subdivision: SI_READY / SI_READY_MID / SI_READY_LAST distinguish between first / intermediate / last, which facilitates the control of sib1 update timing; Hierarchical convergence: SI-level states drive Cell-level states, and the cell can only recover IDLE when all SIs are idle.
[0155] III. The message-level queue state machine is designed as follows:
[0156] enum ListState,
[0157] {
[0158] newList,
[0159] rvList,
[0160] gapList,
[0161] periodList,
[0162] };
[0163] The message-level queue state machine adopts a four-state model, and its basic message transition sequence is as follows:
[0164] newList → rvList → gapList → periodList.
[0165] The message queue in each PWS message is mainly used to support the scheduling and flow between multiple concurrent and redundant versions and periods of messages. It corresponds to four queue stages: newList (first broadcast of the new period is given priority), rvList (sorted by cumulative redundancy), gapList (wait between two periods), and periodList (start of a new period). By adjusting the scheduling order of different queues, the priority of different message categories can be easily adjusted as needed, making PWS message scheduling more flexible.
[0166] 1. newList state:
[0167] Meaning: A newly received message that has not yet been broadcast.
[0168] Action: Highest priority, this is the first place to retrieve alarm broadcast messages.
[0169] 2. rvList state:
[0170] Meaning: Messages that still need to be retransmitted redundantly within the current cycle.
[0171] Action: Perform redundancy count processing for each message sent and sort them according to the number of redundancy counts.
[0172] 3. gapList state:
[0173] Meaning: The current cycle has ended, but the next cycle will continue. We are currently in a gap between cycles.
[0174] Action: Do not broadcast immediately; wait for the periodic interval timer to expire.
[0175] 4. periodList state:
[0176] Meaning: After the gap ends, preparations are made for the next round of broadcasting in the next cycle.
[0177] Action: After the gap period timer expires, the scheduler's warning message processing module moves the message from the gapList linked list to the current linked list and calls the state transition process to trigger the next round of paging.
[0178] Among them, the periodic interval timer designs in 3 and 4 above are implemented through a "Timer Wheel + TTI drive" mechanism.
[0179] (1) Upon receiving a new wireless warning message, initialize the message timer period;
[0180] (2) After each round of new warning message sending and processing (including segmentation and different RV versions) is completed, a new message cycle timer is activated and started, that is, a Timer wheel is inserted. The timer management is changed from "searching one by one" to "arrival by time" processing. The basic principle is as follows:
[0181] - Get the current TTI timestamp;
[0182] - Combine the early warning message period parameters to calculate the corresponding timer arrival time = current timestamp + period duration;
[0183] - Find the slot in the Timer Wheel (i.e., a doubly linked list of 256) by hash(arrival time)%256.
[0184] - Insert the timer at the end of the linked list corresponding to the slot;
[0185] - Upon receiving a TTI update, scan the corresponding wheel slot. For each slot scanned, traverse the linked list. If the cycle arrival condition is met, retrieve the message for processing, perform queue migration, and remove the corresponding message from the wheel before adding it to the next cycle processing linked list.
[0186] Using this mechanism for the timer ensures its validity.
[0187] (1) High efficiency: Low time complexity, insertion / deletion complexity O(1), scanning (n=number of timers per slot) complexity O(n).
[0188] (2) Accuracy and scheduling cycle adaptation: aligned with TTI to achieve slot-level accuracy (NR: 0.5ms, 30kHz. LTE: 1ms).
[0189] (3) Decoupling from business: The timer is separated from the business logic. PWS warning messages only need to care about the period configuration parameters and subsequent business processing flow.
[0190] Figure 4 This is an optional hierarchical state scheduling diagram according to an embodiment of this application, such as... Figure 4 As shown, in terms of the overall processing flow, this hierarchical state machine manages Cell-level state machines, SI-level state machines, and message-level queue state machines in a hierarchical manner. Its overall strategy is as follows: (1) The Cell state determines the overall early warning processing stage, which is the access control of the whole, and determines "when broadcasting is allowed"; (2) The SIX state determines whether this SI is ready / sent, manages the local state corresponding to each SIX index message, and determines "which index SI can be broadcast"; (3) The message-level Queue state determines whether this PWS message is a new message, a redundant message, or a message to wait for the next period of time, mainly manages the life cycle of the message, and determines "which specific message to broadcast".
[0191] The state machines at each level have clearly defined functions, which is very suitable for applications with complex processing flows in wireless early warning systems.
[0192] Secondly, the linkage mechanism design strategy of the state machines between the various layers of the scheduler is as follows: (1) The Cell-level state machine is the control layer, and the Cell state drives the SI generation: the SI processing function module is called only in the SIB1 state to generate the initial SI information. This ensures that the terminal first obtains the PWS indication for new transmission or update, and then obtains the corresponding indication PWS message, which can achieve the consistency of the SI sequence and PWS timing between the base station and the terminal; (2) The Cell-level state machine and the SI-level state machine are linked through the "mapping relationship". The Cell state machine guides the generation of SI messages according to the bitmap control bitmap, and drives the start and operation of the SI state machine. The SI state machine also feeds back the Cell state: after all SIs are completed, the Cell state machine exits from the SIB1 state. At the same time, the SI state machine drives the IDLE state synchronization of the Cell state machine: all SIs are IDLE → Cell returns to IDLE. (3) The SI-level state machine and the message-level queue state machine are linked through "whether there is still content" and "whether it has been encoded". The SI-level state machine obtains information from the message-level queue state machine by traversing the message queue, encodes it to form the SI buffer, and sets its own state to the SI_READY series. That is, the message-level queue layer determines which message to retrieve, and the SI layer determines whether the SI is ready. (4) The message-level queue state machine affects the convergence of the SI level and the Cell level. The "empty / not empty" status of the queue layer will drive the upper-level bitmap control bitmap and cell state changes. (5) Scheduler event flow: Paging triggers a message, sib1 sends a message, PWS SI message sends a message indicating completion, and the scheduler processing module converts the event into three-layer state machine driving information, which is distributed in the state machine processing functions to drive the flow of state signals at each level.
[0193] Figure 5 This is a schematic diagram illustrating the linkage between an optional message-level state machine and SI and Cell-level state machines according to an embodiment of this application, as shown below. Figure 5 The message-level queue state machine, SI-level state machine, and Cell state machine are interconnected. The message-level queue state machine affects SI-level and Cell-level convergence. The "empty / not empty" status of the queue layer drives changes in the upper-level bitmap control bitmap and cell state.
[0194] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software and necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0195] Figure 6 This is a structural block diagram of a warning message broadcasting device according to an embodiment of this application; as shown below. Figure 6 As shown, it includes: a first acquisition module, used to acquire the target information block type of the system information block included in the warning message to be broadcast by the base station; a determination module, used to determine the target broadcast window when the base station broadcasts the warning message in the current broadcast round according to the target information block type; a filtering module, used to filter out the target system information blocks whose broadcast time slots fall within the target broadcast window from the information block pool according to the broadcast information of each system information block in the information block pool of the base station, wherein the information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station; and a control module, used to control the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block.
[0196] Through the above embodiments, for the warning messages to be broadcast by the base station, an information block pool is constructed in the base station. This information block pool records all system information blocks included in all the warning messages to be broadcast by the base station. Then, at the beginning of each broadcast round of the warning messages, the target broadcast window for the current broadcast round is determined according to the target information block type of the system information blocks to be broadcast by the base station. Target system information blocks whose broadcast time slots fall into the target broadcast window are then selected from the information block pool. Finally, the base station is controlled to broadcast the target system information blocks to the terminals according to the target broadcast time slots corresponding to the target system information blocks. This enables the base station to broadcast multiple warning messages in parallel according to the user's broadcast requirements. By adopting the above technical solution, the problem of low broadcast efficiency of warning messages by the base station in related technologies is solved, achieving the technical effect of improving the broadcast efficiency of warning messages by the base station.
[0197] Optionally, the control module includes: a first acquisition unit, configured to acquire the next reference system information block to be broadcast by the base station from the target system information block according to the order of broadcast time slots; a second acquisition unit, configured to acquire the data to be broadcast corresponding to the reference system information block; an encoding unit, configured to encode the data to be broadcast into a data packet to be broadcast according to a target protocol format, wherein the target protocol format is the protocol format used between the base station and the terminal; and a transmission unit, configured to transmit the data packet to be broadcast to the terminal via broadcast in the target broadcast time slot of the reference system information block.
[0198] Optionally, the device further includes: a second acquisition module, configured to acquire the terminal's reception result of the reference system information block after the data packet to be broadcast is transmitted to the terminal via broadcast in the target broadcast time slot; and an update module, configured to update the base station's reference retransmission queue according to the reception result, wherein the reference retransmission queue records system information blocks that failed to be broadcast in the current base station's broadcast round of broadcasting warning messages, in order of arrival from the smallest number of retransmissions.
[0199] Optionally, the update module includes one of the following: a first processing unit, configured to delete the reference system information block from the reference retransmission queue when the reception result indicates that the terminal has successfully received the reference system information block; and reorder the remaining information blocks in the reference retransmission queue according to the number of retransmissions of the information blocks; a second processing unit, configured to modify the number of information block retransmissions of the reference system information block in the reference retransmission queue when the reception result indicates that the terminal has failed to receive the reference system information block; and reorder the system information blocks in the reference retransmission queue based on the number of information block retransmissions of each system information block in the reference retransmission queue.
[0200] Optionally, the apparatus further includes: a third acquisition module, configured to acquire, after updating the reference retransmission queue of the base station according to the reception result, a reference broadcast time slot in the target broadcast window that is in a state of no system information block broadcast; and a broadcast module, configured to rebroadcast the information block ranked first in the reference retransmission queue in the reference broadcast time slot.
[0201] Optionally, the determining module includes: a third acquisition unit, configured to acquire a reference bitmap of the base station in the previous broadcast round of the warning message, wherein the reference bitmap records the information block types of all system information blocks included in the information block pool in the previous broadcast round; a matching unit, configured to match the reference information block types recorded in the reference bitmap with the target information block types; a first configuration unit, configured to configure the target broadcast window according to the reference window length of the base station's reference broadcast window in the previous broadcast round if the reference information block types and the target information block types match; a generation unit, configured to generate the target window length of the current broadcast round according to the target information block type if the reference information block types and the target information block types do not match; and a second configuration unit, configured to configure the target broadcast window according to the target window length.
[0202] Optionally, the module further includes: a fourth acquisition module, configured to acquire the target state machine of the target system information block after the base station is controlled to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block; a first processing module, configured to delete the target system information block from the information block pool when the target state machine indicates that the base station's broadcast result for the target system information block meets the broadcast requirements of the initiator of the warning message for the target system information block; and update the target bitmap of the base station based on the information block deletion result in the system information block, wherein the target bitmap records the information block types of all system information blocks included in the information block pool; and a second processing module, configured to retain the target system information block in the information block pool when the target state machine indicates that the base station's broadcast result for the target system information block does not meet the broadcast requirements of the initiator of the warning message for the target system information block; and update the next broadcast time slot of the target system information block according to the broadcast result of the base station for the target system information block in the current broadcast round.
[0203] Embodiments of this application also provide a storage medium including a stored program, wherein the program, when executed, performs the broadcasting method for any of the aforementioned warning messages.
[0204] Optionally, in this embodiment, the storage medium can be configured to store program code for performing the following steps: obtaining the target information block type of the system information block included in the warning message to be broadcast by the base station; determining the target broadcast window when the base station broadcasts the warning message in the current broadcast round according to the target information block type; filtering out the target system information block whose broadcast time slot falls within the target broadcast window from the information block pool according to the broadcast information of each system information block in the information block pool of the base station, wherein the information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station; controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block.
[0205] Embodiments of this application also provide an electronic device including a memory and a processor, the memory storing a computer program, the processor being configured to run the computer program to perform the steps in any of the above-described methods for broadcasting warning messages.
[0206] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0207] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program: obtaining the target information block type of the system information block included in the warning message to be broadcast by the base station; determining the target broadcast window when the base station broadcasts the warning message in the current broadcast round according to the target information block type; filtering out target system information blocks whose broadcast time slots fall within the target broadcast window from the information block pool according to the broadcast information of each system information block in the information block pool of the base station, wherein the information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station; and controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block.
[0208] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0209] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0210] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0211] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for broadcasting early warning messages, characterized in that, include: Obtain the target information block type of the system information block included in the early warning message to be broadcast by the base station; The target broadcast window for the base station to broadcast the warning message in the current broadcast round is determined based on the target information block type. Based on the broadcast information of each system information block in the information block pool of the base station, the target system information block whose broadcast time slot falls into the target broadcast window is selected from the information block pool. The information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station. According to the target broadcast time slot corresponding to the target system information block, the base station is controlled to broadcast the target system information block to the terminal.
2. The method according to claim 1, characterized in that, The step of controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block includes: The next reference system information block to be broadcast by the base station is obtained from the target system information block according to the order of broadcast time slots; Obtain the data to be broadcast corresponding to the reference system information block; The data to be broadcast is encoded into a data packet to be broadcast according to the target protocol format, wherein the target protocol format is the protocol format used between the base station and the terminal; The data packet to be broadcast is transmitted to the terminal via broadcast in the target broadcast time slot of the reference system information block.
3. The method according to claim 2, characterized in that, After transmitting the data packet to be broadcast to the terminal via broadcast in the target broadcast time slot, the method includes: Obtain the receiving result of the terminal on the reference system information block; The base station's reference retransmission queue is updated based on the received result. The reference retransmission queue records system information blocks that failed to be broadcast in the current base station's broadcast round of the warning message, in order of the number of retransmissions of the system information blocks arriving in order of the number of retransmissions.
4. The method according to claim 3, characterized in that, The step of updating the base station's reference retransmission queue based on the received result includes one of the following: If the receiving result indicates that the terminal has successfully received the reference system information block, the reference system information block is deleted from the reference retransmission queue; the remaining information blocks in the reference retransmission queue are reordered according to the number of retransmissions of the information block. If the receiving result indicates that the terminal has failed to receive the reference system information block, the number of information block retransmissions of the reference system information block in the reference retransmission queue is modified. The system information blocks in the reference retransmission queue are reordered based on the number of retransmissions of each system information block in the reference retransmission queue.
5. The method according to claim 3, characterized in that, After updating the base station's reference retransmission queue based on the received result, the method further includes: Obtain the reference broadcast slot in the target broadcast window that is in a state of no system information block broadcast; The information block that is first in the reference retransmission queue is rebroadcast in the reference broadcast time slot.
6. The method according to claim 1, characterized in that, The step of determining the target broadcast window when the base station broadcasts the warning message in the current broadcast round based on the target information block type includes: Obtain a reference bitmap of the base station in the previous broadcast round of the warning message, wherein the reference bitmap records the information block types of all system information blocks included in the information block pool in the previous broadcast round; Match the reference information block type recorded in the reference bitmap with the target information block type; If the reference information block type and the target information block type match, the target broadcast window is configured according to the reference window length of the base station's reference broadcast window in the previous broadcast round; If the reference information block type and the target information block type do not match, the target window length for the current broadcast round is generated based on the target information block type. Configure the target broadcast window according to the target window length.
7. The method according to claim 1, characterized in that, After controlling the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block, the method further includes: Obtain the target state machine of the target system information block; When the target state machine instructs the base station that the broadcast result of the target system information block satisfies the broadcast requirements of the initiator of the warning message of the target system information block, the target system information block is deleted from the information block pool, and the target bitmap of the base station is updated based on the deletion result of the information block in the system information block, wherein the target bitmap records the information block type of all system information blocks included in the information block pool; If the target state machine indicates that the base station's broadcast result for the target system information block does not meet the broadcast requirements of the initiator of the warning message for the target system information block, the target system information block is retained in the information block pool, and the next broadcast slot of the target system information block is updated according to the base station's broadcast result for the target system information block in the current broadcast round.
8. A broadcasting device for early warning messages, characterized in that, include: The first acquisition module is used to acquire the target information block type of the system information block included in the early warning message to be broadcast by the base station; The determining module is used to determine the target broadcast window when the base station broadcasts the warning message in the current broadcast round, based on the target information block type; The filtering module is used to filter out target system information blocks whose broadcast time slots fall within the target broadcast window from the information block pool of the base station based on the broadcast information of each system information block in the information block pool of the base station. The information block pool records all system information blocks to be broadcast by the base station, and the broadcast information is used to indicate the broadcast time slot of the corresponding system information block on the base station. The control module is used to control the base station to broadcast the target system information block to the terminal according to the target broadcast time slot corresponding to the target system information block.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method of any one of claims 1 to 7 through the computer program.