CN103888619A - Message processing method and system thereof - Google Patents

Message processing method and system thereof Download PDF

Info

Publication number
CN103888619A
CN103888619A CN201410151867.7A CN201410151867A CN103888619A CN 103888619 A CN103888619 A CN 103888619A CN 201410151867 A CN201410151867 A CN 201410151867A CN 103888619 A CN103888619 A CN 103888619A
Authority
CN
China
Prior art keywords
message
application
application program
queue
priority level
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
CN201410151867.7A
Other languages
Chinese (zh)
Other versions
CN103888619B (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.)
Qingdao Hisense Electronic Equipment Co Ltd
Original Assignee
Qingdao Hisense Electronic Equipment 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 Qingdao Hisense Electronic Equipment Co Ltd filed Critical Qingdao Hisense Electronic Equipment Co Ltd
Priority to CN201410151867.7A priority Critical patent/CN103888619B/en
Publication of CN103888619A publication Critical patent/CN103888619A/en
Application granted granted Critical
Publication of CN103888619B publication Critical patent/CN103888619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a message processing method and a system thereof. The message comprises the step A of obtaining a message; the step B of sending the message to a first application program queue corresponding to a priority level according to the priority levels of application programs, wherein the priority levels are used for identifying the sequence that corresponding application programs receive the message, and the first application program queue comprises one or more application programs at the same priority level; the step C of receiving a feedback result of the first application program queue, wherein the feedback result is a result that the application programs in the first application program queue process the message. According to the message processing method and the system of the message processing method, the message can be sent to the application programs of different priority levels according to the priority levels, and the application programs with the high priorities can preprocess the message prior the application programs with low priorities, so that the specific requirement of a user is met.

Description

A kind of message treatment method and system thereof
Technical field
The present invention relates to communication technical field, relate to specifically a kind of message treatment method and system thereof.
Background technology
At present, for example, on mobile terminal (mobile phone) multiple different application programs are installed conventionally.Such as, when mobile phone receipt message (short breath, multimedia message etc.), all application programs that are arranged on mobile phone can receive this message conventionally simultaneously.
For example, with reference to figure 1, existing mobile phone is processed the note receiving conventionally in the following way: the note broadcast system in mobile phone receives after note, this note is sent to simultaneously to all application programs of installing on mobile phone, as note display application program, Games Software, note statistical software and note are preserved software etc.; All application programs of, installing on mobile phone simultaneously, without order of priority receive note.
In addition, the existing mobile terminal that other have message sink function mostly also adopts the flow process receipt message that is similar to the note shown in Fig. 1 and is broadcast to application program.Visible, all application programs in mobile terminal simultaneously receipt message, mobile terminal cannot be carried out stratified processing to the message receiving.
Summary of the invention
The present invention is directed to the application program in mobile terminal in prior art simultaneously receipt message, mobile terminal cannot, to the message the receiving problem of processing that has levels, a kind of information receiving and transmitting method be proposed, it adopts following technical scheme to be achieved:
A kind of message treatment method, comprises the steps:
Steps A, obtain message;
Step B, according to the priority level of application program, described message is sent to first application queue corresponding with described priority level, described priority level for identifying the order of corresponding application programs receipt message, described the first application queue comprises the application program that one or more priority levels are identical;
Step C, receive the feedback result of described the first application queue, described feedback result is application program in described the first application queue result to described message.
Further, before steps A, described method also comprises:
Receive the log-on message of application program, described log-on message is to indicate that application program that this log-on message is corresponding is assigned to the information of corresponding application queue.
Further, before steps A, described method also comprises:
The anti-log-on message that receives application program, described anti-log-on message is used for identifying this application program and is deleted from corresponding application queue.
Further, described step B comprises:
Obtain title or the address of first application queue corresponding with described priority level, according to described title or address, described message is sent to described the first application queue.
Further, before step B, described method also comprises:
In described message, increase priority tag, described priority tag is corresponding with the priority level of described the first application queue;
Described step B comprises:
According to described priority tag, described message is sent to described the first application queue.
Further, described feedback result is message content after treatment, and described method also comprises:
Described feedback result is sent to the second application queue, and the priority level of described the second application queue is lower than the priority level of described the first application queue; And/or
Described feedback result is the processing mark to described message, and described method also comprises:
Judge whether described message to be sent to the 3rd application queue according to described processing mark, the priority level of described the 3rd application queue is lower than the priority level of described the first application queue; If so, described message is sent to described the 3rd application queue.
Whether further, described step C comprises: to the application setting processing response time limit in described the first application queue, and select to continue to send this message to other application queue of other low priorities according to the response time limit; And/or
Response times to application program in the first application queue is added up, and selects whether application program is rejected to described the first application queue according to statistics.
The present invention proposes a kind of message handling system in addition, it is characterized in that, described system comprises:
Acquiring unit, in order to obtain message;
Transmitting element, in order to according to the priority level of application program, described message is sent to first application queue corresponding with described priority level, described priority level is used for identifying the order of corresponding application programs receipt message, described the first application queue comprises the application program that one or more priority levels are identical;
The first receiving element, in order to receive the feedback result of described the first application queue, described feedback result is application program in described the first application queue result to described message.
Further, described system also comprises:
The second receiving element, for receiving the log-on message of application program, described log-on message is to indicate that application program that this log-on message is corresponding is assigned to the information of corresponding application queue.Further, described system also comprises:
The 3rd receiving element, for receiving the anti-log-on message of application program, described anti-log-on message is used for identifying this application program and is deleted from corresponding application queue.Compared with prior art, advantage of the present invention and good effect embody as follows:
Adopt above-mentioned message treatment method, can the message of obtaining be sent to corresponding application program according to priority level, the application program that priority level is high can the application program lower than priority level receive message in advance, thereby the different application realizing in mobile terminal is carried out stratified reception and/or processing to the message of obtaining.The scheme of the embodiment of the present invention one, does not need to revise Android system architecture and without Android system being modified, compiled and the operation of the code such as deployment, implementation procedure is greatly simplified, can be reduced development cost simultaneously.
Read by reference to the accompanying drawings after the specific embodiment of the present invention, it is clearer that the other features and advantages of the invention will become.
Accompanying drawing explanation
Fig. 1 is the existing realization flow figure that is broadcast to application program based on note in Android system mobile phone;
Fig. 2 is the flow chart of the embodiment of the present invention one message treatment method;
Fig. 3 is the flow chart of the embodiment of the present invention two message treatment methods;
The structured flowchart of the message handling system that Fig. 4 provides for the embodiment of the present invention.
Embodiment
In existing Android system, ISO system and Window system, before each application program in mobile terminal receives message, if message is carried out to some preliminary treatment, need to the complex operations such as change to system.For example, if the mobile terminal based on Android system carries out some preliminary treatment to message before receiving message receiving each application program after message and in mobile terminal, need in system, increase new preprocessor.But, increase these new preprocessor, need to revise Android system architecture, Android system is recompilated and upgrades and could support the preprocessor newly adding to shift to an earlier date preliminary treatment to message, if also will add afterwards new preprocessor, need again Android system is modified, compiled and disposes, preprocessor of every increase all needs Android system modify, compile and dispose; Need to revise system code and add new preprocessor, step complexity is upgraded simultaneously and the Android system of disposing customer mobile terminal has huge cost and risk.
For above-mentioned defect, the embodiment of the present invention proposes a kind of message that can realize getting and shifts to an earlier date pretreated message treatment method, to address the aforementioned drawbacks.
Embodiment mono-
The embodiment of the present invention one has proposed a kind of message treatment method, is applied to the various mobile terminals with message sink and/or sending function including mobile phone.With reference to figure 2, the method comprises the steps:
Step 201, obtain message;
This message can comprise one or more in word, picture, audio frequency, video etc.This message can be the service message that operator pushes automatically, can be also the message sending to this mobile terminal by other mobile terminals, and the present invention is not construed as limiting this.
In prior art, note broadcast system receives after note, and this note sends to all application programs of installing on mobile phone simultaneously.And in the embodiment of the present invention, obtain this step of message, the each application program in mobile terminal is carried out before receiving message.It can be for example the step that message handling system in Fig. 4 is carried out this and obtain message.
Step 202, send a message to the first application queue;
This step is mainly, according to the priority level of application program, the message getting is sent to first application queue corresponding with the priority level of application program, and wherein priority level can comprise for the order, the first application queue that identify corresponding application programs receipt message the application program that one or more priority levels are identical.
The application program that the embodiment of the present invention is mentioned can refer to be arranged on mobile process on mobile terminal, also can refer to be kept at and on mobile terminal, exempt from the application program of installing.The priority level of each application program can be allocate in advance, also can be in real time configuration; All application programs on mobile terminal are assigned at least one application queue, and each application queue only comprises one or more application program that priority level is identical.
In a specific embodiment, this step can be sent to the first application queue by the message getting according to the information such as address or title of application program, the message getting can be sent to one or more application program simultaneously, in the time being sent to multiple application program, the priority level of the plurality of application program is identical simultaneously.In another embodiment, can first carry out preliminary treatment to the message getting, for example in the message getting, increase priority tag, then according to this priority tag, the message of obtaining is sent to first application queue corresponding with this priority tag, wherein in the first application queue, the priority level of application program and the priority tag of above-mentioned increase are corresponding, and for example in the first application queue, the priority level of application program is 1, the priority tag of above-mentioned increase is " 1 "; Or other modes, will not enumerate at this.
The feedback result of step 203, reception the first application queue, this feedback result is the result of the first application queue to message.
Application program in the first application queue can be message content after treatment to the result of message, and/or the processing of message is identified; That is, the feedback result of the first application queue comprises that the application program in the first application queue carries out message content after treatment to message, and/or, the processing mark of application program to message.
On the one hand, above-mentioned result can be that application program is carried out message content after treatment to message, the message of for example obtaining in step 201 is the note of certain type, result is the note with No. *, in step 203, receives feedback result and can comprise and receive this application program note with No. * after treatment in the first application queue; It should be noted that, above-mentioned feedback result can comprise the result of one or more application program to message.Further, can also carry out subsequent operation to feedback result, as other application program of low priority also needs to monitor processing message content after treatment, message content after treatment is sent to the second application queue, wherein the priority level of the second application queue is lower than the priority level of the first application queue.
In addition, above-mentioned feedback result can be also the processing mark to message, as " 0 " and " 1 ", (application program was carried out processing the processing of this application program to message and was designated " 1 ", otherwise be " 0 "), if the first application queue only comprises an application program, above-mentioned feedback result only comprises the processing mark of this application program to message, for example, be " 1 " or " 0 "; If the first application queue comprises multiple application programs, above-mentioned feedback result comprises the processing mark of the plurality of application program to message, may comprise multiple " 1 " and/or multiple " 0 ".Further, can also operate feedback result as follows, judge whether this message to be sent to the 3rd application queue according to processing mark, wherein the priority level of the 3rd application queue is lower than the priority level of the first application queue; If so, this message is sent to the 3rd application queue.In an object lesson, in the time identifying shared quantity and/or ratio and be greater than preset value for the processing of " 1 " in feedback result, this message is sent to the 3rd application queue; In another object lesson, in the time identifying shared quantity and/or ratio and be greater than preset value for the processing of " 0 " in feedback result, this message is sent to the 3rd application queue.It should be noted that, above-mentioned the second application queue mentioning and the 3rd application queue can be identical can be not identical yet.
Adopt said method, can the message of obtaining be sent to corresponding application program according to priority level, the application program that priority level is high can the application program lower than priority level receive message in advance, thereby the different application realizing in mobile terminal is carried out stratified reception and/or processing to the message of obtaining.The scheme of the embodiment of the present invention one, does not need to revise Android system architecture and without Android system being modified, compiled and the operation of the code such as deployment, implementation procedure is greatly simplified, can be reduced development cost simultaneously.
It should be noted that, in Fig. 2, only show the schematic flow sheet of a specific embodiment in the embodiment of the present invention, it should be understood by one skilled in the art that the message treatment method in the embodiment of the present invention can also comprise unshowned step in other one or more Fig. 2; In addition, one or more step in Fig. 2 can replace with the mode of operation that other are equal to, and these are all in protection scope of the present invention.
The scheme that above-described embodiment one is mentioned can be applied to Android system, ISO system and Windows system etc.Below the technical scheme of above-described embodiment one being mentioned as an example of Android system example is done to labor.
Embodiment bis-
The embodiment of the present invention two provides a kind of message treatment method, this message treatment method can be applicable to the mobile terminal with message sink and/or sending function based on Android system, Fig. 3 shows the flow chart of this message treatment method, and the method mainly comprises the steps:
The log-on message of step 301, reception application program;
Wherein, log-on message is to indicate that application program that this log-on message is corresponding is assigned to the information of corresponding application queue.The application program of installing for needs, this application program completes after installation on mobile terminal, can be automatically assigned to corresponding application queue (this step is called the registration of this application program), after being assigned, can generate log-on message, log-on message comprises the current state (as completed registration) of corresponding application programs.In addition, log-on message can also comprise the information such as title, address and/or the priority level of application program.
In above-mentioned steps 301, receive the log-on message of application program, show that this application program has completed registration, has been assigned to certain application queue.
In a specific embodiment, before the note reception application program in the mobile phone based on Android system is monitored from outside note, can first complete registration (being that note reception application program is assigned to corresponding application queue), carry out again afterwards the function that receives note.
Step 302, obtain message;
This step is identical with the step 01 in above-described embodiment one, and particular content can be referring to the description of above-described embodiment one.
Step 303, send a message to the first application queue;
In this step, other application program of same priority belongs to same application queue, in application queue corresponding to each priority level, preserve all application programs that complete registration that belong to this priority level, the realization of application queue can adopt the ArrayList technology in Java, but is not limited only to this technology.In a specific embodiment, the all right corresponding note buffer queue of each application queue, for preserving the pending note that belongs to this priority level, the realization of this note buffer queue can be used the LinkedBlockingQueue technology in Java, but is not limited only to equally this technology.This note buffer queue can guarantee that the note in buffer memory can be sent rapidly by corresponding one or more Java threads.
It should be noted that, be to describe the technical scheme of the embodiment of the present invention two in detail, and in this embodiment, being note take message describes as example.Now, get after note, can first process note, again note is sent to afterwards to the first application queue.For example, can in note, increase priority tag (as any interpretable position in note increases this priority tag), this priority tag is indicated the priority level that can first receive the application program of this note, the priority level that for example can first receive the application program of this note is 1, can in note, increase priority tag " 1 ".
The feedback result of step 304, reception the first application queue;
Application program in the first application queue can receive above-mentioned message simultaneously, and these application programs can select the message to receiving to process or do not process.Further, select the application program that message is processed can return to the result to message, the application program that selection is not processed message can be returned and not process mark or do not return and do not process mark.
Equally take above-mentioned reception note as example, each application program in the first application queue is being received after the note that contains priority tag, whether the priority tag that judges note is corresponding with the priority level of application program self, if it is can select this note to process or do not process, if otherwise do not processed.If the application program of having registered receives the note corresponding with self priority level and successfully processes, application program can be fed back the result to note.Further, can further determine whether to continue to send this note to other application queue of other low priorities according to the result of feedback.
If application program receives the note corresponding with self priority level, also unsuccessful processing, is receiving after the untreated result of indicating of application program, can also continue this note to be sent to other application queue of other low priorities; In addition, before this note is sent to other application queue of other low priorities, can also first change the priority tag of this note so that the priority tag priority level lower with at least one rank after change is corresponding.
In addition, if application program receives the note corresponding with self priority level, the processing time is overtime (for example, in Preset Time, do not receive the feedback result that corresponding application programs queue returns and can think that the processing time is overtime), can also continue this note to be sent to other application queue of other low priorities; In addition, before this note is sent to other application queue of other low priorities, can also first change the priority tag of this note so that the priority tag priority level lower with at least one rank after change is corresponding.
In specific embodiment of the present invention, if the priority level of application program is corresponding with the priority tag of the note receiving, this application program can be processed also and can not process this note this note; If the priority level of application program is not corresponding with the priority level of the note receiving, this application program does not have authority to process the note receiving.Certainly, this is the scheme that specific embodiment of the present invention adopts, and can also adopt other modes, and this is not construed as limiting.
In other embodiments, in order to improve the efficiency of processing messages, can check the application program that completes registration as required, whether statistics has completed the application program of registration can return to result to the message receiving.For example can be automatically timing (for example, every 10 minutes) after completing that the application program of registration checks or automatically in real time checking or receiving user's indication to completing the application program of registration, the application program that completes registration is checked.When whether the application program that has completed registration in statistics can return to result to the message receiving, can adopt following scheme: scheme one: application programs is set (for example 10 minutes processing response time limit to the processing of message, 5 minutes, 1 minute etc., can determine on demand), beginning timing from sending a message to the first application queue, if certain application program in the first application program is not returned to result within the processing response time limit, think that this application program is without response, now, can select this application program to eliminate the first application queue, delete from the first application queue by this application program.In addition, can also adopt scheme as described below two: on the basis of scheme one, add up the number of times of this application program without response, for example, if this application program is not less than pre-determined number (3 times or 5 inferior without the number of times of response, or determine according to specifically needing), now, can select this application program to eliminate the first application queue, delete from the first application queue by this application program.Adopt this scheme, can realize the registered application program that dynamically cannot work and eliminate application queue, thus the treatment effeciency of raising message.
The process that registered application program is eliminated to application queue can be called the anti-registration process of application program.After needs remove certain application program from corresponding application queue, can obtain the anti-log-on message of application program, this anti-log-on message can identify above-mentioned application program and from corresponding application queue, be deleted, and this application program is not included in corresponding application queue.Adopt in this way, can make the preprocessing function dynamic change of application program, can by anti-registration process, unwanted application program be deleted from queue at any time, have while getting new message later, no longer this new message is sent to this application program, certainly, also can revise concrete preprocessing function by upgrading log-on message, such as changing its processing sequence etc. by the priority level of upgrading in certain application program log-on message.
By the scheme of the embodiment of the present invention two, the message getting can be sent to corresponding application program according to priority level, other application program of high priority can receive message in advance than other application program of low priority, thereby the different application realizing in mobile terminal is carried out stratified reception and/or processing to the message getting.In addition, according to the scheme of embodiment bis-, can according to actual needs application program be registered in corresponding application queue, also can as required application program be deleted from corresponding application program; Thus, can realize the application program of dynamic adjustment receipt message.
The scheme of the embodiment of the present invention two, only need application program be added in corresponding application queue or by anti-registration process application program is deleted from corresponding application queue by registration process, do not need to revise Android system architecture and without Android system being modified, compiled and the operation of the code such as deployment, implementation procedure is greatly simplified, can be reduced development cost simultaneously.
It should be noted that, in embodiment bis-, the execution order of each step is not limited to the mode shown in Fig. 3, and for example, step 301 can also be carried out after step 302, or carries out with step 302 simultaneously.In addition, step 302 ~ 304 in the present embodiment can also be carried out according to the mode of step 301 ~ 303 in above-described embodiment one, and corresponding contents that specifically can reference example one, does not repeat them here.
As an example of the transmitting-receiving of note example, implementation procedure of the present invention is described in detail below, adopt after method provided by the present invention, in the time receiving new message, can carry out preliminary treatment to note, certainly, the invention is not restricted to the processing of note, can also be that the processing of other information in Android system is as processing of the processing of the processing of the processing of telephone message, network data information, Email, Android internal event message etc.
According to the application case of " uncivil note preliminary treatment ", implementation procedure of the present invention is described below.The for example head of a family needs uncivil word in preliminary treatment note (as " violence ", " pornographic " etc.), and uncivil word is replaced with " * " number.
When application program " uncivil note preliminary treatment ", " note client " and " general note receives application program " can be registered according to the priority level of self (being assigned to corresponding application queue) after starting.For example, " uncivil note preliminary treatment " self priority level is 1, " the first application queue " that it is 1 to priority level registers, and the specifying information such as title and priority level of self can be generated in " recorded information " (specifying information that application program is registered in application queue) " the first application queue " that to be deposited into priority level be 1; Other 2 application programs " note client " and " general note receives application program " priority level are 3, and " the 3rd application queue " that they are 3 to priority level does same operation.
Receive after new note, first look into see if there is in the first application queue that application program has been 1 in priority level and register, in the first application queue that discovery priority level is 1, can also comprise the information of application program " uncivil note preliminary treatment " registration, now priority tag " 1 " can be attached in note, and all application programs in the first application queue that is 1 to priority level are broadcasted this note.When application program " uncivil note preliminary treatment " receives after this note, whether the priority tag that checks note is " 1 ", if " 1 ", " uncivil note preliminary treatment " application program will be processed this note, by " violence " wherein, words such as " pornographics " replaces with " * " number, feeds back afterwards the result of this note.
Receive from application program " uncivil note preliminary treatment " after the result of note, in the second application queue that can sequential search whether has application program to be 2 in priority level, register, in this example, there is no priority level is the registration of 2 application program, therefore, can continue to check in the 3rd application queue that whether to have application program be 3 in priority level and register, priority level is the information that can also comprise application program " note client " and " general note receives application program " registration in 3 the 3rd application queue, now priority tag " 3 " can be attached to through in " uncivil note preliminary treatment " application program note after treatment, and broadcast this note to all application programs.When " note client " and " general note receives application program B " receives after this note, can show the note of receiving by " note client ", user will can not see any note that comprises uncivil word (for example: " violence ", " pornographic ").
In order to improve the transparency, if the first application queue that priority level is 1 finds application program " uncivil note preliminary treatment " and registers, but do not respond the note (specifically can monitor by the response time) that any band priority tag is " 1 ", judge application program " uncivil note preliminary treatment " work undesired, can be eliminated the first application queue, thereby the application program " uncivil note preliminary treatment " that guarantees irregular working can not exert an influence to the time of other application programs " note client " and " general note receives application program " reception note.
After note is disposed in all application queues with priority level, if also needed SMS notification in Android system, other do not have the application program of priority level and/or the application program of registering, system can pass to this note the note broadcast system in Android system, guarantees that these do not have the application program of priority level and/or the application program registered still can receive note.
Embodiment tri-
Shown in figure 4, the present embodiment also proposes a kind of message handling system, comprising:
Acquiring unit 401, in order to obtain message;
Transmitting element 402, in order to according to the priority level of application program, described message is sent to first application queue corresponding with described priority level, described priority level is used for identifying the order of corresponding application programs receipt message, described the first application queue comprises the application program that one or more priority levels are identical;
The first receiving element 403, in order to and receive the feedback result of described the first application queue, described feedback result is the result of described the first application queue to described message.
This system can realize the application program that according to priority, message is sent to different priorities, and the application program that priority is high can the application program lower than priority shift to an earlier date preliminary treatment message.
In order to realize dynamically according to determining priority level directional broadcasting message, described system can also comprise:
The second receiving element 404, for obtaining the log-on message of application program;
Record cell, for being recorded to the application queue corresponding with described application program by described log-on message; Wherein, described log-on message comprises title, address and/or the priority level of described application program.
The 3rd receiving element 405, for obtaining the anti-log-on message of application program, it is deleted to show that described application program removes from corresponding application queue that wherein said anti-log-on message is used for identifying described log-on message.
So, can not change under the prerequisite of original system framework, by registration and the dynamic reception application program of adjusting message of anti-registration of queue, thereby guarantee that high priority applications can shift to an earlier date preliminary treatment message as required.
First, in above-mentioned message treatment method and/or system, according to priority, message is sent to the application program of different priorities, the application program that priority level is high can the application program lower than priority level shift to an earlier date preliminary treatment message, can meet user's particular demands.
Secondly, a kind of method that dynamically sends message according to priority level can also further be proposed, by application program being registered and/or the anti-mode being registered in application queue, add or delete new monitoring application program, without the platforms such as Android are modified, compile and disposed, only need register in advance, greatly simplify operation sequence, reduce development cost simultaneously.
In addition, in above-mentioned message treatment method and/or system, can select message to send in the application program that priority level is low according to the result of application program, in the time that the high monitoring application program of priority level cannot processing messages, after the response time finishes, message is pass on to other application program of other low priorities, and time of delay is less, thereby other application program of assurance low priority cannot be experienced the preliminary treatment work of other application program of high priority.
In addition, in above-mentioned message treatment method and/or system, can check registered application program, guarantee that dynamically the registered application program of the result of return messages eliminates application queue in time, thereby improve the transmission efficiency of message.
The present invention can be applied to military equipment communication, software module communication, the various fields such as civil equipment communication.
" first ", " second ", " the 3rd " etc. in above-described embodiment, just in order to distinguish, not should be understood to the restriction to the embodiment of the present invention.In addition, each scheme in the various embodiments described above can be in conjunction with obtaining other schemes, and these are all in the protection range of the embodiment of the present invention.
The above; it is only preferred embodiment of the present invention; it is not the restriction of the present invention being made to other form; the equivalent embodiment that any those skilled in the art may utilize the technology contents of above-mentioned announcement to be changed or be modified as equivalent variations is applied to other field; but every technical solution of the present invention content that do not depart from; any simple modification, equivalent variations and the remodeling above embodiment done according to technical spirit of the present invention, still belong to the protection range of technical solution of the present invention.

