A method of information processing and an electronic device

CN115202896BActive Publication Date: 2026-10-23HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110390698.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-12
Publication Date
2026-10-23
Estimated Expiration
2041-04-12

AI Technical Summary

Technical Problem

[0003]在一些可能的实施例中,由于公共警告系统的发送机制是针对运营商基站覆盖范围内的所有移动网络电子设备无差别发送,所以无法保证信息的准确性和唯一性,例如在9点01分发送的预警信息时,电子设备不在区域内,到9点02分再到该区域,则无法收到

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115202896B_ABST
    Figure CN115202896B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of information processing method, it is related to communication field, specific scheme includes: receiving cell broadcast message;Query whether the cell broadcast message exists in the broadcast message cache in memory;When the cell broadcast message exists in the broadcast message cache in memory, do not prompt the cell broadcast message;When the cell broadcast message does not exist in the broadcast message cache in memory, prompt the cell broadcast message, the cell broadcast message is added to the broadcast message cache in memory, the cell broadcast message is added to the broadcast message cache of read-only memory.This way, the same broadcast message can be realized without repeating broadcast by cell broadcast application, and the use experience of electronic device cell broadcast broadcast is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more particularly to an information processing method and an electronic device. Background Technology

[0002] Public Warning Systems (PWS), such as Commercial Mobile Alert Systems (CMAS) and Earthquake & Tsunami Warning Systems (ETWS), can use the government as the information source and broadcast emergency information through the operator's network in the form of cell broadcasts, thereby reminding the public to respond to natural disasters and emergencies in a timely manner.

[0003] In some possible implementations, because the public warning system's transmission mechanism sends messages indiscriminately to all mobile network electronic devices within the operator's base station coverage area, the accuracy and uniqueness of the information cannot be guaranteed. For example, if an electronic device is not in the area when a warning message is sent at 9:01 AM, and then re-enters the area at 9:02 AM, it will not receive the message. Therefore, a single warning event will send many repeated broadcast messages to ensure that users in the area within a certain time period can receive the message. Summary of the Invention

[0004] This application provides an information processing method that enables electronic devices to determine whether the same broadcast message has already been broadcast after receiving a cell broadcast message, thereby achieving non-repeated broadcasting of cell broadcast messages.

[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0006] Firstly, upon receiving a cell broadcast message, the system checks whether the cell broadcast message already exists in the memory broadcast message cache. If the cell broadcast message exists in the memory broadcast message cache, the system does not prompt for the cell broadcast message. If the cell broadcast message does not exist in the memory broadcast message cache, the system prompts for the cell broadcast message, adds the cell broadcast message to the memory broadcast message cache, and adds the cell broadcast message to the read-only memory broadcast message cache.

[0007] In this way, the cell broadcast application maintains cell broadcasts cached in memory and also caches them in read-only memory (ROM). Each time the cell broadcast application is cleaned up, when it receives a broadcast message and restarts, it reads the cached broadcast message from ROM and uses it as the basis for determining whether the currently received broadcast message is a duplicate. This approach avoids duplicate broadcast message alerts caused by the cell broadcast application being cleaned up, and also improves the speed of determining duplicate broadcast messages because it uses the broadcast messages in memory.

[0008] In one possible design, the cell broadcast application receives a cell broadcast message; the cell broadcast application starts, calls the broadcast message cache in read-only memory, and generates a broadcast message cache in memory.

[0009] In one possible design, the cell broadcast application starts automatically; upon startup, the cell broadcast application calls the broadcast message cache in read-only memory and generates the broadcast message cache in memory.

[0010] In this way, when the cell broadcast application is cleaned up, it can generate a cache of broadcast messages in memory by starting automatically, thereby reducing the time that the cell broadcast application takes to start the application and generate cache messages only after receiving broadcast messages.

[0011] In one possible design, the cell broadcast message is either a CMAS broadcast message or an ETWS broadcast message.

[0012] In one possible design, the broadcast message is added to the broadcast message cache in memory, the cell broadcast message is added to the broadcast message cache in read-only memory, and the cell broadcast message is stored in memory or read-only memory in its original data format.

