CN112865927A - Message delivery verification method, device, computer equipment and storage medium - Google Patents

Message delivery verification method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112865927A
CN112865927A CN201911179795.6A CN201911179795A CN112865927A CN 112865927 A CN112865927 A CN 112865927A CN 201911179795 A CN201911179795 A CN 201911179795A CN 112865927 A CN112865927 A CN 112865927A
Authority
CN
China
Prior art keywords
message
sent
preset time
middleware
attribute
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.)
Granted
Application number
CN201911179795.6A
Other languages
Chinese (zh)
Other versions
CN112865927B (en
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.)
Zhejiang Dasou Vehicle Software Technology Co Ltd
Original Assignee
Zhejiang Dasou Vehicle Software Technology Co 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 Zhejiang Dasou Vehicle Software Technology Co Ltd filed Critical Zhejiang Dasou Vehicle Software Technology Co Ltd
Priority to CN201911179795.6A priority Critical patent/CN112865927B/en
Publication of CN112865927A publication Critical patent/CN112865927A/en
Application granted granted Critical
Publication of CN112865927B publication Critical patent/CN112865927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Abstract

The application relates to a message delivery verification method, a message delivery verification device, a computer device and a storage medium. The method comprises the following steps: inquiring message attributes of sent messages from the middleware, wherein the message attributes of the sent messages stored in the middleware are written by a sender; and verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed. The message delivery verification method, the message delivery verification device, the computer equipment and the storage medium continuously detect whether the receiver receives the message within the preset time, so that the sender can know whether the receiver receives the message in time and respond in time, and the method and the device are high in reliability and high in efficiency.

Description

Message delivery verification method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for verifying delivery of a message, a computer device, and a storage medium.
Background
A message is a carrier of information. In order for both the sender and the recipient of a message to be able to understand the information they carry, they need to describe the message in a uniform format, referred to as a message protocol.
There are also two ways in which messages can be sent from sender to recipient. One such way we can Call instant messaging, i.e. messages can reach one end (message receiver) immediately after they are sent from the other end (message sender), and this is called RPC (Remote Procedure Call); another method is called delayed message communication, i.e. after a message is sent from one end, the message first enters a container for temporary storage, and after a certain condition is reached, the message is sent from the container to the other end. One specific implementation of this container is a message queue.
The traditional message communication delaying mode is originally for decoupling, but in the actual using process, a sender cannot know whether a receiver receives a message or not after sending the message, and cannot respond in time, so that the reliability is insufficient, and the efficiency is low.
Disclosure of Invention
Based on this, it is necessary to provide a message delivery verification method, apparatus, computer device and storage medium for solving the technical problems that in the actual use process, the sender cannot know whether the receiver receives the message, cannot respond in time, has insufficient reliability and is low in efficiency.
A method of message delivery verification, the method comprising:
inquiring message attributes of sent messages from the middleware, wherein the message attributes of the sent messages stored in the middleware are written by a sender;
acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
In one embodiment, the verifying the delivery of the sent message based on the preset time further includes:
and if the removal signal returned by the receiver is not received within the preset time, the sent message is not sent, and an alarm signal is sent.
In one of the embodiments, the first and second electrodes are,
the inquiring of the message attribute of the sent message from the middleware comprises:
and inquiring the message subject, the message object, the message number and the preset time from the middleware.
In one embodiment, the message attributes include a plurality of message objects.
In one embodiment, the removal signal includes a message subject, a message object, and a message number.
In one embodiment, the removing the message attribute in the middleware comprises:
and acquiring and removing corresponding message attributes based on the message theme, the message object and the message number.
In one embodiment, if a removal signal returned by the receiving party is not received within a preset time, the sent message is not delivered, and sending the alarm signal further includes:
detecting all overtime messages in the middleware, wherein the message attributes of the overtime messages are not removed within preset time;
sending an alarm signal to an early warning group of the application program corresponding to the overtime message; if the overtime message has no corresponding application program, sending an alarm signal to a preset alarm group;
and deleting the message attribute corresponding to the overtime message in the middleware in batch.
A messaging verification apparatus, the apparatus comprising:
the query module is used for querying the message attribute of the sent message from the middleware, wherein the message attribute of the sent message stored in the middleware is written by a sender;
the acquisition module is used for acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and the judging module is used for verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
inquiring message attributes of sent messages from the middleware, wherein the message attributes of the sent messages stored in the middleware are written by a sender;
acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
inquiring message attributes of sent messages from the middleware, wherein the message attributes of the sent messages stored in the middleware are written by a sender;
acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
The message delivery verification method, the message delivery verification device, the computer equipment and the storage medium inquire the message attribute of the sent message from the middleware, wherein the message attribute of the sent message stored in the middleware is written by a sender; acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message; the method for verifying the delivery condition of the sent message based on the preset time continuously detects whether the receiver receives the message within the preset time, so that the sender knows whether the receiver receives the message in time and reacts in time, and the method has the advantages of high reliability and high efficiency.
Drawings
FIG. 1 is a diagram illustrating a method for message delivery verification according to an embodiment of the present invention;
FIG. 2 is a block diagram of an architecture of a method for message delivery verification according to an embodiment of the present invention;
FIG. 3 is a block diagram of a message delivery verification apparatus according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a message delivery verification method according to an embodiment of the invention.
In this embodiment, the message delivery verification method includes:
step 100, inquiring the message attribute of the sent message from the middleware, wherein the message attribute of the sent message stored in the middleware is written by the sender.
Illustratively, the message attribute is the related information of the sent message.
It is understood that the middleware is a temporary storage system for message attributes corresponding to sent messages, and in particular, may be a redis storage system.
Redis (named as Remote Dictionary Server) is an open source log-type and Key-Value database written in ANSI C language, supporting network, based on memory and enduring, and provides API of multiple languages. redis is similar to Memcached in that it supports relatively more stored value types, including string, list, set, zset, and hash. These data types all support push/pop, add/remove, and intersect union and difference, and richer operations, and these operations are all atomic. On this basis, redis supports various different ways of ordering. Like memcached, data is cached in memory to ensure efficiency. The difference is that the redis can periodically write updated data into a disk or write modification operation into an additional recording file, and master-slave synchronization is realized on the basis of the update.
Redis is a high-performance key-value database. The occurrence of redis greatly compensates the shortage of key/value storage such as memcached, and can play a good role in supplementing the relational database in some occasions. The method provides clients such as Java, C/C + +, C #, PHP, JavaScript, Perl, Object-C, Python, Ruby, Erlang and the like, and is convenient to use.
Redis supports master-slave synchronization. Data may be synchronized from a master server to any number of slave servers, which may be master servers associated with other slave servers. This enables Redis to perform single-level tree replication. The storage disk can write data intentionally or unintentionally. Due to the fact that the publish/subscribe mechanism is completely achieved, when the trees are synchronized anywhere from the database, one channel can be subscribed and the complete message publishing record of the main server can be received. Synchronization is helpful for scalability of read operations and data redundancy.
Step 110, obtaining a preset time based on the message attribute, wherein the message attribute includes the preset time corresponding to the sent message.
It can be understood that the preset time of each sent message is different and is correspondingly stored in the message attribute of the sent message, and the preset time corresponding to each sent message is obtained according to the message attribute.
And 120, verifying the delivery condition of the sent message based on the preset time, wherein if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
It can be understood that if the receiving party receives the message, the verification result is that the message is delivered, a removal signal is returned, and the message attribute in the middleware is removed when the removal signal is received.
According to the message delivery verification method, the sender can timely know whether the receiver receives the message or not by continuously detecting whether the receiver receives the message within the preset time or not and timely react, so that the reliability is high, and the efficiency is high.
Illustratively, the message attributes of the sent message include the message subject, message object, message number, and a preset time of the query from the middleware. It can be understood that the message theme is the theme of the sent message, the message object is the receiver of the sent message, the message number is the number of the sent message at the sender, and the preset time is the preset time corresponding to the sent message. It can be understood that the corresponding relationship between the message subject, the message object and the preset time is obtained through the Zookeeper.
ZooKeeper is a distributed, open-source distributed application coordination service, is an open-source implementation of Chubby of Google, and is an important component of Hadoop and Hbase. It is a software that provides a consistent service for distributed applications, and the functions provided include: configuration maintenance, domain name service, distributed synchronization, group service, etc. The ZooKeeper aims to package complex and error-prone key services and provide a simple and easy-to-use interface and a system with high performance and stable functions for users.
Specifically, the sent message may be sent to multiple recipients at the same time, that is, the message attribute may include multiple message objects, and when a certain recipient returns a removal signal within a preset time, the message attribute corresponding to the recipient is removed.
It is understood that when there are multiple recipients of the same message, multiple message attributes are obtained from the middleware, and the number of message attributes is the same as the number of recipients. Specifically, message attributes of multiple recipients of the same message are written by the sender using pipeline mode bulk operations of the Redis system.
In other embodiments, verifying the delivery condition of the sent message based on the preset time further includes sending an alarm signal if a removal signal returned by the receiver is not received within the preset time, if the sent message is not delivered.
In other embodiments, sending the alert signal includes sending the alert signal to an application to which the message object corresponds. It can be understood that each application program of the sender is responsible for sending messages to different receivers, and when a certain receiver does not return a removal signal within a preset time, an alarm signal is sent to the application program corresponding to the receiver. And if the receiver does not have the corresponding application program, sending an alarm signal to a default alarm application program.
In other embodiments, the removal signal includes a message subject, a message object, a message number, and a preset time. It will be appreciated that upon receipt of the removal signal, the corresponding message attribute is found and removed based on the received message subject, message object and message number.
In other embodiments, sending the alert signal further includes removing a message attribute corresponding to the alert signal.
In other embodiments, if a removal signal returned by the receiver is not received within the preset time, the sent message is not delivered, and the sending of the alarm signal further comprises detecting all overtime messages in the middleware, wherein the message attribute of the overtime messages is not removed within the preset time; sending an alarm signal to an early warning group of an application program corresponding to the overtime message; if the overtime message has no corresponding application program, sending an alarm signal to a preset alarm group; and deleting the message attribute corresponding to the overtime message in the middleware in batch. Specifically, detecting all timeout messages in the middleware that have not removed the message attribute within the preset time includes detecting all timeout messages using the "zrankbyscore" command (zrankbyscore zset currentTime + inf).
Referring to fig. 2, fig. 2 is a diagram illustrating an architecture of a method for verifying delivery of a message according to an embodiment of the present invention.
It can be understood that the message sender sends the message to the message queue and simultaneously sends the message attribute to the redis storage system, the receiver sends the removal signal to the redis storage system while obtaining the message from the message queue, and the redis storage system removes the message attribute. The monitoring unit monitors the condition of the redis storage system, and if the message attribute in the redis storage system is not removed within the preset time, an alarm signal is sent. As can be appreciated, a redis storage system is middleware.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, there is provided a messaging verification apparatus comprising: a query module 200, an obtaining module 210, and a determining module 220, wherein:
the query module 200 is configured to query the middleware for the message attribute of the sent message, where the message attribute of the sent message stored in the middleware is written by the sender.
And the query module 200 is used for querying the message subject, the message object, the message number and the preset time from the middleware.
The obtaining module 210 is configured to obtain a preset time based on a message attribute, where the message attribute includes a preset time corresponding to a sent message.
The determining module 220 is configured to verify a delivery condition of the sent message based on the preset time, and if a removal signal returned by the receiving party is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
The determining module 220 is further configured to send an alarm signal if the removal signal returned by the receiving party is not received within the preset time, and the sent message is not sent.
The determining module 220 is further configured to obtain and remove a corresponding message attribute based on the message topic, the message object, and the message number.
For specific limitations of the message delivery verification apparatus, see the above limitations of the message delivery verification method, which are not described herein again. The various modules in the messaging verification apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a messaging authentication method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
inquiring message attributes of sent messages from the middleware, wherein the message attributes of the sent messages stored in the middleware are written by a sender;
acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and if the removal signal returned by the receiver is not received within the preset time, the sent message is not sent, and an alarm signal is sent.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and inquiring the message subject, the message object, the message number and the preset time from the middleware.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and acquiring and removing corresponding message attributes based on the message theme, the message object and the message number.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting all overtime messages in the middleware, wherein the message attributes of the overtime messages are not removed within preset time;
sending an alarm signal to an early warning group of an application program corresponding to the overtime message; if the overtime message has no corresponding application program, sending an alarm signal to a preset alarm group;
and deleting the message attribute corresponding to the overtime message in the middleware in batch.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
inquiring message attributes of sent messages from the middleware, wherein the message attributes of the sent messages stored in the middleware are written by a sender;
acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the removal signal returned by the receiver is not received within the preset time, the sent message is not sent, and an alarm signal is sent.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and inquiring the message subject, the message object, the message number and the preset time from the middleware.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and acquiring and removing corresponding message attributes based on the message theme, the message object and the message number.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting all overtime messages in the middleware, wherein the message attributes of the overtime messages are not removed within preset time;
sending an alarm signal to an early warning group of an application program corresponding to the overtime message; if the overtime message has no corresponding application program, sending an alarm signal to a preset alarm group;
and deleting the message attribute corresponding to the overtime message in the middleware in batch.
The message delivery verification method, the message delivery verification device, the computer equipment and the storage medium inquire the message attribute of the sent message from the middleware, wherein the message attribute of the sent message stored in the middleware is written by a sender; acquiring preset time based on the message attribute; the method for verifying the delivery condition of the sent message based on the preset time detects whether the receiver receives the message within the preset time continuously by the method for removing the message attribute in the middleware if the removal signal is received within the preset time, so that the sender knows whether the receiver receives the message in time and reacts in time, and the method has strong reliability and higher efficiency.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of message delivery verification, the method comprising:
inquiring message attributes of sent messages from the middleware, wherein the message attributes of the sent messages stored in the middleware are written by a sender;
acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
2. The message delivery verification method of claim 1, wherein the verifying delivery of the sent message based on the preset time further comprises:
and if the removal signal returned by the receiver is not received within the preset time, the sent message is not sent, and an alarm signal is sent.
3. The messaging verification method of claim 1, wherein querying the middleware for message attributes of the sent message comprises:
and inquiring the message subject, the message object, the message number and the preset time from the middleware.
4. The messaging verification method of claim 3, wherein the message attributes comprise a plurality of the message objects.
5. The messaging verification method of claim 1, wherein the removal signal comprises a message subject, a message object, and a message number.
6. The messaging verification method of claim 5, wherein the removing the message attributes in the middleware comprises:
and acquiring and removing corresponding message attributes based on the message theme, the message object and the message number.
7. The message delivery verification method of claim 1, wherein if a removal signal returned by a receiving party is not received within a preset time, the sent message is not delivered, and the sending an alarm signal further comprises:
detecting all overtime messages in the middleware, wherein the message attributes of the overtime messages are not removed within preset time;
sending an alarm signal to an early warning group of the application program corresponding to the overtime message; if the overtime message has no corresponding application program, sending an alarm signal to a preset alarm group;
and deleting the message attributes corresponding to the overtime messages in the middleware in batch.
8. A messaging verification apparatus, the apparatus comprising:
the query module is used for querying the message attribute of the sent message from the middleware, wherein the message attribute of the sent message stored in the middleware is written by a sender;
the acquisition module is used for acquiring preset time based on the message attribute, wherein the message attribute comprises the preset time corresponding to the sent message;
and the judging module is used for verifying the delivery condition of the sent message based on the preset time, if a removal signal returned by a receiver is received within the preset time, the sent message is delivered, and the message attribute in the middleware is removed.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN201911179795.6A 2019-11-27 2019-11-27 Message delivery verification method, device, computer equipment and storage medium Active CN112865927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911179795.6A CN112865927B (en) 2019-11-27 2019-11-27 Message delivery verification method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911179795.6A CN112865927B (en) 2019-11-27 2019-11-27 Message delivery verification method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112865927A true CN112865927A (en) 2021-05-28
CN112865927B CN112865927B (en) 2023-09-12

Family

ID=75985397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911179795.6A Active CN112865927B (en) 2019-11-27 2019-11-27 Message delivery verification method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112865927B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205325A (en) * 2021-12-17 2022-03-18 平安壹钱包电子商务有限公司 Message sending method, device, server and storage medium
CN115269235A (en) * 2022-09-28 2022-11-01 深圳华锐分布式技术股份有限公司 Message carrying method, device, equipment and medium based on components of different versions

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162512B1 (en) * 2000-02-28 2007-01-09 Microsoft Corporation Guaranteed exactly once delivery of messages
CN101931912A (en) * 2010-08-25 2010-12-29 中兴通讯股份有限公司 Method for transmitting notification message and multimedia message service center
CN102368700A (en) * 2011-10-25 2012-03-07 曙光信息产业(北京)有限公司 Transmission method of massages in distributed system
CN105634692A (en) * 2015-12-24 2016-06-01 天津交控科技有限公司 Data packet transmitting method and receiving method based on UDP protocol
CN107483316A (en) * 2016-09-29 2017-12-15 维沃移动通信有限公司 A kind of information transferring method and mobile terminal
CN107682324A (en) * 2017-09-20 2018-02-09 华胜信泰信息产业发展有限公司 Method for message transmission, system, storage medium and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162512B1 (en) * 2000-02-28 2007-01-09 Microsoft Corporation Guaranteed exactly once delivery of messages
CN101931912A (en) * 2010-08-25 2010-12-29 中兴通讯股份有限公司 Method for transmitting notification message and multimedia message service center
CN102368700A (en) * 2011-10-25 2012-03-07 曙光信息产业(北京)有限公司 Transmission method of massages in distributed system
CN105634692A (en) * 2015-12-24 2016-06-01 天津交控科技有限公司 Data packet transmitting method and receiving method based on UDP protocol
CN107483316A (en) * 2016-09-29 2017-12-15 维沃移动通信有限公司 A kind of information transferring method and mobile terminal
CN107682324A (en) * 2017-09-20 2018-02-09 华胜信泰信息产业发展有限公司 Method for message transmission, system, storage medium and computer equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205325A (en) * 2021-12-17 2022-03-18 平安壹钱包电子商务有限公司 Message sending method, device, server and storage medium
CN114205325B (en) * 2021-12-17 2023-08-04 平安壹钱包电子商务有限公司 Message sending method, device, server and storage medium
CN115269235A (en) * 2022-09-28 2022-11-01 深圳华锐分布式技术股份有限公司 Message carrying method, device, equipment and medium based on components of different versions
CN115269235B (en) * 2022-09-28 2022-12-23 深圳华锐分布式技术股份有限公司 Message carrying method, device, equipment and medium based on components of different versions

Also Published As

Publication number Publication date
CN112865927B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
US11855858B2 (en) Systems and methods for providing notifications of changes in a cloud-based file system
WO2021180025A1 (en) Message processing method and apparatus, electronic device and medium
WO2021121370A1 (en) Message loss detection method and apparatus for message queue
CN110719318B (en) Message processing method and system
KR102167613B1 (en) Message push method and device
CN110019104B (en) File resource exchange method, file resource server and file exchange system
WO2016029744A1 (en) Metadata recovery method and relevant device
CN110008041B (en) Message processing method and device
CN112367149B (en) Message acquisition method, device, equipment and storage medium
CN110851290A (en) Data synchronization method and device, electronic equipment and storage medium
CN108874825B (en) Abnormal data verification method and device
CN112865927B (en) Message delivery verification method, device, computer equipment and storage medium
CN111212135A (en) Message subscription method, device, system, electronic equipment and storage medium
CN112632375B (en) Session information processing method, server and storage medium
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN111327680B (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN113342746A (en) File management system, file management method, electronic device, and storage medium
US20130227027A1 (en) Method, system and apparatus for managing electronic subscriptions at a communication device
CN103327026B (en) A kind of data-updating method and the system of renewal
CN113065165A (en) Certificate security detection method and device and storage medium
CN115629909A (en) Service data processing method and device, electronic equipment and storage medium
CN113133027B (en) Communication method, server, terminal and communication system
CN103503358A (en) A method and an apparatus for message interaction of group resources
CN111294231A (en) Resource management method and system
CN112818166A (en) Video information query method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant