CN110708847A - Event triggering method, device, equipment, system and readable storage medium - Google Patents

Event triggering method, device, equipment, system and readable storage medium Download PDF

Info

Publication number
CN110708847A
CN110708847A CN201911121985.2A CN201911121985A CN110708847A CN 110708847 A CN110708847 A CN 110708847A CN 201911121985 A CN201911121985 A CN 201911121985A CN 110708847 A CN110708847 A CN 110708847A
Authority
CN
China
Prior art keywords
event
time axis
target
time
configuration information
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
CN201911121985.2A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201911121985.2A priority Critical patent/CN110708847A/en
Publication of CN110708847A publication Critical patent/CN110708847A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an event triggering method, device, equipment, system and readable storage medium. The method disclosed by the application comprises the following steps: acquiring a time axis starting request input by a user; starting a corresponding time axis according to the time axis starting request; when the time axis runs to the trigger timestamp of any event, triggering the current event at the trigger timestamp, and controlling the corresponding controlled equipment according to the configuration information of the current event; a plurality of events are preset in the time axis, and configuration information is preset in each event. According to the method and the device, the event can be automatically triggered according to the time axis starting request input by the user, the synchronization of the back-end operation and the controlled device is realized, and the cooperation of multiple persons is not needed, so that the cost is saved, the stability and the real-time performance are higher, and the user experience is improved. Accordingly, the event triggering device, the equipment, the system and the readable storage medium disclosed by the application also have the technical effects.

Description