[0013] In one possible design, the broadcast message is added to the broadcast message cache in memory, and the cell broadcast message is added to the broadcast message cache in read-only memory. It also includes storing at least one of the cell broadcast message's identifier, serial number, location information, and message body in memory or read-only memory.

[0014] In one possible design, broadcast messages are added to a broadcast message cache in memory, and cell broadcast messages are added to a broadcast message cache in read-only memory. The design also includes storing cell broadcast messages in memory or read-only memory after performing a hash operation.

[0015] In one possible design, checking whether a cell broadcast message already exists in the broadcast message cache in memory also includes: determining whether the time between the reception time of the cell broadcast message and the reception time of the same cell broadcast message in the broadcast message cache is greater than a first time threshold; if it is greater, then proceed with the following steps.

[0016] In a second aspect, this application provides an electronic device, characterized in that the electronic device includes a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the electronic device performs an information processing method.

[0017] Thirdly, this application provides a computer-readable storage medium, characterized in that it includes computer instructions that, when executed on an electronic device, cause the electronic device to perform a processing method.

[0018] Fourthly, this application provides a computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to perform a processing method.

[0019] For the other beneficial effects mentioned above, please refer to the description of the beneficial effects of the method, which will not be repeated here. Attached Figure Description

[0020] Figure 1 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown;

[0021] Figure 2 A schematic diagram of the software structure of the electronic device provided in an embodiment of this application is shown;

[0022] Figure 3 A schematic diagram of the user interface for broadcast messages provided in an embodiment of this application is shown;

[0023] Figure 4 A flowchart illustrating the processing of broadcast messages provided in an embodiment of this application is shown;

[0024] Figure 5 This illustration shows a flowchart of establishing a memory-based broadcast message cache according to an embodiment of this application;

[0025] Figure 6 This illustration shows another flowchart for establishing a memory-based broadcast message cache according to an embodiment of this application;

[0026] Figure 7 A flowchart illustrating the processing of broadcast messages provided in an embodiment of this application is shown;

[0027] Figure 8 A flowchart illustrating the processing of broadcast messages provided in an embodiment of this application is shown;

[0028] Figure 9 A schematic diagram of the modules of the electronic device provided in an embodiment of this application is shown;

[0029] Figure 10 This illustration shows another module diagram of the electronic device provided in an embodiment of this application. Detailed Implementation

[0030] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0031] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "a plurality of" means two or more.

[0032] This application provides an information processing method and an electronic device. The electronic device can be a mobile phone, tablet computer, wearable device (e.g., watch, bracelet, helmet, earphone, etc.), in-vehicle device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc. It is understood that this application does not limit the specific type of electronic device.

[0033] For example, Figure 1 A schematic diagram of the hardware structure of the electronic device 100 is shown. (For example...) Figure 1As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0034] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that processor 110 has recently used or is repeatedly used. If processor 110 needs to reuse an instruction or data, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of processor 110, and thus improves system efficiency.

[0035] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0036] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0037] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0038] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0039] The display screen 194 is used to display the display interface of an application, such as the viewfinder of a camera application. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.

[0040] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and software code for at least one application (e.g., Huawei video application, wallet, etc.). The data storage area may store data generated during the use of electronic device 100 (e.g., captured images, recorded videos, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0041] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, images, videos, and other files can be saved on the external memory card.

[0042] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0043] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0044] Understandable, Figure 1 The components shown do not constitute a specific limitation on the electronic device 100. The electronic device 100 may also include more or fewer components than shown, or combine some components, or separate some components, or have different component arrangements. Furthermore, Figure 1 The combination / connection relationships between the components can also be adjusted and modified. It is understood that this application uses a mobile phone as an example of electronic device 100 for illustration.

[0045] In some possible embodiments, the devices for storing data in the electronic device 100 include random access memory (RAM) and read-only memory (ROM). Random access memory is often called RAM, and the data on RAM will be automatically lost after power is turned off, while the data on read-only memory will remain after power is turned off.

[0046] Figure 2 This is a software structure block diagram of the electronic device 100 according to an embodiment of this application.

