CN115664935A - Method and device for realizing alarm based on target framework, electronic equipment and storage medium - Google Patents

Method and device for realizing alarm based on target framework, electronic equipment and storage medium Download PDF

Info

Publication number
CN115664935A
CN115664935A CN202211292942.2A CN202211292942A CN115664935A CN 115664935 A CN115664935 A CN 115664935A CN 202211292942 A CN202211292942 A CN 202211292942A CN 115664935 A CN115664935 A CN 115664935A
Authority
CN
China
Prior art keywords
target
alarm
target model
state information
data
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
CN202211292942.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.)
Shengming Technology Guangzhou Co ltd
Original Assignee
Shengming Technology Guangzhou 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 Shengming Technology Guangzhou Co ltd filed Critical Shengming Technology Guangzhou Co ltd
Priority to CN202211292942.2A priority Critical patent/CN115664935A/en
Publication of CN115664935A publication Critical patent/CN115664935A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a method and a device for realizing alarm based on a target framework, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring target project data; loading a target model according to the target project data and the target framework; acquiring current operation data of target equipment; and inputting the current operation data into the target model, and controlling the target model to realize alarm prompt based on the current operation data. Through the method and the device, the problems that fault equipment is difficult to locate and monitoring data is not visual and intuitive in the related technology are solved.

Description

Method and device for realizing alarm based on target framework, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for implementing an alarm based on a target framework, an electronic device, and a storage medium.
Background
At present, in the process of managing and maintaining the equipment operation data, tables, texts and other traditional management modes are usually made manually to carry out data statistics, and when equipment data faults occur, the traditional management mode needs to invest large manpower and material resource cost, so that more existing resources are wasted.
In order to solve the problems, the related technology combines a 3D model alarm system to be applied to equipment data management operation and maintenance, the current common 3D model alarm system is applied to the fields of urban traffic guidance, subway communication, smart home and fire safety, and in the process of industrial automation equipment operation and maintenance management, if equipment faults occur, at the moment, the current market uses the 3D model to monitor equipment operation data, the 3D model generally only shows the checking effect, so that the problems of difficult fault equipment positioning, invisible monitoring data and the like are caused.
Therefore, the problems of difficult positioning of fault equipment and visual and non-intuitive monitoring data exist in the related technology.
Disclosure of Invention
The application provides a method and a device for realizing alarm based on a target framework, electronic equipment and a storage medium, which are used for at least solving the problems of difficulty in positioning fault equipment and invisibility of monitoring data in the related technology.
According to an aspect of an embodiment of the present application, there is provided a method for implementing an alarm based on a target framework, the method including:
acquiring target project data;
loading a target model according to the target project data and the target framework;
acquiring current operation data of target equipment;
and inputting the current operation data into the target model, and controlling the target model to realize alarm prompt based on the current operation data.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for implementing an alarm based on a target framework, the apparatus including:
the first acquisition module is used for acquiring target project data;
the loading module is used for loading a target model according to the target project data and the target framework;
the second acquisition module is used for acquiring the current operating data of the target equipment;
and the control module is used for inputting the current operation data into the target model and controlling the target model to realize alarm prompt based on the current operation data.
Optionally, the loading module includes:
a rendering unit, which is used for rendering a 3D target model in a target browser according to a three.js frame and the target project data;
and the display unit is used for visually displaying the 3D target model in a target page of the target browser.
Optionally, the control module comprises:
the acquisition unit is used for acquiring the state information of the current operation data;
and the determining unit is used for determining the display mode of the alarm prompt corresponding to the target model according to the state information.
Optionally, the determining unit comprises:
the first judgment sub-module is used for judging whether the state information contains first indication information used for indicating an alarm state;
the second judgment sub-module is used for judging whether the state information contains second indication information for indicating that color flicker is started or not under the condition that the state information contains the first indication information;
the display sub-module is used for enabling the target model to display a preset color and flicker light effect according to preset frequency under the condition that the state information contains the second indication information, wherein the preset color is used for representing that alarm information is generated;
the third judgment sub-module is used for judging whether the state information contains third indication information for indicating to start the alarm sound;
and the playing sub-module is used for enabling the target page where the target model is located to play an alarm sound under the condition that the state information is determined to contain the third indication information.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain an alarm level corresponding to the first indication information included in the state information before the target model displays a preset color;
and the generating module is used for generating a plurality of preset colors according to the alarm grade.
Optionally, the apparatus further comprises:
and a first display module, configured to, after determining whether the state information includes first indication information used for indicating an alarm state, cause the target model to be displayed according to an initial state when it is determined that the state information does not include the first indication information.
Optionally, the apparatus further comprises:
and the second display module is used for enabling the target model to display the preset color under the condition that the state information does not contain the second indication information after judging whether the state information contains the second indication information for indicating the starting of color flicker.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein the memory is used for storing the computer program; a processor for performing the method steps in any of the above embodiments by running the computer program stored on the memory.
According to a further aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the method steps of any of the above embodiments when the computer program is executed.
In the embodiment of the application, target project data are acquired; loading a target model according to the target project data and the target framework; acquiring current operation data of target equipment; the current operation data is input into the target model, the target model is controlled to realize alarm prompt based on the current operation data, the target model related to the target item data is loaded by using the target frame, the current operation data of the target equipment is input into the target model, and the target model is controlled to generate alarm prompt information capable of representing the current operation state of the target equipment, so that the operation state of the operation data of the target equipment is visually and three-dimensionally displayed, a manager is given good immersion and interaction, the traditional management modes such as tables and texts are eliminated, the purpose of checking the target model in a more detailed manner and further positioning the target model to the fault position of the equipment can be realized, and the problems of difficult positioning of the fault equipment and invisible monitoring data in the related technology are solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic flow chart diagram illustrating an alternative method for implementing alarms based on a target framework according to an embodiment of the present application;
FIG. 2 is a schematic overall flow diagram of an alternative method for implementing an alarm based on a target framework according to an embodiment of the present application;
FIG. 3 is a block diagram of an alternative apparatus for implementing alarms based on a target framework according to an embodiment of the present application;
fig. 4 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, 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, article, or apparatus.
At present, when the management and maintenance are carried out on the equipment operation data, tables, texts and other traditional management modes are usually made artificially to carry out data statistics, and the 3D model alarm system is combined with the related technology to monitor the equipment operation state, but the current 3D model generally only shows the viewing effect, so that the problems of difficult fault equipment positioning, invisible monitoring data and the like are caused.
In order to solve the above problem, an embodiment of the present application provides a method for implementing an alarm based on a target framework, where the method may be applied to a platform server side, and as shown in fig. 1, the method includes:
step S101, acquiring target project data;
step S102, loading a target model according to the target project data and the target frame;
step S103, acquiring current operation data of the target equipment;
and step S104, inputting the current operation data into the target model, and controlling the target model to realize alarm prompt based on the current operation data.
Optionally, in this embodiment of the present application, some target project data may be obtained first, a target model may be loaded by combining a target frame with the target project data, and the target model is made to generate a visualization page.
And then acquiring data of the target equipment which is currently running, wherein the target equipment can be any equipment to be subjected to fault detection, inputting the current running data into a target model, and finishing alarm prompt on the current running data by using the target model.
In the embodiment of the application, target project data is acquired; loading a target model according to the target project data and the target frame; acquiring current operation data of target equipment; the method comprises the steps of inputting current operation data into a target model, controlling the target model to realize alarm prompt based on the current operation data, loading the target model related to target project data by using a target frame, inputting the current operation data of target equipment into the target model, and controlling the target model to generate alarm prompt information capable of representing the current operation state of the target equipment, so that the operation state of the operation data of the target equipment is displayed vividly and stereoscopically, a manager is given good immersion and interaction, a traditional management mode such as forms and texts is avoided, the purpose of checking the target model and further positioning the target model to an equipment fault position can be realized more quickly, more visually and more specifically, and the problems of difficult positioning of fault equipment and non-visual monitoring data in related technologies are solved.
As an alternative embodiment, loading out an object model from the object project data and the object framework comprises:
rendering a 3D target model in a target browser according to a three.js frame and target project data;
and visually displaying the 3D target model in a target page of a target browser.
Optionally, in this embodiment of the present application, a tree.js frame (i.e., the tree.js frame in fig. 2) may be used as the target frame, and the target model is a 3D model, and then, using tree.js and the obtained target item data, the 3D model may be rendered in target browsing, for example, fig. 2 first creates a base item, and then loads the 3D model through tree.js. Js is a WebGL third party library written in JavaScript, which provides a very large number of 3D display functions.
And then visually displaying the 3D target model in a target page displayed by the current target browser.
As an alternative embodiment, inputting the current operation data into the target model, and implementing the alarm prompt by the control target model based on the current operation data includes:
acquiring state information of current operating data;
and determining the display mode of the alarm prompt corresponding to the target model according to the state information.
Optionally, the current operating data of the target device obtained at different time periods are different, and at this time, different current operating data correspond to different state information, so the display mode of the alarm prompt corresponding to the target model can be determined according to different state information in the embodiment of the present application.
Further, background data is requested, state information of current operating data is obtained, and whether the state information includes first indication information used for indicating an alarm state is judged, that is, whether the state information is the alarm state is judged according to whether status is true in fig. 2; when the state information contains the first indication information, whether the state information contains second indication information for indicating to start color flicker is judged, that is, whether color light effect flicker is started is judged according to whether the showColor is true or not in fig. 2, and if so, the target model displays a preset color and performs light effect flicker according to a preset frequency. It should be noted that when the target model displays the preset color, the target model may flash the corresponding light effect according to the current alarm level, and the alarm levels of different levels correspond to different preset colors, so that the manager may clearly see the failure degree, the emergency degree, and the like of the current device operating state according to the flashing preset color.
Then, whether the state information contains third indication information for indicating to start the alarm sound is judged, that is, whether the sound alarm effect is started is judged according to whether isVoice is true or not in fig. 2, if yes, a target page where the target model is located plays the alarm sound to achieve alarm prompt, otherwise, the target page does not play the alarm sound.
In the embodiment of the application, the 3D model is controlled to realize light effect flicker on the visual page according to the current running data, and meanwhile, the alarm sound is played, so that the alarm prompt is achieved.
As an alternative embodiment, after determining whether the first indication information for indicating the alarm state is included in the state information, the method further includes:
and in the case that the first indication information is not contained in the state information, the target model is displayed according to the initial state.
Alternatively, as shown in fig. 2, when it is determined that status is not true, that is, the state information does not include the first indication information, the target model in the normal state (that is, the initial state) may be displayed.
As an alternative embodiment, after determining whether the status information includes second indication information for indicating that the color flashing is turned on, the method further includes:
and under the condition that the second indication information is not contained in the state information, enabling the target model to display a preset color.
Optionally, as shown in fig. 2, when it is determined that the showColor is not true, that is, the state information does not include the second indication information, a preset color corresponding to the current alarm level is displayed according to the current failure degree and the urgency degree, and the light effect does not flicker.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application or portions contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the embodiments of the present application.
According to another aspect of the embodiment of the present application, there is also provided an apparatus for implementing an alarm based on a target framework, which is used for implementing the above method for implementing an alarm based on a target framework. Fig. 3 is a block diagram of an alternative target-framework-based alarm implementation apparatus according to an embodiment of the present application, and as shown in fig. 3, the apparatus may include:
a first obtaining module 301, configured to obtain target project data;
a loading module 302, configured to load a target model according to the target project data and the target framework;
a second obtaining module 303, configured to obtain current operation data of the target device;
and the control module 304 is used for inputting the current operating data into the target model and controlling the target model to realize alarm prompt based on the current operating data.
It should be noted that the first obtaining module 301 in this embodiment may be configured to execute the step S101, the loading module 302 in this embodiment may be configured to execute the step S102, the second obtaining module 303 in this embodiment may be configured to execute the step S103, and the control module 304 in this embodiment may be configured to execute the step S104.
Through the modules, the target model about the target project data is loaded by using the target framework, the current operation data of the target equipment is input into the target model, the target model is controlled to generate the alarm prompt information capable of representing the current operation state of the target equipment, so that the operation state of the operation data of the target equipment is more vividly and three-dimensionally displayed, a manager is given with good immersion and interaction, the traditional management modes such as tables, texts and the like are eliminated, the aims of faster, more intuitionistic and more detailed checking of the target model and further positioning of the fault position of the equipment can be realized, and the problems of difficult positioning of fault equipment and invisibility of monitoring data in the related technology are solved.
As an alternative embodiment, the loading module includes:
a rendering unit, which is used for rendering a 3D target model in a target browser according to a three.js frame and target project data;
and the display unit is used for visually displaying the 3D target model in a target page of the target browser.
As an alternative embodiment, the control module comprises:
the acquisition unit is used for acquiring the state information of the current operation data;
and the determining unit is used for determining the display mode of the alarm prompt corresponding to the target model according to the state information.
As an alternative embodiment, the determining unit includes:
the first judgment submodule is used for judging whether the state information contains first indication information used for indicating an alarm state;
the second judgment submodule is used for judging whether the state information contains second indication information for indicating to start color flicker or not under the condition that the state information contains the first indication information;
the display submodule is used for enabling the target model to display a preset color and flicker light effect according to preset frequency under the condition that the second indication information is contained in the determined state information, wherein the preset color is used for representing that alarm information is generated;
the third judgment submodule is used for judging whether the state information contains third indication information for indicating to start the alarm sound;
and the playing sub-module is used for enabling the target page where the target model is located to play the alarm sound under the condition that the third indication information is contained in the determined state information.
As an alternative embodiment, the apparatus further comprises:
the third acquisition module is used for acquiring the alarm level corresponding to the first indication information contained in the state information before the target model displays the preset color;
and the generating module is used for generating a plurality of preset colors according to the alarm grade.
As an alternative embodiment, the apparatus further comprises:
and the first display module is used for displaying the target model according to the initial state under the condition that the state information does not contain the first indication information after judging whether the state information contains the first indication information for indicating the alarm state.
As an alternative embodiment, the apparatus further comprises:
and the second display module is used for enabling the target model to display a preset color under the condition that the state information does not contain the second indication information after judging whether the state information contains the second indication information for indicating the starting of color flicker.
According to another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the method for implementing an alarm based on a target framework, where the electronic device may be a server, a terminal, or a combination thereof.
Fig. 4 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 4, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 communicate with each other through the communication bus 404, and where,
a memory 403 for storing a computer program;
the processor 401, when executing the computer program stored in the memory 403, implements the following steps:
acquiring target project data;
loading a target model according to the target project data and the target frame;
acquiring current operation data of target equipment;
and inputting the current operation data into the target model, and controlling the target model to realize alarm prompt based on the current operation data.
In this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The memory may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor.
As an example, as shown in fig. 4, the memory 403 may include, but is not limited to, the first obtaining module 301, the loading module 302, the second obtaining module 303, and the control module 304 in the apparatus for implementing an alarm based on a target framework. In addition, but not limited to, other module units in the apparatus for implementing an alarm based on a target frame may also be included, which are not described in detail in this example.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In addition, the electronic device further includes: and the display is used for displaying the result of realizing the alarm based on the target frame.
Optionally, for a specific example in this embodiment, reference may be made to the example described in the foregoing embodiment, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration, and the device implementing the method for implementing an alarm based on a target frame may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 4 is a diagram illustrating a structure of the electronic device. For example, the terminal device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
According to still another aspect of an embodiment of the present application, there is also provided a storage medium. Alternatively, in this embodiment, the storage medium may be used to execute a program code of a method for implementing an alarm based on an object framework.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
acquiring target project data;
loading a target model according to the target project data and the target frame;
acquiring current operation data of target equipment;
and inputting the current operation data into the target model, and controlling the target model to realize alarm prompt based on the current operation data.
Optionally, the specific example in this embodiment may refer to the example described in the above embodiment, which is not described again in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, a ROM, a RAM, a removable hard disk, a magnetic disk, or an optical disk.
According to yet another aspect of an embodiment of the present application, there is also provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium; the computer instructions are read by a processor of the computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the method steps of implementing an alarm based on an object framework in any of the embodiments described above.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing one or more computer devices (which may be personal computers, servers, or network devices) to execute all or part of the steps of the method for implementing an alarm based on an object framework according to the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, and may also be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that, as will be apparent to those skilled in the art, numerous modifications and adaptations can be made without departing from the principles of the present application and such modifications and adaptations are intended to be considered within the scope of the present application.

Claims (10)

1. A method for implementing an alarm based on a target framework, the method comprising:
acquiring target project data;
loading a target model according to the target project data and the target framework;
acquiring current operation data of target equipment;
and inputting the current operation data into the target model, and controlling the target model to realize alarm prompt based on the current operation data.
2. The method of claim 1, wherein loading an object model based on the object project data and an object framework comprises:
rendering a 3D target model in a target browser according to a three.js frame and the target project data;
and visually displaying the 3D target model in a target page of the target browser.
3. The method of claim 2, wherein said inputting said current operational data into said target model, controlling said target model to implement an alarm prompt based on said current operational data comprises:
acquiring state information of the current operating data;
and determining a display mode of an alarm prompt corresponding to the target model according to the state information.
4. The method of claim 3, wherein determining the presentation mode of the alarm prompt corresponding to the object model according to the status information comprises:
judging whether the state information contains first indication information for indicating an alarm state;
under the condition that the state information contains the first indication information, judging whether the state information contains second indication information for indicating to start color flashing;
under the condition that the state information contains the second indication information, enabling the target model to display a preset color and flicker light effect according to preset frequency, wherein the preset color is used for representing that alarm information is generated;
judging whether the state information contains third indication information for indicating to start alarm sound;
and under the condition that the state information contains the third indication information, enabling the target page where the target model is located to play an alarm sound.
5. The method of claim 4, wherein prior to said causing the target model to display a preset color, the method further comprises:
acquiring an alarm level corresponding to the first indication information contained in the state information;
and generating a plurality of preset colors according to the alarm grade.
6. The method according to claim 4, wherein after the determining whether the state information includes first indication information for indicating an alarm state, the method further comprises:
and under the condition that the state information does not contain the first indication information, enabling the target model to be displayed according to an initial state.
7. The method according to claim 4, wherein after the determining whether the status information includes second indication information indicating that color flashing is turned on, the method further comprises:
and under the condition that the second indication information is not contained in the state information, enabling the target model to display the preset color.
8. An apparatus for implementing an alarm based on a target framework, the apparatus comprising:
the first acquisition module is used for acquiring target project data;
the loading module is used for loading a target model according to the target project data and the target framework;
the second acquisition module is used for acquiring the current operating data of the target equipment;
and the control module is used for inputting the current operating data into the target model and controlling the target model to realize alarm prompt based on the current operating data.
9. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein said processor, said communication interface and said memory communicate with each other via said communication bus,
the memory for storing a computer program;
the processor for performing the method steps of any one of claims 1 to 7 by running the computer program stored on the memory.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202211292942.2A 2022-10-21 2022-10-21 Method and device for realizing alarm based on target framework, electronic equipment and storage medium Pending CN115664935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211292942.2A CN115664935A (en) 2022-10-21 2022-10-21 Method and device for realizing alarm based on target framework, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211292942.2A CN115664935A (en) 2022-10-21 2022-10-21 Method and device for realizing alarm based on target framework, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115664935A true CN115664935A (en) 2023-01-31

Family

ID=84989047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211292942.2A Pending CN115664935A (en) 2022-10-21 2022-10-21 Method and device for realizing alarm based on target framework, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115664935A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210105340A1 (en) * 2019-10-08 2021-04-08 Magic Leap, Inc. Methods, systems, and computer program products for implementing cross-platform mixed-reality applications with a scripting framework
CN113742507A (en) * 2021-09-17 2021-12-03 京东方科技集团股份有限公司 Method for three-dimensionally displaying an article and associated device
CN113886179A (en) * 2021-09-30 2022-01-04 济南浪潮数据技术有限公司 Server running state monitoring method, device, equipment and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210105340A1 (en) * 2019-10-08 2021-04-08 Magic Leap, Inc. Methods, systems, and computer program products for implementing cross-platform mixed-reality applications with a scripting framework
CN113742507A (en) * 2021-09-17 2021-12-03 京东方科技集团股份有限公司 Method for three-dimensionally displaying an article and associated device
CN113886179A (en) * 2021-09-30 2022-01-04 济南浪潮数据技术有限公司 Server running state monitoring method, device, equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李红辉;刘冬冬;杨芳南;: "基于WebGL的3D可视化告警系统关键技术研究与应用", 软件 *

Similar Documents

Publication Publication Date Title
CN108037923B (en) Lottery service implementation method and component
CN107506306B (en) Art resource testing method and device
CN110833693B (en) Game running method and device, storage medium and electronic device
US9934292B2 (en) Dynamic presentation of a results set by a form-based software application
CN112580812A (en) Model training method, inventory safety early warning method, device, equipment and medium
CN106990962B (en) Dynamic screen locking wallpaper switching method and device and terminal
CN107463380A (en) Message treatment method, device and electronic equipment
CN115664935A (en) Method and device for realizing alarm based on target framework, electronic equipment and storage medium
CN111124781A (en) Display card testing method and device, electronic equipment and storage medium
CN114780188B (en) Webpage 3D model top display method, system, terminal and storage medium
CN115373729B (en) Method and device for processing auditing node
CN112631949B (en) Debugging method and device, computer equipment and storage medium
CN113989442B (en) Building information model construction method and related device
CN111124730B (en) Error positioning method and device of server and computer storage medium
CN109782925B (en) Processing method and device and electronic equipment
CN114253664A (en) Method, device, equipment and storage medium for generating configuration template of virtualization system
CN113961127A (en) Visualization server management method and device, electronic equipment and computer storage medium
CN115391168A (en) Sandbox testing method, sandbox testing device, sandbox testing equipment and storage medium
CN111338624A (en) Data processing method and related equipment
CN112463602A (en) User interface testing method and system
CN112182891A (en) Industrial object simulation method, device and equipment
CN111552572A (en) Task processing method, readable storage medium and electronic device
CN117689359A (en) Household appliance monitoring method, system, device and medium based on digital twinning
CN114417209A (en) Page switching method and device, electronic equipment and readable medium
CN110866765B (en) Device configuration method, device, computer device, and computer-readable 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: 20230131