A kind of integrated message queue and information management method
Technical field
The present invention relates to message management technique field more particularly to a kind of integrated message queue and information management methods.
Background technique
Now due to there are many communication mode, the yield of information is very big, format also disunity, so leading to the transmission of information
It is difficult to be managed collectively with information record.With the development of each communication applications and the difference of personal preference, sent by a kind of mode
Information has been unable to meet the demand of all users.Exploitation covers transmission systems more and is difficult to safeguard again, and the uniformity of data also bad
Control.We are made that a set of integrated mostly application is unified and send message system thus, solve a kind of information and are difficult to meet many mouths
Predicament, while also solving the uniformity of data.
Summary of the invention
The purpose of the present invention is to solve disadvantage existing in the prior art, and a kind of integrated message queue that proposes and
Information management method.
To achieve the goals above, present invention employs following technical solutions:
A kind of integrated message queue and information management method, include the following steps:
When S1, server issue channel transmission information by information, the time of release information can be only selected, information issues channel
The information issued by certain frequency acquisition, and information data is uniformly stored in server;
S2, when issuing the time of the selected publication of different types of information, and required file extracted to information issue it is logical
It is interior, different types of file is sent to different time points is selected in information publication channel;
S3, when classifying to the type of the file information, by server respectively to the file of text, image, sound and video
Information carries out classification storage by different formats;
S4, it is different from due to the suffix title that text, image, sound and video are stored in server, information publication
When sending file, server sends the classification of file needed for can choosing by the screening to file suffixes name in channel;
By in the extraction chosen to information publication channel, information issues channel and sends tool hair by much information for S5, server
File is sent, write-back sends state at the end of transmission, if sending failure, server carries out information alert, again by server
It is secondary to send or cancel file from information publication channel, the information of transmission is stored in the server again, if information is sent out
Success is sent, server also carries out information alert.
Preferably, when issuing channel transmission by information, the file of the category also makes a backup store the file
In server, and sends the file of failure then two files mutually cover when storing again.
Preferably, the file for sending failure is identified by server, so that for the file for sending failure
It is found and is handled.
Preferably, the file sent needed for the user is looked for by way of search in server.
Preferably, the transmission tool includes wechat, microblogging, short message.
A kind of integrated message queue proposed by the present invention and information management method, beneficial effect are:The present invention and previous
Information publishing tool is different, and the present invention can be in such a way that an information be issued in many ways simplify transmission simultaneously, Er Qieben
Invention sends information data, and various ways unified storage data is unified to obtain;With editor with preservation, energy when network breaks down
Guarantee that information is not lost, be sent completely write-back and send state, guarantees that the authenticity of transmission state, release information data are only issued
People can check.
Specific embodiment
The following is a clear and complete description of the technical scheme in the embodiments of the invention, it is clear that described embodiment
Only a part of the embodiment of the present invention, instead of all the embodiments.
A kind of integrated message queue and information management method, include the following steps:
When S1, server issue channel transmission information by information, the time of release information can be only selected, information issues channel
The information issued by certain frequency acquisition, and information data is uniformly stored in server;
S2, when issuing the time of the selected publication of different types of information, and required file extracted to information issue it is logical
It is interior, different types of file is sent to different time points is selected in information publication channel;
S3, when classifying to the type of the file information, by server respectively to the file of text, image, sound and video
Information carries out classification storage by different formats;
S4, it is different from due to the suffix title that text, image, sound and video are stored in server, information publication
When sending file, server sends the classification of file, user needed for can choosing by the screening to file suffixes name in channel
The file sent needed for being looked for by way of search in server;
By in the extraction chosen to information publication channel, information issues channel and sends tool hair by much information for S5, server
File is sent, write-back sends state at the end of transmission, if sending failure, server carries out information alert, again by server
It is secondary to send or cancel file from information publication channel, the information of transmission is stored in the server again, if information is sent out
Success is sent, server also carries out information alert, and when issuing channel transmission by information, the file of the category also carries out standby file
Part storage in the server, and sends the file of failure then two files mutually covers when storing again, sends the file of failure
It is identified by server, so that transmission tool includes wechat, micro- for the file for sending failure to be found and handled
Rich, short message.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.