A backup network detection method, device and equipment of a master-slave structure
A backup network and detection method technology, applied in the direction of comprehensive factory control, transmission system, electrical components, etc., can solve the problems of hidden dangers in production safety, lack of automatic backup network working status inspection methods, etc., to reduce labor costs and improve production safety sexual effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach
[0049] The core of the present invention is to provide a backup network detection method with a master-slave structure, and a schematic flowchart of a specific implementation is as follows: figure 1 As shown, it is referred to as the specific embodiment one, including:
[0050] S101: Acquire packet data from the buffer of the standby network.
[0051] S102: Traverse the message data according to preset frame format information, and determine whether the message data includes frame message information.
[0052] The frame message information in this step refers to complete frame message information.
[0053] S103: When the message data includes the frame message information, determine that the backup network is normal; when the message data does not include the frame message information, determine that the backup network is faulty.
[0054]Further, the number of complete frame message information can be set to determine whether the backup network is normal. For example, when t...
specific Embodiment approach 3
[0086] On the basis of the specific embodiment 1, a method for considering multiple pieces of message data together is further proposed, and the schematic flowchart is as follows image 3 As shown, the contract period is specific implementation mode three, including:
[0087] S301: Acquire a first amount of packet data from a buffer of a standby network.
[0088] The first number can be selected according to actual needs, but must be an integer greater than one.
[0089] S302: According to the preset frame format information, traverse the first quantity of the message data respectively to obtain quantity information of the message data including the frame message information.
[0090] S303: Determine whether the quantity information exceeds a first threshold.
[0091] S304: When the quantity information exceeds the first threshold, determine that the backup network is normal; when the quantity information does not exceed the first threshold, determine that the backup network...
Embodiment approach
[0099] As a preferred embodiment, the framing module includes:
[0100] a start selection unit, configured to traverse the message data according to the frame format information, and determine whether the message data includes a start byte;
[0101] A to-be-checked determining unit, configured to determine a to-be-checked frame byte according to the start byte when the start byte exists in the message data;
[0102] a format review unit, used to judge whether the format information of the bytes in the frame to be checked conforms to the frame format information;
[0103] A frame determination unit, configured to determine that the message data includes the frame message information when the format information of the bytes in the frame to be checked conforms to the frame format information.
[0104] As a preferred embodiment, the framing module includes:
[0105] A zero frame unit, configured to determine that the frame message information is not included in the message data ...
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