CN113965638A - APP message state control method and device - Google Patents

APP message state control method and device Download PDF

Info

Publication number
CN113965638A
CN113965638A CN202111226116.3A CN202111226116A CN113965638A CN 113965638 A CN113965638 A CN 113965638A CN 202111226116 A CN202111226116 A CN 202111226116A CN 113965638 A CN113965638 A CN 113965638A
Authority
CN
China
Prior art keywords
state
app message
app
message data
server
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
Application number
CN202111226116.3A
Other languages
Chinese (zh)
Inventor
张兴华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111226116.3A priority Critical patent/CN113965638A/en
Publication of CN113965638A publication Critical patent/CN113965638A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Abstract

The invention provides an APP message state control method and device, and relates to the technical field of mobile interconnection, wherein the method is applied to a client, and comprises the following steps: acquiring APP message data from a server; setting the state of APP message data to be a first state; when an access instruction of APP message data is received, the first state is modified into a second state; and sending a state modification instruction to the server so that the server modifies the state of the APP message data into a second state according to the state modification instruction. The invention can not only meet the accuracy of the message state acquired by the client, but also realize the management of the server on the message state.

Description

APP message state control method and device
Technical Field
The invention relates to the technical field of mobile interconnection, in particular to an APP message state control method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
The existing APP (Application) message state is managed either by the server or by the client. Wherein, the client manages the message state, for example: wechat, short message and the like, the state is checked only by the APP or mobile phone management client, and the server side cannot acquire the read state of the message; and the server side manages the state, the message state is only stored in the server side, the client side cannot acquire the message state in time, and the user experience is poor.
Disclosure of Invention
The invention provides an APP message state control method and device, which can meet the accuracy of a message state acquired by a client and realize the management of the message state by a server.
In a first aspect, an embodiment of the present invention provides an APP message state control method, where the method is applied to a client, and the method includes:
acquiring APP message data from a server;
setting the state of the APP message data to be a first state;
when an access instruction of the APP message data is received, the first state is modified into a second state;
and sending a state modification instruction to the server, so that the server modifies the state of the APP message data into the second state according to the state modification instruction.
In a second aspect, an embodiment of the present invention provides an APP message state control method, where the method is applied to a server, and the method includes:
receiving a state modification instruction sent by a client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state;
and modifying the state of the APP message data into a second state according to the state modification instruction.
In a third aspect, an embodiment of the present invention provides an APP message state control apparatus, where the apparatus is applied to a client, and the apparatus includes:
the acquisition module is used for acquiring APP message data from a server side;
the setting module is used for setting the state of the APP message data to be a first state;
the modification module is used for modifying the first state into a second state when receiving an access instruction of the APP message data;
and the sending module is used for sending a state modification instruction to the server so that the server modifies the state of the APP message data into the second state according to the state modification instruction.
In a fourth aspect, an embodiment of the present invention provides an APP message state control apparatus, where the apparatus is applied to a server, and the apparatus includes:
the receiving module is used for receiving a state modification instruction sent by the client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state;
and the control module is used for modifying the state of the APP message data into a second state according to the state modification instruction.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the APP message state control method when executing the computer program.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the APP message state control method is stored in the computer-readable storage medium.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention provides an APP message state control scheme, which is applied to a client and comprises the following steps: acquiring APP message data from a server; setting the state of APP message data to be a first state; when an access instruction of the APP message data is received, the first state is modified into a second state; and sending a state modification instruction to the server so that the server modifies the state of the APP message data into a second state according to the state modification instruction. The embodiment of the invention can not only meet the accuracy of the message state acquired by the client, but also realize the management of the message state by the server.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an APP message state control method applied to a client according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a data processing process according to an embodiment of the present invention;
fig. 3 is a block diagram of an APP message state control apparatus applied to a client according to an embodiment of the present invention;
fig. 4 is a block diagram of another structure of an APP message state control apparatus applied to a client according to an embodiment of the present invention;
fig. 5 is a block diagram of an APP message state control apparatus applied to a server according to an embodiment of the present invention;
fig. 6 is a block diagram of another structure of an APP message state control device applied to a server according to an embodiment of the present invention;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a block diagram of another structure of an APP message state control apparatus applied to a server according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present 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.
Currently, in the existing method for APP message state management, a client manages a message state: the method is simple to realize, the customer experience is good, the synchronous checking at the server is not needed, but the bank cannot know the condition of checking the information by the customer.
The server side manages the message state: the state is only stored in the server, the client acquires a message title list firstly, the client clicks to check the message and then goes to the server to acquire the message, and meanwhile, the server records that the message is clicked/read by the client.
Based on this, the method and the device for controlling the state of the APP message provided by the embodiment of the present invention can solve the problem of state control of the mobile banking message, and provide a management manner of the client and the server, which can satisfy the accuracy of the state of the client and also satisfy the management of the state of the server, and the server can analyze and count the reading rate/click rate of the message accordingly.
To facilitate understanding of the embodiment, a shenme method disclosed in the embodiment of the present invention is first described in detail.
First, the terms involved will be explained.
Message status: the read/unread state of the App client message can be the marketing and advertising messages of the bank, and the user click/view rate of the messages has a very high reference value for the business marketing of the bank.
An embodiment of the present invention provides an APP message state control method, referring to a flowchart of an APP message state control method applied to a client shown in fig. 1, where the method includes the following steps:
and step S102, obtaining APP message data from the server.
In the embodiment of the invention, the server side is in communication connection with the client side. The client can be mobile equipment such as a mobile phone, and the APP is installed on the client. The client can obtain APP message data from the server, for example, message data of a mobile banking.
It should be noted that the APP message data may include header data and content data, where the header data includes main information of the APP message data, and the content data includes detailed information of the APP message data. For the message data of the mobile banking, the header data may be: the posting transaction, the content data may include specific information such as account number, amount, time, etc. of the posting transaction.
Step S104, setting the state of the APP message data to be a first state.
In the embodiment of the present invention, the first state may be set according to actual requirements, which is not specifically limited in the embodiment of the present invention. The client side stores the APP message data after acquiring the APP message data, and the state of the APP message data can be set during storage.
And step S106, modifying the first state into the second state when receiving the access instruction of the APP message data.
In the embodiment of the invention, when a client accesses the APP message data, a system receives an access instruction of the APP message data caused by client access operation, and then the client synchronously modifies the state of the APP message data from a first state to a second state.
It should be noted that, in the embodiment of the present invention, the second portion state may be set according to actual requirements, and this is not particularly limited in the embodiment of the present invention.
Step S108, a state modification instruction is sent to the server, so that the server modifies the state of the APP message data into a second state according to the state modification instruction.
In the embodiment of the invention, after the client modifies the state of the APP message data from the first state to the second state, the client asynchronously sends a state modification instruction to the server, so that the server adjusts the state of the APP message data to be consistent with the state in the client.
The embodiment of the invention provides an APP message state control scheme, which is applied to a client and comprises the following steps: acquiring APP message data from a server; setting the state of APP message data to be a first state; when an access instruction of APP message data is received, the first state is modified into a second state; and sending a state modification instruction to the server so that the server modifies the state of the APP message data into a second state according to the state modification instruction. The embodiment of the invention can not only meet the accuracy of the message state acquired by the client, but also realize the management of the message state by the server.
In one embodiment, the first state is an unread state and the second state is a read state.
In one embodiment, considering that the state of a message may be lost when the message is asynchronously synchronized online, for example, the initiated asynchronous transaction may be lost in case of network failure, the method may further perform the following steps:
and when the APP login instruction is received, sending a second state modification instruction to the server, so that the server modifies the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
In the embodiment of the present invention, the target APP message data is selected according to a predetermined rule, for example, a plurality of pieces of message data may be selected from APP message data according to the number of pieces or time periods as the target APP message data. By carrying out the asynchronous batch synchronous processing on the message state, the accuracy of message state control is ensured, and asynchronous transaction data loss caused by network disconnection and the like is reduced.
The embodiment of the invention also provides an APP message state control method, which is applied to a server and comprises the following steps:
receiving a state modification instruction sent by a client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state; and modifying the state of the APP message data into a second state according to the state modification instruction.
In one embodiment, the method may further perform the steps of:
and counting the access rate of the APP message data.
In the embodiment of the invention, the server side can acquire the related data of APP message state control, and based on the state control data, statistics and analysis of the access rate of the APP message data can be carried out, so that a user can know click rate or reading rate information of various messages.
In one embodiment, the method may further perform the steps of:
and when the APP login instruction is received, receiving a second state modification instruction, and modifying the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
The following describes the steps of the method in a specific embodiment.
1. Acquiring a message: generally, when a user clicks a message center of the App or has a message prompt, a message of the latest time is pulled from the server, the start time starts from the latest start time of the App, if the unread message of the server is not pulled in full according to the longest time specified by the service, and the unread message is marked at the client.
2. App local message management: when the client clicks and views a certain message, the local message state is set as read.
3. Asynchronous synchronization of message states: and when the local message state is set to be read, asynchronously initiating a state synchronous transaction to the server.
4, asynchronous batch synchronization of message states: it is possible that the state of a message is asynchronously synchronized online, for example, an initiated asynchronous transaction in the case of a network outage may be lost. When the App logs in, batch synchronization of local messages to the server side is automatically and asynchronously initiated, and the range service of the batch messages can be set (according to the number of the batch messages or the time period).
5. And (3) server state management: and the server side statistically analyzes the click rate/reading rate of the message.
The method has the following advantages:
1. acquiring a message in a mode of acquiring the message by increment time and acquiring the message by full amount;
the incremental mode reduces the data volume acquired by the message as much as possible, and the full mode ensures effective check of App uninstallation and mobile phone replacement.
2. Local state management + server state management;
the method and the system ensure the customer experience of the user for checking the message (synchronous interaction with the server side is not needed), normally check the message and manage the message state under the offline condition, ensure the check rate/click rate of the bank side for acquiring the message, and change the direction of interest of the user for the marketing information.
3. A state synchronization mode of asynchronous online synchronization and batch synchronization;
the method can ensure real-time synchronization of most message states and ensure that the abnormally lost message states are synchronized to the server side in an asynchronous batch mode.
The invention provides an APP message state control method and device, referring to a data processing process schematic diagram shown in FIG. 2, in the method, a client pulls a message list (title + content) to a server, the client stores the message title and content and is juxtaposed to an initial state (unread state), when the client clicks to check the message, the client state is synchronously modified to be read, and simultaneously, the state synchronous transaction is asynchronously initiated to the server, and the synchronization is an online + batch synchronization mode, so that the consistency of the client and the server is ensured.
The embodiment of the present invention further provides an APP message state control apparatus, which is applied to a client, as described in the following embodiments. Because the principle of the device for solving the problems is similar to the APP message state control method, the implementation of the device can refer to the implementation of the APP message state control method, and repeated parts are not described again. Referring to fig. 3, a block diagram of an APP message state control apparatus applied to a client is shown, where the apparatus includes:
an obtaining module 31, configured to obtain APP message data from a server; a setting module 32, configured to set a state of the APP message data to a first state; a modification module 33, configured to modify the first state into a second state when receiving an access instruction of APP message data; the sending module 34 is configured to send a state modification instruction to the server, so that the server modifies the state of the APP message data into a second state according to the state modification instruction.
In one embodiment, the first state is an unread state and the second state is a read state.
Referring to fig. 4, a block diagram of another structure of an APP message state control apparatus applied to a client is shown, in an embodiment, the apparatus further includes a first batch processing module 35, configured to: and when the APP login instruction is received, sending a second state modification instruction to the server, so that the server modifies the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
The embodiment of the present invention further provides an APP message state control apparatus, which is applied to a server, as described in the following embodiments. Because the principle of the device for solving the problems is similar to the APP message state control method, the implementation of the device can refer to the implementation of the APP message state control method, and repeated parts are not described again. Referring to fig. 5, a block diagram of an APP message state control apparatus applied to a server side is shown, where the apparatus includes:
a receiving module 51, configured to receive a state modification instruction sent by a client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state; and the control module 52 is configured to modify the state of the APP message data into a second state according to the state modification instruction.
Referring to fig. 6, a block diagram of another structure of an APP message state control apparatus applied to a server, in an embodiment, the apparatus further includes a statistics module 53 for counting an access rate of APP message data.
Referring to the block diagram of another structure of the APP message state control apparatus applied to the server shown in fig. 8, in an embodiment, the apparatus further includes a second batch processing module 54, configured to: and when the APP login instruction is received, receiving a second state modification instruction, and modifying the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
Based on the same inventive concept, the embodiment of the present invention further provides an embodiment of an electronic device for implementing all or part of the content in the APP message state control method. The electronic device specifically comprises the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between related devices; the electronic device may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the electronic device may refer to an embodiment for implementing the APP message state control method and an embodiment for implementing the APP message state control apparatus in the embodiments, and the contents of the embodiments are incorporated herein, and repeated details are not repeated.
Fig. 7 is a schematic diagram of a system configuration structure of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic device 70 may include a processor 701 and a memory 702; a memory 702 is coupled to the processor 701. Notably, this fig. 7 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the functions implemented by the APP message state control method may be integrated into the processor 701. Wherein, the processor 701 may be configured to control as follows:
acquiring APP message data from a server; setting the state of APP message data to be a first state; when an access instruction of APP message data is received, the first state is modified into a second state; sending a state modification instruction to the server so that the server modifies the state of the APP message data into a second state according to the state modification instruction;
or implementing the following steps:
receiving a state modification instruction sent by a client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state; and modifying the state of the APP message data into a second state according to the state modification instruction.
As can be seen from the above, the electronic device provided in the embodiment of the present invention can not only meet the accuracy of the message state acquired by the client, but also implement management of the message state by the server.
In another embodiment, the APP message state control device may be configured separately from the processor 701, for example, the APP message state control device may be configured as a chip connected to the processor 701, and the function of the APP message state control method is implemented by the control of the processor.
As shown in fig. 7, the electronic device 70 may further include: a communication module 703, an input unit 704, an audio processing unit 705, a display 706, and a power supply 707. It is noted that the electronic device 70 does not necessarily include all of the components shown in fig. 7; furthermore, the electronic device 70 may also comprise components not shown in fig. 7, which can be referred to in the prior art.
As shown in fig. 7, the processor 701, which is sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, and the processor 701 receives input and controls the operation of the various components of the electronic device 70.
The memory 702 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the processor 701 may execute the program stored in the memory 702 to realize information storage or processing, or the like.
The input unit 704 provides input to the processor 701. The input unit 704 is, for example, a key or a touch input device. The power supply 707 is used to supply power to the electronic device 70. The display 706 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 702 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 702 may also be some other type of device. Memory 702 includes a buffer memory 7021 (sometimes referred to as a buffer). The memory 702 may include an application/function storage portion 7022, the application/function storage portion 7022 being used to store application programs and function programs or procedures for performing operations of the electronic device 70 by the processor 701.
The memory 702 may also include a data store 7023, the data store 7023 being for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 7024 of the memory 702 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 703 is a transmitter/receiver that transmits and receives signals via the antenna 708. A communication module (transmitter/receiver) 703 is coupled to the processor 701 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 703, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 703 is also coupled to a speaker 709 and a microphone 710 via an audio processing unit 705 to provide audio output via the speaker 709 and receive audio input from the microphone 710 to implement general telecommunication functions. The audio processing unit 705 may include any suitable buffers, decoders, amplifiers and so forth. Additionally, an audio processing unit 705 is also coupled to the processor 701 to enable recording of sound locally through a microphone 710 and to enable playing of locally stored sound through a speaker 709.
An embodiment of the present invention further provides a computer-readable storage medium for implementing all the steps in the APP message state control method in the foregoing embodiment, where the computer-readable storage medium stores thereon a computer program, and the computer program when executed by a processor implements all the steps of the APP message state control method in the foregoing embodiment, for example, the processor implements the following steps when executing the computer program:
acquiring APP message data from a server; setting the state of APP message data to be a first state; when an access instruction of APP message data is received, the first state is modified into a second state; sending a state modification instruction to the server so that the server modifies the state of the APP message data into a second state according to the state modification instruction;
or implementing the following steps:
receiving a state modification instruction sent by a client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state; and modifying the state of the APP message data into a second state according to the state modification instruction.
As can be seen from the above, the computer-readable storage medium provided in the embodiment of the present invention can not only meet the accuracy of the message state obtained by the client, but also implement management of the message state by the server.
Although the present invention provides method steps as described in the examples or flowcharts, more or fewer steps may be included based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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, method, article, or apparatus. The terms "upper", "lower", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
Unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are intended to be inclusive and mean, for example, that they may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention is not limited to any single aspect, nor is it limited to any single embodiment, nor is it limited to any combination and/or permutation of these aspects and/or embodiments. Each aspect and/or embodiment of the invention can be used alone or in combination with one or more other aspects and/or embodiments.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. An APP message state control method is applied to a client, and the method comprises the following steps:
acquiring APP message data from a server;
setting the state of the APP message data to be a first state;
when an access instruction of the APP message data is received, the first state is modified into a second state;
and sending a state modification instruction to the server, so that the server modifies the state of the APP message data into the second state according to the state modification instruction.
2. The method of claim 1, wherein the first state is an unread state and the second state is a read state.
3. The method of claim 1, further comprising:
and when receiving the APP login instruction, sending a second state modification instruction to the server, so that the server modifies the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
4. An APP message state control method is applied to a server side, and the method comprises the following steps:
receiving a state modification instruction sent by a client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state;
and modifying the state of the APP message data into a second state according to the state modification instruction.
5. The method of claim 4, further comprising:
and counting the access rate of the APP message data.
6. The method of claim 4, further comprising:
and when receiving the APP login instruction, receiving a second state modification instruction, and modifying the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
7. An APP message state control device, applied to a client, the device comprising:
the acquisition module is used for acquiring APP message data from a server side;
the setting module is used for setting the state of the APP message data to be a first state;
the modification module is used for modifying the first state into a second state when receiving an access instruction of the APP message data;
and the sending module is used for sending a state modification instruction to the server so that the server modifies the state of the APP message data into the second state according to the state modification instruction.
8. The apparatus of claim 7, wherein the first state is an unread state and the second state is a read state.
9. The apparatus of claim 7, further comprising a first batch processing module to:
and when receiving the APP login instruction, sending a second state modification instruction to the server, so that the server modifies the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
10. An APP message state control device, applied to a server, the device comprising:
the receiving module is used for receiving a state modification instruction sent by the client; the state modification instruction is sent out after the client modifies the state of the APP message data from a first state to a second state;
and the control module is used for modifying the state of the APP message data into a second state according to the state modification instruction.
11. The apparatus of claim 10, further comprising a statistics module to:
and counting the access rate of the APP message data.
12. The apparatus of claim 10, further comprising a second batch processing module to:
and when receiving the APP login instruction, receiving a second state modification instruction, and modifying the states of the plurality of pieces of target APP message data into a second state according to the second state modification instruction.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the APP message state control method of any one of claims 1 to 6 when executing the computer program.
14. A computer-readable storage medium storing a computer program for executing the APP message state control method according to any one of claims 1 to 6.
CN202111226116.3A 2021-10-21 2021-10-21 APP message state control method and device Pending CN113965638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111226116.3A CN113965638A (en) 2021-10-21 2021-10-21 APP message state control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111226116.3A CN113965638A (en) 2021-10-21 2021-10-21 APP message state control method and device

Publications (1)

Publication Number Publication Date
CN113965638A true CN113965638A (en) 2022-01-21

Family

ID=79465814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111226116.3A Pending CN113965638A (en) 2021-10-21 2021-10-21 APP message state control method and device

Country Status (1)

Country Link
CN (1) CN113965638A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150039557A1 (en) * 2013-07-30 2015-02-05 International Business Machines Corporation State scope data file sharing
WO2015188481A1 (en) * 2014-06-11 2015-12-17 中兴通讯股份有限公司 Unread message processing method, device and system
CN105791094A (en) * 2016-04-22 2016-07-20 刘冰 User state setting method, device and system
CN109309614A (en) * 2018-11-30 2019-02-05 努比亚技术有限公司 A kind of message modification method, mobile terminal, server and storage medium
CN109842541A (en) * 2017-11-24 2019-06-04 腾讯科技(深圳)有限公司 Information processing method, device and storage medium
CN111901341A (en) * 2020-07-28 2020-11-06 北京字节跳动网络技术有限公司 State synchronization method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150039557A1 (en) * 2013-07-30 2015-02-05 International Business Machines Corporation State scope data file sharing
WO2015188481A1 (en) * 2014-06-11 2015-12-17 中兴通讯股份有限公司 Unread message processing method, device and system
CN105791094A (en) * 2016-04-22 2016-07-20 刘冰 User state setting method, device and system
CN109842541A (en) * 2017-11-24 2019-06-04 腾讯科技(深圳)有限公司 Information processing method, device and storage medium
CN109309614A (en) * 2018-11-30 2019-02-05 努比亚技术有限公司 A kind of message modification method, mobile terminal, server and storage medium
CN111901341A (en) * 2020-07-28 2020-11-06 北京字节跳动网络技术有限公司 State synchronization method and device

Similar Documents

Publication Publication Date Title
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN111782470B (en) Distributed container log data processing method and device
CN111367988A (en) Data import method and device
CN111371695B (en) Service flow limiting method and device
CN113011769A (en) Item reservation method and device
CN112035066A (en) Method and device for calculating log retention time
CN111147358A (en) Security authentication method and device based on instant messaging software
CN113965638A (en) APP message state control method and device
CN113179145B (en) Time synchronization method, device and system
CN113190516B (en) Data synchronization monitoring method and device
CN113159752A (en) Method and device for generating account transfer transaction certificate
CN113672488A (en) Log text processing method and device
CN113434423A (en) Interface test method and device
CN111859041A (en) Data transmission method and device
CN111930624A (en) Test link message data processing method and device
CN113050904A (en) Screen sharing method and device
CN113438251A (en) Protocol conversion method, device and system
CN113704629A (en) Full channel notification pushing method and device
CN113592564A (en) Front-end parameter processing method and device
CN115208875B (en) Information integration system of multi-transmission middleware
CN113760683B (en) Log acquisition method and device
CN113435890A (en) Capital account change monitoring method and device
CN115563137A (en) Stationary point data processing method and device
CN113778833A (en) Asynchronous log processing method and device
CN113723945A (en) Bank user data processing method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220121

RJ01 Rejection of invention patent application after publication