Event triggering method, device, equipment, system and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an event triggering method, apparatus, device, system, and readable storage medium.
Background
Currently, the internet of things is well known to the public, and is also changing aspects of our lives. Taking the light show as an example, all the lamps are connected to the network, so that the operation of all the lamps is remotely controlled by using one control end. When the light effect needs to be converted, a field person is required to send an instruction or the field light condition to an operator at the control end, and then the operator manually controls all lamps according to the information acquired by the operator, the field person and the rear-end operator need to cooperate closely in the whole process, but due to network delay, errors of manual message transmission and other factors, errors are inevitably caused, and abnormal conditions such as asynchronous operation and the like occur. The lamp can be regarded as controlled equipment, the control end can be regarded as event trigger equipment, and each operation performed by a rear-end operator can be regarded as an event.
Therefore, how to achieve synchronization between the backend operation and the controlled device is a problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above, an object of the present application is to provide an event triggering method, apparatus, device, system and readable storage medium, so as to implement synchronization between a backend operation and a controlled device. The specific scheme is as follows:
in a first aspect, the present application provides an event triggering method, including:
acquiring a time axis starting request input by a user;
starting a corresponding time axis according to the time axis starting request;
when the time axis runs to the trigger timestamp of any event, triggering the current event at the trigger timestamp, and controlling the corresponding controlled equipment according to the configuration information of the current event;
the system comprises a time axis, a plurality of event modules and a plurality of event modules, wherein a plurality of events are preset in the time axis, and configuration information is preset in each event; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction.
Preferably, triggering the current event at the trigger timestamp, and controlling the corresponding controlled device according to the configuration information of the current event includes:
sending a control instruction to the controlled equipment at the trigger timestamp so that the controlled equipment operates according to the control instruction; the control instruction is the control instruction in the configuration information of the current event.
Preferably, the generation process of the time axis includes:
and setting an operation time period of the time axis, adding different events at different moments in the operation time period, generating configuration information for each event, and obtaining the time axis.
Preferably, the generation process of any one target event in the time axis includes:
receiving an event generation instruction input by a user on a human-computer interaction interface;
analyzing the event generating instruction to obtain target identification information of the target event, target equipment information of the controlled equipment and a target control instruction;
and generating a target event according to the target equipment information and the target control instruction, and marking the target event by using the target identification information.
Preferably, adding different events at different times in the running time period, and generating configuration information for each event, includes:
and if the target event is added at the target time in the running time period, establishing a mapping relation between the target time and the target identification information and storing the mapping relation.
Preferably, after the corresponding time axis is started according to the time axis starting request, the method further includes:
if an operation instruction input by a user is acquired in the running process of the time axis, controlling the time axis according to the operation instruction; the operation instruction comprises the following steps: pause commands, run commands, fast forward commands, and rewind commands.
Preferably, after the corresponding time axis is started according to the time axis starting request, the method further includes:
and visually displaying the running progress of the time axis and a plurality of preset events in the time axis.
In a second aspect, the present application provides an event triggering apparatus, comprising:
the acquisition module is used for acquiring a time axis starting request input by a user;
the starting module is used for starting the corresponding time shaft according to the time shaft starting request;
the operation module is used for triggering the current event at the trigger timestamp when the time axis is operated to the trigger timestamp of any event, and controlling the corresponding controlled equipment according to the configuration information of the current event;
the system comprises a time axis, a plurality of event modules and a plurality of event modules, wherein a plurality of events are preset in the time axis, and configuration information is preset in each event; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction.
Preferably, the operation module is specifically configured to:
sending a control instruction to the controlled equipment at the trigger timestamp so that the controlled equipment operates according to the control instruction; the control instruction is the control instruction in the configuration information of the current event.
Preferably, the system further includes a time axis generation module for generating a time axis, and the time axis generation module is specifically configured to:
and setting an operation time period of the time axis, adding different events at different moments in the operation time period, generating configuration information for each event, and obtaining the time axis.
Preferably, the method further comprises an event generation module for generating the target event, wherein the event generation module comprises:
the receiving unit is used for receiving an event generation instruction input by a user on a human-computer interaction interface;
the analysis unit is used for analyzing the event generation instruction to obtain target identification information of the target event, target equipment information of the controlled equipment and a target control instruction;
and the generating unit is used for generating a target event according to the target equipment information and the target control instruction and marking the target event by using the target identification information.
Preferably, the time axis generation module is specifically configured to:
and if the target event is added at the target time in the running time period, establishing a mapping relation between the target time and the target identification information and storing the mapping relation.
Preferably, the method further comprises the following steps:
the operation module is used for controlling the time axis according to the operation instruction if the operation instruction input by the user is obtained in the operation process of the time axis; the operation instruction comprises the following steps: pause commands, run commands, fast forward commands, and rewind commands.
Preferably, the method further comprises the following steps:
and the display module is used for visually displaying the running progress of the time axis and a plurality of events preset in the time axis.
In a third aspect, the present application provides an event triggering device, including:
a memory for storing a computer program;
a processor for executing a computer program to implement the event triggering method disclosed above.
In a fourth aspect, the present application provides an event triggering system, which includes a controlled device and the aforementioned event triggering device.
Preferably, the event triggering device is further configured to:
when the controlled equipment and the event trigger equipment are accessed to the same network, the broadcast message is sent in the network; receiving a notification message returned by the controlled equipment; the notification message includes: device information of the controlled device.
In a fifth aspect, the present application provides a readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the event triggering method disclosed above.
According to the scheme, the application provides an event triggering method, which comprises the following steps: acquiring a time axis starting request input by a user; starting a corresponding time axis according to the time axis starting request; when the time axis runs to the trigger timestamp of any event, triggering the current event at the trigger timestamp, and controlling the corresponding controlled equipment according to the configuration information of the current event; the system comprises a time axis, a plurality of event modules and a plurality of event modules, wherein a plurality of events are preset in the time axis, and configuration information is preset in each event; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction.
According to the method, after a time axis starting request input by a user is obtained, a corresponding time axis is started according to the time axis starting request; when the time axis runs to the trigger timestamp of any event, the current event is triggered at the trigger timestamp, and the corresponding controlled equipment is controlled according to the configuration information of the current event, and the whole process does not need manual participation, so that the synchronization of the back-end operation and the controlled equipment is realized. The system comprises a time axis, a plurality of event modules and a plurality of event modules, wherein a plurality of events are preset in the time axis, and configuration information is preset in each event; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction. Therefore, according to the method and the device, each event can be automatically triggered according to the time axis starting request input by the user, cooperation of multiple persons is not needed, so that the cost is saved, the stability and the real-time performance are higher, and the user experience is improved.
Accordingly, the event triggering device, the equipment, the system and the readable storage medium provided by the application also have the technical effects.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an event triggering method disclosed herein;
FIG. 2 is a schematic illustration of a display page disclosed herein;
FIG. 3 is a schematic diagram of an event triggering apparatus disclosed herein;
FIG. 4 is a schematic diagram of an event triggering apparatus disclosed herein;
fig. 5 is a schematic diagram of an event triggering system disclosed in the present application.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the 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.
At present, in the prior art, field personnel and back-end operators need to cooperate closely, but due to factors such as network delay, errors of manual message transmission and the like, errors are inevitably caused, and abnormal conditions such as asynchronous operation and the like occur. Therefore, the event triggering scheme is provided, synchronization of the back-end operation and the controlled equipment can be achieved, and stability and instantaneity are high.
Referring to fig. 1, an embodiment of the present application discloses an event triggering method, including:
s101, acquiring a time axis starting request input by a user.
And S102, starting the corresponding time shaft according to the time shaft starting request.
The process of generating the time axis includes: and setting an operation time period of the time axis, adding different events at different moments in the operation time period, generating configuration information for each event, and obtaining the time axis.
Wherein, a plurality of events can be added at any time in the time axis, and each event comprises event identification information, equipment information of the controlled equipment and a control instruction. When the event is added to the corresponding time, the configuration information can be generated for the event, that is, the current time is used as the trigger timestamp of the event, and the trigger timestamp, the event identification information included in the event, the device information of the controlled device and the control instruction are used as the configuration information of the current event.
In one embodiment, the generation process of any one target event in the time axis includes: receiving an event generation instruction input by a user on a human-computer interaction interface; analyzing the event generating instruction to obtain target identification information of the target event, target equipment information of the controlled equipment and a target control instruction; and generating a target event according to the target equipment information and the target control instruction, and marking the target event by using the target identification information.
In this embodiment, adding different events at different times in the running time period and generating configuration information for each event includes: and if the target event is added at the target time in the running time period, establishing a mapping relation between the target time and the target identification information and storing the mapping relation.
For example: the event generation instruction input by the user in the man-machine interaction interface comprises the following steps: target identification information a of the target event, target device information 1 of the controlled device, and a start instruction X (i.e., a target control instruction), the target event a generated based on this instruction is: the starting instruction X controls the controlled device 1 to start running. And if the target event is added at the target time in the running time period, establishing a mapping relation between the target time and the target identification information a and storing the mapping relation. Assuming that the target time is the 1 st minute in the time axis, the target time can be recorded as 1, so the mapping relationship between the target time and the target identification information a is [ 1, event a ], which represents: when the time axis runs to the 1 st minute, a target event a is triggered, namely a starting instruction X controls the controlled device 1 to start running. At this time, the target time is the trigger timestamp of the target event.
When the target event is generated, the trigger time stamp of the target event may not be set first, and when the target event is added to a certain time in the time axis, the trigger time stamp of the target event may be automatically generated. Of course, the trigger timestamp may also be set in the target event, so that when the trigger timestamp is added to the time axis, the target event may be added to the corresponding time in the time axis according to the trigger timestamp in the target event, so that the trigger timestamp set in the target event corresponds to the actual trigger timestamp. When the trigger timestamp set in the target event does not correspond to the actual trigger timestamp, a corresponding prompt message can be generated for prompting.
If the trigger time stamp set in the target event does not correspond to the actual trigger time stamp in the running process of the time axis, the event is triggered uniformly according to the actual trigger time stamp, that is, the event is triggered according to the adding time of the event in the time axis. The trigger timestamp set in the target event at this time is in the form of a dummy, which is a reference value for the trigger time.
And S103, when the time axis runs to the trigger time stamp of any event, triggering the current event at the trigger time stamp, and controlling the corresponding controlled equipment according to the configuration information of the current event.
It should be noted that, a plurality of events are preset in the time axis, and each event is preset with configuration information; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction. The method disclosed by the embodiment is applied to the event trigger device, namely the background control end.
In a specific embodiment, triggering a current event at a trigger timestamp, and controlling a corresponding controlled device according to configuration information of the current event includes: sending a control instruction to the controlled equipment at the trigger timestamp so that the controlled equipment operates according to the control instruction; the control instruction is the control instruction in the configuration information of the current event.
In a specific embodiment, after the corresponding timeline is started according to the timeline starting request, the method further includes: if an operation instruction input by a user is acquired in the running process of the time axis, controlling the time axis according to the operation instruction; the operation instruction comprises the following steps: pause commands, run commands, fast forward commands, and rewind commands.
As can be seen, in the embodiment of the application, after a time axis starting request input by a user is obtained, a corresponding time axis is started according to the time axis starting request; when the time axis runs to the trigger timestamp of any event, the current event is triggered at the trigger timestamp, and the corresponding controlled equipment is controlled according to the configuration information of the current event, and the whole process does not need manual participation, so that the synchronization of the back-end operation and the controlled equipment is realized. The system comprises a time axis, a plurality of event modules and a plurality of event modules, wherein a plurality of events are preset in the time axis, and configuration information is preset in each event; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction. Therefore, according to the method and the device, each event can be automatically triggered according to the time axis starting request input by the user, cooperation of multiple persons is not needed, so that the cost is saved, the stability and the real-time performance are higher, and the user experience is improved.
The embodiment of the application discloses an event triggering scheme implementation process, which specifically comprises the following steps:
the controlled equipment and the event trigger equipment are accessed into the same local area network, the event trigger equipment sends UDP broadcast (aiming at collecting the IP address of the remote equipment) to the local area network, the event trigger equipment analyzes the equipment information of each controlled equipment according to the notification message returned by the controlled equipment, and the equipment information comprises the information such as the IP address. And the event triggering device establishes communication connection with the controlled device according to each IP address.
And configuring an event on an operation interface of the event trigger device by a user, wherein the event comprises information such as event identification information, device information of the controlled device, a control instruction and the like. An event can control one or more controlled devices, such as event a controlling the start of the operation of IP1, IP2 and IP3, in which case event a includes: event identification information a, IP addresses of controlled devices 1, 2, and 3: IP1, IP2, IP3, and control command X (X is a startup operation command). Event a at this time is: the X command controls the controlled devices 1, 2 and 3 to start running simultaneously. Therefore, corresponding operations can be executed according to the target time, and different operations can be performed on different equipment at the same time.
Wherein, the control command can be represented by a self-defined character, such as: the character "X-1" indicates controlling the controlled device 1 to operate, and the character "Y-1" indicates controlling the controlled device 1 to stop. Wherein, X is a starting operation instruction, and Y is a stopping operation instruction. 1 is identification information of the controlled device, and the IP address of the controlled device can be used as the identification information of the controlled device.
The user sets the total length of the timeline (i.e., the run period) at the operator interface of the event trigger device. Assume a setting of 1 hour. Of course, it can also be set according to the actual time, for example: the total length of the time axis is set as: 17:00 on 5/2019 and 22/2019, and 19:00 on 5/22/2019, the timeline may automatically start when 17:00 on 5/22/2019 is reached.
And displaying each event configured by the user on the operation interface in a list form, wherein the user can drag the events in the list to each moment on the time axis, so that the time axis comprising the events is generated. For example, dragging "event a" to the 1 st minute position and "event b" to the 30 th minute position, the following mapping may be generated: [ 1, event a ], [ 30, event b ]. Multiple events can also be preset at the same time, such as: [ 1, event a ], [ 1, event c ], [ 1, event d ], represent the 1 st minute position trigger events a, c, d.
When a user starts the operation interface by one key, the time shaft starts to operate, and when an event is preset at the operation moment, the event is triggered. The operation interface can be seen in fig. 2.
In a specific embodiment, the method further comprises the following steps: and visually displaying the running progress of the time axis and a plurality of preset events in the time axis. The specific display page can be seen in fig. 2. In fig. 2, the main time axis is the time axis in the embodiment, the operation progress of the time axis is shown in a progress bar form, and the progress bar in the figure is 60 minutes. And the page displays operable buttons for pause, run, fast forward and rewind. Specifically, after the time axis is started, the start key is changed into a pause key, and when the pause key is pressed, the light axis stops running; the event after the current time will not be triggered, and only if the click continues, the subsequent events will be triggered successively. This functional principle can be referred to as player functionality.
The embodiment can preset the event to be generated on the time axis, and after one key is started, the event is automatically triggered according to the running of the time axis. If the light show performance is controlled, before the formal performance, technicians can configure events and a time axis according to the embodiment, and when the performance is needed, the whole performance flow can be automatically controlled by starting the time axis by one key. And multiple persons do not need to cooperate, so that the cost is saved, the stability and the real-time performance are higher, and the user experience is improved.
An event trigger device provided by the embodiments of the present application is introduced below, and an event trigger device described below and an event trigger method described above may be referred to each other.
Referring to fig. 3, an embodiment of the present application discloses an event trigger device, including:
an obtaining module 301, configured to obtain a time axis starting request input by a user;
a starting module 302, configured to start a corresponding time axis according to a time axis starting request;
the running module 303 is configured to trigger the current event at the trigger timestamp when the time axis runs to the trigger timestamp of any event, and control the corresponding controlled device according to the configuration information of the current event;
the system comprises a time axis, a plurality of event modules and a plurality of event modules, wherein a plurality of events are preset in the time axis, and configuration information is preset in each event; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction.
In one embodiment, the operation module is specifically configured to:
sending a control instruction to the controlled equipment at the trigger timestamp so that the controlled equipment operates according to the control instruction; the control instruction is the control instruction in the configuration information of the current event.
In a specific embodiment, the system further includes a timeline generating module for generating a timeline, where the timeline generating module is specifically configured to:
and setting an operation time period of the time axis, adding different events at different moments in the operation time period, generating configuration information for each event, and obtaining the time axis.
In a specific embodiment, the system further comprises an event generation module for generating a target event, and the event generation module comprises:
the receiving unit is used for receiving an event generation instruction input by a user on a human-computer interaction interface;
the analysis unit is used for analyzing the event generation instruction to obtain target identification information of the target event, target equipment information of the controlled equipment and a target control instruction;
and the generating unit is used for generating a target event according to the target equipment information and the target control instruction and marking the target event by using the target identification information.
In a specific embodiment, the time axis generation module is specifically configured to:
and if the target event is added at the target time in the running time period, establishing a mapping relation between the target time and the target identification information and storing the mapping relation.
In a specific embodiment, the method further comprises the following steps:
the operation module is used for controlling the time axis according to the operation instruction if the operation instruction input by the user is obtained in the operation process of the time axis; the operation instruction comprises the following steps: pause commands, run commands, fast forward commands, and rewind commands.
In a specific embodiment, the method further comprises the following steps:
and the display module is used for visually displaying the running progress of the time axis and a plurality of events preset in the time axis.
For more specific working processes of each module and unit in this embodiment, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not described here again.
Therefore, the embodiment provides an event triggering device, which can automatically trigger each event according to a time axis starting request input by a user without cooperation of multiple persons, thereby saving cost, having higher stability and real-time performance and improving user experience.
In the following, an event triggering device provided in an embodiment of the present application is introduced, and an event triggering device described below and an event triggering method and apparatus described above may be referred to each other.
Referring to fig. 4, an embodiment of the present application discloses an event triggering device, including:
a memory 401 for storing a computer program;
a processor 402 for executing the computer program to perform the steps of: acquiring a time axis starting request input by a user; starting a corresponding time axis according to the time axis starting request; when the time axis runs to the trigger timestamp of any event, triggering the current event at the trigger timestamp, and controlling the corresponding controlled equipment according to the configuration information of the current event; the system comprises a time axis, a plurality of event modules and a plurality of event modules, wherein a plurality of events are preset in the time axis, and configuration information is preset in each event; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: sending a control instruction to the controlled equipment at the trigger timestamp so that the controlled equipment operates according to the control instruction; the control instruction is the control instruction in the configuration information of the current event.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: and setting an operation time period of the time axis, adding different events at different moments in the operation time period, generating configuration information for each event, and obtaining the time axis.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: if an operation instruction input by a user is acquired in the running process of the time axis, controlling the time axis according to the operation instruction; the operation instruction comprises the following steps: pause commands, run commands, fast forward commands, and rewind commands.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: and visually displaying the running progress of the time axis and a plurality of preset events in the time axis.
An event triggering system provided by the embodiments of the present application is introduced below, and an event triggering system described below and an event triggering method, apparatus, and device described above may be referred to each other.
Referring to fig. 5, an embodiment of the present application discloses an event triggering system, which includes an event triggering device 501 and a controlled device 502; the event triggering device comprises a memory for storing a computer program and a processor for executing the computer program to implement the method disclosed in any of the embodiments described above. The controlled device can be a plurality of devices.
In one embodiment, the event trigger device is further configured to:
when the controlled equipment and the event trigger equipment are accessed to the same network, the broadcast message is sent in the network; receiving a notification message returned by the controlled equipment; the notification message includes: device information of the controlled device.
A readable storage medium provided in the embodiments of the present application is introduced below, and a readable storage medium described below and an event triggering method, apparatus, and device described above may be referred to each other.
A readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the event triggering method disclosed in the foregoing embodiments. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
References in this application to "first," "second," "third," "fourth," etc., if any, are intended to distinguish between similar elements and not necessarily to describe a particular order or sequence. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of readable storage medium known in the art.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An event triggering method, comprising:
acquiring a time axis starting request input by a user;
starting a corresponding time axis according to the time axis starting request;
when the time axis runs to the trigger time stamp of any event, triggering a current event at the trigger time stamp, and controlling corresponding controlled equipment according to the configuration information of the current event;
the time axis is preset with a plurality of events, and each event is preset with configuration information; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction.
2. The event triggering method according to claim 1, wherein triggering a current event at the trigger timestamp and controlling a corresponding controlled device according to the configuration information of the current event comprises:
sending a control instruction to the controlled equipment at the trigger timestamp so that the controlled equipment operates according to the control instruction; the control instruction is the control instruction in the configuration information of the current event.
3. The event triggering method according to claim 1, wherein the generation process of the time axis comprises:
and setting the running time period of the time axis, adding different events at different moments in the running time period, generating configuration information for each event, and obtaining the time axis.
4. The event triggering method according to claim 3, wherein the generation process of any one target event in the time axis comprises:
receiving an event generation instruction input by a user on a human-computer interaction interface;
analyzing the event generation instruction to obtain target identification information of the target event, target equipment information of controlled equipment and a target control instruction;
and generating the target event according to the target equipment information and the target control instruction, and marking the target event by using the target identification information.
5. The event triggering method according to claim 4, wherein the adding different events at different times in the running time period and generating configuration information for each event comprises:
and if the target event is added at the target time in the operation time period, establishing a mapping relation between the target time and the target identification information and storing the mapping relation.
6. The event triggering method according to any one of claims 1 to 5, wherein after the starting of the corresponding timeline according to the timeline starting request, further comprising:
if an operation instruction input by a user is acquired in the running process of the time axis, controlling the time axis according to the operation instruction; the operation instruction comprises the following steps: pause commands, run commands, fast forward commands, and rewind commands.
7. The event triggering method according to claim 1, wherein after the starting of the corresponding timeline according to the timeline starting request, further comprising:
and visually displaying the running progress of the time axis and a plurality of preset events in the time axis.
8. An event triggering device, comprising:
the acquisition module is used for acquiring a time axis starting request input by a user;
the starting module is used for starting the corresponding time shaft according to the time shaft starting request;
the operation module is used for triggering a current event at the trigger timestamp when the time axis operates to the trigger timestamp of any event, and controlling corresponding controlled equipment according to the configuration information of the current event;
the time axis is preset with a plurality of events, and each event is preset with configuration information; the configuration information includes: event identification information, a trigger timestamp, device information of the controlled device and a control instruction.
9. An event triggering device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the event triggering method of any one of claims 1 to 7.
10. A readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the event triggering method of any one of claims 1 to 7.
CN201911121985.2A 2019-11-15 2019-11-15 Event triggering method, device, equipment, system and readable storage medium Pending CN110708847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911121985.2A CN110708847A (en) 2019-11-15 2019-11-15 Event triggering method, device, equipment, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911121985.2A CN110708847A (en) 2019-11-15 2019-11-15 Event triggering method, device, equipment, system and readable storage medium

Publications (1)

Publication Number Publication Date
CN110708847A true CN110708847A (en) 2020-01-17

Family

ID=69206427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911121985.2A Pending CN110708847A (en) 2019-11-15 2019-11-15 Event triggering method, device, equipment, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN110708847A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658202A (en) * 2015-10-30 2017-05-10 中国移动通信集团公司 Method and equipment for triggering interaction application
CN109683527A (en) * 2018-12-27 2019-04-26 浙江大丰实业股份有限公司 Swarm intelligence control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658202A (en) * 2015-10-30 2017-05-10 中国移动通信集团公司 Method and equipment for triggering interaction application
CN109683527A (en) * 2018-12-27 2019-04-26 浙江大丰实业股份有限公司 Swarm intelligence control system

Similar Documents

Publication Publication Date Title
JP4869831B2 (en) ADAPTER GENERATION DEVICE, METHOD, AND PROGRAM
CN105975367B (en) Test method and device for mobile equipment
CN115827111B (en) Method and device for adjusting server startup item, storage medium and electronic device
CN107798561B (en) Audio playing and sharing method and device, storage medium and electronic equipment
CN109840178B (en) Method, mobile terminal and device for monitoring log information
CN112416775A (en) Software automation testing method and device based on artificial intelligence and electronic equipment
CN112994982A (en) Packet capture control method, device and system of cloud-real machine and storage medium
CN111190805A (en) Training log visualization system, method and equipment of deep learning training platform
CN114143371A (en) Screen projection method and device, storage medium and electronic equipment
CN110708847A (en) Event triggering method, device, equipment, system and readable storage medium
CN104935451A (en) Fault detection method and device
CN112988580A (en) Test process reproduction method, device, equipment and storage medium
CN108810525A (en) A kind of combined Intelligent set top box volume production test method and system
CN110244968B (en) Charging station management system and method
US8150471B2 (en) Network monitoring system
CN110727441A (en) Method, system and storage medium for installing flash agent
CN111142469A (en) Debugging method and debugging system for PLC configuration program
US9542250B2 (en) Distributed maintenance mode control
CN113079070B (en) Method and device for monitoring response performance of domain name system
CN100501669C (en) Screen protection system and method
CN114780281A (en) Server hardware error log recording method, device, equipment and medium
CN114089837A (en) Control method and device of equipment and computer readable storage medium
CN109348242B (en) Live network scheduling method, device, medium and electronic equipment
CN109254782B (en) Operating system installation method and device
CN112653921A (en) Application program network behavior data analysis method, computer device 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117