[0047] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: the application layer, the application framework layer, the Android runtime (ART) and native C / C++ libraries, the Hardware Abstraction Layer (HAL), and the kernel layer.

[0048] The application layer can include a series of application packages.

[0049] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0050] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0051] like Figure 2 As shown, the application framework layer may include a window manager, content provider, view system, resource manager, notification manager, activity manager, input manager, etc.

[0052] The window manager provides Window Manager Service (WMS), which can be used for window management, window animation management, surface management, and as a relay station for the input system.

[0053] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, etc.

[0054] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0055] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0056] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0057] The Activity Manager Service (AMS) can be used to start, switch, and schedule system components (such as activities, services, content providers, and broadcast receivers), as well as manage and schedule application processes.

[0058] The Input Manager Service (IMS) provides input management services, which can be used to manage system inputs such as touchscreen input, keypad input, and sensor input. IMS retrieves events from input device nodes and, through interaction with the WMS (Windows Management System), distributes these events to appropriate windows.

[0059] The Android runtime consists of the core libraries and the Android runtime itself. The Android runtime is responsible for converting source code into machine code. The Android runtime primarily employs ahead-of-time (AOT) compilation and just-in-time (JIT) compilation techniques.

[0060] The core library primarily provides basic Java class library functionalities, such as libraries for fundamental data structures, mathematics, I / O, tools, databases, and networking. It also provides APIs for users to develop Android applications.

[0061] Native C / C++ libraries can include multiple functional modules. Examples include: surface manager, media framework, libc, OpenGL ES, SQLite, Webkit, etc.

[0062] The Surface Manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The Media Framework supports playback and recording of various common audio and video formats, as well as still image files. The Media Library supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. OpenGL ES provides drawing and manipulation of 2D and 3D graphics in applications. SQLite provides a lightweight relational database for applications on the electronic device.

[0063] The Hardware Abstraction Layer (HAL) runs in user space, encapsulates kernel-level drivers, and provides calling interfaces to the upper layers.

[0064] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0065] In some possible embodiments, the public warning system can use the government as the information source and broadcast emergency information via the operator's network and cell broadcasts to remind the public to respond promptly to natural disasters and emergencies. Because the sending mechanism sends messages indiscriminately to all mobile network electronic devices within the operator's base station coverage area, the accuracy and uniqueness of the messages cannot be guaranteed. Therefore, a single warning event will send many duplicate broadcast messages to ensure that users in the area within a certain time period receive them. An example broadcast message is as follows... Figure 3 As shown.

[0066] In some possible implementations, when the public warning system sends multiple broadcast messages, the mobile phone receives multiple broadcast messages and displays each received broadcast message on the screen. This notification method allows the mobile phone to optionally display pop-up notifications multiple times to alert the user of received broadcast messages, and optionally play warning sounds multiple times, thus preventing the user from using other functions of the phone and severely impacting the user's normal user experience.

[0067] In some possible embodiments, when the public warning system sends multiple broadcast messages, the mobile phone's cell broadcast application stores the received broadcast messages in memory. When a new broadcast message is received, it compares the received broadcast message with the broadcast message stored in memory. If the two messages are the same, the electronic device does not indicate that a broadcast message has been received; if the two messages are different, the electronic device indicates that a broadcast message has been received. Optionally, the electronic device stores the broadcast message in memory as the received raw data; alternatively, the electronic device converts the format of the broadcast message before storing it in memory. This application imposes limitations on this approach.

[0068] In this way, electronic devices can avoid repeatedly reminding users of broadcast messages that have already been sent by comparing the received broadcast messages with those stored in memory. However, in some cases, when the cell broadcast application has a low priority or the electronic device has limited memory, the cell broadcast application can easily be cleared. If the cell broadcast application is cleared, the previously received broadcast messages cached in memory will also be cleared, resulting in a lack of comparison data when the next broadcast message is received, thus reminding the user again and causing the problem of repeated cell broadcast reminders.

