CN114676205A - Event information processing method and device - Google Patents

Event information processing method and device Download PDF

Info

Publication number
CN114676205A
CN114676205A CN202210326053.7A CN202210326053A CN114676205A CN 114676205 A CN114676205 A CN 114676205A CN 202210326053 A CN202210326053 A CN 202210326053A CN 114676205 A CN114676205 A CN 114676205A
Authority
CN
China
Prior art keywords
data
event
processed
service model
processing
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.)
Pending
Application number
CN202210326053.7A
Other languages
Chinese (zh)
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.)
Alibaba Cloud Computing Ltd
Original Assignee
Alibaba Cloud Computing 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 Alibaba Cloud Computing Ltd filed Critical Alibaba Cloud Computing Ltd
Priority to CN202210326053.7A priority Critical patent/CN114676205A/en
Publication of CN114676205A publication Critical patent/CN114676205A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a method and a device for processing event information, which are applied to scenes of intelligent government affairs and urban management algorithm deployment, and the method comprises the following steps: receiving a processing request of a to-be-processed event sent by at least one data source, wherein the processing request comprises description data of the to-be-processed event; converting the description data of the event to be processed into standard data in a preset format; inputting standard data in a preset standard format into an algorithm service model called by an event to be processed, and acquiring data of an output processing result of the algorithm service model; and sending the processing task of the event to be processed to the target processing terminal according to the processing result data. By the method, the input data of the algorithm service model is the standard data in the preset format, and the data standards corresponding to the model parameters among different algorithm service models are the same, so that the implementation and retraining time of the algorithm service model can be reduced, and the deployment time of the algorithm service model is reduced.

Description

Event information processing method and device
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for processing event information.
Background
Under the large background of the transformation of the digital technology, different event data generated in cities are respectively corresponding to different event data processing modes such as event fusion, event classification and similar event recommendation. Correspondingly, the processing of the event data can be completed through the algorithm server model corresponding to the processing mode of the event data.
In the related art, for a processing mode of newly generated event data, a new algorithm service model needs to be regenerated and retrained, which results in an excessively long deployment time of the algorithm service model.
Disclosure of Invention
The embodiment of the application provides a method and a device for processing event information, and aims to solve the problem that in the prior art, the deployment time of an algorithm service model is too long.
In a first aspect, an embodiment of the present application provides a method for processing event information, where the method includes:
receiving a processing request of a to-be-processed event sent by at least one data source, wherein the processing request comprises description data of the to-be-processed event;
converting the description data of the event to be processed into standard data in a preset format;
inputting the standard data in the preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same;
and sending the processing task of the event to be processed to a target processing terminal according to the processing result data.
In an alternative embodiment, the model parameters include serial peripheral interface parameters.
In an alternative embodiment, the target processing function comprises at least one of: classifying the events to be processed, combining repeated events to be processed, generating processing tasks of the events to be processed, calling plan data of the events to be processed, and recommending related events of the events to be processed.
In an optional implementation manner, at least one algorithm monitoring node is further disposed in the algorithm service model, and the method further includes:
acquiring the operation data of the algorithm service model at the algorithm monitoring node of the algorithm service model;
and sending the operation data of the algorithm service model to a management terminal.
In an optional embodiment, the operation data of the algorithmic service model includes at least one of: the number of calling times of the algorithm service model, the query rate of the algorithm service model per second, the interface response time length of the algorithm service model and the interface success rate of the algorithm service model.
In an optional implementation manner, before the inputting the standard data in the preset markup format into the algorithm service model called by the event to be processed and acquiring the data of the processing result output by the algorithm service model, the method further includes:
receiving a switching control instruction of an algorithm service model sent by a management terminal, wherein the switching control instruction is used for indicating a called algorithm service model and an execution sequence of the called algorithm service model.
In an optional implementation manner, after receiving a switching control instruction of an algorithmic service model sent by a management terminal, the method further includes:
and calling the algorithm service model indicated by the switching control instruction through an open application program interface.
In a second aspect, an embodiment of the present application provides an apparatus for processing event information, where the apparatus includes:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a processing request of a to-be-processed event sent by at least one data source, and the processing request comprises description data of the to-be-processed event;
the processing module is used for converting the description data of the event to be processed into standard data in a preset format; inputting the standard data in the preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same;
and the sending module is used for sending the processing task of the event to be processed to a target processing terminal according to the processing result data.
In an alternative embodiment, the model parameters include serial peripheral interface parameters.
In an alternative embodiment, the target processing function comprises at least one of: classifying the events to be processed, combining repeated events to be processed, generating processing tasks of the events to be processed, calling plan data of the events to be processed, and recommending related events of the events to be processed.
In an optional implementation manner, the processing module is further configured to obtain, at an algorithm monitoring node of the algorithm service model, operation data of the algorithm service model;
and the sending module is also used for sending the operation data of the algorithm service model to a management terminal.
In an optional embodiment, the operation data of the algorithmic service model includes at least one of: the method comprises the following steps of calling times of the algorithm service model, query rate per second of the algorithm service model, interface response time of the algorithm service model and interface success rate of the algorithm service model.
In an optional implementation manner, the receiving module is further configured to receive a switching control instruction of the algorithmic service model sent by the management terminal, where the switching control instruction is used to indicate a called algorithmic service model and an execution sequence of the called algorithmic service model.
In an optional implementation manner, the processing module is further configured to call, through an open application program interface, an algorithmic service model indicated by the handover control instruction.
In a third aspect, the present application further provides an electronic device, including: a processor, and a memory; the memory is for storing a computer program for the processor; the processor is configured to implement any one of the possible methods of the first aspect by executing the computer program.
In a fourth aspect, the present invention also provides a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform any one of the possible methods of the first aspect.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program that, when executed by a processor, implements a method as described above in the first aspect and various possible designs of the first aspect.
According to the event information processing method and device provided by the embodiment of the application, a processing request of an event to be processed sent by at least one data source is received, and the processing request comprises description data of the event to be processed. And secondly, converting the description data of the event to be processed into standard data in a preset format. And thirdly, inputting standard data in a preset standard format into an algorithm service model called by the event to be processed, and acquiring data of processing results output by the algorithm service model, wherein the algorithm service model is used for realizing the target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same. And finally, sending the processing task of the event to be processed to the target processing terminal according to the processing result data. By the method, the input data of the algorithm service model is the standard data in the preset format, and the data standards corresponding to the model parameters among different algorithm service models are the same, so that the implementation and retraining time of the algorithm service model can be reduced, and the deployment time of the algorithm service model is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and obviously, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic view of an application scenario of a method for processing event information according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for processing event information according to an embodiment of the present application;
FIG. 3 is an integrated schematic diagram of an algorithmic service model provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another event information processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a calling algorithm service model according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another event information processing method according to an embodiment of the present application;
fig. 7 is a signaling interaction diagram of a method for processing event information according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an event information processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
Under the large background of the transformation of the digital technology, different event data generated in cities are respectively corresponding to different event data processing modes such as event fusion, event classification and similar event recommendation. Correspondingly, the processing of the event data can be completed through the algorithm server model corresponding to the processing mode of the event data.
In the related art, for a processing mode of newly generated event data, a new algorithm service model needs to be regenerated and retrained, which results in an excessively long deployment time of the algorithm service model.
In order to solve the above problems, embodiments of the present application provide a method and an apparatus for processing event information, where description data of an event to be processed is converted into standard data in a preset format and then input into an algorithm service model, and data standards corresponding to model parameters between different algorithm service models are the same, so that time for implementing and retraining the algorithm service model can be reduced, deployment time of the algorithm service model is reduced, and a fast switching of the algorithm service model is achieved.
An application scenario of the event information processing method according to the embodiment of the present application is described below.
Fig. 1 is a schematic application scenario diagram of a method for processing event information according to an embodiment of the present application. As shown in fig. 1, the data source device 101 may send a processing request of the event to be processed, which includes description data of the event to be processed, to the server 102. Subsequently, the server 102 processes the event to be processed by calling the algorithmic service model, and generates processing result data of the event to be processed. Finally, the server 102 transmits the processing task of the event to be processed to the target processing terminal 103 based on the processing result data of the event to be processed, so that the target processing terminal 103 executes the processing task.
The server 102 may be preset by calling an algorithm service model, and may be determined according to the type of the event to be processed. The processing result data may include a processing task of the event to be processed, a target processing terminal corresponding to the event to be processed, and pre-arranged data of the event to be processed.
It should be understood that the data source device 101 may be a terminal device, and may also be a server, which is not limited in this embodiment of the present application.
Server 102 may be, but is not limited to, a single web server, a server farm of multiple web servers, or a cloud of numerous computers or web servers based on cloud computing. Cloud computing is a kind of distributed computing, and is a super virtual computer composed of a group of loosely coupled computers.
The target processing terminal 103 may be a tablet computer (pad), a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in self driving (self driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in smart home (smart home), and the like.
It is to be understood that the method for processing event information may be implemented by the apparatus for processing event information provided in the embodiments of the present application, and the apparatus for processing event information may be part or all of a certain device, for example, the server.
The following describes the technical solution of the embodiments of the present application in detail with specific embodiments, taking the integration or installation of a relevant code server as an example. The following specific embodiments may be combined with each other, and the same or similar concepts or processes for the corresponding data standards may not be repeated in some embodiments.
Fig. 2 is a schematic flowchart of a method for processing event information according to an embodiment of the present application. The embodiment relates to a process for processing a processing request of a to-be-processed event sent by a data source. As shown in fig. 2, the method includes:
s201, receiving a processing request of an event to be processed sent by at least one data source, wherein the processing request comprises description data of the event to be processed.
In the embodiment of the present application, after receiving data of an event to be processed input by a user, at least one data source may send a processing request of the event to be processed to a server, where the processing request includes description data of the event to be processed.
It should be understood that the data source in the embodiments of the present application is not limited, and may be one or more. For example, the data source may be a terminal device for reporting an event by a user, or may be a server of a certain platform, and the like.
It should be understood that the embodiment of the present application is not limited to the type of the event to be processed, and may be, for example, a 12315 hotline event, a contradiction mediation event, a grid reporting event, and the like.
It should be understood that the description data of the to-be-processed event related to the embodiments of the present application is used to describe information such as an occurrence location, an occurrence time, an occurrence reason, and the like of the to-be-processed event. For example, the description data of the event to be processed may be "a road junction occurs some event in 1 month and 5 days of 2020"; for example, the data describing the pending event may be "there is some problem with item X purchased at store B on 9/6/2021".
S202, converting the description data of the event to be processed into standard data in a preset format.
In this step, after the server receives a processing request of a to-be-processed event sent by at least one data source, the format of description data in the processing request may be converted into standard data in a preset format, so that the description data of the to-be-processed event meets the requirement of input data of the algorithmic service model.
It should be noted that, in the embodiment of the present application, the standard data in the preset format is not limited, and may be specifically set according to actual situations. In some embodiments, the input data and the output data of the algorithmic service model may be standard data in a predetermined format, so that the output data of one algorithmic service model may be used as input data of another algorithmic service model.
By converting the format of the description data in the processing request into the standard data in the preset format, the implementation and retraining speed of the algorithm service model can be improved, the deployment speed of the algorithm service model is further improved, and the algorithm service model is rapidly switched.
S203, inputting standard data in a preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and data standards corresponding to model parameters among different algorithm service models are the same.
In this step, after the server converts the description data of the event to be processed into the standard data in the preset format, the standard data in the preset format may be input into the algorithm service model, so that the algorithm service model is used for processing, and the processing result data of the algorithm service model is obtained.
It should be understood that the embodiments of the present application are not limited to the target processing functions implemented by the algorithmic service model, and in some embodiments, the target processing functions include at least one of the following: classifying events to be processed, combining repeated events to be processed, generating processing tasks of the events to be processed, calling plan data of the events to be processed, and recommending related events of the events to be processed.
In some embodiments, an algorithmic service model may be one used to implement a particular target processing function. In other embodiments, there may be a plurality of algorithmic service models to implement a plurality of different target processing functions, which is not limited in this application.
Fig. 3 is an integration schematic diagram of an algorithmic service model provided in an embodiment of the present application. As shown in fig. 3, the algorithmic service model may be divided into three categories, pre-warning, post-processing and post-review. In the early warning stage, algorithm service models such as type early warning, entity early warning and multi-event normalization early warning can be set. In the event processing stage, algorithm service models such as event classification, event fusion, automatic case setting, dynamic early warning, intelligent distribution, similar event recommendation and automatic case settlement can be set. In the afterward review stage, legal service models such as regional analysis, multi-person complaint and the like can be set.
It should be noted that, when there are multiple algorithmic service models, the standard data in the preset format obtained by converting the description data may be used as the input of the multiple algorithmic service models, respectively. Alternatively, standard data in a preset format obtained by converting the description data can be used as an input of a specific algorithm service model, and an output of the specific algorithm service model can be used as an input of other algorithm service models.
It should be noted that, corresponding processing sequences may be set between the algorithm service models of the same phase of the corresponding data standard. For example, event classification is set before event fusion, and automated filing is set before dynamic early warning and intelligent distribution.
In the embodiment of the application, because the data standards corresponding to the model parameters between different algorithm service models are the same, the standardization of the algorithm service models is realized, so that the implementation and retraining time after the algorithm service models are switched can be reduced, and the deployment time of the algorithm service models is further reduced.
The embodiment of the present application does not limit the model parameters between the algorithm service models, and in some embodiments, the model parameters may include Serial Peripheral Interface (SPI) parameters.
It should be understood that the model parameters of the algorithmic service model may be defined and developed by the user, or may be provided in multiple versions, with the user switching between versions based on requirements.
In the embodiment of the application, the accessed algorithm service model can also support full-process simulation test and service interface test.
And S204, sending the processing task of the event to be processed to the target processing terminal according to the processing result data.
In this step, when the server acquires the processing result data output by the algorithm service model, the processing result data can be determined from the processing result data, so that the processing task of the event to be processed is sent to the target processing terminal.
It should be understood that the embodiment of the present application is not limited to the processing result data, and in some embodiments, the processing result data may correspond to an algorithmic service model. Illustratively, if the algorithm service model includes an intelligent dispatch model, the processing result data output by the intelligent dispatch model is used to indicate the target processing terminal. Illustratively, if the algorithm service model includes an automatic case-setting model, the processing result data output by the intelligent distribution model correspondingly includes the processing task of the event to be processed. Illustratively, if the algorithm service model includes a dynamic plan model, the processing result data output by the dynamic plan model correspondingly includes plan data of events to be processed.
In the application, by the event information processing method, the switching control of the multi-version algorithm service model can be realized, and the AB test of the algorithm service model is supported.
The event information processing method provided by the embodiment of the application firstly receives a processing request of a to-be-processed event sent by at least one data source, wherein the processing request comprises description data of the to-be-processed event. And secondly, converting the description data of the event to be processed into standard data in a preset format. And thirdly, inputting standard data in a preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same. And finally, sending the processing task of the event to be processed to the target processing terminal according to the processing result data. By the method, the input data of the algorithm service model is the standard data in the preset format, and the data standards corresponding to the model parameters among different algorithm service models are the same, so that the implementation and retraining time of the algorithm service model can be reduced, and the deployment time of the algorithm service model is reduced.
On the basis of the above embodiment, how the server determines the algorithmic service model to be invoked is described below. Fig. 4 is a schematic flowchart of another event information processing method according to an embodiment of the present application. As shown in fig. 4, the method includes:
s301, receiving a switching control instruction of the algorithm service model sent by the management terminal, wherein the switching control instruction is used for indicating the called algorithm service model and the execution sequence of the called algorithm service model.
It should be understood that the embodiment of the present application does not limit the algorithmic service model indicated by the handover control instruction. For example, the switching control instruction may instruct invoking an event classification model, an event fusion model, an automatic proposal model, a dynamic plan model, and an intelligent distribution model.
It should be understood that, the execution order of the algorithmic service model is not limited in the embodiments of the present application, and may be specifically set according to actual situations. For example, the switching control instruction may instruct to execute the event classification model first, execute the event fusion model second, execute the automatic scenario model again, and execute the dynamic scenario model and the intelligent distribution model simultaneously.
And S302, calling the algorithm service model indicated by the switching control instruction through the open application program interface.
In this step, after receiving the switching control instruction of the algorithmic service model sent by the management terminal, the server may call, through an open application program interface (OpenAPI), the algorithmic service model indicated by the switching control instruction.
For example, fig. 5 is a schematic diagram of a service model for invoking an algorithm provided in an embodiment of the present application, and as shown in fig. 5, a server may invoke the algorithm service model through an OpenAPI interface, and the invoked algorithm service model is managed through different algorithm services, so as to further invoke a registered algorithm.
Among them, algorithmic service management may include SPI definition, service registration, service burial point, etc.
S303, receiving a processing request of the event to be processed sent by at least one data source, wherein the processing request comprises description data of the event to be processed.
S304, converting the description data of the event to be processed into standard data in a preset format.
S305, inputting standard data in a preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same.
And S306, sending the processing task of the event to be processed to the target processing terminal according to the processing result data.
The technical terms, technical effects, technical features and optional embodiments of steps S303 to S306 can be understood by referring to steps S201 to S204 shown in fig. 2, and repeated information will not be described herein.
On the basis of the above embodiment, how the server monitors the operation data of the algorithmic service model is described below. Fig. 6 is a schematic flowchart of another event information processing method according to an embodiment of the present application. As shown in fig. 6, the method includes:
s401, receiving a processing request of an event to be processed sent by at least one data source, wherein the processing request comprises description data of the event to be processed.
S402, converting the description data of the event to be processed into standard data in a preset format.
S403, inputting standard data in a preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and data standards corresponding to model parameters among different algorithm service models are the same.
And S404, sending the processing task of the event to be processed to the target processing terminal according to the processing result data.
Technical terms, technical effects, technical features and optional embodiments of steps S401 to S404 can be understood with reference to steps S201 to S204 shown in fig. 2, and repeated information will not be described herein.
S405, obtaining the operation data of the algorithm service model at the algorithm monitoring node of the algorithm service model.
Wherein, the operation data of the algorithm service model comprises at least one of the following items: the calling times of the algorithm service model, the query rate of the algorithm service model per second, the interface response time of the algorithm service model and the interface success rate of the algorithm service model.
It should be understood that, in the implementation of the present application, there is no limitation on how to obtain the operation data of the algorithmic service model, and in some embodiments, at least one algorithmic monitoring node may be set by a buried point function in the process of generating the algorithmic service model. Subsequently, in the running process of the algorithm service model, the running data of the algorithm service model can be collected at the algorithm monitoring node in real time.
In the embodiment of the application, the running state of the algorithm service model can be monitored in real time by collecting the running data of the algorithm service model, so that the algorithm service model is optimized in time.
S406, sending the operation data of the algorithm service model to a management terminal.
Fig. 7 is a signaling interaction diagram of a method for processing event information according to an embodiment of the present application. As shown in fig. 7, the method includes:
s501, the data source equipment sends a processing request of the event to be processed to the server, and the processing request comprises description data of the event to be processed.
S502, the server converts the description data of the event to be processed into standard data in a preset format.
S503, the server inputs standard data in a preset standard format into an algorithm service model called by the event to be processed, and obtains data of processing results output by the algorithm service model, wherein the algorithm service model is used for realizing the target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same.
And S504, the server sends the processing task of the event to be processed to the target processing terminal according to the processing result data.
The event information processing method provided by the embodiment of the application firstly receives a processing request of a to-be-processed event sent by at least one data source, wherein the processing request comprises description data of the to-be-processed event. And secondly, converting the description data of the event to be processed into standard data in a preset format. And thirdly, inputting standard data in a preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same. And finally, sending the processing task of the event to be processed to the target processing terminal according to the processing result data. By the method, the input data of the algorithm service model is the standard data in the preset format, and the data standards corresponding to the model parameters among different algorithm service models are the same, so that the implementation and retraining time of the algorithm service model can be reduced, and the deployment time of the algorithm service model is reduced.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 8 is a schematic structural diagram of an event information processing apparatus according to an embodiment of the present application. The processing device of the event information may be implemented by software, hardware or a combination of both to execute the processing method of the event information in the above embodiments. As shown in fig. 8, the event information processing apparatus 600 includes: a receiving module 601, a processing module 602 and a sending module 603.
The receiving module 601 is configured to receive a processing request of a to-be-processed event sent by at least one data source, where the processing request includes description data of the to-be-processed event.
The processing module 602 is configured to convert description data of an event to be processed into standard data in a preset format; inputting standard data in a preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same.
A sending module 603, configured to send the processing task of the event to be processed to the target processing terminal according to the processing result data.
In an alternative embodiment, the model parameters include serial peripheral interface parameters.
In an alternative embodiment, the target processing function comprises at least one of: classifying events to be processed, combining repeated events to be processed, generating processing tasks of the events to be processed, calling plan data of the events to be processed, and recommending related events of the events to be processed.
In an optional embodiment, the processing module 602 is further configured to obtain, at an algorithm monitoring node of the algorithm service model, operation data of the algorithm service model.
The sending module 603 is further configured to send the operation data of the algorithm service model to the management terminal.
In an alternative embodiment, the operational data of the algorithmic service model comprises at least one of: the calling times of the algorithm service model, the query rate of the algorithm service model per second, the interface response time of the algorithm service model and the interface success rate of the algorithm service model.
In an optional implementation manner, the receiving module 601 is further configured to receive a switching control instruction of the algorithmic service model sent by the management terminal, where the switching control instruction is used to indicate the invoked algorithmic service model and an execution sequence of the invoked algorithmic service model.
In an alternative embodiment, the processing module 602 is further configured to call, through an open application program interface, an algorithmic service model indicated by the handover control instruction.
It should be noted that the apparatus for processing event information provided in the embodiment shown in fig. 8 can be used to execute the method for processing event information provided in any of the above embodiments, and the specific implementation and technical effects are similar and will not be described again here.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device may include: a plurality of processors 701 and a memory 702. Fig. 9 is an electronic device, such as a server, as an example of a processor.
The memory 702 stores programs. In particular, the program may include program code including computer operating instructions.
The memory 702 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as a number of disk memories.
The processor 701 is configured to execute a computer-executable instruction stored in the memory 702 to implement a control method for synchronous playing of the playing device, or to implement a processing method for the event information;
the processor 701 may be a processor (Central Processing Unit, abbreviated as CPU), or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Optionally, in a specific implementation, if the communication interface, the memory 702 and the processor 701 are implemented independently, the communication interface, the memory 702 and the processor 701 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. Buses may be classified as address buses, data buses, control buses, etc., but do not represent only one bus or type of bus.
Alternatively, in a specific implementation, if the communication interface, the memory 702, and the processor 701 are integrated into a chip, the communication interface, the memory 702, and the processor 701 may complete communication through an internal interface.
It should be noted that the electronic device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The embodiment of the application also provides a chip which comprises a processor and an interface. Wherein the interface is used for inputting and outputting data or instructions processed by the processor. The processor is adapted to perform the method provided in the above method embodiments. The chip can be applied to a processing device of event information.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, are specifically, the computer-readable storage medium stores program information, and the program information is used for the processing method of the event information.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements a method of processing event information as described above.
The present application also provides a computer program that causes a computer to execute the above-described event information processing method.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for processing event information, the method comprising:
receiving a processing request of a to-be-processed event sent by at least one data source, wherein the processing request comprises description data of the to-be-processed event;
converting the description data of the event to be processed into standard data in a preset format;
inputting the standard data in the preset standard format into an algorithm service model called by the event to be processed, and acquiring data of processing results output by the algorithm service model, wherein the algorithm service model is used for realizing the target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same;
and sending the processing task of the event to be processed to a target processing terminal according to the processing result data.
2. The method of claim 1, wherein the model parameters comprise serial peripheral interface parameters.
3. The method of claim 1, wherein the target processing function comprises at least one of: classifying the events to be processed, combining repeated events to be processed, generating processing tasks of the events to be processed, calling plan data of the events to be processed, and recommending related events of the events to be processed.
4. The method according to any one of claims 1-3, wherein at least one algorithm monitoring node is further disposed in the algorithm service model, the method further comprising:
acquiring the operation data of the algorithm service model at the algorithm monitoring node of the algorithm service model;
and sending the operation data of the algorithm service model to a management terminal.
5. The method of claim 4, wherein the operational data of the algorithmic service model comprises at least one of: the number of calling times of the algorithm service model, the query rate of the algorithm service model per second, the interface response time length of the algorithm service model and the interface success rate of the algorithm service model.
6. The method according to claim 1, wherein before the inputting the standard data in the preset markup format into the algorithmic service model called by the event to be processed and acquiring the data of the output processing result of the algorithmic service model, the method further comprises:
receiving a switching control instruction of an algorithm service model sent by a management terminal, wherein the switching control instruction is used for indicating a called algorithm service model and an execution sequence of the called algorithm service model.
7. The method according to claim 6, wherein after receiving the switching control command of the algorithmic service model sent by the management terminal, the method further comprises:
and calling the algorithm service model indicated by the switching control instruction through an open application program interface.
8. An apparatus for processing event information, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a processing request of a to-be-processed event sent by at least one data source, and the processing request comprises description data of the to-be-processed event;
the processing module is used for converting the description data of the event to be processed into standard data in a preset format; inputting the standard data in the preset standard format into an algorithm service model called by the event to be processed, and acquiring data of an output processing result of the algorithm service model, wherein the algorithm service model is used for realizing a target processing function of the event to be processed, and the data standards corresponding to model parameters among different algorithm service models are the same;
and the sending module is used for sending the processing task of the event to be processed to a target processing terminal according to the processing result data.
9. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the method of any one of claims 1 to 7.
CN202210326053.7A 2022-03-29 2022-03-29 Event information processing method and device Pending CN114676205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210326053.7A CN114676205A (en) 2022-03-29 2022-03-29 Event information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210326053.7A CN114676205A (en) 2022-03-29 2022-03-29 Event information processing method and device

Publications (1)

Publication Number Publication Date
CN114676205A true CN114676205A (en) 2022-06-28

Family

ID=82076788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210326053.7A Pending CN114676205A (en) 2022-03-29 2022-03-29 Event information processing method and device

Country Status (1)

Country Link
CN (1) CN114676205A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132214A (en) * 2022-12-30 2023-05-16 中国联合网络通信集团有限公司 Event transmission method, device, equipment and medium based on event bus model
CN116911406A (en) * 2023-07-05 2023-10-20 上海数禾信息科技有限公司 Wind control model deployment method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132214A (en) * 2022-12-30 2023-05-16 中国联合网络通信集团有限公司 Event transmission method, device, equipment and medium based on event bus model
CN116911406A (en) * 2023-07-05 2023-10-20 上海数禾信息科技有限公司 Wind control model deployment method and device, computer equipment and storage medium
CN116911406B (en) * 2023-07-05 2024-02-02 上海数禾信息科技有限公司 Wind control model deployment method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111752799A (en) Service link tracking method, device, equipment and storage medium
CN102957622B (en) Method, device and system for data processing
CN109618176B (en) Processing method, equipment and storage medium for live broadcast service
CN111159897A (en) Target optimization method and device based on system modeling application
CN110610376A (en) Behavior data response method and device, computer equipment and storage medium
CN114676205A (en) Event information processing method and device
CN108647102B (en) Service request processing method and device of heterogeneous system and electronic equipment
CN112910995B (en) Resource allocation method and device based on multi-cloud environment, electronic equipment and medium
CN116700907B (en) Service call demand document storage method, device, electronic equipment and readable medium
CN113791792A (en) Application calling information acquisition method and device and storage medium
CN111376255B (en) Robot data acquisition method and device and terminal equipment
CN114841267B (en) Real-time prediction method, device, electronic equipment and computer program product
CN106528199A (en) Method and terminal for updating automobile instrument panel system
CN114615519B (en) Video processing method, device, equipment and storage medium
CN113342776B (en) Transaction information migration method, device, equipment and medium based on intelligent contract
CN112380411B (en) Sensitive word processing method, device, electronic equipment, system and storage medium
CN108805741B (en) Fusion method, device and system of power quality data
CN113297149A (en) Method and device for monitoring data processing request
CN112883110A (en) Terminal big data distribution method, storage medium and system based on NIFI
CN112055058A (en) Data storage method and device and computer readable storage medium
CN113114718A (en) Data transmission method and system in Internet of things, and Internet of things equipment and terminal
CN112579325A (en) Business object processing method and device, electronic equipment and storage medium
CN109451035A (en) A kind of method, apparatus and system of separate type collection group agent and service
CN116402474B (en) Workflow engine circulation method and device supporting circulation in non-routing direction
CN111309331B (en) Business processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination