Method and apparatus detecting failure of micro-engine
An engine and failure technology, applied in the field of communication network, can solve problems such as user impact, and achieve the effect of shortening service interruption time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] For some micro-engines that are set to: one micro-engine completes a function, there is no data transmission between the micro-engine and the other micro-engines, and there is event signal transmission between the threads of the micro-engine, such as the embodiment The method described in one detects a malfunctioning microengine. Such as figure 1 Shown is a flowchart of Embodiment 1 of the method for detecting micro-engine faults according to the present invention, including:
[0064] Block diagram 101: Obtain the value of the thread counter of each thread of the micro-engine and the value of the event signal of each thread of the micro-engine in every at least one data acquisition cycle.
[0065] Block diagram 102. Compare the value of the thread counter of each thread of the micro-engine obtained at least twice and whether the value of the event signal of each thread of the micro-engine are equal; if they are equal, it is determined that the micro-engine of the network p...
Embodiment 2
[0075] For a micro-engine, there is no event signal transmission between its threads, and the fault detection of this kind of micro-engine can adopt the method described in the second embodiment. Such as figure 2 Shown is a flowchart of Embodiment 2 of the method for detecting micro-engine failures of the present invention, which specifically includes:
[0076] Block diagram 201: Obtain the value of the thread counter of each thread of the microengine in every at least one data acquisition cycle.
[0077] Block diagram 202: Compare whether the value of the thread counter of each thread of the microengine obtained at least twice in succession is equal; if they are equal, it is determined that the microengine in the network processing chip is faulty.
[0078] For such micro-engines without event signal transmission between threads, the value of the thread counter (ACTIVE_CNT) of each thread of each micro-engine is obtained in each data acquisition cycle, for example, once a second,...
Embodiment 3
[0079] For example, for some micro-engines, it is set to: several micro-engines complete data forwarding, and these micro-engines form a forwarding micro-engine group, the method described in the third embodiment can be used to detect the malfunctioning micro-engine. engine. Such as image 3 Shown is a flow chart of Embodiment 3 of the method for detecting micro-engine failures of the present invention, which specifically includes:
[0080] Block diagram 301: Obtain the sum of the thread counter values of all threads in the forwarding micro-engine group every at least one data acquisition cycle.
[0081] Block diagram 302, compare whether the sum of the thread counter values of all threads in the forwarding micro-engine group obtained at least twice are equal; if they are equal, it is determined that the micro-engine in the network processing chip is faulty.
[0082]For each micro-engine in the forwarding micro-engine group, suppose that there are m micro-engines in the forwar...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com