[0069] In some possible embodiments, the cell broadcast application, in addition to maintaining cell broadcasts cached in memory, also caches cell broadcasts in read-only memory. Each time the cell broadcast application is cleaned up, when it receives a broadcast message and starts up, it reads the cached broadcast message from the read-only memory and uses it as the basis for determining whether the currently received broadcast message is a duplicate. In this way, duplicate broadcast message alerts caused by the cell broadcast application being cleaned up can be avoided, and because the determination of whether a broadcast message is duplicated is based on the broadcast message in memory, the speed of the determination is improved.

[0070] The following is a specific embodiment of this solution.

[0071] S401. After receiving a broadcast message from the public warning system, the cell broadcast application checks whether the broadcast message already exists in the broadcast message cache in memory. In other embodiments, after receiving a broadcast message from the public warning system, the cell broadcast application performs format conversion, processing, and other operations on the received broadcast message, and then checks whether the broadcast message already exists in the broadcast message cache in memory.

[0072] S402. When the cell broadcast application determines that the received broadcast message already exists in the broadcast message cache in memory, it does not notify the user of the broadcast message. In some embodiments, not notifying the user of the broadcast message means that the cell broadcast application ignores the broadcast message and does not perform any other operations related to the broadcast message. In other embodiments, not notifying the user of the broadcast message means that the cell broadcast application discards the broadcast message.

[0073] S403. When the cell broadcast application determines that the broadcast message cache in memory does not contain the broadcast message received this time, execute the following steps S403-1 to S403-3.

[0074] S403-1. The community broadcast application notifies the user of the broadcast message; the optional notification method is display on an electronic device. Figure 3 The user interface shown can also provide optional prompts for electronic devices, including voice broadcasts, but this application does not limit this.

[0075] S403-2. The community broadcast application adds the received broadcast message to the broadcast message cache in memory.

[0076] S403-3. The cell broadcast application adds the received broadcast message to the broadcast message cache of the read-only memory. In some embodiments, the broadcast message is stored in the database of the read-only memory; in some embodiments, the broadcast message is stored in a file of the read-only memory, for example, the content of the broadcast is stored in an SP (SharedPreferences) file in XML format.

[0077] In some possible embodiments, when the cell broadcast application executes step 402, it also compares the time of receiving the current broadcast message with the reception time of repeated broadcast messages in the memory cache. When the time exceeds a certain time threshold, it is considered a new broadcast message, and step S403 is executed. This time threshold can be 6 hours, 12 hours, 18 hours, or 24 hours, and this application does not limit it.

[0078] The following describes the process of establishing an initial cache for the community broadcast application.

[0079] S501. The community broadcast application received a broadcast message;

[0080] S502. The cell broadcast application starts and calls the broadcast message cache in read-only memory to establish a broadcast message cache in memory.

[0081] Next, the cell broadcast application executes steps S401-S403 to achieve timely notification of broadcast messages and prevent repeated notifications to the user of broadcast messages that have already been received.

[0082] In other embodiments, when the cell broadcast application is a persistent application, the following process is executed after it is cleared by the electronic device.

[0083] S601. Community broadcast application starts automatically;

[0084] S602. The community broadcast application calls the broadcast message cache in the read-only memory to establish a broadcast message cache in memory.

[0085] In this way, when the cell broadcast application is cleaned up, it can generate a broadcast message cache in memory through self-starting, thereby reducing the time that the application only starts to generate cache messages when a broadcast message is received in S501-502.

[0086] In other embodiments, the cell broadcast application may establish an initialization cache by following these steps.

[0087] S701. The community broadcast application received a broadcast message;

[0088] S702. The cell broadcast application starts and checks whether the broadcast message cache in the read-only memory contains a received broadcast message. If it exists, the broadcast message is ignored and the user is not notified of the broadcast message. If it does not exist, the steps in S403-1 to S403-3 are executed.

[0089] S703. The cell broadcast application calls the broadcast message cache in read-only memory to establish a broadcast message cache in memory.

[0090] It is understood that steps S702 and S703 can be executed sequentially; steps S702 and S703 can also be executed in parallel, and this application does not impose any restrictions on this.

[0091] In this way, when the cell broadcast application is cleaned up, it can quickly determine whether to remind users of the received broadcast message when it is restarted due to receiving a broadcast message, and establish a broadcast message cache in memory.

[0092] In some embodiments, Figure 8 This application illustrates one scheme for processing broadcast messages, which can be... Figure 4 plans and Figure 5 The combination of solutions will not be elaborated upon in this application.

[0093] In some embodiments, the cell broadcast application stores the received broadcast messages in memory or read-only memory in their original data format. In other embodiments, the cell broadcast application stores the identifier, serial number, location information, and information body of the received broadcast message in memory or read-only memory; in still other embodiments, the cell broadcast application performs a hash operation on the identifier, serial number, and information body of the received broadcast message, and then stores the hash value in memory or read-only memory.

[0094] In some possible implementations, embodiments of this application provide an electronic device including a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the electronic device performs an information processing method.

[0095] In some possible implementations, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform an information processing method.

[0096] In some possible implementations, embodiments of this application provide a structural schematic diagram of a portable electronic device 100, such as... Figure 9 As shown, it includes one or more processing units 901, storage units 902 and communication units 903, and can execute an information processing method provided in the embodiments of this application.

[0097] In some possible implementations, embodiments of this application provide a schematic diagram of the structure of a portable electronic device 100. When the processing unit 1001 is a processor, the storage unit 1002 is a memory, and the communication unit 1003 is a communication module, as shown below... Figure 10 As shown, the portable electronic device 100 includes one or more processors 1001, a memory 1002, and a communication module 1003, which can execute an information processing method provided in the embodiments of this application.

[0098] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.

[0099] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An information processing method, characterized in that, The method, applied to cell broadcasting applications, includes: Received a message broadcast over the community's public address system; Check if the broadcast message cache in the random access memory (RAM) already contains the broadcast message for the cell; If the cell broadcast message exists in the broadcast message cache in the RAM, the cell broadcast message will not be displayed. If the cell broadcast message is not present in the broadcast message cache in the RAM, the broadcast message is prompted, and the cell broadcast message is added to the broadcast message cache in the RAM and the broadcast message cache in the read-only memory ROM respectively. After the cell broadcast application is cleaned up, the method further includes: The cell broadcast application receives the cell broadcast message; When the cell broadcast application starts, it calls the broadcast message cache in the ROM to generate the broadcast message cache in the RAM; or... The community broadcast application starts automatically; When the cell broadcast application starts, it calls the broadcast message cache in the ROM to generate the broadcast message cache in the RAM.

2. The method according to claim 1, characterized in that, The cell broadcast message is either a CMAS broadcast message or an ETWS broadcast message.

3. The method according to claim 1, characterized in that, The step of adding the cell broadcast message to the broadcast message cache in the RAM and the broadcast message cache in the read-only memory ROM respectively further includes: The cell broadcast message is stored in the RAM or the read-only memory in its original data format.

4. The method according to claim 1, characterized in that, The step of adding the cell broadcast message to the broadcast message cache in the RAM and the broadcast message cache in the read-only memory ROM respectively further includes: The identifier, serial number, location information, and message body of the cell broadcast message are stored in the RAM or the read-only memory.

5. The method according to claim 1, characterized in that, The step of adding the cell broadcast message to the broadcast message cache in the RAM and the broadcast message cache in the read-only memory ROM respectively further includes: The cell broadcast message is hashed and then stored in the RAM and the read-only memory.

6. The method according to claim 1, characterized in that, The step of querying whether the broadcast message cache in the random access memory (RAM) already contains the cell broadcast message also includes: Determine whether the time between the reception time of the cell broadcast message and the reception time of the same cell broadcast message in the broadcast message buffer is greater than a first time threshold. If it is greater, proceed with the following steps.

7. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the electronic device performs the information processing method as described in any one of claims 1-6.

8. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the information processing method as described in any one of claims 1-6.

9. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the information processing method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Message receiving apparatus, processing method and communication terminal

    CN101500199A

  • Method and equipment for identifying repeated information

    CN102541918A

  • Method and system for data transmission

    CN102710774A

  • Intelligent duplication detection for wireless emergency alerts in devices

    US10499204B1