Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and terminal for displaying offline messages

An offline message and terminal technology, applied in the field of offline messages, can solve the problems of long time for obtaining and counting offline messages, slow loading of client display interface, etc., to achieve fast display, improve user experience, and improve efficiency

Active Publication Date: 2021-03-26
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the client goes online to obtain offline messages, the corresponding offline messages of the client are obtained by paging, and the client or server performs statistics on the number of offline messages. Relevant display, at this time, if the number of offline messages is huge, it will take a long time to obtain and count offline messages, resulting in slow loading of the client display interface

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and terminal for displaying offline messages
  • A method and terminal for displaying offline messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] Please refer to figure 1 , a method for displaying offline messages, including steps:

[0067] S1. Adding an offline message quantity record table, the offline message quantity record table including the offline message quantity and the latest offline message record information;

[0068] Wherein, the offline message quantity recording table also includes user ID, application ID and type of offline message;

[0069] The information of the latest offline message record in the offline message quantity record table includes the identifier of the latest offline message record;

[0070] Specifically, the field format of the offline message quantity record table is:

[0071] User_id: User ID

[0072] app_id: Application ID

[0073] msg_type: offline message type

[0074] count: the number of offline messages

[0075] last_msg_id: the message ID of the latest offline message

[0076] The user ID and application ID can be used as a unique identifier for offline messages c...

Embodiment 2

[0094] The difference between this embodiment and Embodiment 1 is that step S3 of this embodiment is:

[0095] S3. Judging whether to receive the request for obtaining the specified type of offline message details, and if so, calling the interface for obtaining the specified type of offline message record table, obtaining and displaying the specified type of offline message details;

[0096] Specifically, display the type, generation time, and specific offline message content of the specified type of offline message;

[0097] If not, use an asynchronous thread to call the interface to obtain all offline message details in the background, or obtain all offline message details by sending an acquisition command in the case of a long connection, and obtain all offline messages according to the generation time of the offline message records Record, and perform local update according to all offline message records, offline messages saved locally can be directly viewed or used by use...

Embodiment 3

[0100] Please refer to figure 2 , a terminal 1 for displaying offline messages, comprising a memory 2, a processor 3 and a computer program stored on the memory 2 and operable on the processor 3, the processor 3 implements the computer program when executing the computer program Steps in Example 1.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a terminal for displaying offline messages. By adding an offline message quantity record table, the offline message quantity record table includes the information of the offline message quantity and the latest offline message record, and each time a request for obtaining offline messages is received , the information of the number of offline messages and the latest offline message record is displayed directly according to the offline message quantity record table, which is different from the existing method of pulling each offline message in the offline message record table for statistics, and the present invention can be directly based on the described The offline message quantity record table obtains the offline message quantity and the latest offline message record information for display, which can quickly display offline messages, reduce computing time, and improve efficiency and user experience.

Description

technical field [0001] The present invention relates to the technical field of offline messages, in particular to a method and terminal for displaying offline messages. Background technique [0002] There is a message push function in the current system or APP. Generally, the number of clients in the APP system will reach hundreds of thousands to millions, and each client must maintain a long connection with the server. Millions of long connections will be connected to the server. At the same time, the APP that has established a long connection needs to send a heartbeat packet to the server at regular intervals, so that the server can confirm whether the APP device is disconnected. [0003] In the case where hundreds of thousands to millions of long connections are all connected to the server, it will put a lot of pressure on the server. Due to the unstable network condition of the mobile client, there are often disconnections, Internet access, or Problems on the network, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54G06F16/23
CPCG06F9/546G06F16/2372
Inventor 刘德建林伟郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH LTD