CN114418319A - Linkage processing method, device, equipment and storage medium - Google Patents

Linkage processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114418319A
CN114418319A CN202111597470.7A CN202111597470A CN114418319A CN 114418319 A CN114418319 A CN 114418319A CN 202111597470 A CN202111597470 A CN 202111597470A CN 114418319 A CN114418319 A CN 114418319A
Authority
CN
China
Prior art keywords
service
single index
data
diagnosed
determining
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
CN202111597470.7A
Other languages
Chinese (zh)
Inventor
毛彦政
邱庆举
丁晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Shanghe Aerospace Technology Co ltd
Zhejiang Geely Holding Group Co Ltd
Zhejiang Shikong Daoyu Technology Co Ltd
Original Assignee
Qingdao Shanghe Aerospace Technology Co ltd
Zhejiang Geely Holding Group Co Ltd
Zhejiang Shikong Daoyu 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 Qingdao Shanghe Aerospace Technology Co ltd, Zhejiang Geely Holding Group Co Ltd, Zhejiang Shikong Daoyu Technology Co Ltd filed Critical Qingdao Shanghe Aerospace Technology Co ltd
Priority to CN202111597470.7A priority Critical patent/CN114418319A/en
Publication of CN114418319A publication Critical patent/CN114418319A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a linkage processing method, a device, equipment and a storage medium, wherein the method comprises the following steps: determining an object to be subjected to service diagnosis and a service to be diagnosed; acquiring a corresponding joint diagnosis rule according to a service to be diagnosed, and determining a target single index included in the joint diagnosis rule; acquiring a state corresponding to a target single index of an object from a message queue; determining a joint diagnosis result according to the state corresponding to the target single index and a joint diagnosis rule based on a streaming data processing engine; and executing linkage processing operation related to the service to be diagnosed on the object according to the joint diagnosis result. According to the scheme, the state corresponding to the target single index of the object is directly obtained from the message queue, so that the data processing time is shortened, and the data processing time is further shortened by adopting a streaming data processing engine; and the message queue comprises different service index data of different objects, so that the method is suitable for various service scenes.

Description

Linkage processing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a linkage processing method, a linkage processing device, linkage processing equipment and a storage medium.
Background
With the development of the technology, a complex service scene of the internet of things can relate to joint state diagnosis of various devices. For example, in a smart agriculture scenario, it is necessary to combine multiple factors such as temperature, humidity, and historical irrigation time in a field to determine whether to activate an irrigation switch and estimate irrigation duration.
In the existing scene for performing decision processing by integrating various state parameters, a customized processing scheme is generally written for each service scene, and decision processing is performed on an object in the service scene by using periodically acquired state data in combination with the customized processing scheme. When the method faces complex service scenes, the development workload is large and not universal, and the periodic processing mode is not suitable for scenes with high real-time requirements.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. To this end, a first aspect of the present invention provides a linkage processing method, including:
determining an object to be subjected to service diagnosis and a service to be diagnosed;
based on a streaming data processing engine, acquiring a corresponding joint diagnosis rule according to the service to be diagnosed, and determining a target single index included in the joint diagnosis rule;
acquiring a state corresponding to a target single index of the object from a message queue;
determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule;
and executing linkage processing operation related to the service to be diagnosed on the object according to the joint diagnosis result.
Optionally, before determining the object to be service diagnosed and the service to be diagnosed, the method further includes:
receiving real-time detection data of a plurality of objects collected by a plurality of sensing devices from a message queue;
processing the real-time detection data according to a preset service index configuration rule to obtain single index data of each object;
determining the state corresponding to the single index data according to a preset single diagnosis rule;
and sending the state corresponding to the single index data of each object to a message queue.
Optionally, the service index configuration rule includes an object and index name field, an associated sensing device field, and an associated parameter field, and the processing the real-time detection data according to the preset service index configuration rule includes:
acquiring a business index configuration rule corresponding to the object;
acquiring at least one single index data of the object according to the associated sensing equipment field information and the associated parameter field information in the service index configuration rule;
and storing the single index data in a data packet corresponding to the object and the index name.
Optionally, the performing, according to the joint diagnosis result, an interlocking processing operation on the service to be diagnosed on the object includes:
acquiring a linkage processing strategy pre-configured for the joint diagnosis result;
and controlling corresponding equipment to execute target operation according to the linkage processing strategy, wherein the target operation is associated with the object and the service to be diagnosed.
Optionally, after determining the combined diagnosis result, the method further comprises: and sending a notification message to the target terminal.
A second aspect of the present invention provides a linkage processing apparatus, including:
the diagnosis determining module is used for determining an object to be subjected to service diagnosis and a service to be diagnosed;
the single index determining module is used for acquiring a corresponding joint diagnosis rule according to the service to be diagnosed based on a streaming data processing engine and determining a target single index included by the joint diagnosis rule;
the state acquisition module is used for acquiring the state corresponding to the target single index of the object from the message queue;
the diagnosis module is used for determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule;
and the execution module is used for executing linkage processing operation related to the service to be diagnosed on the object according to the combined diagnosis result.
Optionally, the apparatus further comprises:
the receiving module is used for receiving real-time detection data of a plurality of objects collected by a plurality of sensing devices from the message queue;
the processing module is used for processing the real-time detection data according to a preset service index configuration rule to obtain single index data of each object;
the state determining module is used for determining the state corresponding to the single index data according to a preset single diagnosis rule;
and the sending module is used for sending the state corresponding to the single index data of each object to a message queue.
Optionally, the service indicator configuration rule includes an object and indicator name field, an associated sensing device field, and an associated parameter field, and the processing module is specifically configured to:
acquiring a business index configuration rule corresponding to the object;
acquiring at least one single index data of the object according to the associated sensing equipment field information and the associated parameter field information in the service index configuration rule;
and storing the single index data in a data packet corresponding to the object and the index name.
Optionally, the execution module is specifically configured to:
acquiring a linkage processing strategy pre-configured for the joint diagnosis result;
and controlling corresponding equipment to execute target operation according to the linkage processing strategy, wherein the target operation is associated with the object and the service to be diagnosed.
Optionally, the apparatus further comprises: and the notification module is used for sending a notification message to the target terminal.
A third aspect of the present invention provides an apparatus comprising a processor and a memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the linkage processing method according to the first aspect.
A fourth aspect of the present invention provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the linkage processing method according to the first aspect.
According to the specific embodiment provided by the invention, the invention has the following technical effects:
the linkage processing method provided by the embodiment of the invention determines the object to be subjected to service diagnosis and the service to be diagnosed; based on a streaming data processing engine, acquiring a corresponding joint diagnosis rule according to the service to be diagnosed, and determining a target single index included in the joint diagnosis rule; acquiring a state corresponding to a target single index of the object from a message queue; determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule; and executing linkage processing operation related to the service to be diagnosed on the object according to the joint diagnosis result. According to the scheme, the state corresponding to the target single index of the object is directly obtained from the message queue, the steps of obtaining single index data and calculating the single index state are omitted, the data processing time is shortened, and the data processing time is further shortened and the real-time performance is improved by adopting the streaming data processing engine; and, because the message queue includes different service index data of different objects, make this method suitable for many kinds of service scenes.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiment or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art it is also possible to derive other drawings from these drawings without inventive effort.
Fig. 1 is a flowchart illustrating steps of a linkage processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of another linkage processing method according to an embodiment of the present invention;
fig. 3 is a block diagram of a linkage processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Fig. 1 is a flowchart of a linkage processing method according to an embodiment of the present invention. The present specification provides method steps as described in the examples or flowcharts, but more or fewer steps may be included based on routine or non-invasive labor. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures.
The method may comprise the steps of:
step 101, determining an object to be subjected to service diagnosis and a service to be diagnosed.
The embodiment of the invention mainly aims at Internet of things projects such as intelligent agriculture, intelligent fishery, unmanned aerial vehicle control and the like for acquiring the state of the Internet of things terminal equipment and controlling the operation of the Internet of things terminal equipment through a mobile communication network.
The monitoring and diagnosis of the equipment state directly influences the production, operation and economic benefits of enterprises. The method has the advantages that the equipment state can be effectively diagnosed in real time, reasonable maintenance decisions can be made in time when the equipment state changes, loss is avoided, and equipment operation is enabled to develop towards an expected state.
For example, in a smart agricultural scenario, it is necessary to determine whether to activate an irrigation switch, determine the duration of irrigation, and the like, in combination with various factors such as the temperature, humidity, and historical irrigation time of an agricultural park.
In an unmanned aerial vehicle control scene, whether the unmanned aerial vehicle needs to change direction, redetermine a flight route and the like is determined by combining various factors such as longitude and latitude, flight height, electric quantity, flight attitude, flight speed, barriers and the like where the unmanned aerial vehicle is currently located.
In the embodiment of the present invention, the object to be subjected to service diagnosis refers to the above-mentioned terminal equipment of the internet of things such as the agricultural park and the unmanned aerial vehicle, and the service to be diagnosed refers to the judgment of the service associated with the terminal equipment of the internet of things or the self-state thereof, for example, the service to be diagnosed may be whether the agricultural park starts an irrigation switch or not, determines the irrigation duration, or may be whether the unmanned aerial vehicle needs to change directions, redetermine the flight route, and the like.
And 102, acquiring a corresponding joint diagnosis rule according to the service to be diagnosed based on a streaming data processing engine, and determining a target single index included in the joint diagnosis rule.
The stream data processing engine is a general stream computing engine framework aiming at real-time data processing, has the characteristics of high throughput, low delay and fault tolerance, and supports high concurrency, high-level semantics and complex event processing functions. In particular, the streaming data processing engine may be a flink (frienk).
The embodiment of the invention adopts the Flink to execute the data processing, the Flink is an open source stream processing framework developed by Apache software foundation, and the core of the flank is a distributed stream data stream engine written by Java and Scala. The Flink executes any stream data program in a data parallel and pipeline mode, so that the data processing efficiency can be obviously improved, and the requirement on real-time performance is met.
The service to be diagnosed and the joint diagnosis rule have a one-to-one corresponding relation, and different service to be diagnosed correspond to different joint diagnosis rules. The corresponding relation can be set in the memory of the server, and the corresponding joint diagnosis rule can be called according to the service to be diagnosed.
The joint diagnosis rule is used for performing joint diagnosis on the object to be subjected to business diagnosis. The joint diagnosis rule includes: the service of the joint diagnosis, the state of the single index of the object and the joint diagnosis expression.
For example, the business of joint diagnosis may be whether a region of a blueberry garden needs irrigation, and the state of individual indexes of the subject may be: whether the temperature of the first blueberry garden area is greater than X, the humidity of the first blueberry garden area is less than Y and the soil humidity of the first blueberry garden area is less than Z, and the combined diagnosis expression can be a logic expression of the state of the single index connected by the equal or unequal symbols.
And reading the joint diagnosis rule, acquiring the state of the single index of the object included in the joint diagnosis rule, and determining the single index of the object as a target single index.
The target single index comprises an object to be diagnosed and a single index name. For example, the target singles index may be: the temperature of the first blueberry garden area, the humidity of the first blueberry garden area and the soil humidity of the first blueberry garden area.
And 103, acquiring the state corresponding to the target single index of the object from the message queue.
The message queue comprises real-time single index state data of a plurality of objects. The single index state data is obtained by calculating the real-time single index data according to a single diagnosis rule.
The server can obtain real-time single index data of a plurality of objects, rapidly calculate the single index data through the streaming data processing engine to obtain real-time state data, store the state data in the Hbase database for backup on one hand, and send the state data to a message queue for the next step in order to meet the real-time requirement on the other hand.
Therefore, the state data corresponding to the target single index of the object to be diagnosed can be directly acquired from the message queue.
In the conventional method, in service diagnosis, a target single index included in a joint diagnosis rule is determined, target single index data is periodically acquired from corresponding sensor equipment, and a corresponding state of the single index is calculated according to the single diagnosis rule.
In the embodiment of the invention, the server acquires all real-time single index data acquired by the sensors in advance, calculates all the single index data according to a single diagnosis rule by using the streaming data processing engine to obtain the state corresponding to the single index, and then sends the state data corresponding to the single index of each object to the message queue, namely the message queue comprises the real-time state data of each single index of each object. Therefore, when the business diagnosis of the object is needed, the real-time state data is directly acquired, the steps of acquiring and calculating single index data are avoided, and the execution efficiency of the business diagnosis is improved.
And the streaming data processing engine sends the processing result to the message queue for the next step to use after calculating the data each time, and stores the processing result in the database for backup. In the invention, the data source of each calculation step is a message queue, so that the next event processing is driven by data flow, and the real-time performance of data processing is improved.
In addition, the message queue stores the state data of each single index of each object, and when any service of any object is diagnosed, the data can be directly called from the message queue, so that the universality of different service scenes is realized. Compared with the processing method for compiling each service scene in the prior art in a customized manner, the method and the device have the advantages that the development workload is small, the universality of different service scenes is realized, the calculation processing time is saved, the real-time performance is high, and the data processing efficiency is improved.
And 104, determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule.
Substituting the state of the target single index object obtained in step 103 into the joint diagnosis rule, and performing logical operation on each target single index state data to obtain a joint diagnosis result.
For example, if the joint diagnostic rule is: if (the temperature of the first blueberry garden area is higher than X) and (the humidity of the first blueberry garden area is lower than Y) and (the soil humidity of the first blueberry garden area is lower than Z), the first blueberry garden area needs to be irrigated.
And then, judging whether the three conditions are simultaneously met according to the target single index state data, if so, obtaining a combined diagnosis result that the first region of the blueberry garden needs to be irrigated, and if one condition is not met, obtaining a combined diagnosis result that the first region of the blueberry garden does not need to be irrigated.
And 105, executing linkage processing operation related to the service to be diagnosed on the object according to the joint diagnosis result.
Specifically, the operation rule of the linkage processing operation may be configured in advance. The operation rule of the linkage processing may include an operation type, an operation device, operation contents, and the like. The operation rule corresponds to the object to be diagnosed, the service to be diagnosed and the joint diagnosis result.
After the joint diagnosis result of the service to be diagnosed of the object to be diagnosed is obtained, the corresponding operation rule of the linkage processing can be determined, and then the specified program is triggered and executed according to the set rule.
The linkage processing operation may include controlling the other device to execute a preset program or triggering itself to execute the preset program. For example, for a server in a first blueberry garden area, irrigation equipment in the first blueberry garden area can be controlled to open a switch; for unmanned aerial vehicles, can trigger self steering device to adjust the direction of flight.
In summary, the linkage processing method provided by the embodiment of the present invention determines an object to be subjected to service diagnosis and a service to be diagnosed; based on a streaming data processing engine, acquiring a corresponding joint diagnosis rule according to the service to be diagnosed, and determining a target single index included in the joint diagnosis rule; acquiring a state corresponding to a target single index of the object from a message queue; determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule; and executing linkage processing operation related to the service to be diagnosed on the object according to the joint diagnosis result. According to the scheme, the state corresponding to the target single index of the object is directly obtained from the message queue, the steps of obtaining single index data and calculating the single index state are omitted, the data processing time is shortened, and the data processing time is further shortened and the real-time performance is improved by adopting the streaming data processing engine; and, because the message queue includes different service index data of different objects, make this method suitable for many kinds of service scenes.
Fig. 2 is a flowchart of another linkage processing method according to an embodiment of the present invention.
Step 201, receiving real-time detection data of a plurality of objects collected by a plurality of sensing devices from a message queue.
The method comprises the following steps that a plurality of sensor devices are installed inside an object to be diagnosed, and the state data of the device to be diagnosed are collected; or the plurality of sensor devices are arranged in the environment area where the object to be diagnosed is located, and the environment data of the area around the device to be diagnosed is acquired.
For example, the inertial navigation sensor is installed inside the unmanned aerial vehicle and used for acquiring flight attitude data of the unmanned aerial vehicle; the temperature sensor and the humidity sensor are arranged in a space area of the first blueberry garden area, and temperature and humidity data of the space where the first blueberry garden area is located are collected.
The data collected by the sensor is transmitted to the server in a message queue mode.
A message queue is a container that holds messages during their transmission. The message queue manager acts as a man-in-the-middle in relaying a message from its source to its destination. The main purpose of the queues is to provide routing and guarantee delivery of messages; if the recipient is not available when the message is sent, the message queue will hold the message until it can be successfully delivered.
And the message queue is adopted to receive data, so that the real-time performance and reliability of data transmission can be ensured. The server can store the received real-time detection data into a Hadoop Database (Hbase), wherein the Hbase is a distributed storage system with high reliability, high performance, column-oriented performance and scalability.
Step 202, processing the real-time detection data according to a preset service index configuration rule to obtain single index data of each object.
The business index configuration rule is mainly the corresponding relation between the index name and the index source, and the index source is the sensor identifier and the parameter identifier from which the data information corresponding to the index name comes. The business index configuration rule may be stored in a data table, where the data table includes a plurality of business index configuration rules for indicating the source of each individual index data of each object.
And after the real-time detection data is acquired, converting the real-time detection data into a plurality of single index data according to a service index configuration rule.
For example, the server may receive detection data from air sensors in multiple zones, and convert the detection data into a data file named: the single index data such as the temperature data in the first blueberry garden area, the humidity data in the first blueberry garden area, the temperature data in the second blueberry garden area, the humidity data in the second blueberry garden area and the like.
Optionally, the service indicator configuration rule includes an object and indicator name field, an associated sensing device field, and an associated parameter field, and the processing of the real-time detection data according to the preset service indicator configuration rule includes the following steps a 1-A3:
a1, acquiring a business index configuration rule corresponding to the object;
a2, acquiring at least one single index data of the object according to the associated sensing equipment field information and the associated parameter field information in the service index configuration rule;
and A3, storing the single index data in a storage area corresponding to the object and the index name.
In step a1-A3, the service index configuration rule includes an object and an index name field, and the service index configuration rule corresponding to the current object can be obtained accordingly. And then acquiring a plurality of single index data belonging to the object from a large amount of detection data according to the field information of the associated sensing equipment and the field information of the associated parameters, and storing the single index data in a storage area corresponding to the Hbase for the convenience of subsequent calling.
And 203, determining the corresponding state of the single index data according to a preset single diagnosis rule.
The single diagnosis rule comprises information such as a single index, a single diagnosis expression, a diagnosis threshold value and the like, the single index is operated through the single diagnosis expression, and the operation result is compared with the diagnosis threshold value to obtain the state of the single index.
For example, a single index: the temperature of 8 points of the first blueberry garden is 25 ℃, the temperature of 14 points of the first blueberry garden is 33 ℃, and the temperature of 21 points of the first blueberry garden is 27 ℃, and the single diagnosis expression comprises the following components: average (), diagnostic threshold: 30 degrees. And (4) operating the single index through the single diagnostic expression to obtain an operation result of 28.3 degrees. Comparing the operation result of 28.3 degrees with 30 degrees, and obtaining the state of the single index as follows: the average temperature of the first blueberry garden area is less than 30 ℃.
And step 204, sending the state corresponding to the single index data of each object to a message queue.
And each time the streaming data processing engine finishes calculating the state corresponding to the single index data, the streaming data processing engine sends the state data to the message queue for the next step. The invention drives the next event processing through the data stream to realize the real-time stream processing.
In the message queue, the corresponding state of each single index data can be stored according to the format of the object and the index name, so that the subsequent calling in the joint diagnosis is facilitated.
Step 205, determining an object to be subjected to service diagnosis and a service to be diagnosed;
in the embodiment of the present invention, step 205 may refer to step 101, and is not described herein again.
And step 206, based on the streaming data processing engine, acquiring a corresponding joint diagnosis rule according to the service to be diagnosed, and determining a target single index included in the joint diagnosis rule.
In the embodiment of the present invention, step 206 may refer to step 102, which is not described herein again.
And step 207, acquiring the state corresponding to the target single index of the object from the message queue.
In the embodiment of the present invention, step 207 may refer to step 103, which is not described herein again.
And 208, determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule.
In the embodiment of the present invention, step 208 may refer to step 104, which is not described herein again.
And 209, acquiring a linkage processing strategy pre-configured for the joint diagnosis result.
In the embodiment of the present invention, step 209 may refer to step 105, which is not described herein again.
And step 210, controlling corresponding equipment to execute target operation according to the linkage processing strategy, wherein the target operation is associated with the object and the service to be diagnosed.
Step 211, sending a notification message to the target terminal.
The terminal equipment and the notification mode which need to notify the joint diagnosis result can be preset according to the joint diagnosis result, so that the management personnel can obtain the diagnosis result in time. The notification means may include mail, short message, WeChat, nail message, voice call, etc.
In summary, the linkage processing method in fig. 2 has the beneficial effects of the linkage processing method in fig. 1, and also receives data by using the message queue, so that the real-time performance and reliability of data transmission can be ensured. Moreover, the real-time detection data are processed according to a preset service index configuration rule, and the service index configuration rule is preset in advance, so that the data processing efficiency can be improved, and the calculation result can ensure the real-time performance; in addition, the state corresponding to the single index data is determined according to the preset single diagnosis rule, and the state corresponding to the single index data is sent to the message queue, so that follow-up efficient calling can be conveniently carried out according to the object and the index name, and the data processing efficiency is further improved.
Fig. 3 is a block diagram of a linkage processing device according to an embodiment of the present invention.
As shown in fig. 3, the linkage processing device 300 includes:
a diagnosis determining module 301, configured to determine an object to be subjected to service diagnosis and a service to be diagnosed;
a single-index determining module 302, configured to obtain, based on a streaming data processing engine, a corresponding joint diagnosis rule according to the service to be diagnosed, and determine a target single index included in the joint diagnosis rule;
a state obtaining module 303, configured to obtain a state corresponding to the target single indicator of the object from the message queue;
the diagnosis module 304 is used for determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule;
and the execution module 305 is configured to execute linkage processing operation on the service to be diagnosed on the object according to the joint diagnosis result.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In yet another embodiment provided by the present invention, an apparatus is also provided, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the linkage processing method in the embodiment of the present invention.
In yet another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the linkage processing method in the embodiment of the present invention.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A method of linkage processing, the method comprising:
determining an object to be subjected to service diagnosis and a service to be diagnosed;
based on a streaming data processing engine, acquiring a corresponding joint diagnosis rule according to the service to be diagnosed, and determining a target single index included in the joint diagnosis rule;
acquiring a state corresponding to a target single index of the object from a message queue;
determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule;
and executing linkage processing operation related to the service to be diagnosed on the object according to the joint diagnosis result.
2. The method according to claim 1, wherein before determining the subject to be business diagnosed and the business to be diagnosed, further comprising:
receiving real-time detection data of a plurality of objects collected by a plurality of sensing devices from a message queue;
processing the real-time detection data according to a preset service index configuration rule to obtain single index data of each object;
determining the state corresponding to the single index data according to a preset single diagnosis rule;
and sending the state corresponding to the single index data of each object to a message queue.
3. The method of claim 2, wherein the service indicator configuration rule includes an object and indicator name field, an associated sensing device field, and an associated parameter field, and wherein the processing the real-time detection data according to the preset service indicator configuration rule includes:
acquiring a business index configuration rule corresponding to the object;
acquiring at least one single index data of the object according to the associated sensing equipment field information and the associated parameter field information in the service index configuration rule;
and storing the single index data in a data packet corresponding to the object and the index name.
4. The method according to any one of claims 1 to 3, wherein the performing of the linkage processing operation on the service to be diagnosed on the object according to the joint diagnosis result comprises:
acquiring a linkage processing strategy pre-configured for the joint diagnosis result;
and controlling corresponding equipment to execute target operation according to the linkage processing strategy, wherein the target operation is associated with the object and the service to be diagnosed.
5. The method of any one of claims 1-4, further comprising, after determining the combined diagnostic result: and sending a notification message to the target terminal.
6. A linkage processing apparatus, characterized in that the apparatus comprises:
the diagnosis determining module is used for determining an object to be subjected to service diagnosis and a service to be diagnosed;
the single index determining module is used for acquiring a corresponding joint diagnosis rule according to the service to be diagnosed based on a streaming data processing engine and determining a target single index included by the joint diagnosis rule;
the state acquisition module is used for acquiring the state corresponding to the target single index of the object from the message queue;
the diagnosis module is used for determining a joint diagnosis result according to the state corresponding to the target single index and the joint diagnosis rule;
and the execution module is used for executing linkage processing operation related to the service to be diagnosed on the object according to the combined diagnosis result.
7. The apparatus of claim 6, further comprising:
the receiving module is used for receiving real-time detection data of a plurality of objects collected by a plurality of sensing devices from the message queue;
the processing module is used for processing the real-time detection data according to a preset service index configuration rule to obtain single index data of each object;
the state determining module is used for determining the state corresponding to the single index data according to a preset single diagnosis rule;
and the sending module is used for sending the state corresponding to the single index data of each object to a message queue.
8. The apparatus of claim 7, wherein the service indicator configuration rule includes an object and indicator name field, an associated sensing device field, and an associated parameter field, and wherein the processing module is specifically configured to:
acquiring a business index configuration rule corresponding to the object;
acquiring at least one single index data of the object according to the associated sensing equipment field information and the associated parameter field information in the service index configuration rule;
and storing the single index data in a data packet corresponding to the object and the index name.
9. The apparatus according to any one of claims 6 to 8, wherein the execution module is specifically configured to:
acquiring a linkage processing strategy pre-configured for the joint diagnosis result;
and controlling corresponding equipment to execute target operation according to the linkage processing strategy, wherein the target operation is associated with the object and the service to be diagnosed.
10. The apparatus of any of claims 6-9, further comprising:
and the notification module is used for sending a notification message to the target terminal.
11. An apparatus comprising a processor and a memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement a linkage processing method according to any one of claims 1-5.
12. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by a processor to implement the linkage processing method according to any one of claims 1-5.
CN202111597470.7A 2021-12-24 2021-12-24 Linkage processing method, device, equipment and storage medium Pending CN114418319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111597470.7A CN114418319A (en) 2021-12-24 2021-12-24 Linkage processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111597470.7A CN114418319A (en) 2021-12-24 2021-12-24 Linkage processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114418319A true CN114418319A (en) 2022-04-29

Family

ID=81267189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111597470.7A Pending CN114418319A (en) 2021-12-24 2021-12-24 Linkage processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114418319A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186107A (en) * 2022-12-19 2023-05-30 中兴通讯股份有限公司 Service data processing method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217691A (en) * 2020-02-19 2021-01-12 杜义平 Network diagnosis processing method and device based on cloud platform
CN113760671A (en) * 2020-10-19 2021-12-07 北京沃东天骏信息技术有限公司 Online task diagnosis method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217691A (en) * 2020-02-19 2021-01-12 杜义平 Network diagnosis processing method and device based on cloud platform
CN113760671A (en) * 2020-10-19 2021-12-07 北京沃东天骏信息技术有限公司 Online task diagnosis method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186107A (en) * 2022-12-19 2023-05-30 中兴通讯股份有限公司 Service data processing method, device, equipment and storage medium
CN116186107B (en) * 2022-12-19 2024-06-11 中兴通讯股份有限公司 Service data processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109278674B (en) Unmanned vehicle system safety detection method, device, equipment and storage medium
EP3941022A1 (en) Systems and methods for storage-efficient sensors
WO2020181729A1 (en) Path planning method employing distributed parallel computation and system thereof
CN111966289B (en) Partition optimization method and system based on Kafka cluster
JP2018007245A (en) Data transmission system and data transmission method
WO2020191790A1 (en) System and method for improving road safety and/or management
CN110971488A (en) Data processing method, device, server and storage medium
US9212921B1 (en) Determining problematic travel conditions
US10616363B2 (en) Constraint based signal for intelligent and optimized end user mobile experience enhancement
JPWO2020153171A1 (en) Information processing device
CN114418319A (en) Linkage processing method, device, equipment and storage medium
CN106658401A (en) Out-of-control unmanned aerial vehicle initiative retrieving method and system
CN111752297B (en) Unmanned aerial vehicle flight control method and related device
CN112732591B (en) Edge computing framework for cache deep learning
EP3835975A1 (en) Data transmission method and device
CN115883330B (en) Alarm event processing method, system, equipment and storage medium
JPWO2020153170A1 (en) Information processing device
US20190052717A1 (en) Communication system, edge server, method, and storage medium
CN108989977A (en) A kind of statistical method of driver's client online hours
JP2015232820A (en) Server apparatus, information sharing system, information sharing method and program
US10755490B2 (en) Data broker engine for managing data exchanges between on-board and off-board systems
CN110443910B (en) Method, system, device and storage medium for monitoring state of unmanned device
CN110896545B (en) Online charging roaming fault positioning method, related device and storage medium
CN104767799A (en) Cloud monitoring service system
CN104796457A (en) Data service method and terminals

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