Embodiments of the present invention relate to the field of communications technologies, and provide a complex event processing method, apparatus, and system, so that when complex event processing is performed, a system requiring a synchronous response provides a synchronous response externally and avoids information flooding. A solution provided by the present invention includes: receiving an input event sent by an event source, where the input event includes an identifier of an object and an event type; acquiring, according to a preset database, M mode rules corresponding to the event type; performing mode matching between the input event and the M mode rules separately to acquire N output events; and if N is greater than or equal to 1, sending at least one piece of event information to a real-time decision apparatus, where each piece of the event information includes Q output events and indication information.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A complex event processing method comprising: at a complex event processing apparatus, receiving an input event sent by an event source, wherein the input event is triggered at the event source by an object, and the input event comprises an identifier of the object and an event type; acquiring, according to a preset database, M mode rules corresponding to the event type, wherein each mode rule comprises one sending primary key, the preset database comprises at least one event type and mode rules corresponding to the event type, and M is greater than or equal to 1; performing mode matching between the input event and the M mode rules separately to acquire N output events, wherein each output event comprises a sending primary key in a mode rule for acquiring each output event, wherein N is greater than or equal to 0, and N is less than or equal to M; and in response to determining that N is greater than or equal to 1, sending at least one piece of event information to a real-time decision apparatus, wherein each piece of the event information that is sent comprises Q output events and indication information, wherein the Q output events are output events that are comprised in the N output events and have a same sending primary key, wherein Q is greater than or equal to 1, and the indication information comprises the identifier of the object, so that the real-time decision apparatus is instructed to send execution information of an execution action to the object. 2. The method according to claim 1, wherein the indication information further comprises an identifier of the complex event processing apparatus, and after the sending of at least one piece of event information, the method further comprises: receiving a response message sent by the real-time decision apparatus, wherein the response message comprises the identifier of the object and the execution information of the execution action; and sending, according to the identifier of the object, the execution information of the execution action to the event source indicated by the identifier of the object. 3. The method according to claim 1, wherein the mode rule further comprises a mode matching primary key, an execution condition, and an event; and wherein the performing mode matching comprises: if it is determined, according to a mode matching primary key in a first mode rule, that an execution condition in the first mode rule is met, acquiring an output event of the first mode rule, wherein the output event of the first mode rule comprises a sending primary key and an event in the first mode rule, and the first mode rule is any one of the M mode rules; or if it is determined, according to a mode matching primary key in a second mode rule, that an execution condition in the second mode rule is not met, generating no output event, wherein the second mode rule is any one of the M mode rules. 4. The method according to claim 1, wherein the complex event processing apparatus comprises at least two mode matching modules; and wherein before the performing mode matching, the method further comprises: allocating the input event to P mode matching modules separately according to the sending primary key comprised in each mode rule in the M mode rules, wherein the P mode matching modules are mode matching modules that are in the at least two mode matching modules and corresponding to the sending primary key comprised in each mode rule in the M mode rules in the preset database, and the preset database further comprises at least one sending primary key and a mode matching module corresponding to the at least one sending primary key. 5. The method according to claim 4, wherein the mode rule further comprises a mode matching primary key, an execution condition, and an event; and wherein the performing mode matching comprises: acquiring, by each mode matching module in the P mode matching modules by filtering the M mode rules separately, mode rules having sending primary keys corresponding to the mode matching module in the preset database, and performing, by each mode matching module in the P mode matching modules, mode matching between the input event and the mode rules corresponding to the mode matching module separately to acquire the N output events. 6. The method according to claim 5, wherein the performing, by each mode matching module in the P mode matching modules, comprises: if it is determined, according to a mode matching primary key in a third mode rule, that an execution condition in the third mode rule may be met, acquiring an output event of the third mode rule, wherein the output event of the third mode rule comprises a sending primary key and an event in the third mode rule, and the third mode rule is any one of the mode rules corresponding to the mode matching module; or if it is determined, according to a mode matching primary key in a fourth mode rule, that an execution condition in the fourth mode rule is not met, generating no output event, wherein the fourth mode rule is any one of the mode rules corresponding to the mode matching module. 7. A complex event processing method comprising: at a real-time decision apparatus, receiving event information sent by a complex event processing apparatus, wherein the event information comprises at least one event and indication information; matching each event in the at least one event with decision rules in a preset database separately to acquire P execution actions, wherein P is greater than or equal to 1, and the preset database comprises at least one decision rule and an execution action corresponding to the at least one decision rule; and sending, according to the indication information, execution information for executing at least one execution action in the P execution actions. 8. The method according to claim 7, wherein the indication information comprises an identifier of an object and an identifier of the complex event processing apparatus, and wherein the sending comprises: sending a response message to the complex event processing apparatus according to the identifier of the complex event processing apparatus, wherein the response message comprises the identifier of the object and the execution information for executing the at least one execution action. 9. The method according to claim 7, wherein the matching comprises: if one event meets one decision rule, acquiring, according to the preset database, an execution action corresponding to the one decision rule, wherein the one event is any one event in the at least one event, and the one decision rule is any one decision rule in the preset database. 10. The method according to claim 7, wherein before the sending, the method comprises: selecting the at least one execution action from the P execution actions; wherein the selecting the at least one execution action from the P execution actions comprises acquiring, according to the preset database, a priority coefficient of each execution action in the P execution actions, wherein the preset database further comprises at least one execution action and a priority coefficient corresponding to the at least one execution action; and selecting, according to the priority coefficient of each execution action, an execution action whose priority coefficient is greater than or equal to a preset threshold. 11. A complex event processing apparatus comprising: at least one communications bus configured to implement connection and mutual communication between components; and a receiver configured to receive an input event sent by an event source, wherein the input event is triggered at the event source by an object, and the input event comprises an identifier of the object and an event type; at least one processor; and a program for execution in the at least one processor, wherein the program comprises instructions for acquiring, according to a preset database, M mode rules corresponding to the event type, wherein each mode rule comprises one sending primary key, the preset database comprises at least one event type and mode rules corresponding to the event type, and M is greater than or equal to 1; and performing mode matching between the input event and the M mode rules separately to acquire N output events, wherein each output event comprises a sending primary key in a mode rule for acquiring each output event, wherein N is greater than or equal to 0, and N is less than or equal to M; in response to determining that N is greater than or equal to 1, sending at least one piece of event information to a real-time decision apparatus, wherein each piece of the event information comprises Q output events and indication information, wherein the Q output events are output events that are comprised in the N output events and have a same sending primary key, wherein Q is greater than or equal to 1, and the indication information comprises the identifier of the object, so that the real-time decision apparatus is instructed to send execution information of an execution action to the object. 12. The complex event processing apparatus according to claim 11, wherein the receiver is further configured to: receive a response message sent by the real-time decision apparatus, wherein the response message comprises the identifier of the object and the execution information of the execution action; and send, according to the identifier of the object, the execution information of the execution action to the event source indicated by the identifier of the object. 13. The complex event processing apparatus according to claim 11, wherein the mode rule further comprises a mode matching primary key, an execution condition, and an event; and wherein the program comprises further instructions for: if it is determined, according to a mode matching primary key in a first mode rule, that an execution condition in the first mode rule may be met, acquire an output event of the first mode rule, wherein the output event of the first mode rule comprises a sending primary key and an event in the first mode rule, and the first mode rule is any one of the M mode rules; or if it is determined, according to a mode matching primary key in a second mode rule, that an execution condition in the second mode rule is not met, generate no output event, wherein the second mode rule is any one of the M mode rules. 14. A real-time decision apparatus comprising: at least one communications bus configured to implement connection and mutual communication between components; a receiver configured to receive event information sent by a complex event processing apparatus, wherein the event information comprises at least one event and indication information; at least one processor; a program for execution in the at least one processor, wherein the program comprises instructions for matching each event in the at least one event with decision rules in a preset database separately to acquire P execution actions, wherein P is greater than or equal to 1, and the preset database comprises at least one decision rule and an execution action corresponding to the at least one decision rule; and a transmitter configured to send, according to the indication information, execution information for executing at least one execution action in the P execution actions. 15. The real-time decision apparatus according to claim 14, wherein the indication information comprises an identifier of an object; and correspondingly, the transmitter specifically is configured to send, according to the identifier of the object, the execution information for executing the at least one execution action to the object. 16. The real-time decision apparatus according to claim 14, wherein the indication information comprises an identifier of an object and an identifier of the complex event processing apparatus; and correspondingly, the transmitter specifically is configured to send a response message to the complex event processing apparatus according to the identifier of the complex event processing apparatus, wherein the response message comprises the identifier of the object and the execution information for executing the at least one execution action. 17. The real-time decision apparatus according to claim 14, wherein the program comprises further instructions for: if one event meets one decision rule, acquiring, according to the preset database, an execution action corresponding to the one decision rule, wherein the one event is any one event in the at least one event, and the one decision rule is any one decision rule in the preset database. 18. The real-time decision apparatus according to claim 14, the program comprises further instructions for selecting the at least one execution action from the P execution actions. 19. The real-time decision apparatus according to claim 18, wherein the program comprises further instructions for: acquiring, according to the preset database, a priority coefficient of each execution action in the P execution actions, wherein the preset database further comprises at least one execution action and a priority coefficient corresponding to the at least one execution action; and selecting, according to the priority coefficient of each execution action, an execution action whose priority coefficient is greater than or equal to a preset threshold. 20. A complex event processing system, comprising: a complex event processing apparatus configured to receive an input event sent by an event source, wherein the input event is triggered at the event source by an object, and the input event comprises an identifier of the object and an event type; acquire, according to a preset database, M mode rules corresponding to the event type, wherein each mode rule comprises one sending primary key, the preset database comprises at least one event type and mode rules corresponding to the event type, and M is greater than or equal to 1; perform mode matching between the input event and the M mode rules separately to acquire N output events, wherein each output event comprises a sending primary key in a mode rule for acquiring each output event, N is greater than or equal to 0, and N is less than or equal to M; wherein in response to determining that N is greater than or equal to 1, send event information to a real-time decision apparatus, wherein the event information comprises Q output events and indication information, wherein the Q output events are output events that are comprised in the N output events and have a same sending primary key, wherein Q is greater than or equal to 1, and the indication information comprises the identifier of the object, so that the real-time decision apparatus is instructed to send execution information of an execution action to the object; a real-time decision apparatus configured to receive the event information sent by the complex event processing apparatus; match each event in the event information with decision rules in a preset database separately to acquire P execution actions, wherein P is greater than or equal to 1, and the preset database comprises at least one decision rule and an execution action corresponding to the at least one decision rule; and send, according to the indication information, execution information for executing at least one execution action in the P execution actions.