CN103888619B - A kind of message treatment method and system thereof - Google Patents
A kind of message treatment method and system thereof Download PDFInfo
- Publication number
- CN103888619B CN103888619B CN201410151867.7A CN201410151867A CN103888619B CN 103888619 B CN103888619 B CN 103888619B CN 201410151867 A CN201410151867 A CN 201410151867A CN 103888619 B CN103888619 B CN 103888619B
- Authority
- CN
- China
- Prior art keywords
- message
- application
- queue
- application program
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明提出一种消息处理方法及其系统,该方法包括:步骤A、获取消息;步骤B、按照应用程序的优先级别将所述消息发送至与所述优先级别对应的第一应用程序队列,所述优先级别用于标识相应应用程序接收消息的次序、所述第一应用程序队列包括一个或多个优先级别相同的应用程序;步骤C、接收所述第一应用程序队列的反馈结果,所述反馈结果是所述第一应用程序队列中的应用程序对所述消息的处理结果。本发明可以实现按照优先级将消息发送给不同优先级的应用程序,优先级高的应用程序可以比优先级低的应用程序提前预处理消息,从而满足用户特定需求。
The present invention proposes a message processing method and system thereof, the method comprising: step A, acquiring a message; step B, sending the message to the first application queue corresponding to the priority level according to the priority level of the application program, The priority level is used to identify the order in which the corresponding application programs receive messages, and the first application program queue includes one or more application programs with the same priority level; Step C, receiving the feedback result of the first application program queue, the The feedback result is a processing result of the message by the application programs in the first application program queue. The invention can realize sending messages to application programs with different priorities according to the priority, and the application programs with high priority can preprocess the messages ahead of the application programs with low priority, so as to meet the specific needs of users.
Description
技术领域 technical field
本发明涉及通信技术领域,具体地讲涉及一种消息处理方法及其系统。 The present invention relates to the technical field of communications, in particular to a message processing method and system thereof.
背景技术 Background technique
目前,移动终端(例如手机)上通常安装有多个不同的应用程序。手机接收消息(例如短息、彩信等)时,安装在手机上的所有应用程序通常会同时接收到该消息。 Currently, multiple different application programs are usually installed on a mobile terminal (such as a mobile phone). When a mobile phone receives a message (such as SMS, MMS, etc.), all applications installed on the mobile phone usually receive the message at the same time.
例如参考图1,现有的手机通常采用如下方式处理接收到的短信:手机中的短信广播系统接收到短信后,将该短信同时发送到手机上安装的所有应用程序,如短信显示应用程序、游戏软件、短信统计软件以及短信保存软件等;即,手机上安装的所有应用程序同时、无优先次序地接收到短信。 For example with reference to Fig. 1, the existing mobile phone usually adopts the following method to process the received short message: after the short message broadcasting system in the mobile phone receives the short message, it sends the short message to all the application programs installed on the mobile phone at the same time, such as the short message display application program, Game software, short message statistics software, short message storage software, etc.; that is, all applications installed on the mobile phone receive short messages at the same time and without priority.
另外,现有的其他具有消息接收功能的移动终端大多也采用类似于图1所示的短信广播到应用程序的流程接收消息。可见,移动终端中的所有应用程序同时接收消息、移动终端无法对接收到的消息进行有层次的处理。 In addition, most other existing mobile terminals with a message receiving function also receive messages through a flow similar to that shown in FIG. 1 for broadcasting short messages to application programs. It can be seen that all the application programs in the mobile terminal receive messages at the same time, and the mobile terminal cannot perform hierarchical processing on the received messages.
发明内容 Contents of the invention
本发明针对现有技术中移动终端中的应用程序同时接收消息、移动终端无法对接收到的消息进行有层次处理的问题,提出一种消息收发方法,其采用如下技术方案予以实现: The present invention aims at the problem that the application programs in the mobile terminal receive messages at the same time in the prior art, and the mobile terminal cannot perform hierarchical processing on the received messages, and proposes a method for sending and receiving messages, which is realized by the following technical scheme:
一种消息处理方法,包括如下步骤: A message processing method, comprising the steps of:
步骤A、获取消息; Step A, obtain the message;
步骤B、按照应用程序的优先级别将所述消息发送至与所述优先级别对应的第一应用程序队列,所述优先级别用于标识相应应用程序接收消息的次序、所述第一应用程序队列包括一个或多个优先级别相同的应用程序; Step B, sending the message to the first application queue corresponding to the priority level according to the priority level of the application program, the priority level is used to identify the order in which the corresponding application program receives the message, the first application program queue Include one or more applications with the same priority level;
步骤C、接收所述第一应用程序队列的反馈结果,所述反馈结果是所述第一应用程序队列中的应用程序对所述消息的处理结果。 Step C. Receive a feedback result from the first application queue, where the feedback result is a processing result of the message by an application in the first application queue.
进一步地,步骤A之前所述方法还包括: Further, the method described before step A also includes:
接收应用程序的注册信息,所述注册信息是标明该注册信息对应的应用程序被分配至相应的应用程序队列的信息。 The registration information of the application program is received, and the registration information is information indicating that the application program corresponding to the registration information is allocated to the corresponding application program queue.
进一步地,步骤A之前所述方法还包括: Further, the method described before step A also includes:
接收应用程序的反注册信息,所述反注册信息用于标识该应用程序已经被从相应的应用程序队列中删除。 The anti-registration information of the application program is received, and the anti-registration information is used to identify that the application program has been deleted from the corresponding application program queue.
进一步地,所述步骤B包括: Further, the step B includes:
获取与所述优先级别对应的第一应用程序队列的名称或者地址,根据所述名称或者地址将所述消息发送至所述第一应用程序队列。 Obtain the name or address of the first application queue corresponding to the priority level, and send the message to the first application queue according to the name or address.
进一步地,步骤B之前所述方法还包括: Further, the method described before step B also includes:
在所述消息上增加优先级标识,所述优先级标识与所述第一应用程序队列的优先级别对应; Adding a priority identifier to the message, where the priority identifier corresponds to the priority level of the first application queue;
所述步骤B包括: Described step B comprises:
根据所述优先级标识将所述消息发送至所述第一应用程序队列。 sending the message to the first application queue according to the priority identifier.
进一步地,所述反馈结果是处理后的消息内容,所述方法还包括: Further, the feedback result is the processed message content, and the method further includes:
将所述反馈结果发送至第二应用程序队列,所述第二应用程序队列的优先级别低于所述第一应用程序队列的优先级别;和/或 sending the feedback result to a second application queue whose priority level is lower than that of the first application queue; and/or
所述反馈结果是对所述消息的处理标识,所述方法还包括: The feedback result is a processing identifier for the message, and the method further includes:
根据所述处理标识判断是否将所述消息发送至第三应用程序队列,所述第三应用程序队列的优先级别低于所述第一应用程序队列的优先级别;如果是,将所述消息发送至所述第三应用程序队列。 Determine whether to send the message to a third application queue according to the processing identifier, the priority level of the third application queue is lower than the priority level of the first application queue; if yes, send the message to the third application queue.
进一步地,所述步骤C包括:对所述第一应用程序队列中的应用程序设定处理响应时限,并根据响应时限选择是否继续向其他低优先级别的应用程序队列发送该消息;和/或 Further, the step C includes: setting a processing response time limit for the applications in the first application queue, and selecting whether to continue sending the message to other low-priority application queues according to the response time limit; and/or
对第一应用程序队列中应用程序的响应次数进行统计,并根据统计结果选择是否将应用程序剔除所述第一应用程序队列。 Counting the response times of the applications in the first application queue, and selecting whether to remove the application from the first application queue according to the statistical results.
本发明另外提出一种消息处理系统,其特征在于,所述系统包括: The present invention further proposes a message processing system, wherein the system includes:
获取单元,用以获取消息; Acquisition unit, used to obtain messages;
发送单元,用以按照应用程序的优先级别将所述消息发送至与所述优先级别对应的第一应用程序队列,所述优先级别用于标识相应应用程序接收消息的次序、所述第一应用程序队列包括一个或多个优先级别相同的应用程序; a sending unit, configured to send the message to the first application queue corresponding to the priority level according to the priority level of the application program, the priority level is used to identify the order in which the corresponding application program receives the message, the first application program The program queue includes one or more applications of the same priority level;
第一接收单元,用以接收所述第一应用程序队列的反馈结果,所述反馈结果是所述第一应用程序队列中的应用程序对所述消息的处理结果。 The first receiving unit is configured to receive a feedback result of the first application queue, where the feedback result is a processing result of the message by an application in the first application queue.
进一步地,所述系统还包括: Further, the system also includes:
第二接收单元,用于接收应用程序的注册信息,所述注册信息是标明该注册信息对应的应用程序被分配至相应的应用程序队列的信息。进一步地,所述系统还包括: The second receiving unit is configured to receive the registration information of the application program, the registration information is information indicating that the application program corresponding to the registration information is assigned to the corresponding application program queue. Further, the system also includes:
第三接收单元,用于接收应用程序的反注册信息,所述反注册信息用于标识该应用程序已经被从相应的应用程序队列中删除。与现有技术相比,本发明的优点和积极效果体现如下: The third receiving unit is configured to receive anti-registration information of the application, where the anti-registration information is used to identify that the application has been deleted from the corresponding application queue. Compared with prior art, advantage and positive effect of the present invention are embodied as follows:
采用上述消息处理方法,可以按照优先级别将获取的消息发送给相应的应用程序,优先级别高的应用程序可以比优先级别低的应用程序提前接收到消息,从而实现移动终端中的不同应用程序对获取的消息进行有层次的接收和/或处理。本发明实施例一的方案,不需要修改Android系统架构、且无需对Android系统进行修改、编译和部署等代码操作,实现过程大大简化、同时能够降低开发成本。 By adopting the above message processing method, the obtained messages can be sent to the corresponding application programs according to the priority levels, and the application programs with high priority levels can receive the messages earlier than the application programs with lower priority levels, so that different application programs in the mobile terminal can interact with each other. Fetched messages are received and/or processed hierarchically. The solution of Embodiment 1 of the present invention does not need to modify the Android system architecture, and does not need to perform code operations such as modification, compilation, and deployment on the Android system. The implementation process is greatly simplified and the development cost can be reduced at the same time.
结合附图阅读本发明的具体实施方式后,本发明的其他特点和优点将变得更加清楚。 Other characteristics and advantages of the present invention will become clearer after reading the detailed description of the present invention in conjunction with the accompanying drawings.
附图说明 Description of drawings
图1为现有基于Android系统手机中短信广播到应用程序的实现流程图; Fig. 1 is the realization flow chart of existing SMS broadcasting to application program based on Android system mobile phone;
图2为本发明实施例一消息处理方法的流程图; FIG. 2 is a flowchart of a message processing method according to Embodiment 1 of the present invention;
图3为本发明实施例二消息处理方法的流程图; FIG. 3 is a flow chart of a message processing method in Embodiment 2 of the present invention;
图4为本发明实施例提供的消息处理系统的结构框图。 Fig. 4 is a structural block diagram of a message processing system provided by an embodiment of the present invention.
具体实施方式 detailed description
在现有的Android系统、ISO系统及Window系统中,移动终端中的各个应用程序接收到消息之前,如果要对消息进行一些预处理,需要对系统进行更改等复杂操作。例如,基于Android系统的移动终端如果在接收到消息后并且移动终端中的各个应用程序接收到消息之前对消息进行一些预处理,则需要在系统中增加新的预处理程序。但是,增加这些新的预处理程序,需要修改Android系统架构、对Android系统进行重新编译并升级才能支持新加入的预处理程序对消息进行提前预处理,之后如果还要加入新的预处理程序则需要再次对Android系统进行修改、编译和部署,即每增加一个预处理程序都需要对Android系统进行修改、编译和部署;而添加新的预处理程序需要修改系统代码,步骤复杂,同时升级和部署用户移动终端的Android系统有巨大的代价与风险。 In the existing Android system, ISO system and Window system, before each application program in the mobile terminal receives the message, if some preprocessing is to be performed on the message, complex operations such as changing the system are required. For example, if a mobile terminal based on the Android system performs some preprocessing on the message after receiving the message and before each application program in the mobile terminal receives the message, a new preprocessing program needs to be added to the system. However, to add these new preprocessing programs, it is necessary to modify the Android system architecture, recompile and upgrade the Android system to support the newly added preprocessing program to preprocess the message in advance, and then if you want to add a new preprocessing program then It is necessary to modify, compile and deploy the Android system again, that is, each additional preprocessing program needs to modify, compile and deploy the Android system; adding a new preprocessing program requires modifying the system code, the steps are complicated, and upgrading and deployment at the same time The Android system of the user's mobile terminal has huge costs and risks.
针对上述缺陷,本发明实施例提出一种能够实现对获取到的消息进行提前预处理的消息处理方法,以解决上述缺陷。 In view of the above defects, an embodiment of the present invention proposes a message processing method capable of preprocessing the acquired messages in advance, so as to solve the above defects.
实施例一 Embodiment one
本发明实施例一提出了一种消息处理方法,应用于包括手机在内的各种具有消息接收和/或发送功能的移动终端。参考图2,该方法包括如下步骤: Embodiment 1 of the present invention proposes a message processing method, which is applied to various mobile terminals with message receiving and/or sending functions, including mobile phones. With reference to Fig. 2, this method comprises the steps:
步骤201、获取消息; Step 201, obtain message;
该消息可以包括文字、图片、音频、视频等中的一种或者多种。该消息可以是运营商自动推送的业务消息,也可以是通过其他移动终端向该移动终端发送的消息,本发明对此不作限定。 The message may include one or more of text, picture, audio, video and so on. The message may be a service message automatically pushed by the operator, or a message sent to the mobile terminal through other mobile terminals, which is not limited in the present invention.
现有技术中,短信广播系统接收到短信后,该短信同时发送到手机上安装的所有应用程序。而本发明实施例中获取消息这一步骤,在移动终端中的各应用程序接收到消息之前执行。例如可以是图4中的消息处理系统执行该获取消息的步骤。 In the prior art, after the short message broadcasting system receives the short message, the short message is sent to all the application programs installed on the mobile phone at the same time. However, the step of obtaining the message in the embodiment of the present invention is executed before each application program in the mobile terminal receives the message. For example, the message processing system in FIG. 4 may execute the step of obtaining the message.
步骤202、发送消息至第一应用程序队列; Step 202, sending a message to the first application queue;
本步骤主要是按照应用程序的优先级别将获取到的消息发送至与应用程序的优先级别对应的第一应用程序队列,其中优先级别用于标识相应应用程序接收消息的次序、第一应用程序队列可以包括一个或多个优先级别相同的应用程序。 This step is mainly to send the obtained message to the first application queue corresponding to the priority level of the application program according to the priority level of the application program, where the priority level is used to identify the order in which the corresponding application program receives messages, the first application program queue Can include one or more applications with the same priority.
本发明实施例提到的应用程序可以指安装在移动终端上的移动程序、也可指保存在移动终端上免安装的应用程序。各应用程序的优先级别可以是预先分配好的、也可以是实时配置的;移动终端上的所有应用程序被分配到至少一个应用程序队列,每个应用程序队列仅包括优先级别相同的一个或者多个应用程序。 The application program mentioned in the embodiment of the present invention may refer to a mobile program installed on the mobile terminal, or may refer to an application program saved on the mobile terminal without installation. The priority level of each application program can be pre-allocated or configured in real time; all application programs on the mobile terminal are assigned to at least one application program queue, and each application program queue only includes one or more application programs with the same priority level. applications.
在一个具体实施例中,本步骤可以根据应用程序的地址或名称等信息将获取到的消息发至第一应用程序队列,即可以将获取到的消息同时发送至一个或者多个应用程序,当同时发送至多个应用程序时该多个应用程序的优先级别相同。在另外一个实施例中,可以首先对获取到的消息进行预处理,例如在获取到的消息上增加优先级标识,然后根据该优先级标识将获取的消息发送至与该优先级标识相对应的第一应用程序队列,其中第一应用程序队列中应用程序的优先级别与上述增加的优先级标识相对应,例如第一应用程序队列中应用程序的优先级别为1、上述增加的优先级标识为“1”;或者其他方式,在此不再一一列举。 In a specific embodiment, this step can send the obtained message to the first application program queue according to information such as the address or name of the application program, that is, the obtained message can be sent to one or more application programs at the same time, when When sending to multiple applications at the same time, the priority levels of the multiple applications are the same. In another embodiment, the obtained message may be preprocessed first, for example, a priority identifier is added to the obtained message, and then the obtained message is sent to the corresponding priority identifier according to the priority identifier. The first application program queue, wherein the priority level of the application program in the first application program queue corresponds to the above-mentioned increased priority identification, for example, the priority level of the application program in the first application program queue is 1, and the above-mentioned increased priority identification is "1"; or other methods, which will not be listed here.
步骤203、接收第一应用程序队列的反馈结果,该反馈结果是第一应用程序队列对消息的处理结果。 Step 203: Receive a feedback result from the first application queue, where the feedback result is a processing result of the message by the first application queue.
第一应用程序队列中的应用程序对消息的处理结果可以是处理后的消息内容,和/或对消息的处理标识;即,第一应用程序队列的反馈结果包括第一应用程序队列中的应用程序对消息进行处理后的消息内容,和/或,应用程序对消息的处理标识。 The processing result of the message by the application in the first application queue may be the processed message content, and/or the processing identification of the message; that is, the feedback result of the first application queue includes the application in the first application queue The message content after the program processes the message, and/or, the message processing identification of the application program.
一方面,上述处理结果可以是应用程序对消息进行处理后的消息内容,例如步骤201中获取的消息是某种类型的短信,处理结果是带*号的短信,则步骤203中接收反馈结果可以包括接收经第一应用程序队列中该应用程序处理后的带*号的短信;需要说明的是,上述反馈结果可以包括一个或者多个应用程序对消息的处理结果。进一步地,还可以对反馈结果进行后续操作,如低优先级别的应用程序也需要监听处理处理后的消息内容,则将处理后的消息内容发送至第二应用程序队列,其中第二应用程序队列的优先级别低于第一应用程序队列的优先级别。 On the one hand, the above-mentioned processing result can be the message content after the application program processes the message. For example, the message obtained in step 201 is a certain type of short message, and the processing result is a short message with *, then the feedback result received in step 203 can be It includes receiving a short message marked with * after being processed by the application program in the first application program queue; it should be noted that the above feedback result may include the processing result of the message by one or more application programs. Further, follow-up operations can also be performed on the feedback results. For example, low-priority applications also need to listen to the processed message content, and then send the processed message content to the second application queue, wherein the second application queue The priority level is lower than the priority level of the first application queue.
此外,上述反馈结果也可以是对消息的处理标识,如“0”和“1”(应用程序对消息进行过处理则该应用程序的处理标识为“1”,否则为“0”),若第一应用程序队列仅包括一个应用程序,则上述反馈结果仅包括该一个应用程序对消息的处理标识,例如为“1”或“0”;若第一应用程序队列包括多个应用程序,则上述反馈结果包括该多个应用程序对消息的处理标识,可能包括多个“1”和/或多个“0”。进一步地,还可以以如下方式对反馈结果进行操作,根据处理标识判断是否将该消息发送至第三应用程序队列,其中第三应用程序队列的优先级别低于第一应用程序队列的优先级别;如果是,将该消息发送至第三应用程序队列。在一个具体例子中,当反馈结果中为“1”的处理标识所占的数量和/或比例大于预设值时,将该消息发送至第三应用程序队列;在另一个具体例子中,当反馈结果中为“0”的处理标识所占的数量和/或比例大于预设值时,将该消息发送至第三应用程序队列。需要说明的是,上述提到的第二应用程序队列与第三应用程序队列可以相同也可以不相同。 In addition, the above-mentioned feedback result can also be the processing identification of the message, such as "0" and "1" (the processing identification of the application program is "1" if the message has been processed by the application program, otherwise it is "0"), if The first application program queue includes only one application program, and the above feedback result only includes the message processing identifier of the one application program, such as "1" or "0"; if the first application program queue includes multiple application programs, then The above feedback results include the processing identifiers of the multiple application programs on the message, which may include multiple "1"s and/or multiple "0". Further, the feedback result can also be operated in the following manner, judging whether to send the message to the third application queue according to the processing identifier, wherein the priority level of the third application queue is lower than that of the first application queue; If so, send the message to a third application queue. In a specific example, when the number and/or proportion of the processing identifiers of "1" in the feedback result is greater than a preset value, the message is sent to the third application queue; in another specific example, when When the number and/or proportion of processing identifiers that are "0" in the feedback result is greater than a preset value, the message is sent to the third application program queue. It should be noted that the above-mentioned second application queue and the third application queue may be the same or may not be the same.
采用上述方法,可以按照优先级别将获取的消息发送给相应的应用程序,优先级别高的应用程序可以比优先级别低的应用程序提前接收到消息,从而实现移动终端中的不同应用程序对获取的消息进行有层次的接收和/或处理。本发明实施例一的方案,不需要修改Android系统架构、且无需对Android系统进行修改、编译和部署等代码操作,实现过程大大简化、同时能够降低开发成本。 By adopting the above method, the acquired messages can be sent to the corresponding application programs according to the priority level, and the application programs with higher priority levels can receive the messages earlier than the application programs with lower priority levels, so that different application programs in the mobile terminal can control the obtained messages. Messages are received and/or processed hierarchically. The solution of Embodiment 1 of the present invention does not need to modify the Android system architecture, and does not need to perform code operations such as modification, compilation, and deployment on the Android system. The implementation process is greatly simplified and the development cost can be reduced at the same time.
需要说明的是,图2中仅示出了本发明实施例中一个具体实施例的流程示意图,本领域普通技术人员应当理解,本发明实施例中的消息处理方法还可以包括其他一个或者多个图2中未示出的步骤;另外,图2中的一个或者多个步骤可以替换为其他等同的操作方式,这些都在本发明的保护范围内。 It should be noted that FIG. 2 only shows a schematic flowchart of a specific embodiment of the embodiment of the present invention. Those of ordinary skill in the art should understand that the message processing method in the embodiment of the present invention may also include one or more other Steps not shown in FIG. 2; in addition, one or more steps in FIG. 2 can be replaced with other equivalent operation modes, all of which are within the protection scope of the present invention.
上述实施例一所提到的方案可以应用于Android系统、ISO系统以及Windows系统等。以下将以Android系统为例对上述实施例一提到的技术方案做详细分析。 The solution mentioned in the first embodiment above can be applied to Android system, ISO system, Windows system and so on. The following will take the Android system as an example to analyze the technical solution mentioned in the first embodiment above in detail.
实施例二 Embodiment two
本发明实施例二提供一种消息处理方法,该消息处理方法可应用于基于Android系统的具有消息接收和/或发送功能的移动终端,图3示出了该消息处理方法的流程图,该方法主要包括如下步骤: Embodiment 2 of the present invention provides a kind of message processing method, and this message processing method can be applied to the mobile terminal that has message receiving and/or sending function based on Android system, and Fig. 3 shows the flowchart of this message processing method, this method It mainly includes the following steps:
步骤301、接收应用程序的注册信息; Step 301, receiving application registration information;
其中,注册信息是标明该注册信息对应的应用程序被分配至相应的应用程序队列的信息。对于需要安装的应用程序,该应用程序在移动终端上完成安装后,可被自动分配至相应的应用程序队列(该步骤称为该应用程序的注册),分配完成之后会生成注册信息,注册信息中包括相应应用程序的当前状态(如已完成注册)。另外,注册信息还可以包括应用程序的名称、地址和/或优先级别等信息。 Wherein, the registration information is information indicating that the application program corresponding to the registration information is assigned to the corresponding application program queue. For the application that needs to be installed, after the application is installed on the mobile terminal, it can be automatically assigned to the corresponding application queue (this step is called the registration of the application). After the assignment is completed, registration information will be generated. Registration information Include the current status of the corresponding application (such as completed registration). In addition, the registration information may also include information such as the name, address and/or priority level of the application program.
上述步骤301中接收到应用程序的注册信息,即表明该应用程序已完成注册,已被分配至某个应用程序队列。 The receipt of the registration information of the application program in the above step 301 indicates that the application program has been registered and assigned to a certain application program queue.
在一个具体实施例中,当基于Android系统的手机中的短信接收应用程序监听来自外部的短信之前,可以首先完成注册(即短信接收应用程序被分配至相应的应用程序队列),之后再执行接收短信的功能。 In a specific embodiment, before the short message receiving application program in the mobile phone based on the Android system listens to the short message from the outside, it can first complete the registration (that is, the short message receiving application program is assigned to the corresponding application queue), and then perform the receiving SMS functionality.
步骤302、获取消息; Step 302, obtain message;
该步骤与上述实施例一中的步骤01相同,具体内容可参见上述实施例一的描述。 This step is the same as step 01 in the first embodiment above, and for details, please refer to the description of the first embodiment above.
步骤303、发送消息至第一应用程序队列; Step 303, sending a message to the first application queue;
本步骤中,同一优先级别的应用程序属于同一应用程序队列,每个优先级别对应的应用程序队列中保存所有属于该优先级别的已经完成注册的应用程序,应用程序队列的实现可以采用Java中的ArrayList技术,但不仅限于这个技术。在一个具体实施例中,每一个应用程序队列还可以对应一个短信缓存队列,用于保存属于该优先级别的待处理短信,该短信缓存队列的实现可以用Java中的LinkedBlockingQueue技术,但同样不仅限于这个技术。该短信缓存队列可对应1个或多个Java线程保证缓存中的短信可以被迅速的发出。 In this step, applications of the same priority level belong to the same application program queue, and all registered applications belonging to the priority level are stored in the application program queue corresponding to each priority level. The implementation of the application program queue can adopt ArrayList technology, but not limited to this technology. In a specific embodiment, each application program queue can also correspond to a short message cache queue for storing pending short messages belonging to the priority level. The realization of the short message cache queue can use the LinkedBlockingQueue technology in Java, but it is not limited to this technique. The short message cache queue can correspond to one or more Java threads to ensure that short messages in the cache can be sent out quickly.
需要说明的是,为详细说明本发明实施例二的技术方案,该实施例中以消息是短信为例进行说明。此时,获取到短信后,可以首先对短信进行处理,之后再将短信发送至第一应用程序队列。例如,可在短信中增加优先级标识(如在短信的任何可判断的位置增加该优先级标识),该优先级标识标明可首先接收该短信的应用程序的优先级别,例如可首先接收该短信的应用程序的优先级别为1,则可在短信中增加优先级标识“1”。 It should be noted that, in order to describe the technical solution of Embodiment 2 of the present invention in detail, in this embodiment, the message is a short message as an example for description. At this time, after the short message is obtained, the short message may be processed first, and then the short message is sent to the first application program queue. For example, a priority mark can be added to the text message (for example, the priority mark can be added at any determinable position of the text message), and the priority mark indicates the priority level of the application program that can receive the short message first, for example, the short message can be received first If the priority level of the application is 1, the priority identifier "1" can be added to the short message.
步骤304、接收第一应用程序队列的反馈结果; Step 304, receiving the feedback result of the first application program queue;
第一应用程序队列的中的应用程序可同时接收到上述消息,这些应用程序可以选择对接收到的消息进行处理或者不进行处理。进一步地,选择对消息进行处理的应用程序可返回对消息的处理结果,选择不对消息进行处理的应用程序可以返回不处理标识或者不返回不处理标识。 The applications in the first application queue can receive the above messages at the same time, and these applications can choose to process or not to process the received messages. Further, the application program that chooses to process the message may return the processing result of the message, and the application program that chooses not to process the message may return a non-processing indication or not return a non-processing indication.
同样以上述接收短信为例,第一应用程序队列中的各应用程序在收到含有优先级标识的短信后,判断短信的优先级标识是否与应用程序自身的优先级别相对应,如果是则可选择对该短信进行处理或者不处理,如果否则不处理。如果注册完成的应用程序接收到与自身优先级别对应的短信并成功处理,则应用程序可反馈对短信的处理结果。进一步地,可根据反馈的处理结果进一步确定是否继续向其他低优先级别的应用程序队列发送该短信。 Also take the above-mentioned receiving short message as an example, after each application program in the first application program queue receives the short message containing the priority mark, it judges whether the priority mark of the short message corresponds to the priority level of the application program itself, and if so, it can Choose to process the message or not process it, otherwise not process it. If the registered application program receives the short message corresponding to its own priority level and successfully processes it, the application program can feed back the processing result of the short message. Further, it may be further determined whether to continue sending the short message to other low-priority application program queues according to the feedback processing result.
如果应用程序接收到与自身优先级别相对应的短信但并未成功处理,在收到应用程序的标明未处理的处理结果后,还可以继续将该短信发送至其他低优先级别的应用程序队列;另外,在将该短信发送至其他低优先级别的应用程序队列之前,还可以首先更改该短信的优先级标识以使更改后的优先级标识与至少一个级别较低的优先级别相对应。 If the application receives a text message corresponding to its own priority but fails to process it successfully, it can continue to send the text message to other low-priority application queues after receiving the processing result marked as unprocessed by the application; In addition, before the short message is sent to other low priority application program queues, the priority identification of the short message may be changed first so that the changed priority identification corresponds to at least one lower priority level.
此外,如果应用程序接收到与自身优先级别相对应的短信但处理时间超时(例如,在预设时间内未接收到相应应用程序队列返回的反馈结果则可认为处理时间超时),还可以继续将该短信发送至其他低优先级别的应用程序队列;另外,在将该短信发送至其他低优先级别的应用程序队列之前,还可以首先更改该短信的优先级标识以使更改后的优先级标识与至少一个级别较低的优先级别相对应。 In addition, if the application receives a short message corresponding to its own priority level but the processing time is timed out (for example, if the feedback result returned by the corresponding application queue is not received within the preset time, the processing time can be considered as timed out), you can continue to send The note is sent to other low-priority application queues; in addition, before the note is sent to other low-priority application queues, it is also possible to first change the priority identification of the note so that the changed priority identification is consistent with Corresponds to at least one lower priority level.
在本发明一个具体的实施例中,如果应用程序的优先级别与接收到的短信的优先级标识相对应,则该应用程序可对该短信进行处理也可对该短信不进行处理;如果应用程序的优先级别与接收到的短信的优先级别不对应,则该应用程序没有权限对接收到的短信进行处理。当然,这只是本发明一个具体实施例采用的方案,还可以采用其他方式,对此不作限定。 In a specific embodiment of the present invention, if the priority level of the application program corresponds to the priority identification of the received short message, the application program can process the short message or not process the short message; if the application program The priority level of the received message does not correspond to the priority level of the received message, then the application has no authority to process the received message. Certainly, this is only a scheme adopted in a specific embodiment of the present invention, and other manners may also be adopted, which is not limited thereto.
在其他实施例中,为了提高处理消息的效率,可以根据需要会对已完成注册的应用程序进行检查,统计已完成注册的应用程序是否能够对接收到的消息返回处理结果。例如可以自动地定时(例如每隔10分钟)对已完成注册的应用程序进行检查、或者自动地实时对已完成注册的应用程序进行检查、或者在接收到用户的指示后对已完成注册的应用程序进行检查。在统计已完成注册的应用程序是否能够对接收到的消息返回处理结果时,可以采用如下方案:方案一:对应用程序对消息的处理设定处理响应时限(例如10分钟、5分钟、1分钟等,可以依需求而定),自发送消息至第一应用程序队列起开始计时,若第一应用程序中的某个应用程序在处理响应时限内未返回处理结果,则认为该应用程序无响应,此时,可选择将该应用程序剔除出第一应用程序队列,即将该应用程序从第一应用程序队列中删除。另外,还可以采用如下所述的方案二:在方案一的基础上,统计该应用程序无响应的次数,如果该应用程序无响应的次数不小于预定次数(例如3次或5次等,或者依具体需要而定),此时,可选择将该应用程序剔除出第一应用程序队列,即将该应用程序从第一应用程序队列中删除。采用这种方案,能够实现动态地将无法工作的已注册的应用程序剔除出应用程序队列,从而提高消息的处理效率。 In other embodiments, in order to improve the efficiency of message processing, the registered application program may be checked as needed, and statistics are made on whether the registered application program can return a processing result for the received message. For example, it is possible to automatically check the registered application program at regular intervals (for example, every 10 minutes), or automatically check the registered application program in real time, or check the registered application program after receiving the user's instruction. The program checks. When counting whether the registered application can return the processing result for the received message, the following scheme can be adopted: Scheme 1: Set a processing response time limit for the application to process the message (for example, 10 minutes, 5 minutes, 1 minute etc., it can be determined according to the requirements), and the timing starts from the time when the message is sent to the first application program queue. If an application program in the first application program does not return the processing result within the processing response time limit, it is considered that the application program has no response , at this point, you can choose to remove the application from the first application queue, that is, delete the application from the first application queue. In addition, scheme two as follows can also be adopted: on the basis of scheme one, count the number of times that the application program does not respond, if the number of times that the application program does not respond is not less than a predetermined number of times (for example, 3 times or 5 times, etc., or According to specific needs), at this time, you can choose to remove the application program from the first application program queue, that is, delete the application program from the first application program queue. By adopting this solution, it is possible to dynamically remove registered application programs that cannot work from the application program queue, thereby improving message processing efficiency.
将已注册的应用程序剔除出应用程序队列的过程可以称为应用程序的反注册过程。当需要将某个应用程序从相应的应用程序队列中移除后,可以获得应用程序的反注册信息,该反注册信息能够标识上述应用程序已经被从相应的应用程序队列中删除,即该应用程序已不包括在相应的应用程序队列中。采用这种方式,可以使应用程序的预处理功能动态变化,即可以随时通过反注册过程将不需要的应用程序从队列中删除,以后有获取到新的消息时,不再将该新的消息发送至该应用程序,当然,也可通过更新注册信息修改具体预处理功能,比如通过更新某应用程序注册信息中的优先级别更改其处理顺序等。 The process of removing a registered application from the application queue may be referred to as an application de-registration process. When an application needs to be removed from the corresponding application queue, the anti-registration information of the application can be obtained. The anti-registration information can identify that the above-mentioned application has been deleted from the corresponding application queue, that is, the application The program is no longer included in the corresponding application queue. In this way, the preprocessing function of the application can be dynamically changed, that is, the unnecessary application can be deleted from the queue through the anti-registration process at any time, and when a new message is obtained in the future, the new message will not be sent Send to the application, of course, you can also modify the specific preprocessing function by updating the registration information, such as changing the processing order by updating the priority level in the registration information of an application program.
通过本发明实施例二的方案,可以将获取到的消息按照优先级别发送至相应的应用程序,高优先级别的应用程序可以比低优先级别的应用程序提前接收到消息,从而实现移动终端中的不同应用程序对获取到的消息进行有层次的接收和/或处理。另外,根据实施例二的方案,可以根据实际需要将应用程序注册到相应的应用程序队列中、也可以根据需要将应用程序从相应的应用程序中删除;由此,可以实现动态调整接收消息的应用程序。 Through the solution of the second embodiment of the present invention, the obtained messages can be sent to the corresponding application programs according to the priority levels, and the high priority level application programs can receive the messages earlier than the low priority level application programs, thereby realizing the mobile terminal. Different applications receive and/or process the obtained messages hierarchically. In addition, according to the solution of the second embodiment, the application program can be registered in the corresponding application program queue according to the actual needs, and the application program can also be deleted from the corresponding application program according to the needs; thus, the dynamic adjustment of the received message can be realized. application.
本发明实施例二的方案,只需通过注册过程将应用程序添加到相应的应用程序队列中或者通过反注册过程将应用程序从相应的应用程序队列中删除,不需要修改Android系统架构、且无需对Android系统进行修改、编译和部署等代码操作,实现过程大大简化、同时能够降低开发成本。 In the solution of Embodiment 2 of the present invention, it is only necessary to add the application program to the corresponding application program queue through the registration process or delete the application program from the corresponding application program queue through the anti-registration process, without modifying the Android system architecture and without Code operations such as modifying, compiling, and deploying the Android system greatly simplify the implementation process and reduce development costs.
需要说明的是,实施例二中各步骤的执行次序不限于图3中所示的方式,例如,步骤301还可以在步骤302之后执行,或者与步骤302同时执行。此外,本实施例中的步骤302~304还可以按照上述实施例一中的步骤301~303的方式进行,具体可以参考实施例一的相应内容,在此不再赘述。 It should be noted that the execution order of the steps in the second embodiment is not limited to the manner shown in FIG. 3 , for example, step 301 may also be executed after step 302 or executed simultaneously with step 302 . In addition, steps 302 to 304 in this embodiment can also be performed in the manner of steps 301 to 303 in the first embodiment above, for details, please refer to the corresponding content of the first embodiment, which will not be repeated here.
下面以短信的收发为例对本发明的实现过程进行详细介绍,采用本发明所提供的方法后,当接收到新短信时,可对短信进行预处理,当然,本发明不限于短信的处理,还可以是Android系统中其他信息的处理如电话消息的处理、网络数据信息的处理、Email的处理、Android内部事件消息的处理等。 The implementation process of the present invention is described in detail below taking the sending and receiving of short messages as an example. After adopting the method provided by the present invention, when a new short message is received, the short message can be preprocessed. Of course, the present invention is not limited to the processing of short messages, and It can be the processing of other information in the Android system, such as the processing of telephone messages, the processing of network data information, the processing of Email, the processing of Android internal event messages, and the like.
以下按照“不文明短信预处理”的应用案例来描述本发明实现过程。例如家长需要预处理短信中不文明文字(如“暴力”,“色情”等),将不文明文字用“*”号代替。 The implementation process of the present invention is described below according to the application case of "uncivilized short message preprocessing". For example, parents need to pre-process uncivilized words in text messages (such as "violence", "pornography", etc.), and replace uncivilized words with "*".
当应用程序"不文明短信预处理",“短信客户端”和“一般短信接收应用程序”启动后,可根据自身的优先级别进行注册(即被分配至相应的应用程序队列)。例如,"不文明短信预处理"自身优先级别是1,它向优先级别为1的“第一应用程序队列”进行注册,可将自身的名称与优先级别等具体信息生成“记录信息”(应用程序在应用程序队列中注册的具体信息)并存入到优先级别为1的“第一应用程序队列”中;其他2个应用程序“短信客户端”和“一般短信接收应用程序”优先级别均为3,它们向优先级别为3的“第三应用程序队列”做相同操作。 When the application "uncivilized SMS preprocessing", "SMS client" and "General SMS receiving application" are started, they can be registered according to their own priority levels (that is, assigned to the corresponding application queue). For example, "Uncivilized SMS Preprocessing" has its own priority level of 1, and it registers with the "first application program queue" with a priority level of 1, and can generate "record information" (application The specific information registered by the program in the application queue) and stored in the "first application queue" with priority level 1; the priority levels of the other two applications "SMS client" and "General SMS receiving application" are both is 3, they do the same to the "third application queue" whose priority is 3.
接收到新的短信后,先查看是否有应用程序已经在优先级别为1的第一应用程序队列中注册,发现优先级别为1的第一应用程序队列中还可以包含应用程序"不文明短信预处理"注册的信息,此时可将优先级标识“1”附加在短信中,并向优先级别为1的第一应用程序队列中的所有应用程序广播该短信。当应用程序"不文明短信预处理"接收到该短信后,检查短信的优先级标识是否为“1”,如果是“1”,"不文明短信预处理"应用程序将处理该条短信,将其中的“暴力”,“色情”等文字用“*”号代替,之后反馈该条短信的处理结果。 After receiving a new text message, first check whether there is an application registered in the first application queue with a priority level of 1, and find that the first application queue with a priority level of 1 can also contain the application "uncivilized text message pre-registration". To process the information of "registration", at this time, the priority identifier "1" can be attached to the short message, and the short message is broadcast to all applications in the first application queue with priority level 1. After the application program "uncivilized SMS preprocessing" receives the text message, check whether the priority identification of the text message is "1", if it is "1", the "uncivilized text message preprocessing" application program will process the text message and will Words such as "violence" and "pornography" are replaced with "*", and then the processing result of the text message is fed back.
接收到来自应用程序"不文明短信预处理"对短信的处理结果后,可顺序检查是否有应用程序已经在优先级别为2的第二应用程序队列中注册,本例中,没有优先级别为2的应用程序注册,因此,可继续检查是否有应用程序已经在优先级别为3的第三应用程序队列中注册,优先级别为3的第三应用程序队列中还可以包含应用程序“短信客户端”和“一般短信接收应用程序”注册的信息,此时可将优先级标识“3”附加在经过"不文明短信预处理"应用程序处理后的短信中,并向所有应用程序广播该短信。当“短信客户端”和“一般短信接收应用程序B”接收到该短信后,可通过“短信客户端”显示收到的短信,用户将不会看到任何包含不文明文字(例如:“暴力”,“色情”)的短信。 After receiving the processing result of the SMS from the application "uncivilized SMS preprocessing", you can sequentially check whether any application has been registered in the second application queue with priority level 2. In this example, there is no priority level 2 Therefore, you can continue to check whether any application has been registered in the third application queue with priority level 3, and the third application queue with priority level 3 can also contain the application "SMS client" and the information registered with the "general SMS receiving application", at this time, the priority identifier "3" can be attached to the SMS processed by the "uncivilized SMS preprocessing" application, and the SMS can be broadcast to all applications. When the "SMS client" and "General SMS receiving application B" receive the text message, they can display the received text message through the "SMS client", and the user will not see any uncivilized text (for example: "Violence ", "Pornography") text messages.
为了提高透明性,如果优先级别为1的第一应用程序队列发现应用程序"不文明短信预处理"已经注册,但不响应任何带优先级标识为“1”的短信(具体可通过响应时间来监控),则判定应用程序"不文明短信预处理"工作不正常,可将其剔除出第一应用程序队列,从而保证不正常工作的应用程序"不文明短信预处理"不会对其他应用程序“短信客户端”和“一般短信接收应用程序”接收短信的时间产生影响。 In order to improve transparency, if the first application queue with a priority level of 1 finds that the application "uncivilized SMS preprocessing" has been registered, but does not respond to any SMS with a priority identification of "1" (specifically, it can be determined by the response time) monitoring), then it is determined that the application "uncivilized SMS preprocessing" is not working properly, and it can be removed from the first application queue, so as to ensure that the abnormally working application "uncivilized SMS preprocessing" will not affect other applications The "SMS client" and "General SMS receiving application" will have an impact on the time to receive SMS.
短信在所有具有优先级别的应用程序队列中处理完毕后,如果还需要将短信通知给Android系统中其他不具有优先级别的应用程序和/或未进行注册的应用程序,则系统可将该短信传递给Android系统中的短信广播系统,保证这些不具有优先级别的应用程序和/或未进行注册的应用程序依然能接收到短信。 After the text message has been processed in all application queues with priority levels, if the text message needs to be notified to other applications without priority level and/or unregistered applications in the Android system, the system can deliver the text message For the short message broadcast system in the Android system, it is guaranteed that these application programs without priority level and/or unregistered application programs can still receive the short message.
实施例三 Embodiment Three
参考图4所示,本实施例还提出一种消息处理系统,包括: Referring to Figure 4, this embodiment also proposes a message processing system, including:
获取单元401,用以获取消息; An acquisition unit 401, configured to acquire a message;
发送单元402,用以按照应用程序的优先级别将所述消息发送至与所述优先级别对应的第一应用程序队列,所述优先级别用于标识相应应用程序接收消息的次序、所述第一应用程序队列包括一个或多个优先级别相同的应用程序; The sending unit 402 is configured to send the message to the first application queue corresponding to the priority level according to the priority level of the application program, the priority level is used to identify the order in which the corresponding application program receives the message, the first The application queue includes one or more applications of the same priority level;
第一接收单元403,用以并接收所述第一应用程序队列的反馈结果,所述反馈结果是所述第一应用程序队列对所述消息的处理结果。 The first receiving unit 403 is configured to receive a feedback result of the first application queue, where the feedback result is a processing result of the message by the first application queue.
该系统可实现按照优先级将消息发送给不同优先级的应用程序,优先级高的应用程序可以比优先级低的应用程序提前预处理消息。 The system can realize sending messages to application programs with different priorities according to priority, and an application program with a higher priority can preprocess messages in advance than an application program with a lower priority.
为了实现动态按照定优先级别定向广播消息,所述系统还可以包括: In order to implement dynamic directed broadcast messages according to the priority level, the system may further include:
第二接收单元404,用于获取应用程序的注册信息; The second receiving unit 404 is configured to acquire registration information of the application program;
记录单元,用于将所述注册信息记录至与所述应用程序对应的应用程序队列中;其中,所述注册信息包括所述应用程序的名称、地址和/或优先级别。 A recording unit, configured to record the registration information into an application program queue corresponding to the application program; wherein the registration information includes the name, address and/or priority level of the application program.
第三接收单元405,用于获取应用程序的反注册信息,其中所述反注册信息用于标识所述注册信息被删除以表明所述应用程序从相应的应用程序队列中移除。 The third receiving unit 405 is configured to acquire anti-registration information of the application, where the anti-registration information is used to identify that the registration information is deleted to indicate that the application is removed from the corresponding application queue.
如此,可以在不改变原系统架构的前提下,通过队列的注册与反注册动态的调整消息的接收应用程序,从而保证高优先级应用程序根据需要可提前预处理消息。 In this way, without changing the original system architecture, the message receiving application can be dynamically adjusted through queue registration and de-registration, so as to ensure that high-priority applications can pre-process messages in advance as needed.
首先,上述消息处理方法和/或系统中,按照优先级将消息发送给不同优先级的应用程序,优先级别高的应用程序可以比优先级别低的应用程序提前预处理消息,可以满足用户特定需求。 First, in the above message processing method and/or system, messages are sent to applications with different priorities according to their priorities, and applications with higher priorities can preprocess messages in advance than applications with lower priorities, which can meet the specific needs of users .
其次,还可以进一步提出一种按照优先级别动态发送消息的方法,通过将应用程序进行注册和/或反注册至应用程序队列中的方式,添加或删减新的监听应用程序,无需对Android等平台进行修改、编译与部署,只需提前注册即可,极大简化了操作程序,同时降低了开发成本。 Secondly, it is also possible to further propose a method for dynamically sending messages according to the priority level, by registering and/or unregistering the application in the application queue, adding or deleting new monitoring applications, without the need for Android, etc. To modify, compile and deploy the platform, it only needs to be registered in advance, which greatly simplifies the operation procedure and reduces the development cost.
另外,上述消息处理方法和/或系统中,可以根据应用程序的处理结果选择将消息发至优先级别低的应用程序中,即当优先级别高的监听应用程序无法处理消息时,则在响应时间结束后,将消息转达到其他低优先级别的应用程序,且延迟时间较小,从而保证低优先级别的应用程序无法感受到高优先级别的应用程序的预处理工作。 In addition, in the above message processing method and/or system, the message can be selected to be sent to an application program with a low priority level according to the processing result of the application program, that is, when the listening application program with a high priority level cannot process the message, the response time After the message is finished, the message is forwarded to other low-priority applications, and the delay time is small, so that the low-priority application cannot feel the preprocessing work of the high-priority application.
此外,上述消息处理方法和/或系统中,可以对已注册的应用程序进行检查,保证动态地将无法及时返回消息的处理结果的已注册的应用程序剔除出应用程序队列,从而提高消息的传送效率。 In addition, in the above message processing method and/or system, registered applications can be checked to ensure that registered applications that cannot return message processing results in time are dynamically removed from the application queue, thereby improving message transmission efficiency.
本发明可以应用于军用设备通信,软件模块通信,民用设备通信等众多领域。 The invention can be applied to many fields such as military equipment communication, software module communication, civilian equipment communication and the like.
上述实施例中的“第一”、“第二”、“第三”等只是为了区分,不应当理解为对本发明实施例的限制。另外,上述各实施例中的各个方案可以结合获得其他方案,这些都在本发明实施例的保护范围内。 The terms "first", "second", and "third" in the above embodiments are only for distinction, and should not be construed as limiting the embodiments of the present invention. In addition, various solutions in the foregoing embodiments may be combined to obtain other solutions, which are all within the protection scope of the embodiments of the present invention.
以上所述,仅是本发明的较佳实施例而已,并非是对本发明作其它形式的限制,任何熟悉本专业的技术人员可能利用上述揭示的技术内容加以变更或改型为等同变化的等效实施例应用于其它领域,但是凡是未脱离本发明技术方案内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与改型,仍属于本发明技术方案的保护范围。 The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention to other forms. Any skilled person who is familiar with this profession may use the technical content disclosed above to change or modify the equivalent of equivalent changes. The embodiments are applied to other fields, but any simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention still belong to the protection scope of the technical solutions of the present invention without departing from the content of the technical solutions of the present invention.
Claims (8)
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 CN103888619A (en) | 2014-06-25 |
| CN103888619B true 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) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101525747B1 (en) * | 2014-11-20 | 2015-06-03 | 한국 한의학 연구원 | 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 |
| CN106851016B (en) * | 2017-03-10 | 2019-03-19 | Oppo广东移动通信有限公司 | Method, device and terminal for queuing broadcast messages |
| CN106936827B (en) * | 2017-03-10 | 2019-03-08 | Oppo广东移动通信有限公司 | A kind of broadcast recipients' queue regulation method, device and terminal |
| CN106919459B (en) * | 2017-03-10 | 2020-12-04 | Oppo广东移动通信有限公司 | Method, device and terminal for managing broadcast receivers |
| CN106933685B (en) * | 2017-03-10 | 2019-10-15 | Oppo广东移动通信有限公司 | Management method, device and terminal for broadcast receiver |
| CN108322602B (en) * | 2018-01-29 | 2020-07-21 | 山东中邮通信科技有限公司 | Method, terminal and computer readable storage medium for processing application no response |
| CN109165114B (en) * | 2018-09-14 | 2022-07-12 | Oppo广东移动通信有限公司 | Method, device, storage medium and intelligent terminal for processing unresponsive application program |
| CN112799822B (en) * | 2021-02-09 | 2024-08-27 | 北京字节跳动网络技术有限公司 | Program starting method, device, equipment and medium |
| CN113138883B (en) * | 2021-05-14 | 2024-02-02 | 北京字节跳动网络技术有限公司 | Message processing method and device, storage medium and electronic equipment |
Citations (5)
| 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 interaction event |
| 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 |
-
2014
- 2014-04-16 CN CN201410151867.7A patent/CN103888619B/en active Active
Patent Citations (5)
| 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 interaction event |
| CN103248757A (en) * | 2013-03-28 | 2013-08-14 | 北京小米科技有限责任公司 | Method and device for message notification |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103888619A (en) | 2014-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103888619B (en) | A kind of message treatment method and system thereof | |
| US11283724B2 (en) | Broadcast message management method and apparatus | |
| CN107889069B (en) | Short message gateway selection method, device, server and readable storage medium | |
| US20150127755A1 (en) | Method and apparatus for checking status of messages in electronic device | |
| CN108023808A (en) | message distributing method and device in application program | |
| US9876744B2 (en) | Information sending method and information sending apparatus | |
| CN111083180B (en) | Internet of things system, Internet of things equipment linkage method and device | |
| WO2023011274A1 (en) | Communication protocol conversion method, and device, system, and gateway device | |
| US10652185B2 (en) | Information sending method and information sending apparatus | |
| CN109348434B (en) | Scene information sending method, sending device and terminal equipment | |
| CN108234551B (en) | Data processing method and device | |
| WO2015196915A1 (en) | Information communication methods, systems and terminals | |
| CN107621981A (en) | Resource allocation method and related products | |
| CN110188518A (en) | Parameter configuration method, device, terminal and storage medium | |
| CN105050194A (en) | Network resource control method and device | |
| CN113590276A (en) | Information pushing method and related product | |
| CN103051623B (en) | The method of calling of restriction open platform | |
| CN109657485B (en) | Authority processing method and device, terminal equipment and storage medium | |
| CN105447384B (en) | A kind of anti-method monitored, system and mobile terminal | |
| CN113923270B (en) | Message processing method, device, equipment and readable storage medium | |
| CN108270839A (en) | Access frequency control system and method | |
| CN102053917B (en) | Smart card capable of reducing memory footprint and instruction processing method thereof | |
| CN111080250B (en) | Flow backspacing compensation method and device, storage medium and electronic equipment | |
| CN116437007B (en) | A notification message management method and device based on user portrait | |
| CN106371873A (en) | Application starting request processing method and system and server |
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 | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250317 Address after: R111-86, Building 5, Qingdao Wanggu Huizhi Park, No. 117 Huizhi Bridge Road, High tech Zone, Qingdao City, Shandong Province, China 266114 Patentee after: Qingdao Guohai Changxin Technology Co.,Ltd. Country or region after: China Address before: 266510 Room 201, building 1, Hisense Information Industrial Park, 218 qianwangang Road, Qingdao Economic and Technological Development Zone, Shandong Province Patentee before: QINGDAO HISENSE ELECTRONICS EQUIPMENT Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250408 Address after: Room 509, Building 1, No. 599 Jinping Road, Huangdao District, Qingdao City, Shandong Province, China 266555 Patentee after: Qingdao Guohai Changxin Intelligent Control Technology Co.,Ltd. Country or region after: China Address before: R111-86, Building 5, Qingdao Wanggu Huizhi Park, No. 117 Huizhi Bridge Road, High tech Zone, Qingdao City, Shandong Province, China 266114 Patentee before: Qingdao Guohai Changxin Technology Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20251204 Address after: R111-86, Building 5, Qingdao Wanggu Huizhi Park, No. 117 Huizhi Bridge Road, High tech Zone, Qingdao City, Shandong Province, China 266114 Patentee after: Qingdao Guohai Changxin Technology Co.,Ltd. Country or region after: China Address before: Room 509, Building 1, No. 599 Jinping Road, Huangdao District, Qingdao City, Shandong Province, China 266555 Patentee before: Qingdao Guohai Changxin Intelligent Control Technology Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |