CN114727100B - Joint debugging method and device for monitoring equipment - Google Patents

Joint debugging method and device for monitoring equipment Download PDF

Info

Publication number
CN114727100B
CN114727100B CN202210458701.4A CN202210458701A CN114727100B CN 114727100 B CN114727100 B CN 114727100B CN 202210458701 A CN202210458701 A CN 202210458701A CN 114727100 B CN114727100 B CN 114727100B
Authority
CN
China
Prior art keywords
equipment
monitoring
debugging
event
interface
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.)
Active
Application number
CN202210458701.4A
Other languages
Chinese (zh)
Other versions
CN114727100A (en
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.)
Jingwang Technology Co ltd
Original Assignee
Jingwang 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 Jingwang Technology Co ltd filed Critical Jingwang Technology Co ltd
Priority to CN202210458701.4A priority Critical patent/CN114727100B/en
Publication of CN114727100A publication Critical patent/CN114727100A/en
Application granted granted Critical
Publication of CN114727100B publication Critical patent/CN114727100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the field of equipment test, and discloses a joint debugging method of monitoring equipment, which comprises the following steps: acquiring a monitoring device set to be debugged, and classifying the monitoring devices in the monitoring device set according to preset service attributes to obtain classified monitoring devices; identifying an equipment interface of the classified monitoring equipment, and configuring an interface task of the classified monitoring equipment based on the equipment interface; establishing a correlation view among the monitoring devices in the classified monitoring devices according to the interface task, and establishing device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view; testing the equipment debugging event; when the test of the equipment debugging event fails, updating the equipment debugging event, and returning to the step of testing the equipment debugging event; and when the test of the equipment debugging event is successful, obtaining a successful result of the joint debugging of the monitoring equipment corresponding to the equipment debugging event. The invention can improve the joint debugging efficiency of the monitoring equipment.

Description

Joint debugging method and device for monitoring equipment
Technical Field
The present invention relates to the field of device testing, and in particular, to a joint debugging method and apparatus for a monitoring device, an electronic device, and a computer-readable storage medium.
Background
With the development of information security technology, monitoring devices become more important in a regional security monitoring scene, and regional data, such as image data, of a region to be searched is obtained through the monitoring devices in real time or offline, whereas in an actual service scene, a plurality of monitoring devices usually exist in one regional security monitoring scene to realize monitoring from all angles, so how to implement joint debugging of the monitoring devices and ensure that a plurality of monitoring devices can efficiently and jointly execute tasks becomes more important.
At present, joint debugging of monitoring equipment is usually realized by verifying interfaces among various equipment, however, traditional equipment interface verification is often limited to single technical interface matching in a joint debugging stage, that is, after a large number of interface conflicts are found in a joint debugging stage, correction is performed, so that a large amount of labor and time costs are consumed, and joint debugging efficiency of the monitoring equipment is affected.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a joint debugging method and apparatus for a monitoring device, an electronic device, and a computer-readable storage medium, which can improve joint debugging efficiency of the monitoring device.
In a first aspect, the present invention provides a joint debugging method for a monitoring device, including:
acquiring a monitoring equipment set to be debugged from a preset monitoring center platform, and classifying the monitoring equipment in the monitoring equipment set according to preset service attributes to obtain classified monitoring equipment;
identifying an equipment interface of the classified monitoring equipment, and configuring an interface task of the classified monitoring equipment based on the equipment interface;
establishing a correlation view among the monitoring devices in the classified monitoring devices according to the interface task, and establishing device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view;
testing the equipment debugging event in a preset testing environment;
when the test of the equipment debugging event fails, updating the equipment debugging event by using a preset event coordination mechanism, and returning to execute the step of testing the equipment debugging event in a preset test environment;
and when the device debugging event is tested successfully, obtaining a successful result of the joint debugging of the monitoring device corresponding to the device debugging event.
In a possible implementation manner of the first aspect, the classifying the monitoring devices in the monitoring device set according to a preset service attribute to obtain a classified monitoring device includes:
identifying a device attribute of each monitoring device in the set of monitoring devices;
screening out attributes correspondingly matched with the preset service attributes from the equipment attributes to obtain target attributes;
and classifying the monitoring equipment corresponding to the target attribute by adopting a preset classification algorithm to obtain classified monitoring equipment.
In a possible implementation manner of the first aspect, the screening out, from the device attributes, an attribute that is correspondingly matched with the preset service attribute to obtain a target attribute includes:
respectively converting the equipment attribute and the preset service attribute into vector forms to obtain an equipment attribute vector and a service attribute vector;
and calculating the matching degree of the equipment attribute vector and the service attribute vector, and taking the equipment attribute corresponding to the equipment attribute vector as the target attribute when the matching degree is greater than a preset threshold value.
In a possible implementation manner of the first aspect, the identifying the device interface of the classified monitoring device includes:
acquiring a connection port of each monitoring device in the classified monitoring devices, and inquiring port parameters of the connection ports;
and determining the interface type of the monitoring equipment according to the port parameters, and generating the equipment interface of the classified monitoring equipment according to the interface type.
In a possible implementation manner of the first aspect, the configuring, based on the device interface, an interface task of the classified monitoring device includes:
acquiring the interface type of the equipment interface, and extracting the interface function and the execution object of the classified monitoring equipment according to the interface type;
and defining the interface task of the classified monitoring equipment according to the interface function and the execution object.
In a possible implementation manner of the first aspect, the establishing, according to the interface task, an association view between monitoring devices in the classified monitoring devices includes:
according to the interface task, identifying the incidence relation among the monitoring devices in the classified monitoring devices, and constructing a device node of each monitoring device in the classified monitoring devices;
and connecting the equipment nodes according to the association relationship to form an association view between the monitoring equipment in the classified monitoring equipment.
In a possible implementation manner of the first aspect, the constructing device commissioning events among the monitoring devices in the categorized monitoring device based on the association view includes:
querying the monitoring equipment with the dependency relationship in the class monitoring equipment according to the association view to obtain target monitoring equipment, and constructing a joint task of the target monitoring equipment;
and converting the joint task into a device debugging event by adopting a preset device debugging program.
In a possible implementation manner of the first aspect, the testing the device debug event in a preset test environment includes:
creating a debugging program of the equipment debugging event in the preset testing environment, and configuring a debugging strategy of the equipment debugging event in the debugging program;
and after the equipment debugging event is loaded to the debugging program, executing the test of the equipment debugging event through the debugging strategy.
In a possible implementation manner of the first aspect, the updating the device debug event by using a preset event coordination mechanism includes:
inquiring an event fault node of the equipment debugging event;
and redistributing the equipment debugging task of the equipment debugging event by utilizing the preset event coordination mechanism according to the event fault node so as to update the equipment debugging event.
In a second aspect, the present invention provides a joint debugging apparatus for monitoring devices, the apparatus including:
the monitoring equipment classifying module is used for acquiring a monitoring equipment set to be debugged from a preset monitoring center platform, and classifying the monitoring equipment in the monitoring equipment set according to preset service attributes to obtain classified monitoring equipment;
the interface task configuration module is used for identifying the equipment interface of the classified monitoring equipment and configuring the interface task of the classified monitoring equipment based on the equipment interface;
the debugging event building module is used for building a correlation view among the monitoring devices in the classified monitoring devices according to the interface task and building device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view;
the debugging event testing module is used for testing the equipment debugging event in a preset testing environment;
a debugging event updating module, configured to update the device debugging event by using a preset event coordination mechanism when the device debugging event fails to be tested, and return to the step of performing the test on the device debugging event in the preset test environment;
and the debugging result generation module is used for obtaining a successful result of the joint debugging of the monitoring equipment corresponding to the equipment debugging event when the equipment debugging event is tested successfully.
Compared with the prior art, the technical principle and the beneficial effects of the scheme are as follows:
according to the scheme, firstly, the monitoring equipment in the monitoring equipment set is classified according to the preset service attribute to obtain classified monitoring equipment, the monitoring equipment with the same service attribute in the monitoring equipment set can be classified, and the processing speed of the subsequent monitoring equipment can be improved; secondly, the embodiment of the invention identifies the device interface of the classified monitoring device to configure the interface task of the classified monitoring device, so that the work to be executed in the classified monitoring device can be clarified, the subsequent joint debugging of the monitoring device can be ensured, the associated view among the monitoring devices in the classified monitoring device is established according to the interface task, the device debugging event among the monitoring devices in the classified monitoring device is established based on the associated view, the task dependency among the monitoring devices in the classified monitoring device is visually displayed, and the joint debugging efficiency of the subsequent monitoring device is ensured; furthermore, the embodiment of the invention can ensure that the joint task of the monitoring equipment can be normally carried out, realize the dynamic regulation of the joint debugging of the monitoring equipment, improve the flexibility of the joint debugging of the monitoring equipment and further improve the efficiency of the joint debugging of the monitoring equipment by testing the equipment debugging event, updating the equipment debugging event when the test of the equipment debugging event fails, returning to the step of testing the equipment debugging event, and obtaining the successful result of the joint debugging of the monitoring equipment corresponding to the equipment debugging event when the test of the equipment debugging event succeeds. Therefore, the joint debugging method and apparatus for the monitoring device, the electronic device and the computer-readable storage medium provided by the embodiments of the present invention can improve the joint debugging efficiency of the monitoring device.
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 flowchart of a joint debugging method for monitoring devices according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating a step of the joint debugging method for monitoring devices provided in fig. 1 according to an embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating another step of the joint debugging method for monitoring devices provided in fig. 1 according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a joint debugging apparatus of a monitoring device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an internal structure of an electronic device for implementing a joint debugging method for a monitoring device according to an embodiment of the present invention.
Detailed Description
It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are given by way of illustration only.
An embodiment of the present invention provides a joint debugging method for a monitoring device, where an execution subject of the joint debugging method for the monitoring device includes, but is not limited to, a server, a terminal, and at least one of electronic devices that can be configured to execute the method provided by the embodiment of the present invention. In other words, the joint debugging method of the monitoring device may be performed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Example 1:
fig. 1 is a schematic flowchart of a joint debugging method for a monitoring device according to an embodiment of the present invention. The joint debugging method for the monitoring device described in fig. 1 includes:
s1, acquiring a monitoring device set to be debugged from a preset monitoring center platform, and classifying the monitoring devices in the monitoring device set according to preset service attributes to obtain classified monitoring devices.
In the embodiment of the present invention, the preset monitoring center platform is built based on different service scenarios, for example, in a traffic supervision scenario, the monitoring center platform may be a traffic command center platform, in a cell security management scenario, the monitoring center platform may be a cell security monitoring center platform, the monitoring device set to be debugged refers to a joint debugging set of monitoring devices that need to be performed in the preset monitoring center platform, and the monitoring devices include environment monitoring devices (such as camera devices), security early warning devices (such as smoke early warning devices), and the like. Optionally, the set of monitoring devices to be debugged is obtained by querying a background database of the preset monitoring center platform.
Further, in the embodiment of the present invention, the monitoring devices in the monitoring device set are classified according to the preset service attribute, so as to classify the monitoring devices with the same service attribute in the monitoring device set, thereby improving the processing speed of the subsequent monitoring devices. The preset service attribute may be set to a device function, a device type, a device location, or the like, or may be set based on an actual service scenario.
As an embodiment of the present invention, referring to fig. 2, the classifying the monitoring devices in the monitoring device set according to the preset service attribute to obtain a classified monitoring device includes:
s201, identifying the equipment attribute of each monitoring equipment in the monitoring equipment set;
s202, screening out attributes correspondingly matched with the preset service attributes from the equipment attributes to obtain target attributes;
s203, classifying the monitoring equipment corresponding to the target attribute by adopting a preset classification algorithm to obtain classified monitoring equipment.
The device attribute refers to characteristic dimension information used for representing the monitoring device, such as a device label, a device type, a device function, and the like, and optionally, the device attribute may be obtained by querying factory device parameters of the monitoring device.
Further, in an optional embodiment of the present invention, the screening out an attribute correspondingly matched with the preset service attribute from the device attributes to obtain a target attribute includes: and respectively converting the equipment attribute and the preset service attribute into vector forms to obtain an equipment attribute vector and a service attribute vector, calculating the matching degree of the equipment attribute vector and the service attribute vector, and taking the equipment attribute corresponding to the equipment attribute vector as the target attribute when the matching degree is greater than a preset threshold value.
The vector form of the device attribute and the preset service attribute is used for realizing numerical calculation of subsequent matching degree, which can be realized by a vector conversion algorithm, such as word2vec algorithm, the matching degree of the device attribute vector and the service attribute vector can be calculated by a similarity algorithm, such as cosine similarity calculation, and the preset threshold value can be set to 0.85 or set according to an actual service scene.
Further, in an optional embodiment of the present invention, the predetermined classification algorithm includes a clustering algorithm, such as a K-means algorithm.
S2, identifying the device interface of the classified monitoring device, and configuring the interface task of the classified monitoring device based on the device interface.
According to the embodiment of the invention, the information port for the communication interaction between the classified monitoring equipment and the third-party equipment is obtained by identifying the equipment interface of the classified monitoring equipment, so that the premise of joint debugging of the subsequent equipment is ensured. The device interface may be understood as a connection port through which the monitoring device performs data interaction with the outside, such as a signal interface, a control interface, and a data transmission interface.
As an embodiment of the present invention, the device interface for identifying the categorized monitoring device includes: and acquiring a connection port of each monitoring device in the classified monitoring devices, inquiring port parameters of the connection port, determining the interface type of the monitoring device according to the port parameters, and generating a device interface of the classified monitoring device according to the interface type.
The connection port refers to a position sequence for supporting connection with the outside, the port parameter refers to information data for describing the connection port, such as a port function, a port model and the like, and the interface type refers to a function type for determining a device use function of the monitoring device, such as a function type for communication, shooting, transmission and the like.
Further, the embodiment of the present invention configures the interface task of the classified monitoring device based on the device interface to clarify the work to be executed in the classified monitoring device, so that the subsequent joint debugging of the monitoring device can be ensured. The interface task may be understood as a work task to be performed in the device interface, such as an image acquisition task, a data transmission task, an information communication task, and the like.
As an embodiment of the present invention, the configuring, based on the device interface, an interface task of the classified monitoring device includes: and acquiring the interface type of the equipment interface, extracting the interface function and the execution object of the classified monitoring equipment according to the interface type, and defining the interface task of the classified monitoring equipment according to the interface function and the execution object.
The interface function refers to an information function of the device interface, such as functions of transmission, communication, and the like, the execution object refers to a work object of the device interface when executing an interface task, and optionally, the interface function and the execution object are obtained by querying port parameters of the classified monitoring device based on the interface type.
Further, in another optional embodiment of the present invention, the interface task of the classified monitoring device is obtained by configuring a task running time, a task running rule, and a task running mode of the classified monitoring device based on the interface function and the execution object.
S3, establishing a correlation view among the monitoring devices in the classified monitoring devices according to the interface task, and establishing device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view.
According to the embodiment of the invention, the associated view among the monitoring devices in the classified monitoring devices is established according to the interface task so as to visually display the task dependence relation among the monitoring devices in the classified monitoring devices, and the efficient configuration of the subsequent debugging event in the process of carrying out combined debugging on the devices is facilitated.
As an embodiment of the present invention, referring to fig. 3, the establishing an association view between monitoring devices in the categorized monitoring devices according to the interface task includes:
s301, according to the interface task, identifying the incidence relation among the monitoring devices in the classified monitoring devices, constructing a device node of each monitoring device in the classified monitoring devices, and according to the incidence relation;
s302, the equipment nodes are connected to form an associated view among the monitoring equipment in the classified monitoring equipment.
The association relationship is used for making clear the device dependency relationship, such as a parallel relationship, a drill-down relationship, an upstream-downstream relationship, and the like, of the monitoring devices in the classified monitoring devices when executing the task, and the device node is used for defining the device working node position of the monitoring devices in the classified monitoring devices when executing the task.
Further, in an optional embodiment of the present invention, the association relationship is identified according to a task attribute of an interface task corresponding to a monitoring device in the classified monitoring device, the device node is established by marking a device identifier of the monitoring device in the classified monitoring device, and the device nodes are connected by using an E-R graph model based on the association relationship.
Further, the embodiment of the present invention constructs the device debugging event between the monitoring devices in the classified monitoring device based on the associated view, so as to implement the construction of the joint task of the monitoring devices in the classified monitoring device, and ensure the joint debugging efficiency of the subsequent monitoring devices.
As an embodiment of the present invention, the constructing a device debug event between monitoring devices in the categorized monitoring device based on the association view includes: and querying the monitoring equipment with the dependency relationship in the class monitoring equipment according to the association view to obtain target monitoring equipment, constructing a joint task of the target monitoring equipment, and converting the joint task into an equipment debugging event by adopting a preset equipment debugging program.
Optionally, in the present invention, the monitoring device with the dependency relationship is obtained by querying a statement, such as an SQL statement, the joint task is constructed by a compiling language, such as a Java language, and the preset device debugging program is constructed by a scripting language, such as a JavaScript scripting language.
And S4, testing the device debugging event in a preset test environment.
The invention tests the equipment debugging event in the preset test environment to realize the equipment combined debugging of the monitoring equipment set to be debugged, and ensures the stability of the equipment in the subsequent monitoring equipment set to be debugged when the equipment formally executes the combined task on line, thereby improving the combined debugging efficiency of the monitoring equipment. The preset test environment can be constructed through a virtual machine.
As an embodiment of the present invention, the testing the device debug event in a preset test environment includes: and creating a debugging program of the equipment debugging event in the preset test environment, configuring a debugging strategy of the equipment debugging event in the debugging program, loading the equipment debugging event to the debugging program, and executing the test of the equipment debugging event through the debugging strategy.
The debugging program is a testing tool for running the device debugging event, and can be obtained by compiling in C + + language, and the debugging strategy is a testing rule and a testing mode to be followed by the device debugging event when testing.
And S5, when the test of the equipment debugging event fails, updating the equipment debugging event by using a preset event coordination mechanism, and returning to the step of testing the equipment debugging event in the preset test environment.
It should be understood that, when the test of the device debugging event fails, it indicates that the monitoring device corresponding to the device debugging event cannot normally perform the joint task, and therefore, in the embodiment of the present invention, the device debugging event is updated by using a preset event coordination mechanism, so as to ensure that the joint task of the monitoring device can be normally performed, implement dynamic adjustment of joint debugging of the monitoring device, and improve flexibility of joint debugging of the monitoring device. The preset event coordination mechanism refers to a tool for dynamically changing the fault node event in the debugging event, and can also be obtained by compiling through a script language.
As an embodiment of the present invention, the updating the device debug event by using a preset event coordination mechanism includes: and inquiring an event fault node of the equipment debugging event, and reallocating the equipment debugging task of the equipment debugging event by utilizing the preset event coordination mechanism according to the event fault node so as to update the equipment debugging event.
The event fault node refers to a specific position node where a test failure occurs when the device debugging event is tested, and can be obtained by querying a test operation record of the device debugging event.
And S6, when the device debugging event is tested successfully, obtaining a successful result of the joint debugging of the monitoring device corresponding to the device debugging event.
It should be understood that, when the device debugging event is successfully tested, it indicates that the monitoring device corresponding to the device debugging event can normally perform the joint task, and therefore, the embodiment of the present invention can directly obtain the successful result of the joint debugging of the monitoring device corresponding to the device debugging event.
According to the scheme, firstly, the monitoring equipment in the monitoring equipment set is classified according to the preset service attribute to obtain the classified monitoring equipment, the monitoring equipment with the same service attribute in the monitoring equipment set can be classified, and the processing speed of the subsequent monitoring equipment can be improved; secondly, the embodiment of the invention can clearly define the work to be executed in the classified monitoring equipment by identifying the equipment interface of the classified monitoring equipment to configure the interface task of the classified monitoring equipment, so that the subsequent joint debugging of the monitoring equipment can be ensured, and establishes a correlation view between the monitoring equipment in the classified monitoring equipment according to the interface task, establishes an equipment debugging event between the monitoring equipment in the classified monitoring equipment based on the correlation view, so as to visually display the task dependency between the monitoring equipment in the classified monitoring equipment and ensure the joint debugging efficiency of the subsequent monitoring equipment; furthermore, the embodiment of the invention can ensure that the joint task of the monitoring equipment can be normally carried out, realize the dynamic regulation of the joint debugging of the monitoring equipment, improve the flexibility of the joint debugging of the monitoring equipment and further improve the efficiency of the joint debugging of the monitoring equipment by testing the equipment debugging event, updating the equipment debugging event when the test of the equipment debugging event fails, returning to the step of testing the equipment debugging event, and obtaining the successful result of the joint debugging of the monitoring equipment corresponding to the equipment debugging event when the test of the equipment debugging event succeeds. Therefore, the joint debugging method for the monitoring equipment provided by the embodiment of the invention can improve the joint debugging efficiency of the monitoring equipment.
Example 2:
fig. 4 is a functional block diagram of the joint debugging apparatus of the monitoring device according to the present invention.
The joint debugging apparatus 400 of the monitoring device of the present invention can be installed in an electronic device. According to the implemented functions, the joint debugging apparatus of the monitoring device may include a monitoring device classifying module 401, an interface task configuring module 402, a debugging event constructing module 403, a debugging event testing module 404, a debugging event updating module 405, and a debugging result generating module 406. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the embodiment of the present invention, the functions of the modules/units are as follows:
the monitoring device classifying module 401 is configured to acquire a monitoring device set to be debugged from a preset monitoring center platform, and classify the monitoring devices in the monitoring device set according to preset service attributes to obtain classified monitoring devices;
the interface task configuration module 402 is configured to identify an equipment interface of the classified monitoring equipment, and configure an interface task of the classified monitoring equipment based on the equipment interface;
the debugging event building module 403 is configured to build an association view between the monitoring devices in the classified monitoring devices according to the interface task, and build a device debugging event between the monitoring devices in the classified monitoring devices based on the association view;
the debug event testing module 404 is configured to test the device debug event in a preset testing environment;
the debug event update module 405 is configured to update the device debug event by using a preset event coordination mechanism when the device debug event fails to be tested, and return to the step of testing the device debug event in the preset test environment;
the debugging result generating module 406 is configured to obtain a successful result of joint debugging of the monitoring device corresponding to the device debugging event when the device debugging event is successfully tested.
In detail, when the modules in the joint debugging apparatus 400 of the monitoring device in the embodiment of the present invention are used, the same technical means as the joint debugging method of the monitoring device described in fig. 1 to fig. 3 are adopted, and the same technical effect can be produced, which is not described again here.
Example 3:
fig. 5 is a schematic structural diagram of an electronic device implementing the joint debugging method for monitoring devices according to the present invention.
The electronic device may comprise a processor 50, a memory 51, a communication bus 52 and a communication interface 53, and may further comprise a computer program, such as a joint debugging program of a monitoring device, stored in the memory 51 and operable on the processor 50.
In some embodiments, the processor 50 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and includes one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, a combination of various control chips, and the like. The processor 50 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (for example, executing a joint debugging program of a monitoring device, etc.) stored in the memory 51 and calling data stored in the memory 51.
The memory 51 includes at least one type of readable storage medium including flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 51 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 51 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic device. Further, the memory 51 may also include both an internal storage unit and an external storage device of the electronic device. The memory 51 may be used not only to store application software installed in the electronic device and various types of data, such as codes of a joint debugging program of the monitoring device, but also to temporarily store data that has been output or is to be output.
The communication bus 52 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 51 and at least one processor 50 or the like.
The communication interface 53 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
Fig. 5 shows only an electronic device having components, and those skilled in the art will appreciate that the structure shown in fig. 5 does not constitute a limitation of the electronic device, and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 50 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
It is to be understood that the embodiments described are for illustrative purposes only and that the scope of the claimed invention is not limited to this configuration.
The joint debugging program of the monitoring device stored in the memory 51 of the electronic device is a combination of a plurality of computer programs, and when running in the processor 50, can realize:
acquiring a monitoring equipment set to be debugged from a preset monitoring center platform, and classifying the monitoring equipment in the monitoring equipment set according to preset service attributes to obtain classified monitoring equipment;
identifying an equipment interface of the classified monitoring equipment, and configuring an interface task of the classified monitoring equipment based on the equipment interface;
establishing a correlation view among the monitoring devices in the classified monitoring devices according to the interface task, and establishing device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view;
testing the equipment debugging event in a preset testing environment;
when the test of the equipment debugging event fails, updating the equipment debugging event by using a preset event coordination mechanism, and returning to execute the step of testing the equipment debugging event in a preset test environment;
and when the device debugging event is tested successfully, obtaining a successful result of the joint debugging of the monitoring device corresponding to the device debugging event.
Specifically, the processor 50 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the computer program, which is not described herein again.
Further, the electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a non-volatile computer-readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring a monitoring equipment set to be debugged from a preset monitoring center platform, and classifying the monitoring equipment in the monitoring equipment set according to preset service attributes to obtain classified monitoring equipment;
identifying an equipment interface of the classified monitoring equipment, and configuring an interface task of the classified monitoring equipment based on the equipment interface;
establishing a correlation view among the monitoring devices in the classified monitoring devices according to the interface task, and establishing device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view;
testing the equipment debugging event in a preset test environment;
when the test of the equipment debugging event fails, updating the equipment debugging event by using a preset event coordination mechanism, and returning to execute the step of testing the equipment debugging event in a preset test environment;
and when the device debugging event is tested successfully, obtaining a successful result of the joint debugging of the monitoring device corresponding to the device debugging event.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention 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 can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely illustrative of particular embodiments of the invention that enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A joint debugging method for monitoring equipment is characterized by comprising the following steps:
acquiring a monitoring equipment set to be debugged from a preset monitoring center platform, and classifying the monitoring equipment in the monitoring equipment set according to preset service attributes to obtain classified monitoring equipment;
identifying an equipment interface of the classified monitoring equipment, and configuring an interface task of the classified monitoring equipment based on the equipment interface;
establishing a correlation view among the monitoring devices in the classified monitoring devices according to the interface task, and establishing device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view;
testing the equipment debugging event in a preset testing environment;
when the test of the equipment debugging event fails, updating the equipment debugging event by using a preset event coordination mechanism, and returning to execute the step of testing the equipment debugging event in a preset test environment;
and when the device debugging event is tested successfully, obtaining a successful result of the joint debugging of the monitoring device corresponding to the device debugging event.
2. The method according to claim 1, wherein the classifying the monitoring devices in the monitoring device set according to a preset service attribute to obtain a classified monitoring device comprises:
identifying a device attribute of each monitoring device in the set of monitoring devices;
screening out attributes correspondingly matched with the preset service attributes from the equipment attributes to obtain target attributes;
and classifying the monitoring equipment corresponding to the target attribute by adopting a preset classification algorithm to obtain classified monitoring equipment.
3. The method according to claim 2, wherein the screening out attributes corresponding to the preset service attributes from the device attributes to obtain target attributes comprises:
respectively converting the equipment attribute and the preset service attribute into vector forms to obtain an equipment attribute vector and a service attribute vector;
and calculating the matching degree of the equipment attribute vector and the service attribute vector, and taking the equipment attribute corresponding to the equipment attribute vector as the target attribute when the matching degree is greater than a preset threshold value.
4. The method of claim 1, wherein the identifying the device interface of the categorized monitoring device comprises:
acquiring a connection port of each monitoring device in the classified monitoring devices, and inquiring port parameters of the connection ports;
and determining the interface type of the monitoring equipment according to the port parameters, and generating the equipment interface of the classified monitoring equipment according to the interface type.
5. The method of claim 1, wherein configuring interface tasks of the categorized monitoring devices based on the device interfaces comprises:
acquiring the interface type of the equipment interface, and extracting the interface function and the execution object of the classified monitoring equipment according to the interface type;
and defining the interface task of the classified monitoring equipment according to the interface function and the execution object.
6. The method according to claim 1, wherein the establishing of the association view between the monitoring devices in the classified monitoring devices according to the interface task comprises:
according to the interface task, identifying the incidence relation among the monitoring devices in the classified monitoring devices, and constructing a device node of each monitoring device in the classified monitoring devices;
and connecting the equipment nodes according to the association relationship to form an association view among the monitoring equipment in the classified monitoring equipment.
7. The method according to claim 6, wherein the constructing device commissioning events between monitoring devices of the categorized monitoring devices based on the association view comprises:
querying the monitoring equipment with the dependency relationship in the classified monitoring equipment according to the associated view to obtain target monitoring equipment, and constructing a joint task of the target monitoring equipment;
and converting the combined task into a device debugging event by adopting a preset device debugging program.
8. The method according to any one of claims 1 to 7, wherein the testing the device debug event in a preset test environment comprises:
creating a debugging program of the equipment debugging event in the preset testing environment, and configuring a debugging strategy of the equipment debugging event in the debugging program;
and after the equipment debugging event is loaded to the debugging program, executing the test of the equipment debugging event through the debugging strategy.
9. The method of claim 1, wherein the updating the device debug event using a preset event coordination mechanism comprises:
inquiring an event fault node of the equipment debugging event;
and redistributing the equipment debugging task of the equipment debugging event by utilizing the preset event coordination mechanism according to the event fault node so as to update the equipment debugging event.
10. A joint debugging apparatus for a monitoring device, the apparatus comprising:
the monitoring equipment classifying module is used for acquiring a monitoring equipment set to be debugged from a preset monitoring center platform, and classifying the monitoring equipment in the monitoring equipment set according to preset service attributes to obtain classified monitoring equipment;
the interface task configuration module is used for identifying the equipment interface of the classified monitoring equipment and configuring the interface task of the classified monitoring equipment based on the equipment interface;
the debugging event building module is used for building a correlation view among the monitoring devices in the classified monitoring devices according to the interface task and building device debugging events among the monitoring devices in the classified monitoring devices based on the correlation view;
the debugging event testing module is used for testing the equipment debugging event in a preset testing environment;
a debugging event updating module, configured to update the device debugging event by using a preset event coordination mechanism when the device debugging event fails to be tested, and return to the step of performing the test on the device debugging event in the preset test environment;
and the debugging result generation module is used for obtaining a successful result of the joint debugging of the monitoring equipment corresponding to the equipment debugging event when the equipment debugging event is tested successfully.
CN202210458701.4A 2022-04-28 2022-04-28 Joint debugging method and device for monitoring equipment Active CN114727100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210458701.4A CN114727100B (en) 2022-04-28 2022-04-28 Joint debugging method and device for monitoring equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210458701.4A CN114727100B (en) 2022-04-28 2022-04-28 Joint debugging method and device for monitoring equipment

