CN113704339A - Recording of read information status, apparatus, device and storage medium - Google Patents
Recording of read information status, apparatus, device and storage medium Download PDFInfo
- Publication number
- CN113704339A CN113704339A CN202111003092.5A CN202111003092A CN113704339A CN 113704339 A CN113704339 A CN 113704339A CN 202111003092 A CN202111003092 A CN 202111003092A CN 113704339 A CN113704339 A CN 113704339A
- Authority
- CN
- China
- Prior art keywords
- data
- user
- bit
- information
- read
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 57
- 238000013507 mapping Methods 0.000 claims description 30
- 238000013473 artificial intelligence Methods 0.000 abstract description 12
- 238000006243 chemical reaction Methods 0.000 description 26
- 238000005516 engineering process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000012360 testing method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000012163 sequencing technique Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the technical field of artificial intelligence, and provides a method, a device, equipment and a storage medium for recording a read information state. The method comprises the following steps: acquiring an information identifier and a user identifier, converting the information identifier into first bitmap data, and judging whether the database stores user data or not; when the database is judged not to store the user data, converting the first bitmap data into the user data and storing the user data in the database; when the user data is judged to be available, converting the user data into second bitmap data, obtaining third bitmap data according to the first bitmap data and the second bitmap data, and converting the third bitmap data into target user data to be stored in a database; and when the user clicks the read list, the read information is acquired from the target user data and is added into the read list, and the read list is fed back to the user. The invention also relates to the technical field of block chains, and the information identifier and the user identifier can be stored in a node of a block chain.
Description
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a method, a device, equipment and a storage medium for recording a read information state.
Background
With the rapid development of scientific and technical communication systems, more and more information is published by each system, and in order to avoid repeatedly reading the published information, the following two methods are generally adopted for the read record storage of the information by each system:
1. the database records the reading record of each user, when the user reads one piece of information, one piece of data is written in the database to record the identification of the information, if the number model of the user reaches more than 1000 and all people have 100 pieces of information, more than 10 thousands of records are stored in the database and occupy a large amount of storage space of the database, the response speed of the system is low due to each reading or writing of the records, and the CPU memory is occupied to execute the reading or writing of the records.
2. The method includes the steps that a comma separator is adopted to store a character string formed by splicing ID numbers (identifications) of all information, when a user reads one piece of information, a new information ID number is added behind the character string, the information ID number of the character string is analyzed in the comma separator mode during reading, when the character string recorded by reading is longer and longer, enough space needs to be reserved in a database to ensure that the new character string is written in, a large amount of CPU memory is occupied during reading, and the problem of data concurrent modification is easily caused.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a device and a storage medium for recording the status of read information, and aims to solve the technical problem in the prior art that a user occupies a larger storage space and a CPU memory when reading or writing more and more information in a database.
In order to achieve the above object, the present invention provides a method for recording the status of read information, the method comprising:
when it is monitored that a user clicks any piece of information in a preset list, acquiring an identifier of the information and an identifier of the user, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user;
when the user data is judged not to be stored in the preset database, converting the first bitmap data into the user data and storing the user data into the preset database;
when the user data are judged to be stored in the preset database, converting the user data into second bitmap data, obtaining third bitmap data according to the first bitmap data and the second bitmap data, and converting the third bitmap data into target user data to be stored in the preset database;
when it is monitored that the user clicks the read list in the preset list, the read information of the user is obtained from the target user data according to the identification of the user, the read information is added to the read list, and the read list is fed back to the user.
Preferably, the converting the identifier of the information into first bitmap data includes:
reading each digit of the serial number in the identifier of the information, and mapping each digit to a corresponding position on an array in the first bitmap data according to the relationship of pre-established array marks to obtain the first bitmap data.
Preferably, the converting the first bitmap data into the user data and storing the user data into the preset database includes:
traversing each bit in the array in the first bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of corresponding user data to obtain the user data, and storing the user data in the preset database.
Preferably, the converting the user data into the second bitmap data includes:
traversing the bit corresponding to each byte of the user data to obtain the data of each bit, and mapping the data of each bit to each bit on the array in the second bitmap data to obtain the second bitmap data.
Preferably, the obtaining of the third bitmap data according to the first bitmap data and the second bitmap data includes:
and respectively reading the bit data at the same position in the first bit map data and the second bit map data, and performing logical OR operation on the bit data at the same position to obtain third bit map data.
Preferably, the converting the third bitmap data into target user data and storing the target user data in the preset database includes:
traversing each bit in the array in the third bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of the target user data to obtain the target user data, replacing the user data stored in the preset database with the target user data, and storing the target user data in the preset database.
Preferably, the obtaining read information of the user from the target user data according to the identifier of the user, and adding the read information to the read list includes:
traversing bit positions corresponding to each byte of the target user data to obtain data of each bit position, and mapping the data of each bit position to each bit position on an array in third bitmap data to obtain the third bitmap data;
traversing the data of each bit in the array in the third bitmap data, reading the identification of the read information of the user from the data of each bit, obtaining the read information corresponding to the user according to the identification of the read information, and adding the read information to the read list.
To achieve the above object, the present invention also provides a device for recording the status of read information, the device comprising:
an acquisition module: the method comprises the steps of acquiring an identifier of information and an identifier of a user when it is monitored that the user clicks any piece of information in a preset list, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user;
a judging module: the first bitmap data are converted into the user data and stored in the preset database when the user data are judged not to be stored in the preset database;
a storage module: the database management system is used for converting the user data into second bitmap data when the user data are judged to be stored in the preset database, obtaining third bitmap data according to the first bitmap data and the second bitmap data, converting the third bitmap data into target user data and storing the target user data in the preset database;
an output module: and when it is monitored that the user clicks the read list in the preset list, obtaining the read information of the user from the target user data according to the identification of the user, adding the read information to the read list, and feeding the read list back to the user.
In order to achieve the above object, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a program executable by the at least one processor to enable the at least one processor to perform a method of recording a status of read information as claimed in any one of claims 1 to 7.
To achieve the above object, the present invention further provides a computer-readable storage medium storing a recording program of a read information state, which when executed by a processor, implements the steps of the method of recording a read information state as recited in any one of claims 1 to 7.
According to the read information state recording method, device, equipment and storage medium provided by the invention, when writing in and recording, the bitmap data is firstly converted according to the read information of a user, then the bitmap data is converted into the user data (byte array) and is stored in the database, the obtained user data (byte array) only has the capacity and length of 8 bit positions, the storage space occupied by the database is reduced, the response speed of the system is improved, and a large amount of user data is stored.
When the record is read, the user data (byte array) is converted into bitmap data, the read information of the user is obtained from the bitmap data and is added into a read list of the user, and the user data (byte array) has only 8 bits, so that the CPU has higher reading speed and only occupies a small amount of CPU memory, and the problem that the data is easily modified in the prior art is solved.
Drawings
FIG. 1 is a diagram of an electronic device according to a preferred embodiment of the present invention;
FIG. 2 is a block diagram of an embodiment of the apparatus for recording the status of read information in FIG. 1;
FIG. 3 is a flowchart of a method for recording the status of read information according to a preferred embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an electronic device 1 according to a preferred embodiment of the invention.
The electronic device 1 includes but is not limited to: memory 11, processor 12, display 13, and network interface 14. The electronic device 1 is connected to a network through a network interface 14 to obtain raw data. The network may be a wireless or wired network such as an Intranet (Internet), the Internet (Internet), a Global System for mobile communications (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), or a Wi-Fi communication network.
The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the electronic device 1, such as a hard disk or a memory of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like equipped with the electronic device 1. Of course, the memory 11 may also comprise both an internal memory unit and an external memory device of the electronic device 1. In this embodiment, the memory 11 is generally used for storing an operating system installed in the electronic device 1 and various application software, such as program codes of the recording program 10 for the status of read information. Further, the memory 11 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 12 is typically used for controlling the overall operation of the electronic device 1, such as performing data interaction or communication related control and processing. In this embodiment, the processor 12 is configured to run the program code stored in the memory 11 or process data, for example, run the program code of the recorded program 10 in the read information state.
The display 13 may be referred to as a display screen or display unit. In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-emitting diode (OLED) touch screen, or the like. The display 13 is used for displaying information processed in the electronic device 1 and for displaying a visual work interface, e.g. displaying the results of data statistics.
The network interface 14 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), the network interface 14 typically being used for establishing a communication connection between the electronic device 1 and other electronic devices.
Fig. 1 shows only the electronic device 1 with components 11-14 and a recorded program 10 of the status of read information, but it is to be understood that not all shown components are required to be implemented, and that more or fewer components may be implemented instead.
Optionally, the electronic device 1 may further comprise a user interface, the user interface may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further comprise a standard wired interface and a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch screen, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
The electronic device 1 may further include a Radio Frequency (RF) circuit, a sensor, an audio circuit, and the like, which are not described in detail herein.
In the above embodiment, the processor 12 may implement the following steps when executing the recording program 10 of the read information status stored in the memory 11:
when it is monitored that a user clicks any piece of information in a preset list, acquiring an identifier of the information and an identifier of the user, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user;
when the user data is judged not to be stored in the preset database, converting the first bitmap data into the user data and storing the user data into the preset database;
when the user data are judged to be stored in the preset database, converting the user data into second bitmap data, obtaining third bitmap data according to the first bitmap data and the second bitmap data, and converting the third bitmap data into target user data to be stored in the preset database;
when it is monitored that the user clicks the read list in the preset list, the read information of the user is obtained from the target user data according to the identification of the user, the read information is added to the read list, and the read list is fed back to the user.
The storage device may be the memory 11 of the electronic device 1, or may be another storage device communicatively connected to the electronic device 1.
For detailed description of the above steps, please refer to the following description of fig. 2 regarding a functional block diagram of an embodiment of the recording apparatus 100 for the status of read information and fig. 3 regarding a flowchart of an embodiment of a recording method for the status of read information.
Referring to fig. 2, a functional block diagram of the recording apparatus 100 for the status of the read information according to the present invention is shown.
The recording apparatus 100 of the read information status according to the present invention can be installed in an electronic device. According to the implemented functions, the apparatus 100 for recording the read information status may include an obtaining module 110, a determining module 120, a storing module 130, and an outputting module 140. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the obtaining module 110 is configured to, when it is monitored that a user clicks any one piece of information in a preset list, obtain an identifier of the information and an identifier of the user, convert the identifier of the information into first bitmap data, and determine whether a preset database stores user data according to the identifier of the user.
In this embodiment, a user logs in a user side by using an authentication method, and opens a preset list in the user side, where the preset list is a total list of a read list and an unread list, and includes an aggregate list of all unread information and read information, where the unread information and the read information include but are not limited to text, announcement, notification, mail, message, and the like, when the user clicks any piece of information in the preset list, the terminal obtains an identifier of the information and an identifier of the user, where the identifier of the information may refer to a serial number of the information and also refers to an information ID number, the identifier of the user may refer to a user name of the user logging in the user side and also refers to a user ID number, converts each number of the serial number in the identifier of the user clicked information into first bitmap data, where the bitmap may refer to a data structure and also is an array, and traverses through the whole preset database according to the identifier of the user, judging whether the preset database stores the user data of the user, wherein the preset database can be a local database, a local storage hard disk and an external database, the user data can be a byte array of a corresponding relation between pre-established read information and the user ID number, and the byte array is a continuous variable sequence of bytes in the computer program design and the data type.
For example, the user ID number (user identifier) of the user Q is 268, the preset list of the user Q includes unread information a and read information B, the ID numbers (information identifiers) of the information a and the information B are 135 and 356, the ID numbers of the information a and the information B are different, each ID number corresponds to only one piece of information, when the preset list of the user Q already includes the information B of the user Q, it is described that the user Q has a history of reading the information B before, the terminal establishes data of the corresponding relationship between the information B and the user ID number of the user Q, and the data is stored in the preset database as user data, so that the user Q can conveniently view which information has been read.
In one embodiment, said converting the identification of the information into first bitmap data comprises:
reading each digit of the serial number in the identifier of the information, and mapping each digit to a corresponding position on an array in the first bitmap data according to the relationship of pre-established array marks to obtain the first bitmap data.
The terminal reads each digit (for example, the serial number is 135) of the serial number in the identifier of the information, and based on a set (int) conversion format in the BitSet, the BitSet is a class library of a C + + language in JAVA, the set (int) conversion format is used for managing each digit of the serial number in the identifier of the information as a boolean value of a corresponding position to perform artificial intelligence statistical data, and each digit of the serial number is mapped to the corresponding position on an array in the first bitmap data through the relation of array marks to obtain the first bitmap data.
For example, the terminal reads that the serial number in the information identifier of the unread information a is 135, based on the set (int) conversion format in the BitSet, the number 135 is mapped to the corresponding position on the array in the bitmap data through the array mark, the bitmap array has 8 bits, each bit has only two states of 0 and 1, 1 indicates that the number exists, 0 does not exist, then the number 1 corresponds to the 1 st bit, the number 3 corresponds to the 3 rd bit, and the number 5 corresponds to the 5 th bit, thereby completing the conversion of the number 135 into the bitmap data.
Array conversion reference:
0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
according to the method, the serial number in the information identifier is converted into bitmap data according to the set (int) conversion format in the BitSet, and the obtained bitmap data occupies a smaller storage space of a database than the bitmap data obtained by storing the information ID number by adopting a character string in the prior art.
The determining module 120 is configured to, when it is determined that the user data is not stored in the preset database, convert the first bitmap data into the user data and store the user data into the preset database.
In this embodiment, after the terminal traverses each data in the whole preset database according to the user identifier, when the data matched with the user identification is not stored in the preset database, the read information record of the user does not exist in the preset list of the user, the user opens the preset list in the user terminal for the first time, and when the user reads any piece of unread information, the terminal obtains the identification of the information and the identification of the user, obtains first bitmap data by the relation of array marks of each digit of the serial number in the identification of the information, maps the data of each bit in the first bitmap data to the user data of the user, and stores the user data of the user into a database, meanwhile, the terminal determines the information as read information and displays the read information on a read list in a preset list of the user.
In one embodiment, the converting the first bitmap data into the user data and storing the user data in the preset database includes:
traversing each bit in the array in the first bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of corresponding user data to obtain the user data, and storing the user data in the preset database.
When it is judged that the preset database does not store the user data of the current user, based on get (int) conversion format in the BitSet, the terminal sequentially traverses each bit of all nodes from a vertex in the first bitmap data to a node in depth, get (int) conversion format is used for returning the data of each bit of the positioning index, setting the check index to return to a given range (for example, the range is st _ in & en _ in), obtaining the data of each bit and mapping the data to the bit corresponding to each byte of the corresponding user data, obtaining the user data of the user and storing the user data to the database.
The invention converts bitmap data into user data (byte array), the obtained user data (byte array) only has the capacity and length of 8 bit positions, the occupied storage space of the database is reduced, and the problems that the reading records in the database gradually grow and occupy a large amount of storage space of the database when the quantity of users and information in the database gradually increases in the prior art are solved.
The storage module 130 is configured to, when it is determined that the user data is stored in the preset database, convert the user data into second bitmap data, obtain third bitmap data according to the first bitmap data and the second bitmap data, convert the third bitmap data into target user data, and store the target user data in the preset database.
In this embodiment, after traversing each data in the whole preset database according to the user identifier, when querying that the preset database stores data matched with the user identifier, it indicates that there is a record of the read information of the user in the preset list of the current user, when the user opens the preset list in the user side and clicks any unread information, the terminal obtains the identifier of the information and the identifier of the user, obtains a first bitmap data by relating each digit of a serial number in the identifier of the information to an array tag, maps the data of each bit in the user data traversed by the terminal to a second bitmap data, tests true and false values of the data of the same bit in the first bitmap data and the second bitmap data based on or operation in BitSet to obtain a third bitmap data, and converts the third bitmap data into target user data, and the target user data replaces the user data stored in the database, and the terminal replaces the target user data of the user with the user data stored in the database after the user reads unread information.
In one embodiment, said converting said user data into second bitmap data comprises:
traversing the bit corresponding to each byte of the user data to obtain the data of each bit, and mapping the data of each bit to each bit on the array in the second bitmap data to obtain the second bitmap data.
When the preset database is judged to store the user data of the current user, based on get (int) conversion format in the BitSet, the terminal traverses the bit corresponding to each byte of the user data, the get (int) conversion format is used for returning the data of each bit of the positioning index, the check index is set to return to a given range (for example, the range is st _ in & en _ in), the data of each bit is obtained and mapped to each bit on the array in the second bitmap data, and the second bitmap data is obtained.
In one embodiment, the obtaining third bitmap data according to the first bitmap data and the second bitmap data includes:
and respectively reading the bit data at the same position in the first bit map data and the second bit map data, and performing logical OR operation on the bit data at the same position to obtain third bit map data.
Based on an or operation (logical or operation) in the BitSet, the or operation may refer to a bit and operation method, and refers to bit data at the same position, if one bit is 1, the result is 1, data of the same bit of the first bitmap data and the second bitmap data are read, and according to judgment processing of an or operation cycle, the result is true for testing a true and false value of each data of the same bit, and if the result of the same bit is 1, the result is true, so that third bitmap data is obtained.
For example, only 1 array of the first bitmap data is 135, only 1 array of the second bitmap data is 256, and the data of each bit of the first bitmap and the data of each bit of the second bitmap are subjected to an artificial intelligence logical or operation on the bit data of the same position, and referring to the following operation, as long as one position is 1, the result is 1, and the third bitmap data is obtained.
Data per bit of the first bitmap:
0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
data per bit of the second bitmap:
0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
based on or operation in the BitSet, obtaining data of each bit of the third bitmap:
0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
the method is used for testing the true and false values of the data with the same bit in the first bitmap data and the second bitmap data through or operation in the BitSet, and deleting repeated data in the artificial intelligence operation process to obtain third bitmap data, so that the problem that in the prior art, a character string is used for writing in a reading record of a user, and when the character string is longer and longer, enough database space needs to be reserved is solved.
In one embodiment, the converting the third bitmap data into target user data and storing the target user data in the preset database includes:
traversing each bit in the array in the third bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of the target user data to obtain the target user data, replacing the user data stored in the preset database with the target user data, and storing the target user data in the preset database.
The third bitmap data is converted into the target user data (byte array) of the user, the target user data replaces the original user data of the user stored in the database, and the read records of the user stored in the byte array format with only 8 bits can be compressed to a smaller capacity, so that the space of the database is saved.
An output module 140, configured to, when it is monitored that the user clicks the read list in the preset list, obtain read information of the user from the target user data according to the identifier of the user, add the read information to the read list, and feed the read list back to the user.
In this embodiment, if the user has finished reading K pieces of read information, a list composed of the K pieces of read information is used as a read list, where the read list belongs to one of the preset lists, each bit in the target user data is traversed according to the identifier of the user to obtain third bitmap data, the data of each bit in an array in the third bitmap data is read to obtain the identifier of the corresponding read information, the read information of the user is obtained according to the identifier of the read information, the read information is added to the read list, and the read list is fed back to the user.
And the information is added into the read list, and the read list is fed back to the user, so that the user can conveniently check which information is read.
For example, the preset list of the user Q includes the unread information A, C and the read information B, after the user Q finishes reading the information a, the terminal determines the unread information a in the preset list of the user Q as the read information a, and also stores the information identifier of the read information a into the user data of the user Q by a corresponding conversion method, and when the user Q clicks the read list, the terminal feeds back the read list to the user Q, and the read list includes the read information a and the read information B.
In one embodiment, the obtaining read information of the user from the target user data according to the identifier of the user, and adding the read information to the read list includes:
traversing bit positions corresponding to each byte of the target user data to obtain data of each bit position, and mapping the data of each bit position to each bit position on an array in third bitmap data to obtain the third bitmap data;
traversing the data of each bit in the array in the third bitmap data, reading the identification of the read information of the user from the data of each bit, obtaining the read information corresponding to the user according to the identification of the read information, and adding the read information to the read list.
When a user clicks the read list, traversing each bit of each byte of target user data in the database according to the identification of the user to obtain data of each bit, setting a check index to return to a given range (for example, the range is st _ in & en _ in) based on the get (int) conversion format in the BitSet for returning to the data of each bit of the positioning index, and mapping the data of each bit to each bit on the array in the third bitmap data to obtain the third bitmap data.
Traversing data of each bit in an array in the third bitmap data by the terminal, mapping the data of each bit in the array in the third bitmap data to a corresponding identifier of the read information based on set (int) conversion format in the BitSet through the relationship of the array markers, obtaining all the read information of the user according to the identifier of the read information, sequencing all the read information according to the sequence of time points of reading all the read information from near to far, adding all the read information to a read list according to the sequencing sequence, wherein the read list comprises the ID number of each piece of the read information of the user and the time point of reading completion
For example, there are 1 array on the third bitmap data of the user Q, the array represents an ID number of one piece of read information of the user Q, if 8 bits are on the array, the 1 st bit is 1, the 3 rd bit is 1, the 5 th bit is 1, and other bits are 0, the corresponding number is obtained through the mapping relationship of the array mark, the 1 st bit is 1, the 3 rd bit is 3, and the 5 th bit is 5 through the mapping relationship of the array mark, the ID number of the read information can be obtained as the number 135, if the array generation time point is 2021 year 2 month 1 number 21:30PM, the generation time point represents the time point when the user Q finishes reading the information.
When reading the reading record, converting the user data (byte array) into bitmap data, acquiring the read information of the user from the bitmap data and adding the read information into a read list of the user, wherein the user data (byte array) only has 8 bits, so that the CPU has higher reading speed and only occupies a small amount of CPU memory, and the problem that the data is easily modified in the prior art is solved.
In addition, the invention also provides a method for recording the read information state. Fig. 3 is a schematic method flow chart of an embodiment of the method for recording the read information status according to the present invention. The processor 12 of the electronic device 1 implements the method of recording the status of read information, including steps S10-S40, when executing the recording program 10 of the status of read information stored in the memory 11. The respective steps will be specifically described below.
Step S10: when it is monitored that a user clicks any piece of information in a preset list, acquiring an identifier of the information and an identifier of the user, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user.
In this embodiment, a user logs in a user side by using an authentication method, and opens a preset list in the user side, where the preset list is a total list of a read list and an unread list, and includes an aggregate list of all unread information and read information, where the unread information and the read information include but are not limited to text, announcement, notification, mail, message, and the like, when the user clicks any piece of information in the preset list, the terminal obtains an identifier of the information and an identifier of the user, where the identifier of the information may refer to a serial number of the information and also refers to an information ID number, the identifier of the user may refer to a user name of the user logging in the user side and also refers to a user ID number, converts each number of the serial number in the identifier of the user clicked information into first bitmap data, where the bitmap may refer to a data structure and also is an array, and traverses through the whole preset database according to the identifier of the user, judging whether the preset database stores the user data of the user, wherein the preset database can be a local database, a local storage hard disk and an external database, the user data can be a byte array of a corresponding relation between pre-established read information and the user ID number, and the byte array is a continuous variable sequence of bytes in the computer program design and the data type.
For example, the user ID number (user identifier) of the user Q is 268, the preset list of the user Q includes unread information a and read information B, the ID numbers (information identifiers) of the information a and the information B are 135 and 356, the ID numbers of the information a and the information B are different, each ID number corresponds to only one piece of information, when the preset list of the user Q already includes the information B of the user Q, it is described that the user Q has a history of reading the information B before, the terminal establishes data of the corresponding relationship between the information B and the user ID number of the user Q, and the data is stored in the preset database as user data, so that the user Q can conveniently view which information has been read.
In one embodiment, said converting the identification of the information into first bitmap data comprises:
reading each digit of the serial number in the identifier of the information, and mapping each digit to a corresponding position on an array in the first bitmap data according to the relationship of pre-established array marks to obtain the first bitmap data.
The terminal reads each digit (for example, the serial number is 135) of the serial number in the identifier of the information, and based on a set (int) conversion format in the BitSet, the BitSet is a class library of a C + + language in JAVA, the set (int) conversion format is used for managing each digit of the serial number in the identifier of the information as a boolean value of a corresponding position to perform artificial intelligence statistical data, and each digit of the serial number is mapped to the corresponding position on an array in the first bitmap data through the relation of array marks to obtain the first bitmap data.
For example, the terminal reads that the serial number in the information identifier of the unread information a is 135, based on the set (int) conversion format in the BitSet, the number 135 is mapped to the corresponding position on the array in the bitmap data through the array mark, the bitmap array has 8 bits, each bit has only two states of 0 and 1, 1 indicates that the number exists, 0 does not exist, then the number 1 corresponds to the 1 st bit, the number 3 corresponds to the 3 rd bit, and the number 5 corresponds to the 5 th bit, thereby completing the conversion of the number 135 into the bitmap data.
Array conversion reference:
0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
according to the method, the serial number in the information identifier is converted into bitmap data according to the set (int) conversion format in the BitSet, and the obtained bitmap data occupies a smaller storage space of a database than the bitmap data obtained by storing the information ID number by adopting a character string in the prior art.
Step S20: and when the preset database is judged not to store the user data, converting the first bitmap data into the user data and storing the user data into the preset database.
In this embodiment, after the terminal traverses each data in the whole preset database according to the user identifier, when the data matched with the user identification is not stored in the preset database, the read information record of the user does not exist in the preset list of the user, the user opens the preset list in the user terminal for the first time, and when the user reads any piece of unread information, the terminal obtains the identification of the information and the identification of the user, obtains first bitmap data by the relation of array marks of each digit of the serial number in the identification of the information, maps the data of each bit in the first bitmap data to the user data of the user, and stores the user data of the user into a database, meanwhile, the terminal determines the information as read information and displays the read information on a read list in a preset list of the user.
In one embodiment, the converting the first bitmap data into the user data and storing the user data in the preset database includes:
traversing each bit in the array in the first bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of corresponding user data to obtain the user data, and storing the user data in the preset database.
When it is judged that the preset database does not store the user data of the current user, based on get (int) conversion format in the BitSet, the terminal sequentially traverses each bit of all nodes from a vertex in the first bitmap data to a node in depth, get (int) conversion format is used for returning the data of each bit of the positioning index, setting the check index to return to a given range (for example, the range is st _ in & en _ in), obtaining the data of each bit and mapping the data to the bit corresponding to each byte of the corresponding user data, obtaining the user data of the user and storing the user data to the database.
The invention converts bitmap data into user data (byte array), the obtained user data (byte array) only has the capacity and length of 8 bit positions, the occupied storage space of the database is reduced, and the problems that the reading records in the database gradually grow and occupy a large amount of storage space of the database when the quantity of users and information in the database gradually increases in the prior art are solved.
Step S30: and when the user data is judged to be stored in the preset database, converting the user data into second bitmap data, obtaining third bitmap data according to the first bitmap data and the second bitmap data, and converting the third bitmap data into target user data to be stored in the preset database.
In this embodiment, after traversing each data in the whole preset database according to the user identifier, when querying that the preset database stores data matched with the user identifier, it indicates that there is a record of the read information of the user in the preset list of the current user, when the user opens the preset list in the user side and clicks any unread information, the terminal obtains the identifier of the information and the identifier of the user, obtains a first bitmap data by relating each digit of a serial number in the identifier of the information to an array tag, maps the data of each bit in the user data traversed by the terminal to a second bitmap data, tests true and false values of the data of the same bit in the first bitmap data and the second bitmap data based on or operation in BitSet to obtain a third bitmap data, and converts the third bitmap data into target user data, and the target user data replaces the user data stored in the database, and the terminal replaces the target user data of the user with the user data stored in the database after the user reads unread information.
In one embodiment, said converting said user data into second bitmap data comprises:
traversing the bit corresponding to each byte of the user data to obtain the data of each bit, and mapping the data of each bit to each bit on the array in the second bitmap data to obtain the second bitmap data.
When the preset database is judged to store the user data of the current user, based on get (int) conversion format in the BitSet, the terminal traverses the bit corresponding to each byte of the user data, the get (int) conversion format is used for returning the data of each bit of the positioning index, the check index is set to return to a given range (for example, the range is st _ in & en _ in), the data of each bit is obtained and mapped to each bit on the array in the second bitmap data, and the second bitmap data is obtained.
In one embodiment, the obtaining third bitmap data according to the first bitmap data and the second bitmap data includes:
and respectively reading the bit data at the same position in the first bit map data and the second bit map data, and performing logical OR operation on the bit data at the same position to obtain third bit map data.
Based on an or operation (logical or operation) in the BitSet, the or operation may refer to a bit and operation method, and refers to bit data at the same position, if one bit is 1, the result is 1, data of the same bit of the first bitmap data and the second bitmap data are read, and according to judgment processing of an or operation cycle, the result is true for testing a true and false value of each data of the same bit, and if the result of the same bit is 1, the result is true, so that third bitmap data is obtained.
For example, only 1 array of the first bitmap data is 135, only 1 array of the second bitmap data is 256, and the data of each bit of the first bitmap and the data of each bit of the second bitmap are subjected to an artificial intelligence logical or operation on the bit data of the same position, and referring to the following operation, as long as one position is 1, the result is 1, and the third bitmap data is obtained.
Data per bit of the first bitmap:
0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
data per bit of the second bitmap:
0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
based on or operation in the BitSet, obtaining data of each bit of the third bitmap:
0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 |
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
the method is used for testing the true and false values of the data with the same bit in the first bitmap data and the second bitmap data through or operation in the BitSet, and deleting repeated data in the artificial intelligence operation process to obtain third bitmap data, so that the problem that in the prior art, a character string is used for writing in a reading record of a user, and when the character string is longer and longer, enough database space needs to be reserved is solved.
In one embodiment, the converting the third bitmap data into target user data and storing the target user data in the preset database includes:
traversing each bit in the array in the third bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of the target user data to obtain the target user data, replacing the user data stored in the preset database with the target user data, and storing the target user data in the preset database.
The third bitmap data is converted into the target user data (byte array) of the user, the target user data replaces the original user data of the user stored in the database, and the read records of the user stored in the byte array format with only 8 bits can be compressed to a smaller capacity, so that the space of the database is saved.
Step S40: when it is monitored that the user clicks the read list in the preset list, the read information of the user is obtained from the target user data according to the identification of the user, the read information is added to the read list, and the read list is fed back to the user.
In this embodiment, if the user has finished reading K pieces of read information, a list composed of the K pieces of read information is used as a read list, where the read list belongs to one of the preset lists, each bit in the target user data is traversed according to the identifier of the user to obtain third bitmap data, the data of each bit in an array in the third bitmap data is read to obtain the identifier of the corresponding read information, the read information of the user is obtained according to the identifier of the read information, the read information is added to the read list, and the read list is fed back to the user.
And the information is added into the read list, and the read list is fed back to the user, so that the user can conveniently check which information is read.
For example, the preset list of the user Q includes the unread information A, C and the read information B, after the user Q finishes reading the information a, the terminal determines the unread information a in the preset list of the user Q as the read information a, and also stores the information identifier of the read information a into the user data of the user Q by a corresponding conversion method, and when the user Q clicks the read list, the terminal feeds back the read list to the user Q, and the read list includes the read information a and the read information B.
In one embodiment, the obtaining read information of the user from the target user data according to the identifier of the user, and adding the read information to the read list includes:
traversing bit positions corresponding to each byte of the target user data to obtain data of each bit position, and mapping the data of each bit position to each bit position on an array in third bitmap data to obtain the third bitmap data;
traversing the data of each bit in the array in the third bitmap data, reading the identification of the read information of the user from the data of each bit, obtaining the read information corresponding to the user according to the identification of the read information, and adding the read information to the read list.
When a user clicks the read list, traversing each bit of each byte of target user data in the database according to the identification of the user to obtain data of each bit, setting a check index to return to a given range (for example, the range is st _ in & en _ in) based on the get (int) conversion format in the BitSet for returning to the data of each bit of the positioning index, and mapping the data of each bit to each bit on the array in the third bitmap data to obtain the third bitmap data.
Traversing data of each bit in an array in the third bitmap data by the terminal, mapping the data of each bit in the array in the third bitmap data to a corresponding identifier of the read information based on set (int) conversion format in the BitSet through the relationship of the array markers, obtaining all the read information of the user according to the identifier of the read information, sequencing all the read information according to the sequence of time points of reading all the read information from near to far, adding all the read information to a read list according to the sequencing sequence, wherein the read list comprises the ID number of each piece of the read information of the user and the time point of reading completion
For example, there are 1 array on the third bitmap data of the user Q, the array represents an ID number of one piece of read information of the user Q, if 8 bits are on the array, the 1 st bit is 1, the 3 rd bit is 1, the 5 th bit is 1, and other bits are 0, the corresponding number is obtained through the mapping relationship of the array mark, the 1 st bit is 1, the 3 rd bit is 3, and the 5 th bit is 5 through the mapping relationship of the array mark, the ID number of the read information can be obtained as the number 135, if the array generation time point is 2021 year 2 month 1 number 21:30PM, the generation time point represents the time point when the user Q finishes reading the information.
When reading the reading record, converting the user data (byte array) into bitmap data, acquiring the read information of the user from the bitmap data and adding the read information into a read list of the user, wherein the user data (byte array) only has 8 bits, so that the CPU has higher reading speed and only occupies a small amount of CPU memory, and the problem that the data is easily modified in the prior art is solved.
Furthermore, the embodiment of the present invention also provides a computer-readable storage medium, which may be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a portable compact disc read only memory (CD-ROM), a USB memory, and the like. The computer readable storage medium includes a storage data area and a storage program area, the storage data area stores data created according to the use of the blockchain node, the storage program area stores a recording program 10 in a read information state, and when the recording program 10 in the read information state is executed by a processor, the following operations are realized:
when it is monitored that a user clicks any piece of information in a preset list, acquiring an identifier of the information and an identifier of the user, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user;
when it is monitored that a user clicks any piece of information in a preset list, acquiring an identifier of the information and an identifier of the user, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user;
when the user data is judged not to be stored in the preset database, converting the first bitmap data into the user data and storing the user data into the preset database;
when the user data are judged to be stored in the preset database, converting the user data into second bitmap data, obtaining third bitmap data according to the first bitmap data and the second bitmap data, and converting the third bitmap data into target user data to be stored in the preset database;
when it is monitored that the user clicks the read list in the preset list, the read information of the user is obtained from the target user data according to the identification of the user, the read information is added to the read list, and the read list is fed back to the user.
In another embodiment, in order to further ensure the privacy and security of all the data, all the data may be stored in a node of a block chain. Such as information identification, user identification, etc., which may be stored in block link points.
It should be noted that the blockchain in the present invention is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The specific implementation of the computer readable storage medium of the present invention is substantially the same as the above-mentioned specific implementation of the method for recording the read information status, and will not be described herein again.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
It should be noted that, the above embodiments of the present invention may acquire and process related data based on an artificial intelligence technique. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes instructions for enabling an electronic device (such as a mobile phone, a computer, an electronic apparatus, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A method for recording the status of information that has been read, said method comprising:
when it is monitored that a user clicks any piece of information in a preset list, acquiring an identifier of the information and an identifier of the user, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user;
when the user data is judged not to be stored in the preset database, converting the first bitmap data into the user data and storing the user data into the preset database;
when the user data are judged to be stored in the preset database, converting the user data into second bitmap data, obtaining third bitmap data according to the first bitmap data and the second bitmap data, and converting the third bitmap data into target user data to be stored in the preset database;
when it is monitored that the user clicks the read list in the preset list, the read information of the user is obtained from the target user data according to the identification of the user, the read information is added to the read list, and the read list is fed back to the user.
2. The method of recording the status of read information as claimed in claim 1, wherein said converting the identification of said information into first bitmap data comprises:
reading each digit of the serial number in the identifier of the information, and mapping each digit to a corresponding position on an array in the first bitmap data according to the relationship of pre-established array marks to obtain the first bitmap data.
3. The method for recording the status of read information as claimed in claim 1, wherein said converting said first bitmap data into said user data and storing said user data in said predetermined database comprises:
traversing each bit in the array in the first bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of corresponding user data to obtain the user data, and storing the user data in the preset database.
4. The method for recording the status of read information as claimed in claim 1, wherein said converting said user data into second bitmap data comprises:
traversing the bit corresponding to each byte of the user data to obtain the data of each bit, and mapping the data of each bit to each bit on the array in the second bitmap data to obtain the second bitmap data.
5. The method for recording the status of read information as claimed in claim 1, wherein said obtaining a third bitmap data according to the first bitmap data and the second bitmap data comprises:
and respectively reading the bit data at the same position in the first bit map data and the second bit map data, and performing logical OR operation on the bit data at the same position to obtain third bit map data.
6. The method for recording the status of read information as claimed in claim 1, wherein said converting the third bitmap data into target user data and storing the target user data in the predetermined database comprises:
traversing each bit in the array in the third bitmap data to obtain data of each bit, mapping the data of each bit to a bit corresponding to each byte of the target user data to obtain the target user data, replacing the user data stored in the preset database with the target user data, and storing the target user data in the preset database.
7. The method for recording the status of read information according to claim 1, wherein the obtaining the read information of the user from the target user data according to the user identifier and adding the read information to the read list comprises:
traversing bit positions corresponding to each byte of the target user data to obtain data of each bit position, and mapping the data of each bit position to each bit position on an array in third bitmap data to obtain the third bitmap data;
traversing the data of each bit in the array in the third bitmap data, reading the identification of the read information of the user from the data of each bit, obtaining the read information corresponding to the user according to the identification of the read information, and adding the read information to the read list.
8. An apparatus for recording the status of information that has been read, said apparatus comprising:
an acquisition module: the method comprises the steps of acquiring an identifier of information and an identifier of a user when it is monitored that the user clicks any piece of information in a preset list, converting the identifier of the information into first bitmap data, and judging whether a preset database stores user data or not according to the identifier of the user;
a judging module: the first bitmap data are converted into the user data and stored in the preset database when the user data are judged not to be stored in the preset database;
a storage module: the database management system is used for converting the user data into second bitmap data when the user data are judged to be stored in the preset database, obtaining third bitmap data according to the first bitmap data and the second bitmap data, converting the third bitmap data into target user data and storing the target user data in the preset database;
an output module: and when it is monitored that the user clicks the read list in the preset list, obtaining the read information of the user from the target user data according to the identification of the user, adding the read information to the read list, and feeding the read list back to the user.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a program executable by the at least one processor to enable the at least one processor to perform a method of recording a status of read information as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a recording program of a read information status, which when executed by a processor implements the steps of the recording method of a read information status according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111003092.5A CN113704339A (en) | 2021-08-30 | 2021-08-30 | Recording of read information status, apparatus, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111003092.5A CN113704339A (en) | 2021-08-30 | 2021-08-30 | Recording of read information status, apparatus, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113704339A true CN113704339A (en) | 2021-11-26 |
Family
ID=78656651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111003092.5A Pending CN113704339A (en) | 2021-08-30 | 2021-08-30 | Recording of read information status, apparatus, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113704339A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225600A (en) * | 2022-07-26 | 2022-10-21 | 中国银行股份有限公司 | Message display method and related device |
CN115955450A (en) * | 2023-03-09 | 2023-04-11 | 美云智数科技有限公司 | Instant message display method, instant message push method, instant message display device, instant message push device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2216712A2 (en) * | 2009-02-09 | 2010-08-11 | Sony Corporation | Information processing apparatus, information processing method, and program |
CN106844662A (en) * | 2017-01-23 | 2017-06-13 | 北京奇虎科技有限公司 | The recording method of instant message read state and device |
WO2019024060A1 (en) * | 2017-08-03 | 2019-02-07 | 华为技术有限公司 | Data storage method and device, and storage medium |
CN109726314A (en) * | 2019-01-03 | 2019-05-07 | 中国人民解放军国防科技大学 | Bitmap-based sparse matrix compression storage method |
CN112131222A (en) * | 2020-09-22 | 2020-12-25 | 平安国际智慧城市科技股份有限公司 | Storage method, device, medium and electronic equipment for message reading state data |
-
2021
- 2021-08-30 CN CN202111003092.5A patent/CN113704339A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2216712A2 (en) * | 2009-02-09 | 2010-08-11 | Sony Corporation | Information processing apparatus, information processing method, and program |
CN106844662A (en) * | 2017-01-23 | 2017-06-13 | 北京奇虎科技有限公司 | The recording method of instant message read state and device |
WO2019024060A1 (en) * | 2017-08-03 | 2019-02-07 | 华为技术有限公司 | Data storage method and device, and storage medium |
CN109726314A (en) * | 2019-01-03 | 2019-05-07 | 中国人民解放军国防科技大学 | Bitmap-based sparse matrix compression storage method |
CN112131222A (en) * | 2020-09-22 | 2020-12-25 | 平安国际智慧城市科技股份有限公司 | Storage method, device, medium and electronic equipment for message reading state data |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225600A (en) * | 2022-07-26 | 2022-10-21 | 中国银行股份有限公司 | Message display method and related device |
CN115955450A (en) * | 2023-03-09 | 2023-04-11 | 美云智数科技有限公司 | Instant message display method, instant message push method, instant message display device, instant message push device, electronic equipment and storage medium |
CN115955450B (en) * | 2023-03-09 | 2023-06-30 | 美云智数科技有限公司 | Instant message display and push method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112491602B (en) | Behavior data monitoring method and device, computer equipment and medium | |
CN105357204B (en) | Method and device for generating terminal identification information | |
CN113704339A (en) | Recording of read information status, apparatus, device and storage medium | |
CN111563075B (en) | Service verification system, method and equipment and storage medium | |
CN112529100B (en) | Training method and device for multi-classification model, electronic equipment and storage medium | |
CN112115145A (en) | Data acquisition method and device, electronic equipment and storage medium | |
CN108363684A (en) | List creation method, device and server | |
CN104050161A (en) | Dynamic bridging of application and data servers | |
CN112486490B (en) | Front-end code packaging method and device, electronic equipment and storage medium | |
CN112036579A (en) | Self-learning online updating method, system and device for multi-classification model | |
CN112181835A (en) | Automatic testing method and device, computer equipment and storage medium | |
CN114491047A (en) | Multi-label text classification method and device, electronic equipment and storage medium | |
CN113268665A (en) | Information recommendation method, device and equipment based on random forest and storage medium | |
CN115794641A (en) | Method, device and equipment for making number based on business process and storage medium | |
CN113434542B (en) | Data relationship identification method and device, electronic equipment and storage medium | |
CN113986730A (en) | Method, device, equipment and storage medium for testing offer file | |
CN111581915A (en) | Project task management method, platform, electronic equipment and storage medium | |
CN114911479A (en) | Interface generation method, device, equipment and storage medium based on configuration | |
CN114461531A (en) | Platform adaptability test method, device, equipment and storage medium of test case | |
CN110119337B (en) | Data analysis method and device and server | |
CN115408244A (en) | Webpage performance testing method, device, equipment and storage medium | |
CN112560789A (en) | Image object detection method and device, electronic equipment and storage medium | |
CN115941712B (en) | Method and device for processing report data, computer equipment and storage medium | |
CN113806372B (en) | New data information construction method, device, computer equipment and storage medium | |
CN113434365B (en) | Data characteristic monitoring method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |