Event handling methods, devices, media, and electronic equipment based on smart cities

By configuring interactive event logic axes and event triggering conditions, triggering events are generated and executed, which solves the data redundancy and inefficiency problems caused by code writing in the existing technology, and achieves efficient event processing and user-friendly operating experience.

CN113885850BActive Publication Date: 2024-08-23BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111137758.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-08-23
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

In the existing large-screen-based human-computer interaction event processing method, there is a large amount of data redundancy in the code writing, which results in a heavy system burden and low event execution efficiency, making it impossible to achieve the effect of code writing through human-computer interaction.

Method used

By responding to user operations, determine the object to be processed and configure the interactive event logic axis and event triggering conditions, select and place event execution actions and triggering conditions, generate event information data, and establish the corresponding relationship between the scene model and event information data. Generate and execute trigger events and display them in the large-screen data visualization terminal.

Benefits of technology

It enables events to be executed without coding, improves event execution efficiency, reduces system burden, and improves event information data generation efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113885850B
    Figure CN113885850B
Patent Text Reader

Abstract

The present disclosure is about an event processing method and device, medium, and electronic device based on smart city, and relates to the field of human-computer interaction technology. The method includes: in response to the current user's selection operation on the scene object included in the scene model, determining the object to be processed, and configuring an interactive event logic axis and event triggering condition for the object to be processed; selecting an event execution action corresponding to the object to be processed from a preset action library according to the event triggering condition, and placing the event execution action and the event triggering condition to the interactive event logic axis to generate event information data; establishing a corresponding relationship between the scene model and the event information data, and generating a trigger event according to the scene model, the event information data and the corresponding relationship; and executing the trigger event according to the event triggering condition included in the trigger event. The present disclosure improves the event execution efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Large-screen data visualization terminals are a relatively widespread application area. Data visualization is mainly aimed at conveying and communicating information clearly and effectively through graphical means. In the field of smart city intelligent operation centers, interactive real-time data visualization video walls are increasingly becoming an indispensable part of big data solutions to help users discover and diagnose problems.

[0003] In the existing large-screen human-computer interaction event processing method, the data content required by the component configuration page is configured, and then the code is written based on the data content to generate the corresponding event and execute the event.

[0004] However, there will be a lot of data redundancy when writing code, which will make the system burden heavy and the event execution efficiency low; at the same time, it is impossible to achieve the effect of code writing through human-computer interaction.

[0005] Therefore, it is necessary to provide a new event processing method and device based on smart city.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] The purpose of the present disclosure is to provide an event processing method based on a smart city, an event processing device based on a smart city, a computer-readable storage medium and an electronic device, thereby at least to a certain extent overcoming the problem of low event execution efficiency caused by the limitations and defects of related technologies.

[0008] According to one aspect of the present disclosure, a method for handling events based on a smart city is provided, comprising:

[0009] In response to a selection operation of a scene object included in the scene model by the current user, an object to be processed is determined, and an interactive event logic axis and an event triggering condition are configured for the object to be processed;

[0010] According to the event triggering condition, an event execution action corresponding to the object to be processed is selected from a preset action library, and in response to the current user's touch operation on the event execution action and the event triggering condition, the event execution action and the event triggering condition are placed on the interactive event logic axis to generate event information data;

[0011] Establishing a corresponding relationship between the scene model and the event information data, and generating a trigger event according to the scene model, the event information data and the corresponding relationship;

[0012] According to the event triggering condition included in the triggering event, the triggering event is executed, and the execution result of the triggering event is displayed in the large-screen data visualization terminal based on the smart city.

[0013] In an exemplary embodiment of the present disclosure, in response to a current user's selection operation on a scene object included in a scene model, determining an object to be processed includes:

[0014] Based on a preset data import interface, the scene model is imported into the event editor, and the scene model is displayed in the event editor;

[0015] In response to a touch operation of the current user on any of the scene models, displaying the scene objects included in the scene model of the touch operation;

[0016] In response to the current user's selection operation on the scene object, the scene object selected by the current user is determined as the object to be processed.

[0017] In an exemplary embodiment of the present disclosure, in response to the current user's touch operation on the event execution action and the event triggering condition, the event execution action and the event triggering condition are placed on the interactive event logic axis, and event information data is generated, including:

[0018] In response to the current user's sliding operation on the event execution action and the event triggering condition, placing the event execution action and the event triggering condition on the interactive event logic axis based on a sliding track of the sliding operation;

[0019] The event execution actions are sorted according to the event logic included in the interactive event logic axis, and the event information data is generated according to the event logic, the sorted event execution actions and the event triggering conditions.

[0020] In an exemplary embodiment of the present disclosure, establishing a correspondence between the scene model and the event information data includes:

[0021] An object model corresponding to the object to be processed in the scene model is obtained, and the event information data and the object model are bound to obtain a corresponding relationship between the object model and the event information data.

[0022] In an exemplary embodiment of the present disclosure, generating a trigger event according to the scenario model, the event information data and the corresponding relationship includes:

[0023] Generate a script description file according to the object model corresponding to the object to be processed in the scene model, the event information data and the corresponding relationship;

[0024] In response to the current user's touch operation on a preset control in the event editor, the script description file is published, and an application program interface is received by the server after the published script description file is packaged;

[0025] The trigger event generated according to the published script description file is obtained from the server based on the application program interface.

[0026] In an exemplary embodiment of the present disclosure, according to the event triggering condition included in the triggering event, the triggering event is executed, and the execution result of the triggering event is displayed in the large-screen data visualization terminal based on the smart city, including:

[0027] Parsing the trigger event using a preset parser to obtain a corresponding relationship between an object model corresponding to the object to be processed in the scene model and the event information data;

[0028] Based on the corresponding relationship, the event parameters included in the object model are initialized using the event information data to obtain a script to be run, and an event execution instruction sent by the server when it is determined that the trigger event meets the event triggering condition;

[0029] Execute the event execution instruction, call the application program interface to run the script to be run, and display the script running result in the large-screen data visualization terminal based on the smart city.

[0030] In an exemplary embodiment of the present disclosure, the trigger event includes a street light on event and / or a street light off event;

[0031] Among them, executing the event execution instruction, calling the application program interface to run the script to be run, and displaying the script running result in the large-screen data visualization terminal based on the smart city, includes:

[0032] Execute the street light start instruction, call the application program interface to run the street light start script, and display the street light start image in the large-screen data visualization terminal based on the smart city; and / or

[0033] Execute the street light off instruction, call the application program interface to run the street light off script, and display the street light off image in the large-screen data visualization terminal based on the smart city.

[0034] In an exemplary embodiment of the present disclosure, the triggering event includes a license plate number recognition event and / or a vehicle speeding event;

[0035] Among them, executing the event execution instruction, calling the application program interface to run the script to be run, and displaying the script running result in the large-screen data visualization terminal based on the smart city, includes:

[0036] Execute the license plate number detection instruction, call the application program interface to run the license plate number detection script, and display the driving image of the vehicle to be detected without the license plate number in the large-screen data visualization terminal based on the smart city; and / or

[0037] Execute the vehicle speed detection instruction, call the application program interface to run the vehicle speed detection script, and display the driving image of the vehicle to be detected in the large-screen data visualization terminal based on the smart city.

[0038] In an exemplary embodiment of the present disclosure, the event processing method based on smart city further includes:

[0039] In response to the current user performing a touch operation on an abnormal operation control when detecting that the street light on image and / or the street light off image is abnormal, generating abnormal prompt information corresponding to the abnormal image;

[0040] The abnormal prompt information is sent to the terminal device corresponding to the street light management personnel.

[0041] In an exemplary embodiment of the present disclosure, the event processing method based on smart city further includes:

[0042] In response to the current user performing a touch operation on the alarm operation control when detecting that the driving image of the vehicle to be detected is abnormal, generating alarm information corresponding to the abnormal image;

[0043] The alarm information is sent to a vehicle management platform so that the vehicle management platform processes the vehicles to be detected included in the abnormal image.

[0044] According to one aspect of the present disclosure, there is provided an event processing device based on a smart city, comprising:

[0045] A first configuration module, configured to determine an object to be processed in response to a selection operation of a scene object included in the scene model by the current user, and to configure an interactive event logic axis and an event triggering condition for the object to be processed;

[0046] An information data generating module, configured to select an event execution action corresponding to the object to be processed from a preset action library according to the event triggering condition, and in response to the current user's touch operation on the event execution action and the event triggering condition, place the event execution action and the event triggering condition on the interactive event logic axis to generate event information data;

[0047] A trigger event generation module, used to establish a corresponding relationship between the scene model and the event information data, and generate a trigger event according to the scene model, the event information data and the corresponding relationship;

[0048] A trigger event execution module is used to execute the trigger event according to the event trigger condition included in the trigger event, and to display the execution result of the trigger event in the large-screen data visualization terminal based on the smart city.

[0049] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the event processing method based on a smart city described in any one of the above is implemented.

[0050] According to one aspect of the present disclosure, there is provided an electronic device, including:

[0051] Processor; and

[0052] A memory, configured to store executable instructions of the processor;

[0053] Wherein, the processor is configured to execute any one of the above-mentioned smart city-based event processing methods by executing the executable instructions.

[0054] The example embodiments of the present disclosure provide an event processing method based on a smart city. On the one hand, event information data can be generated based on the selection operation of the current user, and then a trigger event is generated according to the scene model, the event information data and the corresponding relationship. Finally, the trigger event is executed according to the event trigger condition included in the trigger event, thereby achieving the effect of code writing through human-computer interaction, and the execution of events can be realized without coding, thereby solving the problem in the prior art that there is a large amount of data redundancy in code writing, which makes the system burden heavy and the event execution efficiency low, reduces the burden on the system, and improves the execution efficiency of the trigger event; on the other hand, by configuring an interactive event logic axis for the object to be processed, and then placing the event execution action and the event trigger condition on the interactive event logic axis, event information data is generated, so that the user can perform the corresponding selection operation according to the event logic axis displayed in the event logic axis, thereby improving the generation efficiency of event information data, reducing the difficulty of operation, and improving the user experience.

[0055] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0057] Figure 1 A flowchart of a smart city-based event processing method according to an example embodiment of the present disclosure is schematically shown.

[0058] Figure 2 A structural example diagram of a large-screen data visualization terminal based on a smart city according to an example embodiment of the present disclosure is schematically shown.

[0059] Figure 3 The following schematically shows a structural example diagram of an editor according to an exemplary embodiment of the present disclosure.

[0060] Figure 4 A flowchart of a method for determining an object to be processed in response to a current user's selection operation on a scene object included in a scene model according to an exemplary embodiment of the present disclosure is schematically shown.

[0061] Figure 5A flowchart of a method for generating a trigger event according to the scenario model, the event information data and the corresponding relationship according to an exemplary embodiment of the present disclosure is schematically shown.

[0062] Figure 6 The root schematically shows a flow chart of a method for executing the trigger event according to the event trigger condition included in the trigger event, and displaying the execution result of the trigger event in a large-screen data visualization terminal based on the smart city according to an example embodiment of the present disclosure.

[0063] Figure 7 A flowchart of another event processing method based on a smart city according to an example embodiment of the present disclosure is schematically shown.

[0064] FIG. 8( a ), FIG. 8( b ), FIG. 8( c ) and FIG. 8( d ) schematically illustrate example diagrams of a processing scenario of a street lamp start time according to an example embodiment of the present disclosure.

[0065] Fig. 9 A block diagram of an event processing device based on a smart city according to an example embodiment of the present disclosure is schematically shown.

[0066] Fig.10 An electronic device for implementing the above-mentioned smart city-based event processing method according to an exemplary embodiment of the present disclosure is schematically illustrated. DETAILED DESCRIPTION

[0067] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0068] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0069] In order to solve the implementation problem of large-screen data visualization, in some technologies, it can be implemented through the following solutions: First, according to the data content required by the component configuration page in the designer, and according to the data content of the component configuration in the designer, XML and JSP packages are generated to form middleware; then the parser encapsulates the corresponding application interface according to the data configured in the XML, and finally calls the application interface according to the logical relationship to obtain the data required to generate the visualization page and generate the visualization page.

[0070] However, the above solution solves the problem of visual data display by configuring the data content solution of the component, and the solution lacks the implementation of human-computer interaction after data display.

[0071] Based on this, this exemplary embodiment first provides an event processing method based on a smart city, which can be run on a large-screen data visualization terminal based on a smart city; of course, those skilled in the art can also run the method disclosed in this disclosure on other platforms as required, and this exemplary embodiment does not specifically limit this. Figure 1 As shown, the event processing method based on smart city may include the following steps:

[0072] Step S110. In response to the current user's selection operation on the scene object included in the scene model, determine the object to be processed, and configure an interactive event logic axis and event triggering conditions for the object to be processed;

[0073] Step S120. Select an event execution action corresponding to the object to be processed from a preset action library according to the event triggering condition, and in response to the current user's touch operation on the event execution action and the event triggering condition, place the event execution action and the event triggering condition on the interactive event logic axis to generate event information data;

[0074] Step S130. Establishing a correspondence between the scenario model and the event information data, and generating a trigger event according to the scenario model, the event information data and the correspondence;

[0075] Step S140. Execute the trigger event according to the event trigger condition included in the trigger event, and display the execution result of the trigger event in the large-screen data visualization terminal based on the smart city.

[0076] In the above-mentioned event processing method based on smart city, on the one hand, since event information data can be generated based on the current user's selection operation, and then a trigger event is generated according to the scene model, event information data and the corresponding relationship, and finally the trigger event is executed according to the event trigger condition included in the trigger event, the effect of code writing is achieved through human-computer interaction, and the event execution can be realized without coding, thereby solving the problem in the prior art that there is a large amount of data redundancy in code writing, which makes the system burden heavy and the event execution efficiency low, reduces the burden on the system, and improves the execution efficiency of the trigger event; on the other hand, by configuring an interactive event logic axis for the object to be processed, and then placing the event execution action and the event trigger condition on the interactive event logic axis, event information data is generated, so that the user can perform the corresponding selection operation according to the event logic axis displayed in the event logic axis, thereby improving the generation efficiency of event information data, reducing the difficulty of operation, and improving the user experience.

[0077] Hereinafter, the event processing method based on the smart city according to the exemplary embodiment of the present disclosure will be explained and illustrated in detail with reference to the accompanying drawings.

[0078] First, the terms involved in the exemplary embodiments of the present disclosure are explained and illustrated.

[0079] Visual Editing: Editing and / or modifying on an interface where you can see the operation process.

[0080] IOC: Intelligent Operations Center, a smart city intelligent operation center, which can provide insights into daily city operations through centralized intelligence.

[0081] Event trigger conditions: refers to the prerequisite factors set in the system to automatically realize the visual feedback response of a certain event.

[0082] Next, the purpose of the invention of the exemplary embodiments of the present disclosure is explained and illustrated.

[0083] The example embodiments of the present disclosure de-code the implementation method of human-computer interaction in the smart city IOC, thereby realizing event processing in a visual editing and configuration manner; at the same time, the event processing method recorded in the example embodiments of the present disclosure uses the H5 format for editing human-computer interaction events for the IOC that has completed the rendering of the 3D model and the data visualization configuration, and replaces the code implementation with dragging, moving, zooming in and out, positioning, and text editing, thereby achieving the purpose of simplifying the IOC production process and difficulty through a flexible and configurable, freely draggable editing method, so that non-developers can also quickly produce IOC content, and ultimately achieving the effect of event linkage, trend prediction and alarm in the IOC through the event processing method recorded in the example embodiments of the present disclosure.

[0084] Further, the large-screen data visualization terminal based on the smart city involved in the exemplary embodiment of the present disclosure is explained and illustrated. Figure 2 As shown, the large-screen data visualization terminal 200 may include an editor 210, a parser 220, and a large-screen container 230. Specifically, the current user can visually drag and drop on the editor to add the operation information data of the event, and then store it in JSON format; when the event is executed, the operation information data can be parsed by the parser and displayed through the large-screen container.

