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

Recording method and device for instant-message reading statuses

A technology of reading status and messages, applied in the field of communication, can solve the problems of incomplete read and unread information, pressure of large data writing in database and pressure of information storage, etc., to solve the pressure of data writing and information storage, and save The effect of data storage space

Active Publication Date: 2017-06-13
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Defect of method 1: After the client is reinstalled, all read and unread information will be cleared; the read and unread information of the same account on different devices are incomplete
[0008] The defect of method 2: when there are a lot of message recipients, such as group chat, the number of recipients of each message may be dozens or even thousands
Each person's reading information inserts a record into the database, and a record needs to store at least one record element {"user_id":int64, "message_id":int64} consisting of the reader's user ID and message ID, at least 16 bytes , as the number of recipients increases, it will bring huge data writing pressure and information storage pressure to the database

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
  • Recording method and device for instant-message reading statuses
  • Recording method and device for instant-message reading statuses
  • Recording method and device for instant-message reading statuses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0030] figure 1 A flow chart of a method for recording instant message reading status according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes the following steps:

[0031] Step S101, receiving a message sent from a sending end to a receiving end, and generating a message identifier for the message.

[0032] Each time the sender sends a message, it will send data such as sender...

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 recording method and device for instant-message reading statuses. The method includes: receiving messages transmitted from transmitting ends to receiving ends and generating message identifiers; generating first bitmap data according to records of the receiving ends and storing the message identifiers and the first bitmap data; sending the messages to the receiving ends; receiving a message reading notification returned by the receiving ends and modifying the first bitmap data according to the message reading notification to acquire second bitmap data; according to the second bitmap data, returning message reading statuses to the transmitting ends. The reading statuses of the receiving ends are recorded by the aid of bitmaps, the record of the reading status of each receiving end is compressed to be 1bit, data storage space is greatly saved as compared to that one record occupies at least 16bits in the prior art, and problems about huge data write-in pressure and information storage pressure brought to a database is solved.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a method and device for recording instant message reading status. Background technique [0002] Instant messaging (IM for short) is a terminal service that allows two or more people to use the Internet to transmit text messages, files, voice and video in real time. Instant messaging is different from e-mail in that its conversation is instant, such as commonly used QQ, YY voice, Fetion and so on. When using these instant messaging applications for communication, the information sender needs to know whether the information receiver has read the information, so as to prevent important information from being missed. [0003] The methods for recording the reading status of instant messages in the prior art are mainly divided into the following two categories: [0004] Method 1. Client recording method. After each recipient of the information reads the message, it will relay...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/22
Inventor 徐锐波付赟
Owner BEIJING QIHOO TECH CO LTD