CN108108627B - Message processing method and device - Google Patents
Message processing method and device Download PDFInfo
- Publication number
- CN108108627B CN108108627B CN201711239976.4A CN201711239976A CN108108627B CN 108108627 B CN108108627 B CN 108108627B CN 201711239976 A CN201711239976 A CN 201711239976A CN 108108627 B CN108108627 B CN 108108627B
- Authority
- CN
- China
- Prior art keywords
- message
- middleware
- application system
- sub
- authority
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims description 32
- 230000002159 abnormal effect Effects 0.000 claims description 9
- 238000004458 analytical method Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a message processing method and a device, wherein the method comprises the following steps: acquiring indication information and at least one message in an application system, wherein the indication information is used for indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware; the message is stored in a sub-middleware of the middleware, wherein the middleware comprises at least one sub-middleware. By indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware, the authority is configured for the application system, the message of the sub-middleware can be read by the corresponding application system, and the confidentiality of the message is ensured; and the application system can store the messages into the corresponding sub-middleware, so that the messages of the application system can be stored.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a message.
Background
The development of random computer technology and software technology are widely applied. In the field of software technology, message middleware is provided to store cached messages.
In the prior art, message middleware is connected with a plurality of application systems, and one application system is composed of a plurality of applications. The application system can acquire the cache message in the message middleware, then generate a processing result message and store the processing result message into the message middleware; another application system may obtain the processing result message from the message middleware and then process the processing result message. And then the message middleware provides functions of efficient and flexible message synchronous and asynchronous transmission processing, storage forwarding and the like for the application system.
However, in the prior art, since the message middleware can be connected with multiple application systems, and then multiple application systems can acquire the message in the message middleware, how to ensure the confidentiality of the message of each application system is a problem to be solved.
Disclosure of Invention
The invention provides a message processing method and a message processing device, which are used for solving the problem that the confidentiality of messages of all application systems is ensured in the prior art.
One aspect of the present invention provides a message processing method, including:
acquiring indication information and at least one message in an application system, wherein the indication information is used for indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware;
storing the message in the child middleware of the middleware, wherein the middleware comprises at least one child middleware.
Further, the storage authority is used for representing that at least one application system has the authority to store the message in the sub-middleware;
the read authority is used for representing that at least one application system has the authority to read the message from the sub-middleware.
Further, after storing the message in the child middleware of the middleware, further comprising:
performing key field analysis on each message in the at least one message to obtain a key field corresponding to each message;
according to the key field corresponding to each message, carrying out duplicate removal on at least one message;
and sending the de-duplicated message to the application system.
Further, after storing the message in the child middleware of the middleware, further comprising:
when determining that the network or the application system is abnormal, acquiring the message in the sub-middleware;
and writing the message in the child middleware into a file system.
Further, after writing the message in the child middleware into the file system, the method further includes:
and when the network or the application system is determined to be recovered to be normal, loading the message in the file system into the application system corresponding to the message or the sub-middleware corresponding to the message.
Another aspect of the present invention provides a message processing apparatus, including:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring indication information and at least one message in an application system, and the indication information is used for indicating the reading authority and/or the storage authority of the application system on the message in the sub-middleware;
a storage module, configured to store the message in the sub-middleware of a middleware, where the middleware includes at least one sub-middleware.
Further, the storage authority is used for representing that at least one application system has the authority to store the message in the sub-middleware;
the read authority is used for representing that at least one application system has the authority to read the message from the sub-middleware.
Further, the apparatus further comprises:
an analysis module, configured to perform key field analysis on each message in the at least one message after the storage module stores the message in the sub-middleware of the middleware, so as to obtain a key field corresponding to each message;
the duplication eliminating module is used for eliminating duplication of the at least one message according to the key field corresponding to each message;
and the sending module is used for sending the de-duplicated message to the application system.
Further, the apparatus further comprises:
the second acquisition module is used for acquiring the message in the child middleware when determining that the network or the application system is abnormal after the storage module stores the message in the child middleware of the middleware;
and the writing module is used for writing the message in the child middleware into a file system.
Further, the apparatus further comprises:
and the loading module is used for loading the message in the file system to the application system corresponding to the message or the sub-middleware corresponding to the message when the network or the application system is determined to be recovered to be normal after the writing module writes the message in the sub-middleware into the file system.
The invention has the technical effects that: the method comprises the steps that indication information and at least one message in an application system are obtained, wherein the indication information is used for indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware; the message is stored in a sub-middleware of the middleware, wherein the middleware comprises at least one sub-middleware. By indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware, the authority is configured for the application system, the message of the sub-middleware can be read by the corresponding application system, and the confidentiality of the message is ensured; and the application system can store the messages into the corresponding sub-middleware, so that the messages of the application system can be stored.
Drawings
Fig. 1 is a schematic flowchart of a message processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another message processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another message processing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms to which the present invention relates will be explained first:
the application system comprises the following steps: an application system is composed of a plurality of applications; a message may be generated in the application system.
The specific application scenario of the invention is that in the field of software, message middleware is provided for storing cache messages. The message middleware is connected with a plurality of application systems; the application system can acquire the cache message in the message middleware, then generate a processing result message and store the processing result message into the message middleware; another application system may obtain the processing result message from the message middleware and then process the processing result message. Because the message middleware can be connected with a plurality of application systems, the plurality of application systems can acquire the messages in the message middleware, and the confidentiality of the messages of all the application systems needs to be ensured; moreover, after the network or the device goes down, the data sent to the application system through the message middleware is lost, which may further cause message loss, message repeat processing, and message processing sequence errors.
The invention provides a message processing method and a message processing device, and aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a message processing method according to an embodiment of the present application. As shown in fig. 1, the method includes:
In an optional embodiment, the storage authority is used for representing that at least one application system has the authority to store the message into the child middleware;
the read permission is used for representing that at least one application system has the permission to read the message from the child middleware.
In this embodiment, specifically, a message middleware is provided, and a plurality of sub-middleware are included in the message middleware. When the application system sends a message to a piece of sub-middleware, the application system sends an indication message to the piece of sub-middleware, and the indication message indicates the reading authority and/or the storage authority of the application system to the sub-middleware for storing the message of the application system.
The reading permission represents that only the current application system is allowed to read the message from the current sub-middleware, and further, the current sub-middleware only allows the current application system to read the stored message, but not allows other application systems to read the message. Alternatively, the read permission may be characterized as allowing multiple applications to read messages from the current sub-middleware, which in turn allows the multiple applications to read stored messages.
The storage authority characterizes that only the current sub-middleware is allowed to store the message of the current application system, and further, the current sub-middleware only allows the current application system to store the message. Alternatively, the storage permission characterizes a message that allows the current child middleware to store multiple application systems, and further, the current child middleware allows multiple application systems to store messages.
In this embodiment, specifically, the acquired message is stored in the sub-middleware indicated by the application system.
The embodiment obtains the indication information and at least one message in the application system, wherein the indication information is used for indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware; the message is stored in a sub-middleware of the middleware, wherein the middleware comprises at least one sub-middleware. By indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware, the authority is configured for the application system, the message of the sub-middleware can be read by the corresponding application system, and the confidentiality of the message is ensured; and the application system can store the messages into the corresponding sub-middleware, so that the messages of the application system can be stored.
Fig. 2 is a flowchart illustrating another message processing method according to an embodiment of the present application. As shown in fig. 1, the method includes:
In an optional embodiment, the storage authority is used for representing that at least one application system has the authority to store the message into the child middleware;
the read permission is used for representing that at least one application system has the permission to read the message from the child middleware.
In this embodiment, specifically, this step may refer to step 101 in fig. 1, and is not described again.
In this embodiment, specifically, this step may refer to step 102 in fig. 1, and is not described again.
In this embodiment, specifically, when the system is used to acquire a message from the message middleware, if the application system does not allow processing of duplicate messages, the application system performs a re-duplication elimination process on the message to remove redundant messages when acquiring the message from the message middleware. Specifically, key fields of all messages are analyzed, the messages with the same key fields are determined to be the same, and only one of the messages is determined to be reserved; or, a half-eliminating mechanism is adopted to keep half of the same messages, so that the controllable number of the messages is ensured.
The de-duplicated message is then sent to the application system.
In this embodiment, specifically, when an abnormality occurs in the network or the application system, the cached message in the child middleware is acquired, and the cached message is written into the file system, so as to store the message. Step 204 may be performed after step 202 or step 203.
And step 205, when it is determined that the network or the application system is recovered to normal, loading the message in the file system to the application system corresponding to the message or the sub-middleware corresponding to the message.
In this embodiment, specifically, after step 204, when the network is normal or the application system is normal, the cached message in the file system is loaded into the application system or the child middleware of the message middleware, so as to ensure the continuity and reliability of the message.
Moreover, an abnormal capture and repair (Scrounger) mechanism is provided, and operation information and compensation information in a distributed file system can be acquired in real time; and according to the content of the service, compensating and alarming the service of the file system according to the operation information and the compensation information.
In this embodiment, the key fields of the messages are analyzed, the messages with the same key fields are determined to be the same messages, only one of the messages is determined to be reserved, and then the redundant messages are taken out; when the network or the application system is abnormal, the message in the sub-middleware is acquired and written into the file system so as to store the message; when the network is normal or the application system is normal, the message in the file system is loaded into the application system or the message middleware, so that the continuity and reliability of the message are ensured. When the application system sends a message to a sub-middleware, the application system carries the reading authority and/or the storage authority of the message in the sub-middleware; therefore, the authority is configured for the application system, the message of the sub-middleware can be read by the corresponding application system, and the confidentiality of the message is ensured; and the application system can store the messages into the corresponding sub-middleware, so that the messages of the application system can be stored.
Fig. 3 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus according to the embodiment may include:
the first obtaining module 31 is configured to obtain indication information and at least one message in the application system, where the indication information is used to indicate a read permission and/or a storage permission of the application system for the message in the child middleware;
a storage module 32, configured to store the message in a sub-middleware of the middleware, where the middleware includes at least one sub-middleware.
The message processing apparatus of this embodiment can execute the message processing method provided in this embodiment of the present invention, and the implementation principles thereof are similar, and are not described herein again.
The embodiment obtains the indication information and at least one message in the application system, wherein the indication information is used for indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware; the message is stored in a sub-middleware of the middleware, wherein the middleware comprises at least one sub-middleware. By indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware, the authority is configured for the application system, the message of the sub-middleware can be read by the corresponding application system, and the confidentiality of the message is ensured; and the application system can store the messages into the corresponding sub-middleware, so that the messages of the application system can be stored.
Fig. 4 is a schematic structural diagram of another message processing apparatus according to an embodiment of the present invention, and based on the embodiment shown in fig. 3, as shown in fig. 4, in the apparatus according to the embodiment of the present invention, a storage right is used to characterize that at least one application system has a right to store a message in a child middleware;
the read permission is used for representing that at least one application system has the permission to read the message from the child middleware.
The apparatus provided in this embodiment further includes:
an analysis module 41, configured to perform key field analysis on each message in at least one message after the storage module 32 stores the message in a sub-middleware of the middleware, so as to obtain a key field corresponding to each message;
a duplicate removal module 42, configured to remove duplicate from at least one message according to the key field corresponding to each message;
and a sending module 43, configured to send the deduplicated message to an application system.
The apparatus provided in this embodiment further includes:
a second obtaining module 44, configured to, after the storage module 32 stores the message in a sub-middleware of the middleware, obtain the message in the sub-middleware when it is determined that the network or the application system is abnormal;
and a writing module 45, configured to write the message in the child middleware into the file system.
The apparatus provided in this embodiment further includes:
and a loading module 46, configured to load the message in the file system into the application system corresponding to the message or the sub-middleware corresponding to the message when it is determined that the network or the application system is recovered to normal after the message in the sub-middleware is written into the file system by the writing module 45.
The message processing apparatus of this embodiment can execute another message processing method provided in this embodiment of the present invention, and the implementation principles thereof are similar, and are not described herein again.
In this embodiment, the key fields of the messages are analyzed, the messages with the same key fields are determined to be the same messages, only one of the messages is determined to be reserved, and then the redundant messages are taken out; when the network or the application system is abnormal, the message in the sub-middleware is acquired and written into the file system so as to store the message; when the network is normal or the application system is normal, the message in the file system is loaded into the application system or the message middleware, so that the continuity and reliability of the message are ensured. When the application system sends a message to a sub-middleware, the application system carries the reading authority and/or the storage authority of the message in the sub-middleware; therefore, the authority is configured for the application system, the message of the sub-middleware can be read by the corresponding application system, and the confidentiality of the message is ensured; and the application system can store the messages into the corresponding sub-middleware, so that the messages of the application system can be stored.
Fig. 5 is a block diagram illustrating a terminal device, which may be a mobile terminal, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like, according to an example embodiment.
The apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user, in some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal device, enable the terminal device to perform the above message processing method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (6)
1. A message processing method, comprising:
acquiring indication information and at least one message in an application system, wherein the indication information is used for indicating the reading authority and/or the storage authority of the application system to the message in the sub-middleware;
storing the message in the child middleware of the middleware, wherein the middleware comprises at least one child middleware;
wherein the storage authority is used for representing that at least one application system has the authority to store the message in the sub-middleware;
the reading authority is used for representing that at least one application system has the authority to read the message from the child middleware;
after storing the message in the child middleware of the middleware, further comprising:
performing key field analysis on each message in the at least one message to obtain a key field corresponding to each message;
according to the key field corresponding to each message, carrying out duplicate removal on at least one message;
and sending the de-duplicated message to the application system.
2. The method of claim 1, after storing the message in the child middleware of middleware, further comprising:
when determining that the network or the application system is abnormal, acquiring the message in the sub-middleware;
and writing the message in the child middleware into a file system.
3. The method of claim 2, further comprising, after writing the message in the child middleware to a file system:
and when the network or the application system is determined to be recovered to be normal, loading the message in the file system into the application system corresponding to the message or the sub-middleware corresponding to the message.
4. A message processing apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring indication information and at least one message in an application system, and the indication information is used for indicating the reading authority and/or the storage authority of the application system on the message in the sub-middleware;
a storage module, configured to store the message in the sub-middleware of a middleware, wherein the middleware comprises at least one sub-middleware;
wherein the storage authority is used for representing that at least one application system has the authority to store the message in the sub-middleware;
the reading authority is used for representing that at least one application system has the authority to read the message from the child middleware;
the device, still include:
an analysis module, configured to perform key field analysis on each message in the at least one message after the storage module stores the message in the sub-middleware of the middleware, so as to obtain a key field corresponding to each message;
the duplication eliminating module is used for eliminating duplication of the at least one message according to the key field corresponding to each message;
and the sending module is used for sending the de-duplicated message to the application system.
5. The apparatus of claim 4, further comprising:
the second acquisition module is used for acquiring the message in the child middleware when determining that the network or the application system is abnormal after the storage module stores the message in the child middleware of the middleware;
and the writing module is used for writing the message in the child middleware into a file system.
6. The apparatus of claim 5, further comprising:
and the loading module is used for loading the message in the file system to the application system corresponding to the message or the sub-middleware corresponding to the message when the network or the application system is determined to be recovered to be normal after the writing module writes the message in the sub-middleware into the file system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711239976.4A CN108108627B (en) | 2017-11-30 | 2017-11-30 | Message processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711239976.4A CN108108627B (en) | 2017-11-30 | 2017-11-30 | Message processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108108627A CN108108627A (en) | 2018-06-01 |
CN108108627B true CN108108627B (en) | 2020-07-28 |
Family
ID=62208776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711239976.4A Active CN108108627B (en) | 2017-11-30 | 2017-11-30 | Message processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108108627B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908178A (en) * | 2010-08-13 | 2010-12-08 | 广州联奕信息科技有限公司 | Middleware applied to data switching and data switching method |
CN105491065A (en) * | 2015-12-31 | 2016-04-13 | 深圳前海微众银行股份有限公司 | Resource access method of message-oriented middleware, server, and resource access system |
CN106020995A (en) * | 2016-05-09 | 2016-10-12 | 北京中科海讯数字科技股份有限公司 | A message passing method and a message-oriented middleware system between distributed application systems |
CN106790450A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | Method for caching and processing, device and server |
CN107391672A (en) * | 2017-07-21 | 2017-11-24 | 中国联合网络通信集团有限公司 | The reading/writing method of data and the distributed file system of message |
CN107402784A (en) * | 2017-07-07 | 2017-11-28 | 北京小米移动软件有限公司 | Application management method and application management device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10165132B2 (en) * | 2016-01-15 | 2018-12-25 | Ricoh Company, Ltd. | Server apparatus, information processing system, and information processing method for user authentication |
-
2017
- 2017-11-30 CN CN201711239976.4A patent/CN108108627B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908178A (en) * | 2010-08-13 | 2010-12-08 | 广州联奕信息科技有限公司 | Middleware applied to data switching and data switching method |
CN105491065A (en) * | 2015-12-31 | 2016-04-13 | 深圳前海微众银行股份有限公司 | Resource access method of message-oriented middleware, server, and resource access system |
CN106020995A (en) * | 2016-05-09 | 2016-10-12 | 北京中科海讯数字科技股份有限公司 | A message passing method and a message-oriented middleware system between distributed application systems |
CN106790450A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | Method for caching and processing, device and server |
CN107402784A (en) * | 2017-07-07 | 2017-11-28 | 北京小米移动软件有限公司 | Application management method and application management device |
CN107391672A (en) * | 2017-07-21 | 2017-11-24 | 中国联合网络通信集团有限公司 | The reading/writing method of data and the distributed file system of message |
Also Published As
Publication number | Publication date |
---|---|
CN108108627A (en) | 2018-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10264085B2 (en) | Method and device for presenting push notifications | |
JP6348989B2 (en) | Firmware restoration method, apparatus, terminal, program, and recording medium | |
KR102147088B1 (en) | Method and apparatus for offering received information to user in a electronic device | |
CN107066172B (en) | File transmission method and device of mobile terminal | |
CN104484200A (en) | Method and device for updating firmware | |
CN106919629B (en) | Method and device for realizing information screening in group chat | |
CN104766005A (en) | Management method and device for application software access authority | |
CN106454392A (en) | Live broadcast processing method, device and terminal | |
CN106231093A (en) | Alarm clock prompting method and device | |
CN106598488A (en) | Distributed data reading method and device | |
CN111158748B (en) | Information acquisition method and device and storage medium | |
CN114372043A (en) | Data migration method and device, electronic equipment and storage medium | |
CN108153488B (en) | Data self-adding method and device | |
EP3460717A1 (en) | Method, apparatus, terminal, and computer-readable storage medium for processing fingerprints | |
CN105653903A (en) | Application program authority management method and device | |
CN105550260A (en) | Picture display method and device | |
CN104899059A (en) | Method and apparatus for upgrading operating system | |
CN104951337B (en) | File increment update method and device | |
CN108108627B (en) | Message processing method and device | |
CN106354595B (en) | Mobile terminal, hardware component state detection method and device | |
CN113778687B (en) | Memory allocation information processing method and device, electronic equipment and storage medium | |
CN111383364A (en) | Method, device and equipment for testing automobile data recorder and storage medium | |
CN111290882B (en) | Data file backup method, data file backup device and electronic equipment | |
CN110493298B (en) | Information synchronization method and device | |
CN107463414B (en) | Application installation 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |