Information processing method and device, electronic equipment and computer readable storage medium
By enabling the function of limiting the message storage time according to the message pull status in the account, the message return operation is performed based on the size relationship of the message sequence number, which solves the problem of online account message security risks and improves the security of the message.
Patent Information
- Application Number
- CN202311134760.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-03-04
AI Technical Summary
In the prior art, when processing online account messages, the same social account receives messages with high and low security requirements in the same social account, resulting in security risks of information leakage.
By receiving the message request from the account, obtaining the save function parameters, and determining whether the account has enabled the function of limiting the message saving time according to the message pull status. Perform the message return operation based on the size relationship of the message sequence number to limit the message saving time to reduce information leakage.
Without affecting the account to receive messages, by limiting the message storage time, the message is repeatedly pulled by the terminal device, and the security of the message is improved.
Smart Images

Figure CN119561926A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to information transmission technology, and in particular to an information processing method, device, electronic device and computer-readable storage medium. Background Art
[0002] With the popularization of online conversation technology, users often receive various types of messages in their online accounts in their daily lives, such as promotional messages from e-commerce companies, bank account messages from banks associated with social accounts, and work messages from work, etc. At present, the same social account receives messages with high security requirements (such as bank account messages from banks associated with social accounts) and messages with low security requirements (promotional messages from e-commerce companies) in the same way. At the same time, when an account is associated (logged in) with multiple devices at the same time, since each message will be pulled by multiple devices as long as it is not expired, there is a security risk of information leakage in the user's social account. Summary of the invention
[0003] The embodiments of the present application provide an information processing method, device, electronic device, computer program product, and computer-readable storage medium, which can reduce the probability of information leakage and improve the security of messages.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides an information processing method, the method comprising:
[0006] Receiving a message request from a first account, wherein the message request carries a first message parameter, and the first message parameter is a maximum sequence number of received messages recorded by a terminal device associated with the first account;
[0007] Obtaining a save function parameter of the first account, wherein the save function parameter indicates whether the first account has enabled a function of limiting the message save time according to the message pull status;
[0008] In response to the saving function parameter indicating that the first account has enabled a function of limiting the message saving time according to the message pulling state, obtaining a second message parameter, wherein the second message parameter is a maximum sequence number of messages that have been received by the first account and recorded by the server;
[0009] Based on the size relationship between the first message parameter and the second message parameter, a message return operation corresponding to the first account is performed.
[0010] The present application provides an information processing method, the method comprising:
[0011] Sending a message request of the first account to the server, wherein the message request carries a first message parameter, and the first message parameter is the maximum sequence number of the received messages recorded by the terminal device associated with the first account;
[0012] Sending a message saving function parameter of the first account to the server, wherein the saving function parameter indicates whether the first account has enabled a function of limiting the message saving time according to the message pulling status;
[0013] Receive a result of a message return operation sent by the server, wherein the message return operation is performed by the server based on a size relationship between the first message parameter and a second message parameter, the second message parameter is obtained by the server after the first account turns on the function, and the second message parameter is the maximum sequence number of messages that the first account has received and recorded by the server.
[0014] The present application provides an information processing device, including:
[0015] A request receiving module, configured to receive a message request from a first account, wherein the message request carries a first message parameter, and the first message parameter is a maximum sequence number of received messages recorded by a terminal device associated with the first account;
[0016] A parameter acquisition module, used to acquire a save function parameter of the first account, wherein the save function parameter indicates whether the first account has enabled a function of limiting the message save time according to the message pull status;
[0017] a message parameter acquisition module, configured to acquire a second message parameter in response to the saving function parameter indicating that the first account has enabled a function of limiting the message saving time according to the message pulling state, wherein the second message parameter is a maximum sequence number of messages that have been received by the first account and recorded by the server;
[0018] An operation execution module is used to execute a message return operation corresponding to the first account based on the size relationship between the first message parameter and the second message parameter.
[0019] The present application provides an information processing device, including:
[0020] A request sending module, configured to send a message request of a first account to a server, wherein the message request carries a first message parameter, and the first message parameter is a maximum sequence number of received messages recorded by a terminal device associated with the first account;
[0021] a parameter sending module, configured to send a message saving function parameter of the first account to the server, wherein the saving function parameter indicates whether the first account has enabled a function of limiting the message saving time according to the message pulling status;
[0022] A result receiving module is used to receive the result of the message return operation sent by the server, wherein the message return operation is performed by the server based on the size relationship between the first message parameter and the second message parameter, the second message parameter is obtained by the server after the first account turns on the function, and the second message parameter is the maximum sequence number of the message that the first account has received recorded by the server.
[0023] An embodiment of the present application provides an electronic device, the electronic device comprising:
[0024] A memory for storing computer executable instructions;
[0025] The processor is used to implement the information processing method provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.
[0026] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions for implementing the information processing method provided in the embodiment of the present application when executed by a processor.
[0027] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the information processing method provided by the embodiment of the present application is implemented.
[0028] The embodiments of the present application have the following beneficial effects:
[0029] After the first account turns on the function of limiting the message storage time according to the message pulling state, by comparing the maximum sequence number of the received message recorded by the terminal device associated with the first account recorded by the server with the maximum sequence number of the message received by the first account, it is determined whether the message storage time needs to be limited. Therefore, after the first account turns on the function of limiting the message storage time according to the message pulling state, the situation of repeated pulling of messages by the terminal device can be reduced by limiting the message storage time without affecting the first account's reception of messages, thereby improving the security of the message. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of the architecture of the information processing system provided by the embodiment of the present application;
[0031] Figure 2AIt is a schematic diagram of the structure of the server provided in the embodiment of the present application;
[0032] Figure 2B is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0033] Figure 3A It is a flowchart of the information processing method provided in the embodiment of the present application;
[0034] Figure 3B to Figure 3D It is a detailed flowchart of the information processing method provided in the embodiment of the present application;
[0035] Figure 3E It is an interactive flow chart provided by an embodiment of the present application;
[0036] Figure 4 This is a confirmation flow chart of a message return operation provided by an embodiment of the present application;
[0037] Figure 5 This is a flowchart of a message cleaning provided by an embodiment of the present application;
[0038] Figure 6 It is an implementation framework diagram provided by an embodiment of the present application;
[0039] Figure 7 A flowchart of a message delivery provided in an embodiment of the present application;
[0040] Figure 8 A flowchart of a message pulling provided in an embodiment of the present application;
[0041] Fig. 9 An information deletion flow chart provided for an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0043] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0044] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0045] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0046] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0047] 1) Sequence number: When the server receives a message, it assigns an ID to the message according to the time when the message is received. Each message has only one ID, and each ID corresponds to only one message. The value of the ID increases monotonically with the time when the message is received. For example, when the server receives message A, it determines that the ID of message A is 001. After receiving message A, the server receives message B, and the ID of message B is 002.
[0048] 2) Message pull status: For each message, after the message is stored in the server, if the message has not been pulled by the account, the corresponding message pull status is not pulled; if the message has been pulled by the account, the corresponding message pull status is pulled.
[0049] 3) Function of limiting the length of time messages are saved: After the function of limiting the length of time messages are saved is turned on, for each account, the messages received in the mailbox space associated with the account can only be pulled once by the main device of the account, and after being pulled, the storage time of the message will be shortened.
[0050] 4) Primary device: The terminal device associated with the account and set as the primary user, such as a smartphone or smart watch. An account can only be associated with one primary device at a time.
[0051] 5) Secondary device: a terminal device other than the primary device associated with the same account, such as a desktop device, including a laptop, computer, tablet, etc.
[0052] 6) Mailbox space: referred to as mailbox for short, it is a storage space in the server used to store messages sent to the account associated with the mailbox space. The messages in the mailbox space can only be retrieved by the account associated with the mailbox space.
[0053] The embodiments of the present application provide an information processing method, apparatus, device, computer-readable storage medium and computer program product, which can reduce the probability of information leakage and improve the security of accounts. The exemplary application of the information processing device provided by the embodiments of the present application is described below. The device provided by the embodiments of the present application includes a terminal device and a server, wherein the terminal device can be implemented as various types of user terminal devices such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smart phones, smart speakers, smart watches, smart televisions, and vehicle-mounted terminal devices.
[0054] See also Figure 1 , Figure 1 It is an architectural diagram of the information processing system 100 provided in an embodiment of the present application. To support an information processing application, a terminal device (terminal device 400-1 and terminal device 400-2 are shown as examples) is connected to a server 200 via a network 300. The network 300 may be a wide area network or a local area network, or a combination of the two.
[0055] Terminal device 400-1 and terminal device 400-2 are used to send a message request of the first account to server 200 through network 300, receive a message returned by server 200 through network 300, and display it on graphical interface 410 (graphical interface 410-1 and graphical interface 410-2 are shown as examples).
[0056] Among them, the first account is an account used to log in to the application in the terminal device. The application logged in by the first account can be an instant messaging application (such as an online chat application, a dating application, etc.), a live broadcast application, a game application, and an online shopping client application.
[0057] See also Figure 2A , Figure 2A is a schematic diagram of the structure of the server 200 provided in an embodiment of the present application, Figure 2A The server 200 shown includes: at least one processor 210, a memory 250, and at least one network interface 220. The various components in the server 200 are coupled together via a bus system 240. It is understood that the bus system 240 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 240 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 240 is not described in detail. Figure 2A Various buses are labeled as bus system 240 .
[0058] The processor 210 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0059] The memory 250 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 250 may optionally include one or more storage devices that are physically remote from the processor 210.
[0060] The memory 250 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 250 described in the embodiment of the present application is intended to include any suitable type of memory.
[0061] In some embodiments, memory 250 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0062] Operating system 251, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0063] A network communication module 252, used to reach other electronic devices via one or more (wired or wireless) network interfaces 220, exemplary network interfaces 220 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;
[0064] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2A The message processing device 253 stored in the memory 250 is shown, which can be software in the form of a program and a plug-in, etc., and includes the following software modules: a request receiving module 2531, a parameter acquisition module 2532, a message parameter acquisition module 2533 and an operation execution module 2534. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0065] See also Figure 2B , Figure 2B is a schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application, Figure 2B The terminal device 400 shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal device 400 are coupled together through a bus system 440, wherein the processor 410, the memory 450, the network interface 420 and the operating system 451 and the network communication module 452 included in the memory are respectively connected to the Figure 2A The processor 210, memory 250, network interface 220 included in the memory, and the operating system 251 and network communication module 252 included in the memory have the same structure and function.
[0066] In addition, the terminal device 400 also includes: a user interface 430, including one or more output devices 431 that enable the presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touch screen display, a camera, other input buttons and controls.
[0067] The memory 450 may also include a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information);
[0068] The memory 450 may also input a processing module 454 for detecting one or more user inputs or interactions from one of the one or more input devices 432 and translating the detected inputs or interactions.
[0069] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2B An information processing device 455 stored in the memory 450 is shown, which may be software in the form of a program and a plug-in, etc., and includes the following software modules: a request sending module 4551 , a parameter sending module 4552 , and a result receiving module 4553 .
[0070] The information processing method provided in the embodiment of the present application will be explained in combination with the exemplary application and implementation of the server and terminal device provided in the embodiment of the present application.
[0071] See also Figure 3A , Figure 3A is a flowchart of the information processing method provided in the embodiment of the present application, which will be combined with Figure 3A The steps shown are explained, Figure 3AThe execution subject can be Figure 1 Server 200 shown in FIG.
[0072] In step 101, a message request from a first account is received, wherein the message request carries a first message parameter, and the first message parameter is the maximum sequence number of received messages recorded by a terminal device associated with the first account.
[0073] In an embodiment of the present application, the terminal device can send a message request to the server when logging in to the first application based on the first account, or when the user switches back to the first application after using an application other than the first application, or when the terminal device is restarted. It can also send a message request to the server according to the message request sending cycle (for example, once every 3 seconds). The specific method of sending the message request can be set according to actual conditions and is not limited here.
[0074] It should be noted that in the embodiment of the present application, the first account can log in to multiple devices at the same time, and the terminal device associated with the first account here can be the terminal device that sends the message request currently logged in by the first account. The serial number of the message can be a number in the order of the time when the server receives it. That is, the first message parameter represents which messages the terminal device associated with the first account has pulled. For example, the serial number of message A is 001, the serial number of message B is 002, and the serial number of message C is 003. If the first message parameter is 003, it represents that the terminal device associated with the first account has pulled messages A, B, and C.
[0075] In an embodiment of the present application, before receiving a message request from the first account. The server may also receive a message sent by a second account, wherein the second account may be any account that sends a message to the first account. Afterwards, the server may store the message sent by the second account in a mailbox space associated with the first account, wherein the mailbox space is used as a data source for querying messages when performing a message return operation, and different accounts are associated with different mailbox spaces. That is, the mailbox space associated with the first account only stores messages sent to the first account by other accounts. Compared to storing all messages in the same mailbox space, the storage method provided in the embodiment of the present application can improve the efficiency of information calls, avoid erroneous information calls, and improve the security of called information.
[0076] It should be noted that when the message sent by the second account is a group message, in an embodiment of the present application, the group message can be stored in the mailbox space associated with all receiving accounts of the group message to achieve independent control of the expiration time and pulling method of the messages in the mailbox space associated with each account.
[0077] In step 102, a saving function parameter of the first account is obtained, wherein the saving function parameter indicates whether the first account has enabled a function of limiting the message saving time according to the message pulling status.
[0078] In an embodiment of the present application, the save function parameters of the first account can be adjusted by the user of the first account, and can also be adjusted by the user of an account that has a management relationship with the first account. For example, user A is the user of the first account. In order to prevent the information that has been pulled by the first account from being pulled by other login devices, user A can turn on the save function parameters. For another example, user A is the user of the first account, and user B is the user of an account that has a management relationship with the first account, wherein user B creates a communication group C, and the first account is a member of the communication group C. For security reasons, user B believes that messages in the communication group C can only be pulled once by members of the group. Therefore, user B can turn on the save function parameters so that members of the communication group C can only pull messages in the communication group C once.
[0079] In an embodiment of the present application, in response to the saving function parameter indicating that the first account has enabled the function of limiting the message saving time according to the message pulling state, when receiving a message sent from the second account to the first account, a mark is added to the message sent by the first account, and the message sent by the first account carrying the mark is stored in the mailbox space corresponding to the first account, wherein the mark indicates the timing when the sent message is stored in the mailbox space associated with the first account, and the timing may be after the first account has enabled the function of limiting the message saving time according to the message pulling state. That is, a mark is added to the message received after determining that the first account has enabled the function of limiting the message saving time according to the message pulling state.
[0080] In step 103, in response to the saving function parameter indicating that the first account has enabled the function of limiting the message saving time according to the message pulling status, a second message parameter is obtained, wherein the second message parameter is the maximum sequence number of the messages that the first account has received and recorded by the server.
[0081] In the embodiment of the present application, after determining that the first account has enabled the function of limiting the message storage time according to the message pulling status, the second message parameter is obtained, and the second message parameter is the maximum sequence number of the messages that the first account has received and recorded by the server. That is, the second parameter represents the messages that the first account has pulled. For example, the sequence number of message A is 001, the sequence number of message B is 002, and the sequence number of message C is 003. If the second message parameter is 003, it represents that the first account has pulled messages A, B, and C.
[0082] In step 104, based on the magnitude relationship between the first message parameter and the second message parameter, a message return operation corresponding to the first account is performed.
[0083] In the embodiment of the present application, when the message request is sent by the primary device associated with the first account, and the first message parameter is less than the second message parameter, see Figure 3B , Figure 3B In step 104 shown, “based on the magnitude relationship between the first message parameter and the second message parameter, executing the message return operation corresponding to the first account” can be implemented by following steps 1041A to 1043A, which are described in detail below:
[0084] In step 1041A, a message in the mailbox space associated with the first account and having a sequence number greater than the second message parameter is returned to the main device associated with the first account.
[0085] In response to the first message parameter being less than the second message parameter, a message with a sequence number greater than the second message parameter in the mailbox space associated with the first account is returned to the master device associated with the first account. Since the sequence number of the message increases with the reception time, the first message parameter being less than the second message parameter indicates that the master device associated with the first account wants to pull the message that has been pulled by the first account. For example, the sequence number of message A is 001, the sequence number of message B is 002, the sequence number of message C is 003, and the sequence number of message D is 004. The first message parameter is 002, and the second message parameter is 003, which indicates that the master device associated with the first account has already pulled messages A and B, and wants to continue to pull messages with a sequence number greater than the first message parameter (i.e., message C). Since the second message parameter is 003, it indicates that message C has been pulled by the first account, and message C is not allowed to be pulled again, and message D with a sequence number greater than the second message parameter is returned to the terminal device associated with the first account.
[0086] In step 1042A, the first message parameter and the second message parameter are updated to the maximum sequence number of the pulled message.
[0087] After returning the pulled message to the master device associated with the first account, the first message parameter and the second message parameter are updated to the maximum sequence number of the pulled message. The specific update method can be to update once for each message returned, for example, the value of the first message parameter is 001, the value of the second message parameter is 002, after returning the message with the sequence number 003 to the master device, the value of the first message parameter is updated to 003, the value of the second message parameter is updated to 003, and then the next message with the sequence number 004 is returned. It can also be that after returning a preset number of messages, the values of the first message parameter and the second message parameter are updated, for example, the preset number is 3, the value of the first message parameter is 001, the value of the second message parameter is 002, after returning messages with sequence numbers 003, 004 and 005 to the master device, the first message parameter and the second message parameter are updated to the maximum sequence number of the pulled message, that is, the first message parameter is updated to 005, and the second message parameter is updated to 005.
[0088] In the embodiment of the present application, the first message parameter and the second message parameter may also be updated at the end of each preset time period. For example, the time period is 10s, the first message parameter is 001, and the second message parameter is 002. If a message is returned to the main device logged in by the first account every 2s, 5 messages are returned to the main device in 10s, and the sequence numbers of the returned messages are 003, 004, 005, 006, and 007. Therefore, after 10s, the first message parameter is updated to 007, and the second message parameter is updated to 007. It should be noted that the update method of the first message parameter and the second message parameter can be the same or different, and the specific update method can be set according to the actual situation, which is not limited here.
[0089] The first message parameter is updated to record the maximum sequence number of the message that the first account has pulled from the currently associated master device, and the second message parameter is updated to record the maximum sequence number of the message that the first account has pulled, so that when the first account is associated with other master devices, by comparing the maximum sequence number that other master devices have pulled with the updated second message parameter, the pulled message will not be returned to other master devices. This avoids the message leakage caused by the same message being pulled by multiple master devices, and ensures the security of the message.
[0090] In step 1043A, the original message storage duration of the pulled message is adjusted to obtain an updated message storage duration, and the updated message storage duration is less than the original message storage duration.
[0091] In an embodiment of the present application, after returning a message to the main device associated with the first account, the original message storage duration of the pulled message can be adjusted to obtain an updated message storage duration, wherein the updated message storage duration is less than the original message storage duration. For example, the original message storage duration is 15 days, the updated message storage duration is 1 day, and two messages with sequence numbers 001 and 002 are stored in the mailbox space associated with the first account. After returning the message with sequence number 001 to the main device associated with the first account, the storage duration of the message with sequence number 001 is adjusted to 1 day, and the storage duration of the message with sequence number 002 is still 15 days. It should be noted that if the time from the expiration of the message with sequence number 001 is less than 1 day, after returning the message with sequence number 001 to the main device associated with the first account, the storage duration of the message with sequence number 001 can be reset to 1 day, or the storage duration of the message with sequence number 001 can be not adjusted, so that the message with sequence number 001 is cleared after the message with sequence number 001 reaches the expiration time.
[0092] The purpose of adjusting the message storage time is to reduce the risk of message leakage and improve the security of the message by shortening the storage time of the message after determining that the main device of the first account has pulled the message (that is, after the user has received the message). In an embodiment of the present application, the method for determining that the main device of the first account has pulled the message can be: when the server returns the message to the main device, it is determined that the message has been pulled by the main device, or when the message changes from an unread state to a read state, it is determined that the main device has pulled the message. The specific method for determining that the main device pulls the message can be determined according to the actual situation and is not limited here.
[0093] In the embodiment of the present application, when the message request is sent by the primary device associated with the first account, and the first message parameter is greater than or equal to the second message parameter, see Figure 3C , Figure 3C In step 104 shown, “based on the magnitude relationship between the first message parameter and the second message parameter, executing the message return operation corresponding to the first account” can be implemented by following steps 1041B to 1043B, which are described in detail below:
[0094] In step 1041B, a message in the mailbox space associated with the first account and having a sequence number greater than the first message parameter is returned to the master device associated with the first account.
[0095] In response to the first message parameter being greater than or equal to the second message parameter, a message having a sequence number greater than the first message parameter in the mailbox space associated with the first account is returned to the master device associated with the first account. The fact that the first message parameter is greater than or equal to the second message parameter indicates that the master device associated with the first account is pulling a message having a sequence number greater than the first message parameter in the mailbox space associated with the first account for the first time. For example, if the first message parameter is 002 and the second message parameter is 002, it is determined that the maximum sequence number of the message pulled by the master device associated with the first account is the same as the maximum sequence number of the message pulled by the first account. When the master device associated with the first account pulls a message having a sequence number of 003, it is determined that the message having the sequence number of 003 is pulled by the first account for the first time, and therefore a message greater than the first message parameter can be returned to the master device associated with the first account.
[0096] It should be noted that, due to the process of information transmission, it may happen that the first message parameter is updated but the second message parameter has not been updated. For example, the second message parameter is updated once at a preset time period, and the first message parameter is updated once each time a message is pulled. When the first message parameter is 002, the second message parameter is 002, the preset time period is 6s, and a message is pulled every 2s, after the master device pulls the message with serial number 003, the first message parameter is updated to 003. Since the second message parameter has not reached the preset time period, the second message parameter is still 002. At this time, the first message parameter is greater than the second message parameter.
[0097] In step 1042B, the first message parameter and the second message parameter are updated to the maximum sequence number of the pulled message.
[0098] The purpose is the same as step 1042A, which is to update the first message parameter and the second message parameter to the maximum sequence number of the pulled message.
[0099] In step 1043B, the original message storage duration of the pulled message is adjusted to obtain an updated message storage duration, and the updated message storage duration is less than the original message storage duration.
[0100] The purpose is the same as step 1043A, adjusting the original message storage duration of the pulled message to obtain an updated message storage duration, and the updated message storage duration is less than the original message storage duration.
[0101] It should be noted that the above is the information processing method when the device associated with the first account is a primary device (mobile device, such as a mobile phone, watch, etc.). When the device associated with the first account is a secondary device (desktop, such as a computer, laptop, tablet computer, etc.), the following processing is performed:
[0102] In actual application, it may happen that the server confirms that the message has been pulled without the user receiving the message, which results in the inability to obtain the message. For example, the server is set to confirm that the main device associated with the first account has pulled the message after returning the message to the main device associated with the first account, but at this time, due to network reasons, the message is lost during the transmission process, resulting in the user being unable to obtain the message. For another example, the server is set to confirm that the main device associated with the first account has pulled the message after returning the message to the main device associated with the first account, and after the server returns message A to the application of the main device associated with the first account, the user uninstalls and reinstalls the application without viewing message A, resulting in the inability to re-pull message A.
[0103] In order to solve the above problem, in the embodiment of the present application, since the message is not easily leaked when the device associated with the first account is a secondary device, when the message request is sent by the secondary device associated with the first account, the message with a sequence number greater than the first message parameter in the mailbox space associated with the first account can be returned to the secondary device associated with the first account. That is, if the device associated with the first account is a secondary device, the message in the mailbox space associated with the first account can be repeatedly pulled.
[0104] The following is an introduction to the return process after the function of limiting the message storage time according to the message pulling status is turned on in an embodiment of the present application in conjunction with the flow chart.
[0105] See also Figure 4 , Figure 4 This is a confirmation flow chart of a message return operation provided in an embodiment of the present application.
[0106] like Figure 4 As shown, after the first account turns on the function of limiting the message storage time according to the message pulling status, if it is determined that the first message parameter of the main device associated with the first account is less than the second message parameter, the message with a sequence number greater than the second message parameter in the mailbox space associated with the first account is returned to the main device associated with the first account.
[0107] The first message parameter and the second message parameter are updated to the maximum sequence number of the pulled message, and the original message storage duration of the pulled message is adjusted to obtain an updated message storage duration, wherein the updated message storage duration is less than the original message storage duration.
[0108] like Figure 4As shown, after the first account turns on the function of limiting the message storage time according to the message pulling status, if it is determined that the first message parameter is greater than or equal to the second message parameter, the message with a sequence number greater than the first message parameter in the mailbox space associated with the first account is returned to the main device associated with the first account. Since the first message parameter is greater than or equal to the second message parameter, it represents that the message pulled by the terminal device associated with the first account has not been pulled by the first account, so the message with a sequence number greater than the first message parameter is returned. Afterwards, the first message parameter and the second message parameter can be updated to the maximum sequence number of the pulled message, and the original message storage time of the pulled message can be adjusted to obtain the updated message storage time. The updated message storage time is less than the original message storage time, thereby achieving the purpose of shortening the storage time of the pulled message, ensuring that when the user obtains the message, the probability of avoiding message leakage is reduced, and the security of the message is improved.
[0109] See also Figure 3D ,exist Figure 3A After step 104 shown, steps 105 to 1106 may also be performed, which are described in detail below.
[0110] In step 105, the original message storage time of the target account, the updated message storage time of the target account, the maximum sequence number of the messages that the target account has received recorded by the server, and the storage time of each message in the mailbox space associated with the target account are obtained.
[0111] Since the stored messages are incremental, in order to ensure available storage space, the server may use the first account and any account different from the first account as target accounts, and perform the following processing on the target accounts:
[0112] In response to reaching the set data cleanup time, the original message storage duration of the target account, the updated message storage duration of the target account, the maximum sequence number of the messages that the target account has received recorded by the server, and the storage duration of each message in the mailbox space associated with the target account are obtained.
[0113] In an embodiment of the present application, the set data cleaning time can be 0 o'clock every day, and the data cleaning cycle is 1 day. The specific data cleaning time can be set according to the actual situation, and no specific limitation is made here. The original message storage period can be set to 15 days for all accounts, or different times can be set for different accounts. The specific setting method and setting time can be set according to the actual situation, and no limitation is made here. The updated message storage period can be set to 1 day for all accounts, or different times can be set for different accounts. The specific setting method and setting time can be set according to the actual situation, as long as the condition that the updated message storage period is less than the original message storage period is met. The stored time is the time that has been stored when the set data cleaning time is reached after the server receives each message.
[0114] In step 106, a data cleanup operation is performed based on the original message storage time of the target account, the updated message storage time of the target account, the maximum sequence number of the messages that the target account has received as recorded by the server, and the storage time of each message in the mailbox space associated with the target account.
[0115] The following is a process for performing data cleaning operations based on the original message storage time of the target account, the updated message storage time of the target account, the maximum sequence number of the message that the target account has received as recorded by the server, and the storage time of each message in the mailbox space associated with the target account. The details are as follows:
[0116] See also Figure 5 , Figure 5 This is a flowchart of message cleaning provided by an embodiment of the present application.
[0117] The server performs the following processing for each message in the mailbox space associated with the target account:
[0118] like Figure 5 As shown, if the message carries a corresponding tag, the sequence number of the message in the mailbox space associated with the target account is not greater than the maximum sequence number of the message that the target account has received as recorded by the server, and the storage duration of any message in the mailbox space associated with the target account is not less than the updated message storage duration of the target account, the message is deleted, wherein the tag carried by the message indicates that the message is received after the first account has enabled the function of limiting the message storage duration according to the message pull status.
[0119] Similarly, if the message in the mailbox space associated with the target account does not carry a tag or carries a tag and the sequence number of the message is not greater than the maximum sequence number of the message that the target account has pulled recorded by the server, but the storage time is not less than the original message storage time of the target account, the message is deleted.
[0120] If the message in the mailbox space associated with the target account does not carry a tag or carries a tag and the sequence number of the message is not greater than the maximum sequence number of the message that the target account has pulled recorded by the server, and the storage time is less than the original message storage time of the target account, the message will be retained.
[0121] It can be seen that the mailbox processing method provided in the embodiment of the present application can determine whether it is necessary to limit the message storage time without affecting the user's reception of messages after the first account turns on the function of limiting the message storage time according to the message pull status, and then by limiting the message storage time, reduce the possibility of leakage during the message storage process, thereby improving the security of the message. At the same time, there is also a corresponding message deletion process to avoid the situation where too many messages accumulate and cause insufficient available storage space, thereby improving the utilization rate of storage space.
[0122] The following describes an interaction method between a server and a terminal device of an information processing method provided in an embodiment of the present application.
[0123] See also Figure 3E , Figure 3E It is an interactive flow chart provided in an embodiment of the present application.
[0124] like Figure 3E As shown, the terminal device 400-1 and the terminal device 400-2 correspond to the above Figure 1 The terminal device 400-1 and the terminal device 400-2 are shown. The server 200 corresponds to the above Figure 1 Server 200 is shown.
[0125] exist Figure 3E In the figure, terminal device 400-1 is the terminal device that sends the message (the terminal device associated with the second account), and terminal device 400-2 is the terminal device that receives the message (the terminal device associated with the first account, where the terminal device can be a primary device or a secondary device). The dotted lines represent steps that may not be executed in some cases, and the solid lines represent steps that need to be executed in all cases.
[0126] In step 201, terminal device 400-1 sends a message.
[0127] First, the terminal device 400 - 1 sends a message to the server 200 , wherein the sent message is a message pulled by the terminal device 400 - 2 .
[0128] In step 202, the server 200 stores the message in the mailbox space associated with the first account.
[0129] When receiving a message sent by terminal device 400-1, server 200 stores the message in the mailbox space associated with the first account of associated terminal device 400-2. In the mailbox space, the received messages are numbered in the order of the time when the server 200 receives the messages, and the sequence number of each message is obtained. If server 200 determines that the first account has enabled the function of limiting the message storage time according to the message pull status, before storing the message in the mailbox space, a mark is added to the message, and the marked message is stored in the mailbox space.
[0130] In step 203, the terminal device 400-2 sends a message request.
[0131] When terminal device 400-2 logs in to the first application based on the first account, or when the user switches back to the first application after using an application other than the first application, or when the terminal device is restarted, it sends a message request to server 200, wherein the message request carries the first message parameter.
[0132] In step 204, the terminal device 400-2 sends a save function parameter.
[0133] The terminal device 400-2 sends the saving function parameter to the server 200. If the saving function parameter indicates that the first account has enabled the function of limiting the message saving time according to the message pulling state, and the terminal device 400-2 is the terminal device associated with the first account and is a primary device, step 205 is executed; if the saving function parameter indicates that the first account has not enabled the function of limiting the message saving time according to the message pulling state, or the terminal device 400-2 is the terminal device associated with the first account and is a secondary device, the process jumps to step 207.
[0134] In step 205, the server 200 sends a request for obtaining second message parameters.
[0135] After receiving the saving function parameter sent by the terminal device 400 - 2 , if the saving function parameter indicates that the first account has enabled the function of limiting the message saving time according to the message pulling status, the server 200 sends a request for obtaining the second message parameter to the terminal device 400 - 2 .
[0136] In step 206, the terminal device 400-2 sends a second message parameter.
[0137] After receiving the request for obtaining the second message parameters sent by the server 200, the terminal device 400-2 sends the second message parameters to the server.
[0138] In step 207, the server 200 determines the message returned in the mailbox space associated with the first account.
[0139] When going from step 206 to step 207, the server 200 compares the size relationship between the first message parameter and the second message parameter. If it is determined that the first message parameter is less than the second message parameter, the message with a sequence number greater than the second message parameter in the mailbox space associated with the first account is used as a message returned to the terminal device 400-2. If it is determined that the first message parameter is greater than or equal to the second message parameter, the message with a sequence number greater than the first message parameter in the mailbox space associated with the first account is used as a message returned to the terminal device 400-2.
[0140] When jumping from step 204 to step 207, the message in the mailbox space associated with the first account whose sequence number is greater than the first message parameter is taken as the return message.
[0141] In step 208, the server 200 returns a message.
[0142] When going from step 206 to step 207, after the server 200 sends the determined return message to the terminal device 400-2, it updates the first message parameter and the second message parameter to the maximum sequence number of the pulled message, and adjusts the original message storage time of the pulled message to obtain the updated message storage time, wherein the updated message storage time is less than the original message storage time.
[0143] When jumping from step 204 to step 207, the server 200 directly sends the determined return message to the terminal device 400-2.
[0144] In step 209 , the server 200 performs data cleaning.
[0145] In response to reaching the set data cleanup time, the server 200 deletes each message in all mailbox spaces if the storage time of the message is not less than the original message storage time of the account receiving the message.
[0146] If the message carries a tag, and the sequence number of the message is not greater than the maximum sequence number of messages that have been received by the receiving account corresponding to the message recorded by the server 200, and the storage time of any message in the mailbox space storing the message is not less than the updated message storage time of the account receiving the message, the message is deleted. Otherwise, the message is retained.
[0147] The following describes an application of an information processing method provided in an embodiment of the present application in a communication process.
[0148] See also Figure 6 , Figure 6 It is an implementation framework diagram provided in an embodiment of the present application.
[0149] like Figure 6As shown, client A (the communication client of the terminal device associated with the first account) pulls the message in the mailbox space A (message storage) associated with client A in the server through the message pulling module. Client B (the communication client of the terminal device associated with the second account) sends the message to the mailbox space A in the server through the message sending module. The expired message cleaning module in the server is used to clean up the expired data in the mailbox space A.
[0150] Among them, the message sending module is responsible for the delivery of messages, and the mailbox space (message storage) is responsible for the preservation of message content. Each account is associated with a mailbox, and a message will have a copy in the mailbox of each recipient. Expired message cleaning module is responsible for cleaning and deleting expired messages in the information space. The message pulling module is responsible for incrementally pulling messages from the user's mailbox, and recording the maximum message ID (sequence number) that the user has confirmed to pull, and restricting the main device (mobile device) to only pull messages that have not been confirmed to pull.
[0151] See also Figure 7 , Figure 7 A flowchart of message delivery provided in an embodiment of the present application.
[0152] like Figure 7 As shown, in step 401, the terminal device associated with the second account sends a message to the server.
[0153] In step 402, the server determines whether the recipient (first account) has enabled the function of shortening the message storage time (a function of limiting the message storage time according to the message pull status), and if the function of shortening the message storage time is enabled, step 403 is executed. If the function of shortening the message storage time is not enabled, step 404 is executed.
[0154] In step 403, the server adds a tag to the sent message.
[0155] In step 404, the server saves the message carrying the mark into the recipient's mailbox (when jumping from step 403 to step 404), or directly saves the message into the recipient's mailbox (when jumping from step 402 to step 404).
[0156] In the embodiment of the present application, each time the terminal device associated with the second account sends a message, the message will be diffused and delivered to the mailbox of each recipient (i.e., sending a message in the communication group). Before the message is saved in the mailbox, it is necessary to query whether the current recipient has enabled the function of shortening the message storage time. If it is enabled, a mark is added to the message, indicating that the message is delivered when the function is enabled and the function of shortening the message storage time needs to be enabled.
[0157] See also Figure 8, Figure 8 A flowchart of message pulling provided in an embodiment of the present application.
[0158] In step 501, the server user receives messages incrementally, and sets the largest message ID received locally to a (the first message parameter is a).
[0159] In step 502, if the server determines that the user has not enabled the function of shortening the message storage time (a function of limiting the message storage time according to the message pull status), step 503 is executed. If the server determines that the user has enabled the function of shortening the message storage time, step 504 is executed.
[0160] In step 503, the terminal device associated with the first account directly pulls the message with a message ID greater than a from the mailbox (the mailbox space associated with the first account), and then the process ends.
[0161] In step 504, the server obtains the maximum message ID=b (the second message parameter is b) that has been confirmed to be received by the user's main device and saved in the background.
[0162] In step 505, the server determines the size relationship between a and b, and if a<b, executes step 506. If a≥b, executes step 507.
[0163] In step 506, the terminal device associated with the first account pulls the message with a message ID greater than b from the mailbox, and then the process ends.
[0164] In step 507, the terminal device associated with the first account pulls messages with message IDs greater than a from the mailbox.
[0165] In step 508, the server assigns the value of a to b.
[0166] See also Fig. 9 , Fig. 9 An information deletion flow chart provided for an embodiment of the present application.
[0167] In step 601, the server periodically triggers an expired message cleanup task.
[0168] In step 602, the server obtains the member message storage period A days set by the enterprise.
[0169] In step 603, the server obtains the maximum message ID=b that has been confirmed to be received by the user's main device and is saved in the background.
[0170] In step 604, if the server determines that the message is tagged, and the message ID is less than or equal to b, and the sending time exceeds the adjusted message storage time B, where B is less than A, then step 605 is executed. If the server determines that the message carries a tag, or the message is tagged but the message ID is greater than b, then step 606 is executed.
[0171] In step 605, the server deletes the message.
[0172] In step 606 , the server determines whether the message was sent more than A days ago. If so, step 607 is executed.
[0173] In step 607, the server deletes the message.
[0174] It can be seen that the embodiments of the present application can take into account both convenience and security. For messages that the first account has not pulled, they will be saved in the cloud according to the preset duration, ensuring that the user can pull these messages at any time. For messages that the user has confirmed to pull, the embodiments of the present application can shorten their storage time in the cloud, greatly improving the security and privacy protection of the messages and reducing the risk of information leakage.
[0175] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the information processing method described in the embodiment of the present application.
[0176] The present application embodiment provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the information processing method provided by the present application embodiment, for example, Figure 3A The information processing method shown.
[0177] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
[0178] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0179] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0180] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0181] To sum up, through the embodiments of the present application, it is possible to determine whether it is necessary to limit the message storage period without affecting the user's reception of messages, and then by limiting the message storage period, the possibility of leakage during the message storage process is reduced, thereby improving the security of the message.
[0182] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. An information processing method, characterized in that: The method comprises: Receiving a message request from a first account, wherein the message request carries a first message parameter, and the first message parameter is a maximum sequence number of received messages recorded by a terminal device associated with the first account; Obtaining a save function parameter of the first account, wherein the save function parameter indicates whether the first account has enabled a function of limiting the message save time according to the message pull status; In response to the saving function parameter indicating that the first account has enabled a function of limiting the message saving time according to the message pulling state, obtaining a second message parameter, wherein the second message parameter is a maximum sequence number of messages that have been received by the first account and recorded by the server; Based on the size relationship between the first message parameter and the second message parameter, a message return operation corresponding to the first account is performed.
2. The method according to claim 1, characterized in that Before receiving the message request from the first account, the method further includes: Receive messages sent by the second account; The message sent by the second account is stored in the mailbox space associated with the first account, wherein the mailbox space is used as a data source for querying the message when executing the message return operation, and different accounts are associated with different mailbox spaces.
3. The method according to claim 2, characterized in that Before storing the message sent by the second account in the mailbox space associated with the first account, the method further includes: In response to the saving function parameter representing that the first account has enabled the function of limiting the message saving period according to the message pulling status, when receiving the message sent by the second account to the first account, a mark is added to the message sent by the first account, and the message sent by the first account carrying the mark is stored in the mailbox space corresponding to the first account, wherein the mark represents the timing when the sent message is stored in the mailbox space associated with the first account, and the timing is after the first account has enabled the function of limiting the message saving period according to the message pulling status.
4. The method according to any one of claims 1 to 3, characterized in that: When the message request is sent by a master device associated with the first account, performing a message return operation corresponding to the first account based on a size relationship between the first message parameter and the second message parameter includes: In response to the first message parameter being less than the second message parameter, a message having a sequence number greater than the second message parameter in the mailbox space associated with the first account is returned to a main device associated with the first account, the first message parameter and the second message parameter are updated to the maximum sequence number of the pulled message, and the original message storage duration of the pulled message is adjusted to obtain an updated message storage duration, wherein the updated message storage duration is less than the original message storage duration.
5. The method according to any one of claims 1 to 3, characterized in that: When the message request is sent by a master device associated with the first account, performing a message return operation corresponding to the first account based on a size relationship between the first message parameter and the second message parameter includes: In response to the first message parameter being greater than or equal to the second message parameter, a message with a sequence number greater than the first message parameter in the mailbox space associated with the first account is returned to a main device associated with the first account, and the first message parameter and the second message parameter are updated to the maximum sequence number of the pulled message, and the original message storage duration of the pulled message is adjusted to obtain an updated message storage duration, and the updated message storage duration is less than the original message storage duration.
6. The method according to claim 1, characterized in that When the message request is sent by a secondary device associated with the first account, the method further includes: Return a message in the mailbox space associated with the first account, the message having a sequence number greater than the first message parameter, to the secondary device associated with the first account.
7. The method according to claim 1, characterized in that The method further comprises: In response to the saving function parameter indicating that the first account has turned off the function of limiting the message saving time according to the message pulling status, a message with a serial number greater than the first message parameter in the mailbox space associated with the first account is returned to the terminal device associated with the first account and that issues the message request.
8. The method according to any one of claims 1-3, 6 and 7, characterized in that: The method further comprises: The first account and any account different from the first account are used as target accounts, and the following processing is performed on the target accounts: In response to reaching a set data cleanup time, obtaining the original message storage duration of the target account, the updated message storage duration of the target account, the maximum sequence number of the message received by the target account recorded by the server, and the storage duration of each message in the mailbox space associated with the target account; A data cleaning operation is performed based on the original message storage time of the target account, the updated message storage time of the target account, the maximum sequence number of the messages that the target account has received as recorded by the server, and the storage time of each message in the mailbox space associated with the target account.
9. The method according to claim 8, characterized in that The performing of a data cleaning operation based on the original message storage duration of the target account, the updated message storage duration of the target account, the third message parameter, and the storage duration of each message in the mailbox space associated with the target account includes: For each message in the mailbox space associated with the target account, perform the following processing: In response to the message carrying the corresponding tag, the sequence number of the message in the mailbox space associated with the target account is not greater than the maximum sequence number of the message that has been received by the target account recorded by the server, and the storage time of any message in the mailbox space associated with the target account is not less than the updated message storage time of the target account, deleting the message; In response to the storage time of the message in the mailbox space associated with the target account being not less than the original message storage time of the target account, the message is deleted.
10. An information processing method, characterized in that: The method comprises: Sending a message request of the first account to the server, wherein the message request carries a first message parameter, and the first message parameter is the maximum sequence number of the received messages recorded by the terminal device associated with the first account; Sending a message saving function parameter of the first account to the server, wherein the saving function parameter indicates whether the first account has enabled a function of limiting the message saving time according to the message pulling status; Receive a result of a message return operation sent by the server, wherein the message return operation is performed by the server based on a size relationship between the first message parameter and a second message parameter, the second message parameter is obtained by the server after the first account turns on the function, and the second message parameter is the maximum sequence number of messages that the first account has received and recorded by the server.
11. An information processing device, characterized in that: The device comprises: A request receiving module, configured to receive a message request from a first account, wherein the message request carries a first message parameter, and the first message parameter is a maximum sequence number of received messages recorded by a terminal device associated with the first account; A parameter acquisition module, used to acquire a save function parameter of the first account, wherein the save function parameter indicates whether the first account has enabled a function of limiting the message save time according to the message pull status; a message parameter acquisition module, configured to acquire a second message parameter in response to the saving function parameter indicating that the first account has enabled a function of limiting the message saving time according to the message pulling state, wherein the second message parameter is a maximum sequence number of messages that have been received by the first account and recorded by the server; An operation execution module is used to execute a message return operation corresponding to the first account based on the size relationship between the first message parameter and the second message parameter.
12. An information processing device, characterized in that: The device comprises: A request sending module, configured to send a message request of a first account to a server, wherein the message request carries a first message parameter, and the first message parameter is a maximum sequence number of received messages recorded by a terminal device associated with the first account; a parameter sending module, configured to send a message saving function parameter of the first account to the server, wherein the saving function parameter indicates whether the first account has enabled a function of limiting the message saving time according to the message pulling status; A result receiving module is used to receive the result of the message return operation sent by the server, wherein the message return operation is performed by the server based on the size relationship between the first message parameter and the second message parameter, the second message parameter is obtained by the server after the first account turns on the function, and the second message parameter is the maximum sequence number of the message that the first account has received recorded by the server.
13. An electronic device, characterized in that: The electronic device comprises: A memory for storing computer executable instructions; A processor, for implementing the information processing method according to any one of claims 1 to 9, or implementing the information processing method according to claim 10, when executing the computer executable instructions or computer programs stored in the memory.
14. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer program are executed by a processor, the information processing method according to any one of claims 1 to 9 is implemented, or the information processing method according to claim 10 is implemented.
15. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer program are executed by a processor, the information processing method according to any one of claims 1 to 9 is implemented, or the information processing method according to claim 10 is implemented.