CN111913838A - Analysis node starting method and device, electronic equipment and storage medium - Google Patents

Analysis node starting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111913838A
CN111913838A CN201910376283.2A CN201910376283A CN111913838A CN 111913838 A CN111913838 A CN 111913838A CN 201910376283 A CN201910376283 A CN 201910376283A CN 111913838 A CN111913838 A CN 111913838A
Authority
CN
China
Prior art keywords
node
target
analysis
starting
analysis node
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.)
Granted
Application number
CN201910376283.2A
Other languages
Chinese (zh)
Other versions
CN111913838B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910376283.2A priority Critical patent/CN111913838B/en
Priority claimed from CN201910376283.2A external-priority patent/CN111913838B/en
Publication of CN111913838A publication Critical patent/CN111913838A/en
Application granted granted Critical
Publication of CN111913838B publication Critical patent/CN111913838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides an analysis node starting method, an analysis node starting device, electronic equipment and a storage medium, wherein starting resources of the analysis node are stored in a main control node; when the target analysis node is powered on and started, the target analysis node sends request information to the main control node; after acquiring the request information of the target analysis node, the master control node returns response information to the target analysis node; the target analysis node acquires response information, and when the response information represents starting, the target analysis node downloads a target starting resource corresponding to the target analysis node from the main control node; and the target analysis node is started through the target starting resource. Starting resources of analysis nodes using intelligent chips of different manufacturers are stored in the main control node, the analysis nodes acquire the starting resources corresponding to the analysis nodes through interaction with the main control node, and then the starting is carried out, so that the chips of multiple manufacturers are supported in the same distributed intelligent analysis equipment.

Description