Claims (10)

1. a message treatment method, is characterized in that comprising the steps:
Steps A, obtain message;
Step B, according to the priority level of application program, described message is sent to first application queue corresponding with described priority level, described priority level for identifying the order of corresponding application programs receipt message, described the first application queue comprises the application program that one or more priority levels are identical;
Step C, receive the feedback result of described the first application queue, described feedback result is application program in described the first application queue result to described message.
2. message treatment method according to claim 1, is characterized in that: before steps A, described method also comprises:
Receive the log-on message of application program, described log-on message is to indicate that application program that this log-on message is corresponding is assigned to the information of corresponding application queue.
3. message treatment method according to claim 2, is characterized in that, before steps A, described method also comprises:
The anti-log-on message that receives application program, described anti-log-on message is used for identifying this application program and is deleted from corresponding application queue.
4. according to the message treatment method described in claim 1-3 any one, it is characterized in that, described step B comprises:
Obtain title or the address of first application queue corresponding with described priority level, according to described title or address, described message is sent to described the first application queue.
5. according to the message treatment method described in claim 1-3 any one, it is characterized in that, before step B, described method also comprises:
In described message, increase priority tag, described priority tag is corresponding with the priority level of described the first application queue;
Described step B comprises:
According to described priority tag, described message is sent to described the first application queue.
6. according to the method described in claim 1-5 any one, it is characterized in that, described feedback result is message content after treatment, and described method also comprises:
Described feedback result is sent to the second application queue, and the priority level of described the second application queue is lower than the priority level of described the first application queue; And/or
Described feedback result is the processing mark to described message, and described method also comprises:
Judge whether described message to be sent to the 3rd application queue according to described processing mark, the priority level of described the 3rd application queue is lower than the priority level of described the first application queue; If so, described message is sent to described the 3rd application queue.
7. according to the message treatment method described in claim 1-5 any one, it is characterized in that: described step C comprises: to the application setting processing response time limit in described the first application queue, and select whether to continue to send this message to other application queue of other low priorities according to the response time limit; And/or
Response times to application program in the first application queue is added up, and selects whether application program is rejected to described the first application queue according to statistics.
8. a message handling system, is characterized in that, described system comprises:
Acquiring unit, in order to obtain message;
Transmitting element, in order to according to the priority level of application program, described message is sent to first application queue corresponding with described priority level, described priority level is used for identifying the order of corresponding application programs receipt message, described the first application queue comprises the application program that one or more priority levels are identical;
The first receiving element, in order to receive the feedback result of described the first application queue, described feedback result is application program in described the first application queue result to described message.
9. message handling system according to claim 8, is characterized in that, described system also comprises:
The second receiving element, for receiving the log-on message of application program, described log-on message is to indicate that application program that this log-on message is corresponding is assigned to the information of corresponding application queue.
10. message handling system according to claim 9, is characterized in that, described system also comprises:
The 3rd receiving element, for receiving the anti-log-on message of application program, described anti-log-on message is used for identifying this application program and is deleted from corresponding application queue.
CN201410151867.7A 2014-04-16 2014-04-16 A kind of message treatment method and system thereof Active CN103888619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410151867.7A CN103888619B (en) 2014-04-16 2014-04-16 A kind of message treatment method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410151867.7A CN103888619B (en) 2014-04-16 2014-04-16 A kind of message treatment method and system thereof

Publications (2)

Publication Number Publication Date
CN103888619A true CN103888619A (en) 2014-06-25
CN103888619B CN103888619B (en) 2016-03-23

Family

ID=50957334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410151867.7A Active CN103888619B (en) 2014-04-16 2014-04-16 A kind of message treatment method and system thereof

Country Status (1)

Country Link
CN (1) CN103888619B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753769A (en) * 2015-03-24 2015-07-01 新余兴邦信息产业有限公司 Method and device for issuing messages by message queue
CN105357648A (en) * 2015-10-10 2016-02-24 上海斐讯数据通信技术有限公司 Method and Android system for sending broadcast message to application program
CN105376146A (en) * 2015-12-17 2016-03-02 宁波优而雅电器有限公司 Information transmission system based on application grade
CN105468901A (en) * 2014-11-20 2016-04-06 韩国韩医学研究院 Apparatus and method for setting multi-hierarchy event alarm according user response
CN106851016A (en) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 Broadcast the message method, device and the terminal queued up
CN106919459A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of management method of broadcast recipients, device and terminal
CN106933685A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of management method of broadcast recipients, device and terminal
CN106936827A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of broadcast recipients' queue regulation method, device and terminal
CN108322602A (en) * 2018-01-29 2018-07-24 努比亚技术有限公司 A kind of method, terminal and computer readable storage medium handled using no response
CN109165114A (en) * 2018-09-14 2019-01-08 Oppo广东移动通信有限公司 Processing method, device, storage medium and intelligent terminal of the application program without response
CN112799822A (en) * 2021-02-09 2021-05-14 北京字节跳动网络技术有限公司 Program starting method, device, equipment and medium
CN113138883A (en) * 2021-05-14 2021-07-20 北京字节跳动网络技术有限公司 Message processing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606429A (en) * 2007-02-08 2009-12-16 株式会社Ntt都科摩 Communication terminal, management equipment, communication system and program
CN101772212A (en) * 2009-12-25 2010-07-07 中兴通讯股份有限公司 Method and device for carrying out unified management on multiple applications on mobile terminal
CN102402457A (en) * 2010-09-17 2012-04-04 希姆通信息技术(上海)有限公司 Method for processing mobile phone application program alterative events
CN101639787B (en) * 2009-09-07 2013-02-27 中兴通讯股份有限公司 Method and device for starting application program
CN103248757A (en) * 2013-03-28 2013-08-14 北京小米科技有限责任公司 Method and device for message notification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606429A (en) * 2007-02-08 2009-12-16 株式会社Ntt都科摩 Communication terminal, management equipment, communication system and program
CN101639787B (en) * 2009-09-07 2013-02-27 中兴通讯股份有限公司 Method and device for starting application program
CN101772212A (en) * 2009-12-25 2010-07-07 中兴通讯股份有限公司 Method and device for carrying out unified management on multiple applications on mobile terminal
CN102402457A (en) * 2010-09-17 2012-04-04 希姆通信息技术(上海)有限公司 Method for processing mobile phone application program alterative events
CN103248757A (en) * 2013-03-28 2013-08-14 北京小米科技有限责任公司 Method and device for message notification

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468901A (en) * 2014-11-20 2016-04-06 韩国韩医学研究院 Apparatus and method for setting multi-hierarchy event alarm according user response
CN104753769A (en) * 2015-03-24 2015-07-01 新余兴邦信息产业有限公司 Method and device for issuing messages by message queue
CN105357648A (en) * 2015-10-10 2016-02-24 上海斐讯数据通信技术有限公司 Method and Android system for sending broadcast message to application program
CN105376146A (en) * 2015-12-17 2016-03-02 宁波优而雅电器有限公司 Information transmission system based on application grade
WO2018161968A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Broadcast message queuing method and device, and terminal
US11051272B2 (en) 2017-03-10 2021-06-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for arranging broadcast message in operating system and electronic device
CN106933685A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of management method of broadcast recipients, device and terminal
CN106936827A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of broadcast recipients' queue regulation method, device and terminal
WO2018161588A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Broadcast receiver queue adjustment method, apparatus, storage medium, and electronic device
CN106851016A (en) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 Broadcast the message method, device and the terminal queued up
CN106919459A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of management method of broadcast recipients, device and terminal
CN106851016B (en) * 2017-03-10 2019-03-19 Oppo广东移动通信有限公司 Broadcast the message the method, apparatus and terminal being lined up
CN106933685B (en) * 2017-03-10 2019-10-15 Oppo广东移动通信有限公司 A kind of management method of broadcast recipients, device and terminal
US11160052B2 (en) 2017-03-10 2021-10-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for adjusting broadcast receiver queue, storage medium and electronic device
CN108322602A (en) * 2018-01-29 2018-07-24 努比亚技术有限公司 A kind of method, terminal and computer readable storage medium handled using no response
CN109165114A (en) * 2018-09-14 2019-01-08 Oppo广东移动通信有限公司 Processing method, device, storage medium and intelligent terminal of the application program without response
CN109165114B (en) * 2018-09-14 2022-07-12 Oppo广东移动通信有限公司 Application program no-response processing method and device, storage medium and intelligent terminal
CN112799822A (en) * 2021-02-09 2021-05-14 北京字节跳动网络技术有限公司 Program starting method, device, equipment and medium
CN113138883A (en) * 2021-05-14 2021-07-20 北京字节跳动网络技术有限公司 Message processing method and device, storage medium and electronic equipment
CN113138883B (en) * 2021-05-14 2024-02-02 北京字节跳动网络技术有限公司 Message processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN103888619B (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN103888619B (en) A kind of message treatment method and system thereof
CN109672580B (en) Full link monitoring method, device, terminal equipment and storage medium
US20160323170A1 (en) Broadcast interception method and apparatus of intelligent device
CN102855148A (en) Android-based startup management method
CN103108320A (en) Method and system for monitoring application program of mobile device
US9876744B2 (en) Information sending method and information sending apparatus
EP2985730A1 (en) Method and device for partially-upgrading
CN105653945A (en) Information processing method and device based on blacklist and electronic equipment
CN104021141A (en) Method, device and system for data processing and cloud service
CN108804515A (en) A kind of webpage loading method, webpage loading system and server
US20170005965A1 (en) Information sending method and information sending apparatus
CN105991407B (en) Message processing method and device and processing server
CN110704131B (en) Method and device for calling native application by HTML5 application
CN109657485B (en) Authority processing method and device, terminal equipment and storage medium
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN107741891B (en) Object reconstruction method, medium, device and computing equipment
CN104573489A (en) Method and device for forbidding application to establish desktop icon
CN107046527B (en) WEB vulnerability scanning method, device and system
US10528625B2 (en) Client cloud synchronizer
CN102137081A (en) Method, device and system for inserting advertisements
CN107766232B (en) Plug-in management method and device
CN104219258A (en) Method and system of real-time query of number attribution as well as terminal and server
CN112995982B (en) Method, device, server and storage medium for scheduling cloud SIM card
CN104346228A (en) Application program sharing method and terminal
US9479579B2 (en) Grouping processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant