Method and Apparatus for Processing Messages, Terminal Device, and Storage Medium
AssigneeTp-Link Corporation Limited
InventorLingqing YE
Life of this patent
Estimating the term…
Loading patent…
AssigneeTp-Link Corporation Limited
InventorLingqing YE
Estimating the term…
Disclosed are a method and apparatus for processing messages, a terminal device, and a storage medium. The method includes: receiving the messages, caching real-time messages into a priority processing queue, and caching non-real-time messages into a common queue; checking whether all messages in a firmware buffer are completely received, if no, returning to receive messages, and if yes, adjusting a single processing amount of the non-real-time messages dynamically according to the number of the real-time messages; processing all the real-time messages; and processing the non-real-time messages according to the adjusted single processing amount, checking whether a new message is required to be received from the firmware buffer after a single processing amount of non-real-time messages are processed every time, if yes, returning to receive messages, and if no, continuing to process a single processing amount of non-real-time messages until all the non-real-time messages are processed.
A method for processing messages, comprising:
(canceled)
A terminal device, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements following actions when executing the computer program:
A computer-readable storage medium, comprising a stored computer program, wherein when running, the computer program controls a device in which the computer-readable storage medium is located to execute following actions:
Dependencies are inferred from the claim text.