+

WO2018161573A1 - Procédé et appareil d'ajustement de file d'attente de récepteurs de diffusion, support de stockage et dispositif électronique - Google Patents

Procédé et appareil d'ajustement de file d'attente de récepteurs de diffusion, support de stockage et dispositif électronique Download PDF

Info

Publication number
WO2018161573A1
WO2018161573A1 PCT/CN2017/106605 CN2017106605W WO2018161573A1 WO 2018161573 A1 WO2018161573 A1 WO 2018161573A1 CN 2017106605 W CN2017106605 W CN 2017106605W WO 2018161573 A1 WO2018161573 A1 WO 2018161573A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadcast
queue
broadcast receiver
receiver
preset
Prior art date
Application number
PCT/CN2017/106605
Other languages
English (en)
Chinese (zh)
Inventor
裴润升
付亮晶
吴汝煜
林志泳
张俊
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161573A1 publication Critical patent/WO2018161573A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Definitions

  • the embodiments of the present invention relate to computer technologies, and in particular, to a broadcast receiver queue adjustment method, apparatus, storage medium, and electronic device.
  • Broadcast is a widely used mechanism for transmitting information between applications. Taking the Android operating system as an example, it uses broadcast to realize data transmission and sharing between applications. Typically, such as Android's own text messages, telephones and other broadcasts.
  • the present application provides a broadcast receiver queue adjustment method, apparatus, storage medium, and electronic device, which improves broadcast processing efficiency, reduces system resource consumption, and increases system stability.
  • the embodiment of the present application provides a broadcast receiver queue adjustment method, including:
  • the process corresponding to the broadcast receiver is traversed, and the broadcast receiver whose process activity meets the preset condition is set at the front end of the broadcast receiving queue.
  • the embodiment of the present application further provides a broadcast receiver queue adjustment apparatus, including:
  • An obtaining module configured to acquire a broadcast message to be sent in a broadcast sending queue
  • a receiver determining module configured to determine a broadcast receiver corresponding to the broadcast message to be sent
  • a process traversal module configured to traverse a process corresponding to the broadcast receiver
  • the queue adjustment module is configured to set a broadcast receiver whose process activity meets a preset condition to a front end of the broadcast receiving queue.
  • an embodiment of the present application provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform the steps in the broadcast receiver queue adjustment method.
  • an embodiment of the present application further provides an electronic device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
  • the process corresponding to the broadcast receiver is traversed, and the broadcast receiver whose process activity meets the preset condition is set at the front end of the broadcast receiving queue.
  • the present application provides a broadcast receiver queue adjustment method, apparatus, storage medium, and electronic device, which improves broadcast processing efficiency, reduces system resource consumption, and increases system stability.
  • FIG. 1 is a flowchart of a broadcast receiver queue adjustment method according to an embodiment of the present application.
  • FIG. 2 is a flowchart of another method for adjusting a broadcast receiver queue according to an embodiment of the present application.
  • FIG. 3 is a flowchart of still another method for adjusting a broadcast receiver queue according to an embodiment of the present application.
  • FIG. 4 is a structural block diagram of a broadcast receiver queue adjustment apparatus according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the broadcast sender sends a broadcast message by calling the sendBroadcast function
  • the broadcast receiver registers the broadcast receiver (BroadcastReceiver) in the management module by calling the registerReceiver function, and defines a broadcast message of interest to the broadcaster. To achieve the reception of the corresponding broadcast message.
  • a broadcast receiver has a defect in receiving a broadcast transmitted by a broadcast sender, so that the broadcast processing efficiency is low, system resource consumption is excessive, and stability is poor.
  • the embodiment of the present application provides a broadcast receiver queue adjustment method, including:
  • the process corresponding to the broadcast receiver is traversed, and the broadcast receiver whose process activity meets the preset condition is set at the front end of the broadcast receiving queue.
  • the determining, by the broadcast receiver corresponding to the broadcast message to be sent includes:
  • the process activity characterizes a state of a process run by the broadcast recipient, wherein the state includes a state of a corresponding process in a current running process of the broadcast recipient, and/or the broadcast The state of the process corresponding to the receiver during the history run.
  • setting the broadcast receiver whose process activity meets the preset condition to the front end of the broadcast receiving queue includes:
  • the broadcast receiver corresponding to the currently running process of the system is set at the front end of the broadcast receiving queue.
  • setting the broadcast receiver corresponding to the currently running process of the system to the front end of the broadcast receiving queue includes:
  • the broadcast receiver corresponding to the process that is consistent with the system foreground process is set in the head of the broadcast receiving queue.
  • setting the broadcast receiver whose process activity meets the preset condition to the front end of the broadcast receiving queue includes:
  • the order of the broadcast recipients in the broadcast receiver queue is adjusted in the order in which the broadcast recipients are arranged in the preset broadcast receiving list.
  • the method further includes:
  • FIG. 1 is a flowchart of a method for adjusting a broadcast receiver queue according to an embodiment of the present disclosure. This embodiment may be applicable to adjusting a broadcast receiver queue. The method may be provided by the embodiment of the present application.
  • the electronic device is configured to be implemented by a software and/or hardware. As shown in FIG. 1 , the specific solution provided in this embodiment is as follows:
  • the broadcast sender's service process sends a broadcast message to the management module (such as ActivityManagerService, activity management service) by calling a broadcast send function (such as the sendBroadcast function), and the management module puts the broadcast message and puts it into the broadcast process.
  • the broadcast transmission queue the management module transmits the broadcast message in the broadcast transmission queue to the broadcast receiver that meets the reception condition through a process communication mechanism (such as a Binder process communication mechanism).
  • the broadcast sending queue may be a serial broadcast sending queue or a parallel broadcast sending queue.
  • the broadcast message refers to information transmitted by the system or application during operation for transmission between the system and/or the application.
  • the broadcast message may be a system initiated broadcast message, a short message. Class broadcast messages, telephony-like broadcast messages, or three-party application class broadcast messages.
  • the broadcast sending queue is generated and managed by the management module. The broadcast message to be sent can be interpreted as the upcoming broadcast message currently being processed in the broadcast sending queue.
  • the broadcast receiver corresponding to the broadcast message to be transmitted refers to the broadcast receiver that meets the receiving condition.
  • the broadcast recipient registers (subscribes) a broadcast recipient that received the broadcast message to the management module via a process communication mechanism.
  • the service process of the broadcast receiver performs registration of the broadcast receiver in the management module by calling the registerReceiver function, and defines a broadcast message of interest to the broadcast module, and the management module transmits the broadcast message in the broadcast transmission queue according to the broadcast receiver.
  • the registration status, the broadcast message is sent to the corresponding message loop queue of the broadcast receiver to which the subscription is made, and the broadcast receiver receives the broadcast message and then calls back the receiving method in the registered broadcast receiver (eg, onReceive method) To perform the corresponding function to process the broadcast message.
  • Each broadcast message may have one or more corresponding broadcast recipients.
  • the broadcast sender eg, application A
  • the management module may send the broadcast message to one (eg, application B).
  • a plurality of broadcast recipients such as application C, application D, application E, etc.
  • the number of corresponding broadcast recipients depends on the number of broadcast recipients registered to receive the broadcast message.
  • the process in which the broadcast sender transmits the broadcast message and the process in which the broadcast receiver receives the broadcast message are asynchronous operation processes, and the broadcast sender and the broadcast receiver achieve low-coupling relationship matching through the management module.
  • the broadcast message can be divided into a normal broadcast message and an ordered broadcast message according to different broadcast transmission modes. After the normal broadcast message is sent by the management module, the broadcast receiver receives the broadcast message unordered, and after the broadcast message is sent by the management module, the broadcast receiver sequentially receives the order, that is, the first broadcast receiver. After receiving the broadcast message and processing it, the second broadcast receiver can start receiving and processing the broadcast message, and so on.
  • the broadcast receiver corresponding to the broadcast message cannot receive the broadcast message at the same time, and the broadcast receiver needs to sequentially receive and process the broadcast message according to the order of reception.
  • the order in which a plurality of broadcast recipients receive and process broadcast messages is embodied in the form of a broadcast receiver queue.
  • the order in which the broadcast receiver receives the broadcast message in the broadcast queue may be determined according to the default parameters of the broadcast receiver, or may be determined according to default conditions preset by the system, and cannot be determined according to the specific operation process of the system. The operating parameters are adjusted for the broadcast receiver queue.
  • the broadcast receiver needs to receive the broadcast message in sequence according to the broadcast receiver queue, so that different broadcast receivers receive the broadcast message in different time sequences, and some broadcast receivers cannot receive the broadcast message in time, so that important broadcast messages cannot be processed in time.
  • a broadcast receiver of a broadcast message to be sent in an application running on the current interface of the system, and the broadcast receiver is located at the end of the broadcast receiver queue, after the broadcast message is sent, the current interface of the system is running.
  • the application cannot receive and process the broadcast message in the first time, which reduces the efficiency of the application in the current interface to the broadcast message.
  • the broadcast receiver receives the disorder of the broadcast message, it is not possible for a particular broadcast recipient to receive the broadcast at the first time, but depends on the operating efficiency of the system.
  • the process corresponding to the broadcast receiver is traversed, wherein the broadcast receiver starts the corresponding process during the running process, and the process refers to the program in the system about a certain data set.
  • the running activity on the system is the basic unit for resource allocation and scheduling, and is the basis of the system structure. It is the basic execution entity of the application.
  • the process activity indicates the state of the process running by the broadcast receiver, where may be the state of the corresponding process in the current running process of the broadcast receiver, or may be the state of the process corresponding to the broadcast receiver during the historical running process.
  • the broadcast receiver whose process activity meets the preset condition is set at the front end of the broadcast receiving queue, and the broadcast receiver queue is adaptively adjusted, so that some broadcast receivers whose process activity meets the preset condition are arranged in the broadcast receiver.
  • the queue front end receives broadcast messages as soon as possible.
  • the process activity refers to whether the process is running in the system
  • the preset condition means that the process is running in the system.
  • setting the broadcast receiver whose process activity meets the preset condition to the front end of the broadcast receiving queue includes: setting a broadcast receiver corresponding to the currently running process of the system to the front end of the broadcast receiving queue.
  • the broadcast recipient is set at the front end of the broadcast receiver queue by judging whether the process corresponding to the broadcast receiver queued in the broadcast receiver queue is in the operating state in the system.
  • the currently running process of the system is a real-time execution process that has been started. By setting the corresponding broadcast receiver in the front position of the queue, it can quickly get the broadcast message and perform processing even if it is processed.
  • the broadcast receiver in the non-operational state is woken up.
  • the broadcast receiver whose process activity meets the preset condition is set at the front end of the broadcast receiving queue, and may be, when traversing the process corresponding to the broadcast receiver, when the process is determined to be in the running state, the broadcast is performed.
  • the receiver is removed from the broadcast receiver queue and inserted into the queue of the broadcast queue.
  • the process corresponding to the broadcast receiver is in the running state, the same operation is performed, and the determined broadcast receiver is set in the adjusted state.
  • the head of the new broadcast receiver queue In an embodiment, the process corresponding to the broadcast receiver is traversed, and the broadcast receiver corresponding to the running process is recorded. After the traversal is completed, the determined broadcast receiver is uniformly inserted into the queue front end, and the specific It may be inserted sequentially according to the order of the broadcast receivers determined during the traversal process, or may be randomly inserted into the front end of the queue. In another embodiment, the front end of the broadcast receiver queue may be a preset location of a broadcast receiver queue, which may be the top 20% of the broadcast receiver queues.
  • the broadcast receiver queue adjustment method sets the broadcast receiver whose process activity meets the preset condition to the front end of the broadcast receiving queue by traversing the process corresponding to the broadcast receiver of the broadcast message to be transmitted.
  • a new broadcast receiver queue (either a new broadcast receiver queue or a modified original broadcast receiver queue), which improves broadcast processing efficiency, reduces system resource consumption, and increases system stability.
  • FIG. 2 is a flowchart of another method for adjusting a broadcast receiver queue according to an embodiment of the present application.
  • a broadcast receiver corresponding to a process currently running in the system is set to receive in broadcast.
  • the front end of the queue includes: setting the broadcast receiver corresponding to the currently running process of the system to the front end of the broadcast receiving queue.
  • the running of the process may be a foreground running process, a background implicit execution process, and a stopped running process.
  • the current running information of the process corresponding to the broadcast receiver can be obtained, and the broadcast receiver queue is adjusted and reordered according to the current running information of the process corresponding to the broadcast receiver, for example,
  • the broadcast receiver corresponding to the foreground running process is set in the queue of the broadcast receiver queue, and the broadcast receiver corresponding to the stopped running process is set at the end of the broadcast receiver queue to ensure that the broadcast receiver corresponding to the system foreground process can Receive broadcast messages to be sent in time.
  • the embodiment of the present invention provides a broadcast receiver queue adjustment method, which sets a broadcast receiver corresponding to a process that is consistent with a system foreground process in a queue of a broadcast receiving queue by traversing a process corresponding to a broadcast receiver of a broadcast message to be transmitted.
  • a new broadcast receiver queue is formed to ensure that the broadcast receiver corresponding to the foreground process can receive the broadcast message to be sent in time, wherein the foreground process is mostly a process in which the system needs to process the message in real time, such as an operation interface of the electronic device.
  • the foreground process receiving the broadcast message at the first time to process the broadcast message can significantly improve the response speed of the system to the broadcast message, and solves the problem that the current foreground process of the system in the existing broadcast receiving mechanism cannot be the first time.
  • the problem of receiving broadcast information improves the broadcast receiving efficiency and reduces the system resource consumption.
  • the foreground process is more dependent on the broadcast message during the running process, if the waiting time is long, it will appear in a certain period of time. In the case of no response, the scheme of this embodiment is adopted. We have a significant increase in system stability.
  • FIG. 3 is a flowchart of another method for adjusting a broadcast receiver queue according to an embodiment of the present application.
  • a broadcast receiver whose process activity meets a preset condition is set in a broadcast receiving manner.
  • the front end of the queue includes: adjusting the order of the broadcast receivers in the broadcast receiver queue according to the order of the broadcast recipients in the preset broadcast receiving list.
  • the preset broadcast receiving list may be determined by the system according to the process information corresponding to the broadcast receiver and/or the historical order of the broadcast receiver receiving the broadcast message. After the preset broadcast receiving list is determined, the preset list may be updated at a preset time (eg, 1 day, 3 days, or 5 days), and the broadcaster is sequentially adjusted according to the broadcast in the broadcast receiving queue. The order of the broadcast recipients in the receiving list is adaptively adjusted.
  • a preset time eg, 1 day, 3 days, or 5 days
  • the order of the broadcast recipients in the broadcast receiving list is from the front to the back of the broadcast receiver 1, the broadcast receiver 2, the broadcast receiver 5, the broadcast receiver 8, and the broadcast receiver 3, and the broadcast receiver queue is
  • the order of the front to the back is the broadcast receiver 10
  • the order of the broadcast receivers in the adjusted broadcast receiver queue is the broadcast receiver 2, the broadcast receiver 5, and the broadcast receiver. 10.
  • the preset broadcast receiving list is in the process of forming, according to the traversal result of the process corresponding to the broadcast receiver, if there is a process in the process corresponding to the broadcast receiver that is the same as the current foreground process of the system, The broadcast receiver corresponding to the current foreground process of the system in the broadcast receiving list is adjusted to the first bit of the preset broadcast receiving list, and the preset broadcast receiving list is sequentially adjusted.
  • the preset broadcast receiving list is in the forming process, according to the traversal result of the process corresponding to the broadcast receiver, if the activity level of the process corresponding to the broadcast receiver and the preset broadcast receiving list broadcast receiver are arranged in the order
  • the preset broadcast receiving list broadcast receiver arrangement order is adjusted according to the activity level of the process corresponding to the broadcast receiver in the current traversal result, and a new broadcast receiving list is formed.
  • the method further includes: adjusting, in an example, a sequence of broadcast receivers in the broadcast receiving list, and exemplarily, according to at least one of a running frequency, a running time, and a resource occupancy rate of the process corresponding to the broadcast receiver
  • the arrangement order of the broadcast recipients in the broadcast receiving list is adjusted to enable the broadcast receivers with high process activity to rank in the preset broadcast receiving list.
  • the activity level of the process corresponding to the broadcast receiver is determined according to one or more types of information such as the running frequency, the running time, and the resource occupancy rate, and is broadcasted in the preset broadcast receiving list according to the activity level of the process corresponding to the broadcast receiver.
  • the order of the receivers is adjusted.
  • the broadcast recipients are sequentially sorted according to the activity of the process, and the broadcast receiver corresponding to the process with the highest activity is set in the head of the broadcast receiving list, and the process with the lowest activity is selected.
  • the corresponding broadcast receiver is set at the end of the broadcast receiving list, so that the broadcast receiver corresponding to the most active process preferentially receives the to-be-broadcast message, which solves the problem that the active application in the existing broadcast receiving mechanism cannot receive the broadcast message in the first time.
  • the problem is to improve the efficiency of broadcast reception.
  • the running frequency, running time, and resource occupancy rate of the process are counted and recorded during the running of the process. The more frequently the process runs, the higher the activeness of the process, the longer the running time of the process, and the more active the process. High, the greater the resource usage of the process, the higher the activity of the process.
  • the corresponding relationship between the broadcast sender corresponding to the broadcast message to be sent and the adjusted broadcast receiving list is recorded and stored, and the adjusted broadcast receiving list is updated to a preset broadcast receiving list.
  • Sending the broadcast message determining the broadcast sender that sent the broadcast message, directly calling the corresponding preset broadcast receiving list to determine the order in which the broadcast receiver receives the broadcast message, and improving the preset broadcast receiving list to achieve the broadcast recipient ordering
  • the accuracy of the broadcast receiver queue corresponding to the broadcast message to be transmitted is reduced, which avoids the need to traverse the corresponding broadcast receiver process to adjust the resource consumption caused by the broadcast receiver queue, thereby further improving the broadcast receiving and processing efficiency.
  • the broadcast receiver queue adjustment method provided by the embodiment provides a broadcast receiver queue according to the order of the broadcast receivers in the preset broadcast receiving list by traversing the process corresponding to the broadcast receiver of the broadcast message to be transmitted.
  • the order of the broadcast receivers is adjusted in order to solve the problem of inefficiency of the existing broadcast receiving mechanism, improve the broadcast receiving and processing efficiency, and reduce the system resource consumption.
  • the embodiment of the present application further provides a broadcast receiver queue adjustment apparatus, including:
  • An obtaining module configured to acquire a broadcast message to be sent in a broadcast sending queue
  • a receiver determining module configured to determine a broadcast receiver corresponding to the broadcast message to be sent
  • a process traversal module configured to traverse a process corresponding to the broadcast receiver
  • the queue adjustment module is configured to set a broadcast receiver whose process activity meets a preset condition to a front end of the broadcast receiving queue.
  • the receiver determining module is specifically configured to:
  • the process activity characterizes a state of a process run by the broadcast recipient, wherein the state includes a state of a corresponding process in a current running process of the broadcast recipient, and/or the broadcast The state of the process corresponding to the receiver during the history run.
  • the queue adjustment module is specifically configured to:
  • the broadcast receiver corresponding to the currently running process of the system is set at the front end of the broadcast receiving queue.
  • the queue adjustment module is specifically configured to:
  • a process in which the process of the broadcast receiver is consistent with the foreground process of the foreground process is set in the queue of the broadcast receiver queue.
  • the queue adjustment module is specifically configured to:
  • the order of the broadcast recipients in the broadcast receiver queue is adjusted in the order in which the broadcast recipients are arranged in the preset broadcast receiving list.
  • the method further includes:
  • a list update module configured to adjust an order of broadcast receivers in the preset broadcast receiving list according to at least one of a running frequency, a running time, and a resource occupancy rate of a process corresponding to the broadcast receiver, so that the process is active
  • the high-level broadcast recipients are ranked first in the preset broadcast reception list.
  • FIG. 4 is a structural block diagram of a broadcast receiver queue adjustment apparatus according to an embodiment of the present disclosure, which is used to perform the broadcast receiver queue adjustment method provided by the foregoing embodiment, and has a corresponding function of the execution method. Modules and benefits.
  • the device specifically includes: an obtaining module 401, a receiver determining module 402, a process traversal module 403, and a queue adjusting module 404.
  • the obtaining module 401 is configured to acquire a broadcast message to be sent in a broadcast sending queue.
  • a receiver determining module 402 configured to determine a broadcast receiver corresponding to the broadcast message to be sent
  • a process traversal module 403, configured to traverse a process corresponding to the broadcast receiver
  • the queue adjustment module 404 is configured to set a broadcast receiver whose process activity meets a preset condition to a front end of the broadcast receiving queue.
  • the broadcast receiver to be sent in the broadcast transmission queue is obtained, and the broadcast receiver corresponding to the broadcast message to be sent is determined, and the process corresponding to the broadcast receiver is traversed, and the process activity is satisfied.
  • the broadcast receiver of the preset condition is set at the front end of the broadcast receiving queue, which improves the broadcast processing efficiency, reduces the system resource consumption, and increases the system stability.
  • the queue adjustment module 404 is specifically configured to:
  • the broadcast receiver corresponding to the currently running process of the system is set at the front end of the broadcast receiving queue.
  • the queue adjustment module 404 is specifically configured to:
  • a process in which the process of the broadcast receiver is consistent with the foreground process of the foreground process is set in the queue of the broadcast receiver queue.
  • the queue adjustment module 404 is specifically configured to:
  • the order of the broadcast recipients in the broadcast receiver queue is adjusted in the order in which the broadcast recipients are arranged in the preset broadcast receiving list.
  • the apparatus further comprises:
  • the list update module 405 is configured to adjust the order of the broadcast recipients in the preset broadcast receiving list according to at least one of a running frequency, a running time, and a resource occupancy rate of the process corresponding to the broadcast receiver, so that the process is performed.
  • the highly active broadcast recipients are ranked first in the preset broadcast reception list.
  • the broadcast receiver queue adjustment apparatus traverses the process corresponding to the broadcast receiver of the broadcast message to be transmitted, and queues the broadcast receiver according to the arrangement order of the broadcast receivers in the preset broadcast receiving list.
  • the order of the broadcast receivers is adjusted in order to solve the problem of inefficiency of the existing broadcast receiving mechanism, improve the broadcast receiving and processing efficiency, and reduce the system resource consumption.
  • the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by the processor in the steps in any of the foregoing embodiments.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the electronic device may include: a memory 501 and a central processing unit (Central). Processing Unit, CPU) 502, peripheral interface 503, RF (Radio) Frequency, RF circuit 505, audio circuit 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devices 510, and external port 504, these components are passed through one or A plurality of communication buses or signal lines 507 are in communication.
  • the illustrated electronic device 500 is merely one example of an electronic device, and that the electronic device 500 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the memory 501 can be accessed by the CPU 502, the peripheral interface 503, etc., and the memory 501 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 503 which can connect the input and output peripherals of the device to CPU 502 and memory 501.
  • the I/O subsystem 509 which can connect input and output peripherals on the device, such as touch screen 512 and other input/control devices 510, to peripheral interface 503.
  • the I/O subsystem 509 can include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510.
  • one or more input controllers 5092 receive electrical signals from other input/control devices 510 or transmit electrical signals to other input/control devices 510, and other input/control devices 510 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 5092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 512 is an input interface and an output interface between the user electronic and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 5091 in I/O subsystem 509 receives electrical signals from touch screen 512 or transmits electrical signals to touch screen 512.
  • the touch screen 512 detects the contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 512, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 512 can be operated.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 505 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 505 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 505 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) chipset, user identification module (Subscriber Identity Module, SIM) and more.
  • CODEC COder-DECoder, codec
  • the audio circuit 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 511.
  • the speaker 511 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 505 to sound and play the sound to the user.
  • the power management chip 508 is used for power supply and power management of the hardware connected to the CPU 502, the I/O subsystem, and the peripheral interface.
  • the CPU 502 provided by the embodiment of the present application may perform the following operations:
  • the process corresponding to the broadcast receiver is traversed, and the broadcast receiver whose process activity meets the preset condition is set at the front end of the broadcast receiving queue.
  • the CPU 502 when the broadcast receiver whose process activity meets the preset condition is set in the front end of the broadcast receiving queue, the CPU 502 is configured to perform the following steps:
  • the broadcast receiver corresponding to the currently running process of the system is set at the front end of the broadcast receiving queue.
  • the CPU 502 when the broadcast receiver corresponding to the currently running process of the system is set in the front end of the broadcast receiving queue, the CPU 502 is configured to perform the following steps:
  • the broadcast receiver corresponding to the process that is consistent with the system foreground process is set in the head of the broadcast receiving queue.
  • the CPU 502 when the broadcast receiver whose process activity meets the preset condition is set in the front end of the broadcast receiving queue, the CPU 502 is configured to perform the following steps:
  • the order of the broadcast recipients in the broadcast receiver queue is adjusted in the order in which the broadcast recipients are arranged in the preset broadcast receiving list.
  • the CPU 502 is further configured to perform the following steps:
  • the storage medium may include: a read only memory (ROM, Read) Only Memory), Random Access Memory (RAM), disk or CD.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

La présente invention concerne un procédé d'ajustement de file d'attente de récepteurs de diffusion. Ledit procédé comprend : l'obtention de messages de diffusion à envoyer dans une file d'attente d'envoi de diffusion ; la détermination de récepteurs de diffusion correspondant aux messages de diffusion à envoyer ; et l'exécution de processus correspondant aux récepteurs de diffusion, et le réglage de récepteurs de diffusion dont une activité de processus satisfait une condition prédéfinie au début de la file d'attente de réception de diffusion. Des modes de réalisation de la présente invention concernent en outre un appareil d'ajustement de file d'attente de récepteurs de diffusion, un support de stockage et un dispositif électronique.
PCT/CN2017/106605 2017-03-10 2017-10-17 Procédé et appareil d'ajustement de file d'attente de récepteurs de diffusion, support de stockage et dispositif électronique WO2018161573A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710141944.4 2017-03-10
CN201710141944.4A CN106919461B (zh) 2017-03-10 2017-03-10 广播接收者队列调整方法、装置和终端设备

Publications (1)

Publication Number Publication Date
WO2018161573A1 true WO2018161573A1 (fr) 2018-09-13

Family

ID=59462138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106605 WO2018161573A1 (fr) 2017-03-10 2017-10-17 Procédé et appareil d'ajustement de file d'attente de récepteurs de diffusion, support de stockage et dispositif électronique

Country Status (2)

Country Link
CN (1) CN106919461B (fr)
WO (1) WO2018161573A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119537039A (zh) * 2025-01-22 2025-02-28 中国人民解放军国防科技大学 基于自适应任务解锁的异步保守时间管理方法和装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919461B (zh) * 2017-03-10 2022-07-15 Oppo广东移动通信有限公司 广播接收者队列调整方法、装置和终端设备
CN118890317B (zh) * 2024-09-20 2025-02-14 荣耀终端有限公司 广播分发方法、芯片、电子设备及介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095902A (zh) * 2011-11-07 2013-05-08 联想(北京)有限公司 信息处理方法和设备
CN106919461A (zh) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 广播接收者队列调整方法、装置和终端设备

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711620B1 (en) * 1999-04-14 2004-03-23 Matsushita Electric Industrial Co. Event control device and digital broadcasting system
US8130917B2 (en) * 2006-12-21 2012-03-06 Verizon Data Services Llc Method and apparatus for group messaging
CN101436146B (zh) * 2008-12-15 2012-05-09 中兴通讯股份有限公司 动态调节远程设备管理进程的优先级的方法及系统
CN102375763B (zh) * 2010-08-20 2013-06-19 中国移动通信集团公司 一种用于实现进程间通信的系统和方法
CN102479108B (zh) * 2010-11-26 2013-09-11 中国科学院声学研究所 一种多应用进程的嵌入式系统终端资源管理系统及方法
CN102890628B (zh) * 2011-07-20 2015-09-30 中国电信股份有限公司 目标对象的显示方法和装置
US9154840B2 (en) * 2012-07-31 2015-10-06 Sony Corporation Reception apparatus, reception method, transmission apparatus, and transmission method
CN104254074B (zh) * 2013-06-28 2020-08-07 腾讯科技(深圳)有限公司 一种拦截骚扰短消息的方法和装置
CN103491507B (zh) * 2013-09-05 2017-08-01 广东欧珀移动通信有限公司 一种有序广播优先级重定位的方法及装置
CN103634636B (zh) * 2013-11-13 2017-10-24 Tcl集团股份有限公司 一种Android智能电视的应用快捷操控方法和系统
CN103593217B (zh) * 2013-11-26 2016-10-26 广东欧珀移动通信有限公司 一种调整耳机的hook键启动应用次序的方法及终端
CN103826008B (zh) * 2014-02-18 2016-01-06 华为终端有限公司 一种移动终端通知消息提示方法、装置及移动终端
CN105791990A (zh) * 2014-12-15 2016-07-20 深圳Tcl数字技术有限公司 智能电视的全局按键处理方法及其系统
CN104601801B (zh) * 2014-12-24 2017-05-17 广东欧珀移动通信有限公司 一种移动终端锁屏连接WiFi热点的方法及系统
CN104461725B (zh) * 2014-12-30 2018-05-08 小米科技有限责任公司 控制应用进程启动的方法及装置
CN105142165B (zh) * 2015-06-25 2018-12-25 小米科技有限责任公司 查找终端设备的方法及装置
CN105357648A (zh) * 2015-10-10 2016-02-24 上海斐讯数据通信技术有限公司 向应用程序发送广播消息的方法及Android系统
CN105335243A (zh) * 2015-11-30 2016-02-17 上海斐讯数据通信技术有限公司 安卓系统中的广播信息运行方法及系统
CN105933369B (zh) * 2015-12-24 2019-05-10 中国银联股份有限公司 一种消息转发方法及设备
CN106201611B (zh) * 2016-07-07 2019-07-23 北京小米移动软件有限公司 运行应用的方法及装置
CN106484473A (zh) * 2016-09-29 2017-03-08 Tcl集团股份有限公司 一种应用启动方法和装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095902A (zh) * 2011-11-07 2013-05-08 联想(北京)有限公司 信息处理方法和设备
CN106919461A (zh) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 广播接收者队列调整方法、装置和终端设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119537039A (zh) * 2025-01-22 2025-02-28 中国人民解放军国防科技大学 基于自适应任务解锁的异步保守时间管理方法和装置