[0085] Specifically, refer to Figure 3 As shown, in the parser 220, a label bar 301, a model base map area 302 and an event interaction area 303 may be included; wherein the title bar may be used to display the object to be processed, the model base map area may be used to display the event logic axis, and the event interaction area may be used to accept user selection operations.

[0086] Further, in an event processing method based on a smart city in an exemplary embodiment of the present disclosure:

[0087] In step S110, in response to the current user's selection operation on the scene object included in the scene model, an object to be processed is determined, and an interactive event logic axis and event triggering conditions are configured for the object to be processed.

[0088] In this example embodiment, the above-mentioned scenario model can be various scenario models included in a smart city, such as a personnel management model, a vehicle management model, an environmental management model, an energy consumption management model, and a facility management model, etc. Of course, it can also include other scenario models, such as an event statistics model, etc. This example does not impose any special restrictions on this.

[0089] Specifically, first, in response to the current user's selection operation on the scene object included in the scene model, the object to be processed is determined. Figure 4 As shown, in response to the current user's selection operation on the scene object included in the scene model, determining the object to be processed may include the following steps:

[0090] Step S410, based on a preset data import interface, importing the scene model into the event editor, and displaying the scene model in the event editor;

[0091] Step S420, in response to the current user's touch operation on any of the scene models, displaying the scene objects included in the scene model of the touch operation;

[0092] Step S430: In response to the current user's selection operation on the scene object, determine the scene object selected by the current user as the object to be processed.

[0093] Below, step S410-step S430 will be explained and illustrated. Specifically, based on the data import interface, the scene model can be imported into the event editor from the database where the scene model is located, and displayed; when the current user needs to interact with a certain event, the scene model corresponding to the event can be touched, so that the editor can display the scene objects included in the scene model, and further, the current user can select the scene objects he needs as the objects to be processed based on the displayed scene objects. For example, taking the vehicle management model as an example, the corresponding muck truck can be selected as the object to be processed in the muck truck management under the vehicle management model; of course, the object to be processed can also be some other object, a place or a person, etc., and this example does not make special objects for this.

[0094] Furthermore, after the object to be processed is determined, an interactive event logic axis and event triggering conditions can be configured for the object to be processed. Among them, the interactive event logic axis involved here indicates all the event processing conditions required for the triggering event corresponding to the pair of processing objects and the logical order of each event processing condition, for example, which conditions are required when the event starts, the logical order and logical relationship between the conditions, etc., so that the current user can drag the selected event execution action to the corresponding position on the event logic axis based on the event logic axis. Therefore, the event logic axis provided in this example embodiment can simplify the configuration difficulty of the event execution action, and can improve the configuration efficiency of the event execution action, thereby further improving the event execution efficiency.

[0095] It should be noted that the event trigger conditions recorded here are configured according to the specific attribute information of each object to be processed; for example, when the object to be processed is a dump truck, the corresponding event trigger conditions are: the dump truck license plate is blocked, speeding, spillage, etc.; when the object to be processed is a street lamp, the corresponding event trigger conditions are: the opening time point, the closing time point or the street lamp cannot be turned on and off normally, etc. Of course, the objects to be processed and the event trigger conditions involved in this example are only exemplary and have no other special meanings.

[0096] In step S120, an event execution action corresponding to the object to be processed is selected from a preset action library according to the event trigger condition, and in response to the current user's touch operation on the event execution action and the event trigger condition, the event execution action and the event trigger condition are placed on the interactive event logic axis to generate event information data.

[0097] In this example embodiment, first, the event execution action corresponding to the object to be processed is matched from a preset action library according to the event triggering condition; wherein the preset action library may include the event execution actions required for all objects to be processed under all event triggering conditions; secondly, after matching the corresponding event execution action, the event execution action and the event triggering condition can be placed on the interactive event logic axis in response to the current user's touch operation on the event execution action and the event triggering condition, to generate event information data.

[0098] Specifically, in the process of generating event information data, it can be achieved in the following ways: first, in response to the sliding operation of the current user on the event execution action and the event triggering condition, the event execution action and the event triggering condition are placed on the interactive event logic axis based on the sliding track of the sliding operation; secondly, the event execution action is sorted according to the event logic included on the interactive event logic axis, and the event information data is generated according to the event logic, the sorted event execution action and the event triggering condition. In other words, the current user can drag each event execution action to the corresponding position on the event logic axis according to the logical order in which it appears on the event logic axis; of course, if multiple actions need to be performed at the same time, the actions are arranged side by side in the logic axis; if the actions have a sequence, the actions are arranged backward in the order of occurrence. Through this method, the user can perform the corresponding selection operation according to the event logic axis displayed in the event logic axis, thereby improving the efficiency of generating event information data, reducing the difficulty of operation, and improving the user experience.

[0099] In step S130, a corresponding relationship between the scene model and the event information data is established, and a trigger event is generated according to the scene model, the event information data and the corresponding relationship.

[0100] In this example embodiment, first, a correspondence between the scene model and the event information data is established. Specifically, it may include: obtaining the object model corresponding to the object to be processed in the scene model, and binding the event information data and the object model to obtain the correspondence between the object model and the event information data. It should be supplemented here that in order to correctly generate trigger events, in each scene model, each object to be processed has one or more object models corresponding to it; for example, when the object to be processed is a dump truck, the object models corresponding to it may include a dump truck spillage model, a dump truck speeding model, and so on.

[0101] Secondly, a trigger event is generated according to the scene model, the event information data and the corresponding relationship. Figure 5 As shown, the following steps may be included:

[0102] Step S510, generating a script description file according to the object model corresponding to the object to be processed in the scene model, the event information data and the corresponding relationship;

[0103] Step S520, in response to the current user's touch operation on the preset control in the event editor, the script description file is published, and an application program interface is received by the server after the published script description file is packaged;

[0104] Step S530: acquiring the trigger event generated according to the published script description file from the server based on the application program interface.

[0105] Below, step S510-step S530 will be explained and illustrated. Specifically, when the event information data is generated, the editor forms a correspondence between the event information data and the object model of the object to be processed, and generates a JSON description file based on the object model, event information data and the correspondence; then, touch the publish button in the editor to publish the JSON description file in the editor (that is, upload it to the server), and when the server receives the JSON description file, it can encapsulate the JSON description file to obtain the corresponding application interface and the corresponding execution program (trigger event), and then the server sends the application interface to the large-screen data visualization terminal based on the smart city, so that the large-screen data visualization terminal based on the smart city can obtain the execution program (trigger event) based on the application interface.

[0106] In step S140, the trigger event is executed according to the event triggering condition included in the trigger event, and the execution result of the trigger event is displayed in the large-screen data visualization terminal based on the smart city.

[0107] In this example embodiment, reference Figure 6 As shown, according to the event triggering condition included in the triggering event, executing the triggering event, and displaying the execution result of the triggering event in the large-screen data visualization terminal based on the smart city, may include the following steps:

[0108] Step S610, parsing the trigger event using a preset parser to obtain a corresponding relationship between the object model corresponding to the object to be processed in the scene model and the event information data;

[0109] Step S620, based on the corresponding relationship, using the event information data to initialize the event parameters included in the object model to obtain a script to be run, and receiving an event execution instruction sent by the server when it is determined that the trigger event meets the event triggering condition;

[0110] Step S630, execute the event execution instruction, call the application program interface to run the script to be run, and display the script running result in the large-screen data visualization terminal based on the smart city.

[0111] Below, step S610-step S630 will be explained and illustrated. Specifically, when the execution program (trigger event) is started on the large screen, the parser parses the trigger event to obtain the correspondence between the object model and the event information data; then, based on the correspondence, the event parameters (event execution actions) included in the object model are initialized using the event information data to obtain the script to be run; further, in the process of information patrol of the large screen through a long link on the server side, after determining that the event trigger condition of the trigger event is met, an event execution instruction is sent to the large screen data visualization terminal based on the smart city; after receiving the event execution instruction, the visualization terminal can call the application program interface to run the script to be run, and display the script running results in the large screen data visualization terminal based on the smart city.

[0112] Furthermore, in the specific implementation process, it can be divided into the following situations:

[0113] One is that when the triggering event includes a street light on event and / or a street light off event, the event execution instruction is executed, the application program interface is called to run the script to be run, and the script running result is displayed in the large-screen data visualization terminal based on the smart city, which may include: executing the street light on instruction, calling the application program interface to run the street light on script, and displaying the street light on image in the large-screen data visualization terminal based on the smart city; and / or executing the street light off instruction, calling the application program interface to run the street light off script, and displaying the street light off image in the large-screen data visualization terminal based on the smart city. Through this method, the current user can intuitively view the on or off status of the street light through the large screen, and accurately locate the abnormal on or off of the street light.

[0114] Furthermore, when it is detected that the street lamp is abnormally turned on or off, the event processing method based on the smart city may further include: in response to the current user's touch operation on the abnormal operation control when the street lamp turning on image and / or the street lamp turning off image is abnormal, generating abnormal prompt information corresponding to the abnormal image; sending the abnormal prompt information to the terminal device corresponding to the street lamp manager. Based on this method, abnormal street lamps can be processed in a timely manner, thereby achieving the purpose of creating a smart city.

[0115] Another is that when the triggering event is a license plate number recognition event and / or a vehicle speeding event, the event execution instruction is executed, the application program interface is called to run the script to be run, and the script running result is displayed in the large-screen data visualization terminal based on the smart city, which may include: executing the license plate number detection instruction, calling the application program interface to run the license plate number detection script, and displaying the driving image of the vehicle to be detected without a license plate number in the large-screen data visualization terminal based on the smart city; and / or executing the vehicle speed detection instruction, calling the application program interface to run the vehicle speed detection script, and displaying the driving image of the vehicle to be detected in the large-screen data visualization terminal based on the smart city. Through this method, the current user can intuitively view the vehicle's operating status through the large screen and accurately locate abnormal vehicles.

[0116] Furthermore, when an abnormal condition of a vehicle is detected, the event processing method based on a smart city may further include: in response to the current user touching the alarm operation control when detecting an abnormality in the driving image of the vehicle to be detected, generating an alarm message corresponding to the abnormal image; sending the alarm message to the vehicle management platform so that the vehicle management platform processes the vehicle to be detected included in the abnormal image. Through this method, abnormal vehicles can be processed in a timely manner, thereby avoiding casualties and economic losses caused by vehicle abnormalities, thereby achieving the purpose of creating a smart city.

[0117] The following, combined Figure 7 The event processing method based on the smart city in the exemplary embodiment of the present disclosure is further explained and illustrated. Figure 7 As shown, the event processing method based on smart city may include the following steps:

[0118] Step S701, adding the required event logic axis according to the interactive events in the editor;

[0119] Step S702, selecting an event triggering condition according to the event logic axis;

[0120] Step S703, configuring the execution action after the triggering event condition according to the action library in the editor, and generating a JSON description file;

[0121] Step S704, the parser obtains the JSON description file and the model file, and initializes the actions and scripts bound to the model;

[0122] Step S705, the server performs information patrol of the large screen through the field link, and when the corresponding triggering conditions are met, calls the interface to run the script;

[0123] Step S706: According to the logical relationship, when the triggering condition is met, the human-computer interaction feedback is automatically executed on the large screen.

[0124] The event processing method based on smart city provided by the example embodiment of the present disclosure can improve the efficiency of sorting out the sequence of interactions and the main lines of association relationships on the large-screen display end by setting the event logic axis, and reduce repetitive development work; and, by setting the drag-and-drop form of the trigger condition library and the execution action library, it provides ease and convenience for configuration personnel to operate; at the same time, by binding the large-screen data information and the action association relationship of a model in the scene model, it simplifies the difficulty of business abstraction for configuration personnel from an operational perspective.

[0125] Below, taking the street light on event as an example, the event processing method based on the smart city of the exemplary embodiment of the present disclosure is explained and illustrated. Specifically, the street light on event processing method based on the smart city may include the following steps:

[0126] Step S801, adding the required event logic axis according to the street light on event in the editor; wherein the street light on event logic axis can be specifically referred to as shown in FIG8(a);

[0127] Step S802, selecting a street light turn-on condition according to the street light turn-on event logic axis; wherein the street light turn-on condition selection process is as follows: when the user touches the street light turn-on time, a time selection scroll bar will appear in the editor, and the user can touch the scroll bar to select the corresponding street light turn-on time; wherein, the specific selection scene example diagram of the street light turn-on time can be referred to as shown in FIG8(b);

[0128] Step S803, configuring the street light turn-on action after the trigger event condition according to the action library in the editor, and dragging the street light turn-on action to the event logic axis to obtain event information data; finally, generating a JSON description file according to the corresponding relationship between the event information data, the event model and the event information data; wherein, the event information data can be specifically shown in FIG8(c);

[0129] Step S804, the parser obtains the JSON description file and the model file, and initializes the actions and scripts bound to the model;

[0130] Step S805, the server performs information patrol of the large screen through the field link, and when the corresponding triggering conditions are met, calls the interface to run the script;

[0131] Step S806: According to the logical relationship, when the trigger condition is met, the street light is displayed on the large-screen container, as shown in FIG8( d ).

[0132] The exemplary embodiment of the present disclosure also provides an event processing device based on a smart city. Fig. 9 As shown, the event processing device based on the smart city may include a first configuration module 910, an information data generation module 920, a trigger event generation module 930 and a trigger event execution module 940. Among them:

[0133] The first configuration module 910 may be used to determine an object to be processed in response to a selection operation of a scene object included in the scene model by the current user, and configure an interactive event logic axis and an event triggering condition for the object to be processed;

[0134] The information data generating module 920 may be used to select an event execution action corresponding to the object to be processed from a preset action library according to the event triggering condition, and in response to the current user's touch operation on the event execution action and the event triggering condition, place the event execution action and the event triggering condition on the interactive event logic axis to generate event information data;

[0135] The trigger event generation module 930 may be used to establish a corresponding relationship between the scenario model and the event information data, and generate a trigger event according to the scenario model, the event information data and the corresponding relationship;

[0136] The trigger event execution module 940 can be used to execute the trigger event according to the event trigger condition included in the trigger event, and display the execution result of the trigger event in the large-screen data visualization terminal based on the smart city.

[0137] In an exemplary embodiment of the present disclosure, in response to a current user's selection operation on a scene object included in a scene model, determining an object to be processed includes:

[0138] Based on a preset data import interface, the scene model is imported into the event editor, and the scene model is displayed in the event editor;

[0139] In response to a touch operation of the current user on any of the scene models, displaying the scene objects included in the scene model of the touch operation;

[0140] In response to the current user's selection operation on the scene object, the scene object selected by the current user is determined as the object to be processed.

[0141] In an exemplary embodiment of the present disclosure, in response to the current user's touch operation on the event execution action and the event triggering condition, the event execution action and the event triggering condition are placed on the interactive event logic axis, and event information data is generated, including:

[0142] In response to the current user's sliding operation on the event execution action and the event triggering condition, placing the event execution action and the event triggering condition on the interactive event logic axis based on a sliding track of the sliding operation;

[0143] The event execution actions are sorted according to the event logic included in the interactive event logic axis, and the event information data is generated according to the event logic, the sorted event execution actions and the event triggering conditions.

[0144] In an exemplary embodiment of the present disclosure, establishing a correspondence between the scene model and the event information data includes:

[0145] An object model corresponding to the object to be processed in the scene model is obtained, and the event information data and the object model are bound to obtain a corresponding relationship between the object model and the event information data.

[0146] In an exemplary embodiment of the present disclosure, generating a trigger event according to the scenario model, the event information data and the corresponding relationship includes:

[0147] Generate a script description file according to the object model corresponding to the object to be processed in the scene model, the event information data and the corresponding relationship;

[0148] In response to the current user's touch operation on a preset control in the event editor, the script description file is published, and an application program interface is received by the server after the published script description file is packaged;

[0149] The trigger event generated according to the published script description file is obtained from the server based on the application program interface.

[0150] In an exemplary embodiment of the present disclosure, according to the event triggering condition included in the triggering event, the triggering event is executed, and the execution result of the triggering event is displayed in the large-screen data visualization terminal based on the smart city, including:

[0151] Parsing the trigger event using a preset parser to obtain a corresponding relationship between an object model corresponding to the object to be processed in the scene model and the event information data;

[0152] Based on the corresponding relationship, the event parameters included in the object model are initialized using the event information data to obtain a script to be run, and an event execution instruction sent by the server when it is determined that the triggering event meets the event triggering condition;

[0153] Execute the event execution instruction, call the application program interface to run the script to be run, and display the script running result in the large-screen data visualization terminal based on the smart city.

[0154] In an exemplary embodiment of the present disclosure, the trigger event includes a street light on event and / or a street light off event;

[0155] Among them, executing the event execution instruction, calling the application program interface to run the script to be run, and displaying the script running result in the large-screen data visualization terminal based on the smart city, includes:

[0156] Execute the street light start instruction, call the application program interface to run the street light start script, and display the street light start image in the large-screen data visualization terminal based on the smart city; and / or

[0157] Execute the street light off instruction, call the application program interface to run the street light off script, and display the street light off image in the large-screen data visualization terminal based on the smart city.

[0158] In an exemplary embodiment of the present disclosure, the triggering event includes a license plate number recognition event and / or a vehicle speeding event;

[0159] Among them, executing the event execution instruction, calling the application program interface to run the script to be run, and displaying the script running result in the large-screen data visualization terminal based on the smart city, includes:

[0160] Execute the license plate number detection instruction, call the application program interface to run the license plate number detection script, and display the driving image of the vehicle to be detected without the license plate number in the large-screen data visualization terminal based on the smart city; and / or

[0161] Execute the vehicle speed detection instruction, call the application program interface to run the vehicle speed detection script, and display the driving image of the vehicle to be detected in the large-screen data visualization terminal based on the smart city.

[0162] In an exemplary embodiment of the present disclosure, the event processing device based on the smart city further includes:

[0163] The abnormal prompt information generating module may be used to generate abnormal prompt information corresponding to the abnormal image in response to the current user's touch operation on the abnormal operation control when detecting that the street light on image and / or the street light off image is abnormal;

[0164] The first sending module can be used to send the abnormal prompt information to the terminal device corresponding to the street light management personnel.

[0165] In an exemplary embodiment of the present disclosure, the event processing device based on the smart city further includes:

[0166] The alarm information generating module may be used to generate alarm information corresponding to the abnormal image in response to the current user's touch operation on the alarm operation control when the current user detects that the driving image of the vehicle to be detected is abnormal;

[0167] The second sending module can be used to send the alarm information to the vehicle management platform, so that the vehicle management platform can process the to-be-detected vehicle included in the abnormal image.

[0168] The specific details of each module in the above-mentioned smart city-based event processing device have been described in detail in the corresponding smart city-based event processing method, so they will not be repeated here.

[0169] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0170] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0171] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0172] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0173] Refer to the following Fig.10 The electronic device 1000 according to this embodiment of the present disclosure is described. Fig.10 The electronic device 1000 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0174] like Fig.10As shown, the electronic device 1000 is in the form of a general computing device. The components of the electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one storage unit 1020, a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010), and a display unit 1040.

[0175] The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1010 can perform the following steps: Figure 1 Step S110 shown in: in response to the current user's selection operation on the scene object included in the scene model, determine the object to be processed, and configure an interactive event logic axis and event triggering condition for the object to be processed; step S120: select an event execution action corresponding to the object to be processed from a preset action library according to the event triggering condition, and in response to the current user's touch operation on the event execution action and the event triggering condition, place the event execution action and the event triggering condition to the interactive event logic axis to generate event information data; step S130: establish a corresponding relationship between the scene model and the event information data, and generate a trigger event according to the scene model, the event information data and the corresponding relationship; step S140: execute the trigger event according to the event triggering condition included in the trigger event, and display the execution result of the trigger event in the large-screen data visualization terminal based on the smart city.

[0176] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and / or a cache storage unit 10202 , and may further include a read-only storage unit (ROM) 10203 .

[0177] The storage unit 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0178] Bus 1030 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0179] The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or communicate with any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1050. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 via a bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0180] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0181] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0182] According to the program product for implementing the above method in the embodiment of the present disclosure, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0183] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0184] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0185] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0186] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0187] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0188] Other embodiments of the present disclosure will be readily apparent to those skilled in the art after considering the specification and practicing the inventions invented herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not invented by the present disclosure. The specification and examples are to be considered merely exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. An event processing method based on smart city, characterized in that: include: In response to a selection operation of a scene object included in the scene model by the current user, an object to be processed is determined, and an interactive event logic axis and an event triggering condition are configured for the object to be processed; According to the event triggering condition, an event execution action corresponding to the object to be processed is selected from a preset action library, and in response to the current user's sliding operation on the event execution action and the event triggering condition, the event execution action and the event triggering condition are placed on the interactive event logic axis based on the sliding track of the sliding operation; the event execution actions are sorted according to the event logic included on the interactive event logic axis, and event information data is generated according to the event logic, the sorted event execution actions and the event triggering condition; Establishing a correspondence between the scenario model and the event information data, and generating a trigger event according to the scenario model, the event information data and the correspondence; According to the event triggering condition included in the triggering event, the triggering event is executed, and the execution result of the triggering event is displayed in the large-screen data visualization terminal based on the smart city.

2. The event processing method based on smart city according to claim 1 is characterized in that: In response to a selection operation of a scene object included in the scene model by a current user, determining an object to be processed includes: Based on a preset data import interface, the scene model is imported into the event editor, and the scene model is displayed in the event editor; In response to a touch operation of the current user on any of the scene models, displaying the scene objects included in the scene model of the touch operation; In response to the current user's selection operation on the scene object, the scene object selected by the current user is determined as the object to be processed.

3. The event processing method based on smart city according to claim 1 is characterized in that: Establishing a corresponding relationship between the scene model and the event information data includes: An object model corresponding to the object to be processed in the scene model is obtained, and the event information data and the object model are bound to obtain a corresponding relationship between the object model and the event information data.

4. The event processing method based on smart city according to claim 1 is characterized in that: Generating a trigger event according to the scenario model, the event information data and the corresponding relationship, including: Generate a script description file according to the object model corresponding to the object to be processed in the scene model, the event information data and the corresponding relationship; In response to the current user's touch operation on a preset control in the event editor, the script description file is published, and an application program interface is received by the server after the published script description file is packaged; The trigger event generated according to the published script description file is obtained from the server based on the application program interface.

5. The event processing method based on smart city according to claim 1 is characterized in that: According to the event triggering condition included in the triggering event, the triggering event is executed, and the execution result of the triggering event is displayed in the large-screen data visualization terminal based on the smart city, including: Parsing the trigger event using a preset parser to obtain a corresponding relationship between an object model corresponding to the object to be processed in the scene model and the event information data; Based on the corresponding relationship, the event parameters included in the object model are initialized using the event information data to obtain a script to be run, and an event execution instruction sent by the server when it is determined that the triggering event meets the event triggering condition; Execute the event execution instruction, call the application program interface to run the script to be run, and display the script running result in the large-screen data visualization terminal based on the smart city.

6. The event processing method based on smart city according to claim 5 is characterized in that: The triggering event includes a street light on event and / or a street light off event; The method includes executing the event execution instruction, calling the application program interface to run the script to be run, and displaying the script running result in the large-screen data visualization terminal based on the smart city, including: Execute the street light start instruction, call the application program interface to run the street light start script, and display the street light start image in the large-screen data visualization terminal based on the smart city; and / or Execute the street light off instruction, call the application program interface to run the street light off script, and display the street light off image in the large-screen data visualization terminal based on the smart city.

7. The event processing method based on smart city according to claim 5 is characterized in that: The triggering event includes a license plate recognition event and / or a vehicle speeding event; The method includes executing the event execution instruction, calling the application program interface to run the script to be run, and displaying the script running result in the large-screen data visualization terminal based on the smart city, including: Execute the license plate number detection instruction, call the application program interface to run the license plate number detection script, and display the driving image of the vehicle to be detected without the license plate number in the large-screen data visualization terminal based on the smart city; and / or Execute the vehicle speed detection instruction, call the application program interface to run the vehicle speed detection script, and display the driving image of the vehicle to be detected in the large-screen data visualization terminal based on the smart city.

8. The event processing method based on smart city according to claim 6 is characterized in that: The event processing method based on smart city also includes: In response to the current user performing a touch operation on an abnormal operation control when detecting that the street light on image and / or the street light off image is abnormal, generating abnormal prompt information corresponding to the abnormal image; The abnormal prompt information is sent to the terminal device corresponding to the street light management personnel.

9. The event processing method based on smart city according to claim 7 is characterized in that: The event processing method based on smart city also includes: In response to the current user performing a touch operation on the alarm operation control when detecting that the driving image of the vehicle to be detected is abnormal, generating alarm information corresponding to the abnormal image; The alarm information is sent to a vehicle management platform so that the vehicle management platform processes the vehicles to be detected included in the abnormal image.

10. An event processing device based on a smart city, characterized in that: include: A first configuration module, configured to determine an object to be processed in response to a selection operation of a scene object included in the scene model by the current user, and to configure an interactive event logic axis and an event triggering condition for the object to be processed; An information data generating module, configured to select an event execution action corresponding to the object to be processed from a preset action library according to the event triggering condition, and in response to the current user's sliding operation on the event execution action and the event triggering condition, place the event execution action and the event triggering condition on the interactive event logic axis based on the sliding track of the sliding operation; sort the event execution actions according to the event logic included on the interactive event logic axis, and generate event information data according to the event logic, the sorted event execution actions and the event triggering condition; A trigger event generation module, used to establish a corresponding relationship between the scene model and the event information data, and generate a trigger event according to the scene model, the event information data and the corresponding relationship; A trigger event execution module is used to execute the trigger event according to the event trigger condition included in the trigger event, and to display the execution result of the trigger event in the large-screen data visualization terminal based on the smart city.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the event processing method based on a smart city described in any one of claims 1 to 9 is implemented.

12. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the smart city-based event processing method described in any one of claims 1-9 by executing the executable instructions.