Publications (2)

Publication Number Publication Date
CN114727100A CN114727100A (en) 2022-07-08
CN114727100B true CN114727100B (en) 2022-08-23

Family

ID=82245273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210458701.4A Active CN114727100B (en) 2022-04-28 2022-04-28 Joint debugging method and device for monitoring equipment

Country Status (1)

Country Link
CN (1) CN114727100B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941563B (en) * 2023-03-14 2023-05-02 湖南智芯微科技有限公司 Task monitoring method and device integrating multi-command platform information

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300118A (en) * 2011-09-06 2011-12-28 博威科技(深圳)有限公司 Testing system and testing method for monitoring system
CN104572449A (en) * 2014-12-23 2015-04-29 中国移动通信集团广东有限公司 Automatic test method based on case library
CN109361898A (en) * 2018-10-22 2019-02-19 浙江宇视科技有限公司 Anomalous event monitoring method and device
CN110837448A (en) * 2013-09-30 2020-02-25 Mts系统公司 Method and computing device for remote monitoring of tests performed in a test device
CN111552509A (en) * 2020-04-30 2020-08-18 深圳前海微众银行股份有限公司 Method and device for determining dependency relationship between interfaces
CN112800883A (en) * 2021-01-15 2021-05-14 广州穗能通能源科技有限责任公司 Edge box-based power behavior monitoring method and device and edge box
CN114257805A (en) * 2021-12-15 2022-03-29 上海研鼎信息技术有限公司 Method, system and medium for image acquisition and test

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9450690B2 (en) * 2011-04-27 2016-09-20 Echostar Technologies L.L.C. Systems and methods for highly scalable automated testing and monitoring of receiving devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300118A (en) * 2011-09-06 2011-12-28 博威科技(深圳)有限公司 Testing system and testing method for monitoring system
CN110837448A (en) * 2013-09-30 2020-02-25 Mts系统公司 Method and computing device for remote monitoring of tests performed in a test device
CN104572449A (en) * 2014-12-23 2015-04-29 中国移动通信集团广东有限公司 Automatic test method based on case library
CN109361898A (en) * 2018-10-22 2019-02-19 浙江宇视科技有限公司 Anomalous event monitoring method and device
CN111552509A (en) * 2020-04-30 2020-08-18 深圳前海微众银行股份有限公司 Method and device for determining dependency relationship between interfaces
CN112800883A (en) * 2021-01-15 2021-05-14 广州穗能通能源科技有限责任公司 Edge box-based power behavior monitoring method and device and edge box
CN114257805A (en) * 2021-12-15 2022-03-29 上海研鼎信息技术有限公司 Method, system and medium for image acquisition and test

Also Published As

Publication number Publication date
CN114727100A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN107015901B (en) Log analysis method and device
CN113918361A (en) Terminal control method, device, equipment and medium based on Internet of things rule engine
CN111240876A (en) Fault positioning method and device for microservice, storage medium and terminal
CN104679500B (en) Method and device for realizing automatic generation of entity class
CN114727100B (en) Joint debugging method and device for monitoring equipment
CN113806434A (en) Big data processing method, device, equipment and medium
CN115129753A (en) Data blood relationship analysis method and device, electronic equipment and storage medium
CN113434542B (en) Data relationship identification method and device, electronic equipment and storage medium
CN111488144A (en) Data processing method and equipment
CN113935663A (en) Equipment combination analysis method, device, equipment and medium for panel product
CN115561700A (en) Method and device for analyzing metering standard of direct current electric energy meter
CN114896164A (en) Interface optimization method and device, electronic equipment and storage medium
CN114385155A (en) vue project visualization tool generation method, device, equipment and storage medium
CN113656369A (en) Log distributed streaming acquisition and calculation method in big data scene
CN115022397A (en) Interface parameter simplifying method and device, electronic equipment and storage medium
CN114722927A (en) Collapse clustering method and device, electronic equipment and storage medium
CN114978964A (en) Communication announcement configuration method, device, equipment and medium based on network self-checking
CN113051171A (en) Interface test method, device, equipment and storage medium
CN114595106B (en) Service control equipment debugging method and device
CN113064797B (en) Front-end monitoring method and device, electronic equipment and storage medium
CN114564413B (en) Synchronous equipment testing method and device
CN115078952B (en) IGBT driving fault detection method and system
CN114357534B (en) Classroom training platform construction method, device, equipment and medium based on block chain
CN113419916B (en) Wind control inspection program uninterrupted operation method, device, equipment and storage medium
CN115827423A (en) Test case generation method, device, equipment and medium based on multi-scene clustering

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A joint debugging method and device for monitoring equipment

Granted publication date: 20220823

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: Jingwang Technology Co.,Ltd.

Registration number: Y2024980010366