Also Published As

Publication number Publication date
CN106919461A (zh) 2017-07-04
CN106919461B (zh) 2022-07-15

Similar Documents

Publication Publication Date Title
WO2018161593A1 (fr) Procédé de traitement de diffusion, dispositif, support de stockage, et dispositif terminal
WO2018021678A1 (fr) Dispositif électronique et son procédé de fonctionnement
WO2020050533A1 (fr) Dispositif électronique prenant en charge l'accès à des supports sans fil à l'aide d'un instant d'activation cible (twt) défini dans la norme ieee 802.11
WO2015005606A1 (fr) Procédé de commande d'une fenêtre de dialogue en ligne et dispositif électronique l'implémentant
WO2018161575A1 (fr) Procédé et dispositif de réglage d'une file d'attente de messages de diffusion, support de stockage et terminal
WO2018076867A1 (fr) Procédé, dispositif et système de suppression de sauvegarde de données, support de mémoire et serveur
WO2018161580A1 (fr) Procédé et appareil de commande de diffusion, support de stockage, et dispositif électronique
WO2018076861A1 (fr) Procédé, appareil, support d'informations, serveur et système de commande de transmission de données
WO2018076819A1 (fr) Procédé de téléchargement de données, appareil, support de stockage, dispositif électronique et système
EP3304922A1 (fr) Appareil d'affichage d'image et procédé d'exploitation correspondant
WO2013162322A1 (fr) Système de gestion de services de communication et son procédé de fonctionnement
WO2017069551A1 (fr) Appareil d'affichage d'image et procédé d'exploitation correspondant
WO2018171534A1 (fr) Procédé de commande d'alimentation électrique de double appareil photo de terminal mobile, système, et terminal mobile.
WO2018010507A1 (fr) Procédé de surveillance du réveil d'un système terminal, support de stockage, terminal et dispositif électronique
WO2018076829A1 (fr) Serveur, support d'informations, système, appareil et procédé de traitement de données de terminal
WO2018161573A1 (fr) Procédé et appareil d'ajustement de file d'attente de récepteurs de diffusion, support de stockage et dispositif électronique
WO2018161576A1 (fr) Procédé de commande de radiodiffusion, dispositif, support de stockage et terminal mobile
WO2018161581A1 (fr) Procédé de commande, dispositif, support de stockage et appareil électronique d'envoi de diffusion
WO2011129635A2 (fr) Procédé et appareil pour la fourniture d'un service applicatif dans un système de communication mobile
WO2018161601A1 (fr) Procédé de réglage de rétroéclairage d'écran, support de stockage et dispositif électronique
WO2018076888A1 (fr) Procédé, dispositif et système de synchronisation de données d'un terminal mobile, support de mémoire et terminal mobile
WO2018161595A1 (fr) Procédé d'enregistrement de récepteur de diffusion, dispositif, appareil terminal et support de stockage
WO2018012880A1 (fr) Procédé et dispositif électronique pour gérer des fonctionnalités d'applications
WO2016006726A1 (fr) Procédé pour partager un programme d'application et dispositif électronique associé
CN107070670B (zh) 控制广播发送者发送广播消息的方法、装置和终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17899264

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17899264

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载