Analysis node starting method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for starting an analysis node, an electronic device, and a storage medium.
Background
With the development of science and technology, intelligent analysis technology is gradually developed. In practical applications, in view of mutual independence of the intelligent analysis chips of different manufacturers, manufacturers of third-party intelligent analysis devices generally only use the intelligent analysis chip of one manufacturer in one type of intelligent analysis device, but the advantages and the disadvantages of the intelligent analysis chips of different manufacturers are different, and with the increase of complexity of the intelligent analysis task, the manufacturers of third-party intelligent analysis devices want to be able to support the chips of multiple manufacturers in the same intelligent analysis device, so how to support the chips of multiple manufacturers in the same intelligent analysis device becomes an urgent problem to be solved.
Disclosure of Invention
An object of the embodiments of the present application is to provide an analysis node starting method, an analysis node starting device, an electronic device, and a storage medium, so as to implement that a same distributed intelligent analysis device supports chips of multiple manufacturers. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an analysis node starting method, which is applied to a distributed intelligent analysis device, where the distributed intelligent analysis device includes a master control node and multiple analysis nodes, and a starting resource of the analysis node is stored in the master control node, where the method includes:
when a target analysis node is powered on and started, the target analysis node sends request information to the master control node;
after acquiring the request information of the target analysis node, the master control node returns response information to the target analysis node;
the target analysis node acquires the response information, and when the response information represents the starting, the target analysis node downloads a target starting resource corresponding to the target analysis node from the main control node;
and the target analysis node is started through the target starting resource.
Optionally, the request information of the target analysis node includes a type of the target analysis node;
after acquiring the request information of the target analysis node, the master control node returns response information to the target analysis node, including:
after the main control node acquires the request information of the target analysis node, judging whether a target starting resource corresponding to the target analysis node is stored in the main control node according to the type of the target analysis node;
and when the target starting resources corresponding to the target analysis node are stored in the main control node, the main control node returns response information representing starting to the target analysis node.
Optionally, after the main control node obtains the request information of the target analysis node, and according to the type of the target analysis node, determining whether the target start resource corresponding to the target analysis node is stored in the main control node, where the method further includes:
and when the target starting resource corresponding to the target analysis node is not stored in the main control node, the main control node returns response information representing errors to the target analysis node.
Optionally, after the master node returns response information representing an error to the target analysis node, the method further includes:
and the master control node generates target alarm information, wherein the target alarm information represents that target starting resources corresponding to the target analysis node are lacked in the master control node.
Optionally, when the response information represents the starting, the response information further includes a stream-taking address of the target starting resource corresponding to the target analysis node;
the target analysis node downloads the target starting resource corresponding to the target analysis node from the main control node, and the method comprises the following steps:
and the target analysis node downloads the target starting resource corresponding to the target analysis node from the main control node according to the stream taking address.
Optionally, the method further includes:
the master control node acquires resource adding information, wherein the resource adding information comprises a starting resource to be added and the type of an analysis node corresponding to the starting resource to be added;
and the master control node stores the starting resources to be added according to the resource adding information and marks the types of the analysis nodes corresponding to the starting resources to be added.
In a second aspect, an embodiment of the present application provides an analysis node starting apparatus, which is applied to a distributed intelligent analysis device, where the distributed intelligent analysis device includes a master control node and a plurality of analysis nodes, and the master control node stores starting resources of the analysis nodes, and the apparatus includes:
the request information sending module is used for sending request information to the main control node through the target analysis node when the target analysis node is powered on and started;
the response information sending module is used for returning response information to the target analysis node through the main control node after the main control node acquires the request information of the target analysis node;
a starting resource downloading module, configured to obtain the response information through the target analysis node, and when the response information represents starting, download, by using the target analysis node, a target starting resource corresponding to the target analysis node from the master control node;
and the analysis node starting module is used for starting through the target starting resource by utilizing the target analysis node.
Optionally, the request information of the target analysis node includes a type of the target analysis node;
the response information sending module comprises:
the target resource judging submodule is used for judging whether the main control node stores the target starting resource corresponding to the target analysis node or not according to the type of the target analysis node after the main control node acquires the request information of the target analysis node;
and the starting information returning submodule is used for returning response information representing starting to the target analysis node through the main control node when the target starting resource corresponding to the target analysis node is stored in the main control node.
Optionally, the response information sending module further includes:
and the error information returning submodule is used for returning response information representing errors to the target analysis node through the main control node when the target starting resource corresponding to the target analysis node is not stored in the main control node.
Optionally, the analysis node starting apparatus in the embodiment of the present application further includes:
and the alarm information generation module is used for generating target alarm information through the main control node, wherein the target alarm information represents that target starting resources corresponding to the target analysis node are lacked in the main control node.
Optionally, when the response information represents the starting, the response information further includes a stream-taking address of the target starting resource corresponding to the target analysis node;
the starting resource downloading module is specifically configured to:
and acquiring the response information through the target analysis node, and downloading the target starting resource corresponding to the target analysis node from the main control node according to the stream taking address when the response information represents starting.
Optionally, the analysis node starting apparatus in the embodiment of the present application further includes:
the adding information acquisition module is used for acquiring resource adding information through the master control node, wherein the resource adding information comprises a starting resource to be added and the type of an analysis node corresponding to the starting resource to be added;
and the starting resource adding module is used for storing the starting resources to be added and marking the types of the analysis nodes corresponding to the starting resources to be added by utilizing the master control node according to the resource adding information.
In a third aspect, an embodiment of the present application provides an electronic device, including a main control node and a plurality of analysis nodes, where a start resource of the analysis node is stored in the main control node;
the analysis node is configured to: when the analysis node is electrified and started, request information is sent to the main control node;
the master control node is configured to: after the request information of the analysis node is acquired, response information is returned to the analysis node;
the analysis node is further configured to: acquiring the response information, and downloading a target starting resource corresponding to the analysis node from the main control node by the analysis node when the response information represents starting; and the analysis node is started through the target starting resource.
Optionally, the request information of the analysis node includes a type of the analysis node;
the master control node is specifically configured to: after the request information of the analysis node is acquired, judging whether a target starting resource corresponding to the analysis node is stored in the main control node according to the type of the analysis node; and when the target starting resource corresponding to the analysis node is stored in the main control node, returning response information representing starting to the analysis node.
Optionally, the master node is further configured to: and when the target starting resource corresponding to the analysis node is not stored in the main control node, returning response information representing errors to the analysis node.
Optionally, the master node is further configured to: and generating target alarm information, wherein the target alarm information represents that the target starting resources corresponding to the analysis nodes are lacked in the main control nodes.
Optionally, when the response information represents the starting, the response information further includes a stream fetching address of the target starting resource corresponding to the analysis node;
the analysis node is specifically configured to: and downloading the target starting resource corresponding to the analysis node from the main control node according to the stream taking address.
Optionally, the master node is further configured to: acquiring resource adding information, wherein the resource adding information comprises a starting resource to be added and the type of an analysis node corresponding to the starting resource to be added; and storing the starting resources to be added according to the resource adding information and marking the types of the analysis nodes corresponding to the starting resources to be added.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method for starting an analysis node according to any of the first aspects is implemented.
According to the method and the device for starting the analysis node, the electronic equipment and the storage medium, the main control node stores the starting resource of the analysis node; when the target analysis node is powered on and started, the target analysis node sends request information to the main control node; after acquiring the request information of the target analysis node, the master control node returns response information to the target analysis node; the target analysis node acquires response information, and when the response information represents starting, the target analysis node downloads a target starting resource corresponding to the target analysis node from the main control node; and the target analysis node is started through the target starting resource. The starting resources of the analysis nodes using the intelligent chips of different manufacturers are stored in the master control node, the analysis nodes acquire the starting resources corresponding to the analysis nodes through interaction with the master control node and then are started, so that the chips of multiple manufacturers are supported in the same distributed intelligent analysis equipment, the distributed intelligent analysis equipment has better expansibility and compatibility, the analysis nodes of the intelligent chips of different manufacturers can be mixed and inserted, and when the intelligent chips of new manufacturers are introduced, only the corresponding starting resources are required to be added into the master control node, so that the compatibility is high. Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application 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, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an analysis node starting method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a distributed intelligent analysis apparatus according to an embodiment of the present application;
fig. 3 is another schematic diagram of an analysis node starting method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an analysis node activation apparatus according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic diagram of information interaction between a master node and an analysis node according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, many chip manufacturers in the market release their own intelligent analysis chips, so that there are situations where chips of manufacturers a and B, or even C, are purchased at the same time and applied to equipment analysis nodes. Therefore, there are cases where the chip of manufacturer a is used for analysis node 1, the chip of manufacturer B is used for analysis node 2, and even the chip of manufacturer C is used for analysis node 3. It is therefore desirable that the distributed intelligent analysis apparatus be able to support chips from different chip vendors simultaneously.
In view of this, an embodiment of the present application provides an analysis node starting method, which is applied to a distributed intelligent analysis device, where the distributed intelligent analysis device includes a main control node and a plurality of analysis nodes, and the main control node stores starting resources of the analysis nodes, referring to fig. 1, the method includes:
s101, when a target analysis node is powered on and started, the target analysis node sends request information to the main control node.
The analysis node starting method is applied to distributed intelligent analysis equipment, and therefore the method can be achieved through the distributed intelligent analysis equipment. Specifically, the method can be realized by interaction between the analysis node in the distributed intelligent analysis device and the main control node. The analysis nodes are established based on the intelligent analysis chip, and manufacturers of the intelligent analysis chips of the analysis nodes can be different.
The target analysis node is any analysis node in the distributed intelligent analysis equipment, and when the target analysis node is powered on and started, the target analysis node sends request information to the main control node. Specifically, the request information may be a request packet, and the target analysis node sends the request packet to the main Control node according to an IP Address (Internet Protocol Address) and/or a Media Access Control (MAC) Address of the main Control node.
The master control node stores the starting resource of the analysis node, for example, as shown in fig. 2, the analysis node 1 is developed by an intelligent chip of manufacturer a, the analysis node 2 is developed by an intelligent chip of manufacturer B, the analysis node 3 is developed by an intelligent chip of manufacturer C, and the master control node stores the starting resource of the analysis node developed by the intelligent chip of manufacturer a, the starting resource of the analysis node developed by the intelligent chip of manufacturer B, and the starting resource of the analysis node developed by the intelligent chip of manufacturer C.
And S102, after the main control node acquires the request information of the target analysis node, returning response information to the target analysis node.
After acquiring the request information of the target analysis node, the main control node returns response information to the target analysis node according to a preset logic, where the specific response information may be an Ack (Acknowledgement) response packet. Generally, response information represents starting, that is, an analysis node which is allowed to send request information is started; in a special case, for example, when the request information is incomplete or the master node does not support the analysis node sending the request information, the response information characterizes an error, i.e., the analysis node sending the request information is not started.
And S103, the target analysis node acquires the response information, and when the response information represents the starting, the target analysis node downloads a target starting resource corresponding to the target analysis node from the main control node.
Different intelligent chips correspond to different starting resources, so that the starting resources corresponding to the analysis nodes are different under the condition that the intelligent chips used by the analysis nodes are different. And the target analysis node receives the response information returned by the main control node, analyzes the response information, and downloads a starting resource (namely a target starting resource) corresponding to the target analysis node from the main control node when the response information represents starting.
Optionally, when the response information represents the start, the target analysis node sends resource download information to the master control node, where the resource download information includes a type of the target analysis node, where the type of the target analysis node is used to determine a start resource corresponding to the target analysis node, and specifically, the type of the target analysis node may be a model of an intelligent chip used by the target analysis node, so as to conveniently determine the start resource corresponding to the target analysis node. And the master control node sends the target starting resource corresponding to the target analysis node according to the type of the target analysis node in the resource downloading information. And the target analysis node downloads the target starting resource.
Optionally, when the response information represents the starting, the response information further includes a stream-taking address of the target starting resource corresponding to the target analysis node; the downloading, by the target analysis node, a target startup resource corresponding to the target analysis node from the master control node includes: and the target analysis node downloads the target starting resource corresponding to the target analysis node from the main control node according to the stream taking address.
The main control node can add a stream-fetching address of the target starting resource corresponding to the target analysis node in the response information while returning the response information representing the starting. And the target analysis node downloads the target starting resource according to the stream taking address.
And S104, starting the target analysis node through the target starting resource.
And the target analysis node loads the target starting resource to complete starting.
In the embodiment of the application, the starting resources of the analysis nodes using the intelligent chips of different manufacturers are stored in the master control node, the analysis nodes acquire the starting resources corresponding to the analysis nodes through interaction with the master control, and then the analysis nodes are started, so that the chips of multiple manufacturers are supported in the same distributed intelligent analysis equipment, the distributed intelligent analysis equipment has better expansibility and compatibility, the analysis nodes of the intelligent chips of different manufacturers can be mixed and inserted, and when the intelligent chips of new manufacturers are introduced, only the corresponding starting resources are required to be added into the master control node, so that the compatibility is high.
Optionally, the request information of the target analysis node includes a type of the target analysis node; referring to fig. 3, after acquiring the request information of the target analysis node, the main control node returns response information to the target analysis node, including:
and S1021, after the main control node acquires the request information of the target analysis node, judging whether the main control node stores the target starting resource corresponding to the target analysis node according to the type of the target analysis node.
The request information of the target analysis node includes the type of the target analysis node, and it can be understood that the type of the target analysis node is used for the master control node to distinguish the starting resource corresponding to the target analysis node, and since the target analysis node is developed based on the intelligent chip, the type of the target analysis node can be equivalently replaced by the type of the intelligent chip of the target analysis node. The main control node acquires request information of a target analysis node, and judges whether a starting resource (namely a target starting resource) corresponding to the target analysis node is stored in the main control node according to the type of the target analysis node in the request information. The master node includes a memory, such as a flash memory, and each boot resource may be stored in a storage medium of the master node.
S1022, when the target start resource corresponding to the target analysis node is stored in the master control node, the master control node returns response information representing start to the target analysis node.
If the main control node stores the target starting resource corresponding to the target analysis node, the main control node supports the starting and running of the target analysis node, and the main control node returns response information representing the starting to the target analysis node.
Optionally, after the main control node obtains the request information of the target analysis node, and according to the type of the target analysis node, determining whether the target start resource corresponding to the target analysis node is stored in the main control node, the method further includes:
and S1023, when the target starting resource corresponding to the target analysis node is not stored in the main control node, the main control node returns response information representing errors to the target analysis node.
If the target starting resources corresponding to the target analysis node are not stored in the main control node, it is indicated that the main control node does not support the starting and running of the target analysis node, and the main control node returns response information representing errors to the target analysis node. And after the target analysis node acquires the response information representing the error, the target analysis node abandons the starting, so that the error caused by the non-support of the main control node is avoided.
Optionally, after the master node returns response information representing an error to the target analysis node, the method further includes:
and the master control node generates target alarm information, wherein the target alarm information represents that target starting resources corresponding to the target analysis node are lacked in the master control node.
The master control node generates target alarm information, and the target alarm information represents starting resources corresponding to the missing target analysis node in the master control node. And the starting resources corresponding to the target analysis node are added into the main control node by the staff, so that the starting and the running of the target analysis node are supported. Optionally, the method for starting an analysis node according to the embodiment of the present application further includes: the method comprises the steps that a main control node obtains resource adding information, wherein the resource adding information comprises starting resources to be added and types of analysis nodes corresponding to the starting resources to be added; and the master control node stores the starting resources to be added according to the resource adding information and marks the types of the analysis nodes corresponding to the starting resources to be added.
An embodiment of the present application further provides an analysis node starting apparatus, which is applied to a distributed intelligent analysis device, where the distributed intelligent analysis device includes a main control node and a plurality of analysis nodes, and the main control node stores starting resources of the analysis nodes, as shown in fig. 4, the apparatus includes:
a request information sending module 401, configured to send request information to the master control node through a target analysis node when the target analysis node is powered on and started;
a response information sending module 402, configured to, after the master control node obtains the request information of the target analysis node, return a response information to the target analysis node through the master control node;
a starting resource downloading module 403, configured to obtain the response information through the target analysis node, and when the response information represents a start, download a target starting resource corresponding to the target analysis node from the main control node by using the target analysis node;
an analysis node starting module 404, configured to start by using the target analysis node through the target starting resource.
Optionally, the request information of the target analysis node includes a type of the target analysis node;
the response information sending module 402 includes:
a target resource determination submodule, configured to determine, after the main control node obtains the request information of the target analysis node, whether a target startup resource corresponding to the target analysis node is stored in the main control node according to the type of the target analysis node;
and the starting information returning submodule is used for returning response information representing starting to the target analysis node through the main control node when the main control node stores the target starting resource corresponding to the target analysis node.
Optionally, the response information sending module 402 further includes:
and an error information returning submodule, configured to return response information representing an error to the target analysis node through the main control node when the target start resource corresponding to the target analysis node is not stored in the main control node.
Optionally, the analysis node starting apparatus in the embodiment of the present application further includes:
and the alarm information generation module is used for generating target alarm information through the main control node, wherein the target alarm information represents that target starting resources corresponding to the target analysis node are lacked in the main control node.
Optionally, when the response information represents the starting, the response information further includes a stream-taking address of the target starting resource corresponding to the target analysis node;
the start resource downloading module 403 is specifically configured to:
and acquiring the response information through the target analysis node, and downloading a target starting resource corresponding to the target analysis node from the main control node according to the streaming address when the response information represents starting.
Optionally, the analysis node starting apparatus in the embodiment of the present application further includes:
an adding information acquisition module, configured to acquire resource adding information through the master control node, where the resource adding information includes a to-be-added starting resource and a type of an analysis node corresponding to the to-be-added starting resource;
and the starting resource adding module is used for storing the starting resources to be added and marking the types of the analysis nodes corresponding to the starting resources to be added by utilizing the main control node according to the resource adding information.
An embodiment of the present application further provides an electronic device, see fig. 5, including a main control node and a plurality of analysis nodes, where the main control node stores therein start resources of the analysis nodes;
the above analysis node is configured to: when the analysis node is electrified and started, request information is sent to the main control node;
the above-mentioned master control node is used for: after the request information of the analysis node is acquired, response information is returned to the analysis node;
the above analysis node is further configured to: acquiring the response information, and downloading a target starting resource corresponding to the analysis node from the main control node by the analysis node when the response information represents starting; and the analysis node is started through the target starting resource.
The analysis node is developed based on an intelligent chip, the main control node comprises a processor and a memory, and starting resources corresponding to the analysis node are stored in the memory. Each analysis node and the main control node can communicate through a switch or a switching chip, so that the number of analysis nodes which can be connected by the main control node is increased. Specifically, the electronic device according to the embodiment of the present application may be a distributed intelligent analysis device. Referring to fig. 6, when the analysis node is powered on and started, the analysis node already contains necessary start codes. The analysis node sends a request (request packet) to the main control node through the network by using the starting code, wherein the IP address and the MAC address of the main control node are known and unchangeable relative to the analysis node, and the main control node returns an ACK response packet containing the starting instruction after receiving the request packet. The analysis node receives the ACK response packet, analyzes the content in the packet, executes a subsequent starting code if the content is a starting instruction, downloads a starting resource corresponding to the analysis node from the main control node through the network when the subsequent starting code is executed, and guides the starting resource to start after the downloading is finished.
In the embodiment of the application, starting resources of analysis nodes using intelligent chips of different manufacturers are stored in a main control node, and the analysis nodes acquire the starting resources corresponding to the analysis nodes through interaction with the main control node and then start. The method and the device have the advantages that the chips of a plurality of manufacturers are supported in the same distributed intelligent analysis device, the expansibility and the compatibility are good, the analysis nodes of the intelligent chips of different manufacturers can be mixed and inserted, when the intelligent chip of a new manufacturer is introduced, only corresponding starting resources are required to be added into the main control node, and the compatibility is high.
Optionally, the request information of the analysis node includes a type of the analysis node; the master control node is specifically configured to: after the request information of the analysis node is acquired, judging whether a target starting resource corresponding to the analysis node is stored in the main control node according to the type of the analysis node; and when the target starting resource corresponding to the analysis node is stored in the main control node, returning response information representing starting to the analysis node.
The request information sent by the analysis node comprises the type of the analysis node, and the main control node judges whether the main control node stores the starting resource (namely the target starting resource) corresponding to the analysis node according to the type of the analysis node; when the main control node stores the starting resource corresponding to the analysis node, the main control node generates response information representing starting and returns the response information to the analysis node.
Due to node update or error analysis nodes, etc., a situation that the master control node does not store the starting resources corresponding to the analysis nodes may occur. Optionally, the main control node is further configured to: and when the target starting resource corresponding to the analysis node is not stored in the main control node, returning response information representing errors to the analysis node.
When the starting resources corresponding to the analysis node are not stored in the main control node, the main control node can generate alarm information so as to prompt the operation and maintenance personnel to lack the corresponding starting resources. Optionally, the main control node is further configured to: and generating target alarm information, wherein the target alarm information represents that the target starting resources corresponding to the analysis node are lacked in the main control node.
In order to reduce the signaling load, the master node may add the streaming address directly to the response message. Optionally, when the response information represents the starting, the response information further includes a stream-taking address of the target starting resource corresponding to the analysis node; the analysis node is specifically configured to: and downloading the target starting resource corresponding to the analysis node from the main control node according to the streaming address.
When the starting resources corresponding to the designated analysis node are not stored in the main control node, the designated starting resources can be added in the main control node by updating the main control node. Optionally, the main control node is further configured to: acquiring resource adding information, wherein the resource adding information comprises a starting resource to be added and the type of an analysis node corresponding to the starting resource to be added; and storing the starting resources to be added according to the resource adding information and marking the types of the analysis nodes corresponding to the starting resources to be added.
The Memory mentioned in the above embodiments may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method for starting any analysis node is implemented.
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 embodiments of the apparatus, the electronic device, and the storage medium, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (14)

