A method for processing data, wherein the method is applied to a business processor entity BPE, the method comprising: registering a predefined algorithm of the BPE with a complex event processing CEP instance located on a computing node which is the same as the computing node which the BPE is located on, wherein the predefined algorithm of the BPE comprises an identifier of a concerned event, an identifier of an event required for computation, and a computation-triggering condition; the identifier of the concerned event is used to identify an event concerned by the predefined algorithm; and the identifier of the event required for computation is used to identify an event required for computation of the predefined algorithm; obtaining the event that is required for computation of the predefined algorithm and that is transferred by the CEP instance, wherein the event required for computation of the predefined algorithm is transferred by the CEP instance when detecting that the event concerned by the predefined algorithm satisfies the computation-triggering condition; performing a computation on the event required for computation of the predefined algorithm according to the predefined algorithm to obtain a computation result; and if determining, according to predefined service logic, that a further computation needs to be performed on the computation result, writing the computation result as an intermediate event to the CEP instance, so that the CEP instance transfers, when detecting that an event concerned by another registered algorithm other than the predefined algorithm satisfies a computation-triggering condition in the another algorithm, and the intermediate event is an event required for computation of the another algorithm, the intermediate event to a BPE which is located on the computing node and registers the another algorithm with the CEP instance. registering a predefined algorithm of the BPE with a complex event processing CEP instance located on a computing node which is the same as the computing node which the BPE is located on, wherein the predefined algorithm of the BPE comprises an identifier of a concerned event, an identifier of an event required for computation, and a computation-triggering condition; the identifier of the concerned event is used to identify an event concerned by the predefined algorithm; and the identifier of the event required for computation is used to identify an event required for computation of the predefined algorithm; obtaining the event that is required for computation of the predefined algorithm and that is transferred by the CEP instance, wherein the event required for computation of the predefined algorithm is transferred by the CEP instance when detecting that the event concerned by the predefined algorithm satisfies the computation-triggering condition; performing a computation on the event required for computation of the predefined algorithm according to the predefined algorithm to obtain a computation result; and if determining, according to predefined service logic, that a further computation needs to be performed on the computation result, writing the computation result as an intermediate event to the CEP instance, so that the CEP instance transfers, when detecting that an event concerned by another registered algorithm other than the predefined algorithm satisfies a computation-triggering condition in the another algorithm, and the intermediate event is an event required for computation of the another algorithm, the intermediate event to a BPE which is located on the computing node and registers the another algorithm with the CEP instance.