Method and device for updating communication state
A technology of communication status and update method, applied in the field of communication, can solve the problems that the master station cannot report equipment communication failure, data cannot be refreshed, communication failure between the master station and equipment, etc., and achieve the effect of solving the communication status of equipment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] figure 2 It is a schematic diagram of the method for updating the communication status of the embodiment of the present invention, such as figure 2 As shown, the communication status update method of this embodiment includes:
[0060] S11. After sending a round of requests, count the number of consecutive timeouts of each request contained in a round of requests.
[0061] In an exemplary embodiment, a round of requests may include N requests respectively, where N is a positive integer;
[0062] In an exemplary embodiment, counting the number of consecutive timeouts of each request included in a round of requests includes:
[0063] Each request is counted in the following manner: if the request times out in this round, add 1 to the number of consecutive timeouts corresponding to the request; if a response to the request is received in this round, set the number of consecutive timeouts to is zero;
[0064] Wherein, the number of consecutive timeouts of a request ref...
Embodiment 2
[0078] The calculation scheme of the device communication state in Embodiment 2 of the present invention is as follows:
[0079] Among the N requests, each request is configured with its own communication status weight W (W≥0), the default value is 1, the larger the W, the greater the weight of the request for judging the communication status of the device, and the smaller the W, the smaller the weight of the request for judging the communication status of the device The smaller the weight of W is, it means that the request does not participate in the communication state calculation.
[0080] We define the comprehensive calculation value CW of the device communication state as:
[0081]
[0082] Among them, i is the request number, i∈[1,N], Ci is the current continuous timeout times of the request number i (corresponding to the request Qi) (the initial value of Ci is 0, the timeout of the request number i is accumulated by 1 once, and the master station receives When the d...
example 1
[0096]Example 1: We assume that the communication state weight of each request is 1, and formula (2) is applied at this time. Obviously, after going through a complete round of polling sequence, CW will become 6. Since CW0=5, CW≥ CW0, at this time, it is considered that the communication status between the master station and the slave station is suspicious; after a complete round of polling sequence, CW will become 12, because CW1=10, satisfying CW≥CW1, at this time, it is considered that the master station and the slave station Station communication status failure.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