1. An analysis node starting method is applied to distributed intelligent analysis equipment, the distributed intelligent analysis equipment comprises a main control node and a plurality of analysis nodes, starting resources of the analysis nodes are stored in the main control node, and the method comprises the following steps:
when a target analysis node is powered on and started, the target analysis node sends request information to the master control node;
after acquiring the request information of the target analysis node, the master control node returns response information to the target analysis node;
the target analysis node acquires the response information, and when the response information represents the starting, the target analysis node downloads a target starting resource corresponding to the target analysis node from the main control node;
and the target analysis node is started through the target starting resource.
2. The method according to claim 1, wherein the request information of the target analysis node includes a type of the target analysis node;
after acquiring the request information of the target analysis node, the master control node returns response information to the target analysis node, including:
after the main control node acquires the request information of the target analysis node, judging whether a target starting resource corresponding to the target analysis node is stored in the main control node according to the type of the target analysis node;
and when the target starting resources corresponding to the target analysis node are stored in the main control node, the main control node returns response information representing starting to the target analysis node.
3. The method according to claim 2, wherein after the main control node obtains the request information of the target analysis node, and according to the type of the target analysis node, determining whether a target start resource corresponding to the target analysis node is stored in the main control node, the method further includes:
and when the target starting resource corresponding to the target analysis node is not stored in the main control node, the main control node returns response information representing errors to the target analysis node.
4. The method of claim 3, wherein after the master node returns response information characterizing the error to the target analysis node, the method further comprises:
and the master control node generates target alarm information, wherein the target alarm information represents that target starting resources corresponding to the target analysis node are lacked in the master control node.
5. The method according to claim 1, wherein when the response information represents startup, the response information further includes a stream fetching address of a target startup resource corresponding to the target analysis node;
the target analysis node downloads the target starting resource corresponding to the target analysis node from the main control node, and the method comprises the following steps:
and the target analysis node downloads the target starting resource corresponding to the target analysis node from the main control node according to the stream taking address.
6. The method of claim 1, further comprising:
the master control node acquires resource adding information, wherein the resource adding information comprises a starting resource to be added and the type of an analysis node corresponding to the starting resource to be added;
and the master control node stores the starting resources to be added according to the resource adding information and marks the types of the analysis nodes corresponding to the starting resources to be added.
7. An analysis node starting device is applied to distributed intelligent analysis equipment, the distributed intelligent analysis equipment comprises a main control node and a plurality of analysis nodes, starting resources of the analysis nodes are stored in the main control node, and the device comprises:
the request information sending module is used for sending request information to the main control node through the target analysis node when the target analysis node is powered on and started;
the response information sending module is used for returning response information to the target analysis node through the main control node after the main control node acquires the request information of the target analysis node;
a starting resource downloading module, configured to obtain the response information through the target analysis node, and when the response information represents starting, download, by using the target analysis node, a target starting resource corresponding to the target analysis node from the master control node;
and the analysis node starting module is used for starting through the target starting resource by utilizing the target analysis node.
8. An electronic device is characterized by comprising a main control node and a plurality of analysis nodes, wherein starting resources of the analysis nodes are stored in the main control node;
the analysis node is configured to: when the analysis node is electrified and started, request information is sent to the main control node;
the master control node is configured to: after the request information of the analysis node is acquired, response information is returned to the analysis node;
the analysis node is further configured to: acquiring the response information, and downloading a target starting resource corresponding to the analysis node from the main control node by the analysis node when the response information represents starting; and the analysis node is started through the target starting resource.
9. The electronic device according to claim 8, wherein the request information of the analysis node includes a type of the analysis node;
the master control node is specifically configured to: after the request information of the analysis node is acquired, judging whether a target starting resource corresponding to the analysis node is stored in the main control node according to the type of the analysis node; and when the target starting resource corresponding to the analysis node is stored in the main control node, returning response information representing starting to the analysis node.
10. The electronic device of claim 9, wherein the master node is further configured to: and when the target starting resource corresponding to the analysis node is not stored in the main control node, returning response information representing errors to the analysis node.
11. The electronic device of claim 10, wherein the master node is further configured to: and generating target alarm information, wherein the target alarm information represents that the target starting resources corresponding to the analysis nodes are lacked in the main control nodes.
12. The electronic device according to claim 8, wherein when the response information represents startup, the response information further includes a stream fetching address of a target startup resource corresponding to the analysis node;
the analysis node is specifically configured to: and downloading the target starting resource corresponding to the analysis node from the main control node according to the stream taking address.
13. The electronic device of claim 8, wherein the master node is further configured to: acquiring resource adding information, wherein the resource adding information comprises a starting resource to be added and the type of an analysis node corresponding to the starting resource to be added; and storing the starting resources to be added according to the resource adding information and marking the types of the analysis nodes corresponding to the starting resources to be added.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN201910376283.2A 2019-05-07 Analysis node starting method and device, electronic equipment and storage medium Active CN111913838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910376283.2A CN111913838B (en) 2019-05-07 Analysis node starting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910376283.2A CN111913838B (en) 2019-05-07 Analysis node starting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111913838A true CN111913838A (en) 2020-11-10
CN111913838B CN111913838B (en) 2024-07-02

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120047439A1 (en) * 2010-08-20 2012-02-23 Jay Harlan User-initiated mode for remote support
CN104429028A (en) * 2013-05-06 2015-03-18 华为技术有限公司 Network configuration method, device and system based on sdn
CN106557399A (en) * 2015-09-25 2017-04-05 伊姆西公司 Method and apparatus for the state of storage cluster is presented
CN108737495A (en) * 2018-04-08 2018-11-02 蔚来汽车有限公司 Data capture method, apparatus and system
CN108829570A (en) * 2018-06-28 2018-11-16 郑州云海信息技术有限公司 Server node information display control method, device, system and storage medium
CN109120680A (en) * 2018-07-27 2019-01-01 北京华为数字技术有限公司 A kind of control system, method and relevant device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120047439A1 (en) * 2010-08-20 2012-02-23 Jay Harlan User-initiated mode for remote support
CN104429028A (en) * 2013-05-06 2015-03-18 华为技术有限公司 Network configuration method, device and system based on sdn
CN106557399A (en) * 2015-09-25 2017-04-05 伊姆西公司 Method and apparatus for the state of storage cluster is presented
CN108737495A (en) * 2018-04-08 2018-11-02 蔚来汽车有限公司 Data capture method, apparatus and system
CN108829570A (en) * 2018-06-28 2018-11-16 郑州云海信息技术有限公司 Server node information display control method, device, system and storage medium
CN109120680A (en) * 2018-07-27 2019-01-01 北京华为数字技术有限公司 A kind of control system, method and relevant device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LING WANG等: "Flow Control Mechanism for Wireless Network-on-Chip", 2013 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, 30 September 2013 (2013-09-30), pages 483 - 488 *
宋瑞雪等: "基于SOPC的CANopen节点的设计", 计算机工程与设计, no. 03, 16 March 2013 (2013-03-16), pages 863 - 867 *

Similar Documents

Publication Publication Date Title
CN111752641A (en) Method, device, equipment and storage medium for starting service between micro-service containers
CN108322490B (en) Method, device and server for configuring and deploying distributed cloud service system by virtual machine
CN109587258B (en) Service activity detection method and device
CN111597057B (en) Data processing method, device and computer readable storage medium
CN111752582A (en) Software updating method and device in local area network and electronic equipment
CN110990136B (en) Task processing method and task scheduler
CN108733545B (en) Pressure testing method and device
CN115168031A (en) Fog calculation system, method, electronic equipment and storage medium
CN110955460B (en) Service process starting method and device, electronic equipment and storage medium
CN105530323B (en) File upgrading method, related equipment and system
CN110995522A (en) Information processing method and device
CN113518002A (en) Monitoring method, device, equipment and storage medium based on server-free platform
CN110096284B (en) Method and device for visually releasing software, electronic equipment and storage medium
CN111913838A (en) Analysis node starting method and device, electronic equipment and storage medium
CN113342419A (en) Loading method and device for push system, electronic equipment and storage medium
CN109995863B (en) Dynamic resource downloading method and device, electronic equipment and storage medium
CN111913838B (en) Analysis node starting method and device, electronic equipment and storage medium
CN109375946B (en) Method and system for managing component package of node package manager
CN112114871B (en) Code sharing method, device, server, terminal and medium
CN112087327B (en) Information state acquisition method and apparatus, storage medium, and electronic apparatus
CN111506846B (en) Web page generation method and device, electronic equipment and storage medium
CN110727498B (en) Virtual network function management method, NFVO, block chain node and MANO network element
CN112965697A (en) Code file generation method and device and electronic equipment
CN111638987A (en) Data processing method and device, electronic equipment and storage medium
CN110705956A (en) Project coordination method and device based on micro-service architecture and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant