CN110493775A - The communication means and system being adapted to by ATT and abnormality processing - Google Patents

The communication means and system being adapted to by ATT and abnormality processing Download PDF

Info

Publication number
CN110493775A
CN110493775A CN201910783902.XA CN201910783902A CN110493775A CN 110493775 A CN110493775 A CN 110493775A CN 201910783902 A CN201910783902 A CN 201910783902A CN 110493775 A CN110493775 A CN 110493775A
Authority
CN
China
Prior art keywords
cpa
att
layers
pdu
error
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
CN201910783902.XA
Other languages
Chinese (zh)
Other versions
CN110493775B (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.)
Chongqing University
Original Assignee
Chongqing University
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 Chongqing University filed Critical Chongqing University
Priority to CN201910783902.XA priority Critical patent/CN110493775B/en
Publication of CN110493775A publication Critical patent/CN110493775A/en
Application granted granted Critical
Publication of CN110493775B publication Critical patent/CN110493775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Communication Control (AREA)

Abstract

The invention belongs to data communication technology fields, more particularly to the communication means and system being adapted to by ATT and abnormality processing, wherein, including the CPA layer for having abnormality eliminating method, the abnormality eliminating method includes: mistake or abnormal and its abnormality eliminating method of the communicating pair in data exchange process, the present invention is solved in communicating pair in data exchange process or in CPA data exchange process, often it will appear such as time interval time-out, ATT property operations method executes error, the mistake such as the mistake such as ATT protocol error or loss of link is abnormal, the problem of so as to cause communicating pair Communications failure, with the active or automatic fault-tolerant processing for identifying the type of error generated in data exchange process and carrying out, therefore, it ensure that the advantageous effects of the validity of data communication process.

Description

The communication means and system being adapted to by ATT and abnormality processing
Technical field
The invention belongs to data communication technology fields, more particularly to the communication means being adapted to by ATT and abnormality processing And system.
Background technique
ATT (Attribute Protocol) is to be suitable for sensor network application by one kind that bluetooth sig proposes Data Transport Protocol.The data modeling that the agreement externally exposes sensor device is several categories with handle (handle) Property (Attribute), main equipment by the operations of the complete paired attributes of protocol instructions of a variety of different function, thus reach with from setting The purpose of data exchange is realized between standby;
Due to factors such as signal interference, hypertelorism, protocol contents errors, mistake can usually occur in communication process Or abnormal conditions, various possibility are preferably directed to for the robustness and environmental suitability, the both sides for participating in data communication of enhancing communication The exception error situation of appearance is monitored and analyzed, and takes effective measures the normal condition for restoring communication, or is informed User simultaneously provides corresponding incorrect details.Communication equipment management communications status is to aid in for the treatment mechanism of exception error situation One of effective tool;
The present invention is based on application numbers: 201910765383.4, the applying date: and on 08 19th, 2019, denomination of invention: Yi Zhongyi Rely the data communication system and method being adapted in ATT and instruction;
Existing communication modes exist in communicating pair in data exchange process or in CPA data exchange process, often There is such as time interval time-out, ATT property operations method and executes the mistakes such as error, ATT protocol error mistake or loss of link Or extremely, so as to cause communicating pair Communications failure the problem of.
Summary of the invention
The present invention provides through ATT and abnormality processing come the communication means and system that are adapted to, to solve above-mentioned background technique In propose in communicating pair in data exchange process or in CPA data exchange process, it is super often to will appear time interval such as When, ATT property operations method execute the mistake such as error, ATT protocol error or the mistake such as loss of link or abnormal, so as to cause logical The problem of believing both sides' Communications failure.
Technical problem solved by the invention is realized using following technical scheme: being adapted to by ATT and abnormality processing Communication means, the communication means is included in front of master and slave equipment carries out data exchange, and communicating pair is established from the bottom to top respectively Be followed successively by bottom transport layer, ATT layers of attribute agreement, general-purpose attribute specification protocol be adapted to CPA layers, PHD layers of data exchange agreement and The data communication protocol stack layer level structure of application layer;
Described CPA layers includes abnormality eliminating method, and the abnormality eliminating method includes:
If communicating pair is in data exchange process, the value of generation time interval time-out or CC attribute abnormal or ASN field It is abnormal, then execute corresponding active anomalous event intervention;
If communicating pair in CPA data exchange process, generates ATT property operations method and executes error, then execute corresponding Active ATT mistake intervention;
If communicating pair is in CPA data exchange process, primary to send when sending direction recipient sends a CPA PDU ATT protocol error that is that side may receive ATT layers of upthrow and being defined within the scope of the reserved application layer error code of ATT, Then execute corresponding active CPA PDU mistake intervention;
If detect loss of link, corresponding inactive mode event anomalies processing is executed.
Further, if the communicating pair is in data exchange process, generation time interval time-out or CC attribute abnormal or The value of ASN field is abnormal, then executes corresponding active anomalous event intervention and include:
If any one time in CPA layers of four time interval for assisting its connection status of CPA layer-management for including Interval time-out, or:
If in CPA connection sub-process, before CPA layers of connection are failed, communicating pair either one have received and CC attribute Relevant message, or;
If the value of ASN field is not nearest in either one CPA PDU for receiving of communicating pair in CPA operation sub-process Once be successfully transmitted or received CPA PDU in ASN value add 1;
Main equipment is then:
Default is turned off from the instruction function of the CC attribute of equipment, is removed operating state data, is to PHD layers of transmission semanteme Disconnected event notifies for bottom connection, and does not handle the other data sent from equipment before connect next time;
Then from equipment:
The instruction function of CC attribute is closed, operating state data is removed, semantic to PHD layers of transmission is that bottom connection has disconnected Event notice, and in addition to connection request, other data of main equipment transmission are not handled.
Further, described CPA layers four time interval for being used to assist its connection status of CPA layer-management for including;
First time interval: main equipment receives the high latency of corresponding ATT write response after sending ATT write request The high latency that corresponding ATT confirms either is received after sending ATT instruction from equipment;
Second time interval: CPA layers receive ATT layers transmission link connection time-out error after until link reconnection at The high latency of function;
Third time interval: after ATT layers of planned disconnection, when CPA layers from when receiving APDU for PHD layers, CPA layers to It is to establish bottom connection built-in command to start to complete the high latency of reconnection until ATT that ATT layers, which send semantic,;
4th time interval: CPA layers of main equipment receive the semanteme of PHD layers of transmission and connect built-in command to disconnect bottom Afterwards, the longest etc. that corresponding write response is waited when CC attribute instruction function is closed to predetermined value two is written from the IE attribute of equipment To the time.
Further, if in four time intervals any one time interval waiting time be more than high latency, CPA layers of working condition changes automatically.
Further, it if the communicating pair is in CPA data exchange process, generates ATT property operations method and executes error, Then executing corresponding active ATT mistake intervention includes:
The ATT protocol error is including authenticating inadequate insufficient, encryption deficiency, key length, graunch and write-in value Invalid or other relevant errors;
If communicating pair certification is insufficient, main equipment can carry out authentication operation and retransmit ATT write request;
If communicating pair encryption is insufficient, main equipment can carry out cryptographic operation and retransmit ATT write request;
If communicating pair key length is inadequate, main equipment can change key and re-execute cryptographic operation;
If communicating pair graunch, main equipment can be attempted to retransmit the ATT write request with former write-in value;
If communicating pair write-in value is invalid, main equipment can attempt that other predetermined values are written;
Further, if a type of error in ATT protocol error repeats, subsequent mistake is determined by application layer Accidentally processing operation.
Further, if the communicating pair is in CPA data exchange process, sending direction recipient sends a CPA It is that the primary side of sending may receive ATT layers of upthrow and be defined within the scope of the reserved application layer error code of ATT when PDU ATT protocol error, then executing corresponding active CPA PDU mistake intervention includes:
If occurring semantic being that CPA PDU receives the mistake to malfunction, former sender can attempt again after receiving this mistake It sends current CPA PDU, while when former recipient abandons error received current CPA PDU segment and preparing to receive and send out again The CPA PDU sent determines that subsequent error handle operates by application layer if still receiving this mistake after retransmitting;
If occurring semantic being the too long mistake of CPA PDU information portion, due to equipment where recipient can not receive it is too long APDU, to former sender can send this mistake, former sender can attempt to retransmit new CPA after receiving this mistake PDU, while former recipient abandons received current CPA PDU segment when malfunctioning and prepares to receive the CPA PDU retransmitted, If still receiving this mistake after retransmitting, determine that subsequent error handle operates by application layer.
Further, if described when detecting loss of link, executing corresponding inactive mode event anomalies processing includes:
If detect loss of link, ATT layers can connect time-out error to CPA layers of transmission link, and communicating pair is completed Any moment after upper CPA PDU transmission saves working condition data when receiving link connection time-out error, is waiting After ATT layers of link reconnection success, communicating pair immediately enters CPA operation sub-process and continues to hold since current CPA PDU Communication before line link disconnection.
Further, if it is described when detecting loss of link, execute corresponding inactive mode anomalous event processing further include:
The operating state data includes the ASN value in a upper CPA PDU, and when bottom link disconnects:
If sender is encapsulating APDU, operating state data further includes the APDU of our PHD layers of transmission, and in bottom chain The APDU encapsulated before bottom link reconnection is encapsulated as CPA PDU again after the reconnection of road;
If sender is through ATT layers of transmission CPA PDU, operating state data further includes current CPA PDU, and in bottom CPA PDU is retransmitted after link reconnection;
If recipient is receiving current CPA PDU, the received all segments for belonging to current CPA PDU are abandoned.
Meanwhile the present invention also provides the communication system being adapted to by ATT and abnormality processing, the communication system is based on Before master and slave equipment carries out data exchange, communicating pair is established respectively is followed successively by bottom transport layer, attribute agreement ATT from the bottom to top Layer, general-purpose attribute specification protocol are adapted to the data communication protocol stack layer grade knot of CPA layers, PHD layers of data exchange agreement and application layer Structure;
Described CPA layers includes exception processing module, and the exception processing module is used for:
Realize segmentation and the recombination method of any of the above-described.
Advantageous effects:
If the present invention use communicating pair in data exchange process, generation time interval time-out or CC attribute abnormal or The value of ASN field is abnormal, then executes corresponding active anomalous event intervention;If communicating pair in CPA data exchange process, It generates ATT property operations method and executes error, then execute corresponding active ATT mistake intervention;If communicating pair is in CPA data In exchange process, sending direction recipient send a CPA PDU when, the primary side of sending may receive ATT layers of upthrow and It is wrong then to execute corresponding active CPA PDU for the ATT protocol error being defined within the scope of the reserved application layer error code of ATT Accidentally intervene;If detect loss of link, corresponding inactive mode event anomalies processing is executed;
It by the mistake of definition process process and automatically processes, need the mistake intervened, to the mistake for the treatment of process It is actively repaired by mechanism for correcting errors, the mistake for not needing to intervene is automatically repaired, is solved in communicating pair in data In exchange process or in CPA data exchange process, it often will appear such as time interval time-out, ATT property operations method and execute out The mistake such as mistake, ATT protocol error or the mistake such as loss of link or abnormal, the problem of so as to cause communicating pair Communications failure, tool There are the active or automatic fault-tolerant processing for identifying the type of error generated in data exchange process and carrying out, thus it is guaranteed that The validity of data communication process;
Since invention defines the mistake for the treatment of process and the mistakes for automatically processing, not needing to intervene, to processed The mistake of journey is actively repaired by mechanism for correcting errors, and the mistake for not needing to intervene is automatically repaired, since this method identifies The type of error generated in data exchange process and the active or automatic fault-tolerant processing that carry out, thus it is guaranteed that data are logical The validity of letter process.
Detailed description of the invention
Fig. 1 is the flow chart for the communication means that the present invention is adapted to by ATT and abnormality processing;
Fig. 2 is that the main equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step A2, passes through one The timing diagram of " CPA PDU receives error " processing method is received when a write request transmission CPA PDU;
Fig. 3 is that the main equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step A2, by more The timing diagram of " CPA PDU receives error " processing method is received when a write request transmission CPA PDU;
Fig. 4 is that the slave equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step B2 by one The timing diagram of " CPA PDU receives error " processing method is received when a attribute instruction transmission CPA PDU;
Fig. 5 be the slave equipment of communication means that the present invention is adapted to by ATT and abnormality processing execute step B2 pass through it is more The timing diagram of " CPA PDU receives error " processing method is received when a attribute instruction transmission CPA PDU;
When Fig. 6 is that the main equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step A1, locating When managing bottom link time-out error, the successful timing diagram of bottom reconnection;
When Fig. 7 is that the main equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step A1, locating When managing bottom link time-out error, the failed timing diagram of bottom reconnection;
When Fig. 8 is that the main equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step A2, locating When managing bottom link time-out error, the successful timing diagram of bottom reconnection;
When Fig. 9 is that the main equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step A2, locating When managing bottom link time-out error, the failed timing diagram of bottom reconnection;
When Figure 10 is that the slave equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step B1, In When Treated Base link time-out error, the successful timing diagram of bottom reconnection;
When Figure 11 is that the slave equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step B1, In When handling link connection time-out error, the failed timing diagram of bottom reconnection;
When Figure 12 is that the slave equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step B2, In When Treated Base link time-out error, the successful timing diagram of bottom reconnection;
When Figure 13 is that the slave equipment for the communication means that the present invention is adapted to by ATT and abnormality processing executes step B2, In When handling link connection time-out error, the failed timing diagram of bottom reconnection;
Figure 14 is that the CPA data exchange process for the communication means that the present invention is adapted to by ATT and abnormality processing mistake occurs It misses or unexpected ATT fault occurs and mistake, execute the timing diagram of active anomalous event intervention;
Technical solution provided by the invention has flexibility when implementing, and passes through the partial parameters being arranged in the technical solution And illustrate the preferable application design being associated, preferred embodiment can be provided for present invention technical effect to be achieved, The present invention is described further with reference to the accompanying drawing:
Figure label is expressed as follows:
1-bottom transport layer, 2-ATT layers, 3-CPA layers, 4-PHD layers, 5-application layers;
ST401: if communicating pair in data exchange process, generation time interval time-out or CC attribute abnormal or ASN word The value of section is abnormal;
ST402: corresponding active anomalous event intervention is then executed;
ST403: if communicating pair, which in CPA data exchange process, generates ATT property operations method, executes error;
ST404: corresponding active ATT mistake intervention is then executed;
ST405: if communicating pair in CPA data exchange process, sending direction recipient send a CPA PDU when, ATT agreement that is that the primary side of sending may receive ATT layers of upthrow and being defined within the scope of the reserved application layer error code of ATT Mistake;
ST406: corresponding active CPA PDU mistake intervention is executed;
ST407: if detect loss of link;
ST408: corresponding inactive mode event anomalies processing is then executed;
Specific embodiment:
Embodiment:
In CPA connection sub-process, the wrong and corresponding error handle that CPA connection sub-process may occur includes:
1, it before CPA connection starts but is failed, main equipment or is had received and CC property related data, example from equipment Such as, by ATT, to " write request " with predetermined value one is sent from equipment, (this operation mark both sides prepare to use main equipment afterwards CPA carries out data communication), main equipment first has received the CC attribute sent from equipment before receiving corresponding " write response " The error situation of instruction executes active anomalous event intervention after the error situation occurs;
2, it is not received after waiting first time interval when main equipment from equipment and passes through ATT " write response " sent or mistake When accidentally responding, active anomalous event intervention is executed;
3, when main equipment by ATT to when sending from equipment to " write request " of IE attribute, may receive from equipment The errored response of the related ATT layers of upthrow sent, the content of these usual protocol errors are all coding or preset character string, generation Table it is specific semantic.Errored response includes
A) certification is insufficient.Main equipment can carry out authentication operation and retransmit " write request " at this time;
B) encryption is insufficient.Main equipment can carry out cryptographic operation and retransmit " write request " at this time;
C) key length is inadequate.Main equipment can change key and re-execute cryptographic operation at this time;
D) graunch.Main equipment can be attempted to retransmit primary " write request " at this time, and write-in value is constant in " write request ".
E) write-in value is invalid.This error code is defined in reserved " application error " code range of ATT, is led at this time Equipment can attempt that other predetermined values are written.
F) remaining mistake other than the above mistake;
If a) repeated to some mistake in f), determine that subsequent error handle operates by application layer, such as Application layer can disconnect ATT layers of connection;
CPA operation sub-process it may also happen that wrong and corresponding error handle include:
1, when main equipment or from the CPA PDU that equipment receives, the value of ASN field is not the last successfully interaction (hair Send or receive) CPA PDU in ASN value add 1, then execute active anomalous event intervention.
2, Fig. 2 and Fig. 3 is to be with semanteme when main equipment executes to receive after step A2 sends " write request " by ATT When the response of " CPA PDU receives error " error code, then:
As main equipment execution step A2, i.e., " write request " is sent to from the CC attribute of equipment to send CPAPDU by ATT When, main equipment may receive errored response and error reason from ATT layers of upthrow, for illustrating one in ATT layers A specified request cannot be completed.The mistake of upthrow can be " CPA PDU receives error ", this error definition is reserved in ATT " application error " code range in, for indicate when receiving CPAPDU CPA layers there is mistake.Main equipment can be tasted at this time Examination re-execute the steps A2, wherein the CPAPDU that " write request " that retransmits includes is remained unchanged, and then abandons out from equipment Stagger the time received CPA PDU, and prepares to receive this CPA PDU again, wherein implementation method as shown in connection with fig. 2, if transmission M-th of CPA PDU can be completely placed in an ATT PDU when being transmitted, main equipment is receiving errored response After retransmit m-th of CPA PDU, m-th of the CPAPDU received when only need to abandon error from equipment, and prepare receive again M-th of CPA PDU, another implementation method as shown in connection with fig. 3, if m-th of CPAPDU of transmission, which is divided into, multiple to be had The segment of sequence is successively transmitted, and when mistake occurs for n-th of segment for transmitting m-th of CPA PDU, is connect before then abandoning from equipment All segments of the CPA PDU received, and wait the Start Fragment for receiving m-th of CPA PDU again.If main equipment retransmits Still this ATT fault mistake is received after " write request ", determines that subsequent error handle operates by application layer, such as application layer can lead to Know that user checks whether bluetooth connection disconnects.
Fig. 4 and Fig. 5 is to receive and have after sending " instruction " of CC attribute to main equipment when executing step B2 from equipment When semanteme is the response of " CPA PDU receives error " error code, the timing diagram of the processing method of the mistake.The error handle with The error handling scenarios of Fig. 2 and Fig. 3 description are substantially identical in the present embodiment, and specific error processing procedure can compare reference The implementation method of Fig. 2 and Fig. 3.
3, in first time interval, (first time interval surpasses much smaller than as defined in ATT after main equipment sends " write request " When the time limit) in do not receive " write response ";Or it is not received in first time interval after equipment transmission " instruction " " really Recognize ", main equipment or from ATT layers of equipment identification of connection abnormal disconnection then executes active anomalous event intervention.
4, in CPA operational process, if CPA layers be not received by PHD layers of one's own side transmission APDU when, for save power consumption The considerations of, ATT layers may actively disconnect, if CPA layers either one receive PHD layers of one's own side transmission APDU when, to After the ATT layer disconnected sends " establishing ATT layers of connection " built-in command, third time interval is waited not receive yet When " ATT layers of connection have been established " the event notice of ATT layers of transmission, active anomalous event intervention is executed.
5) link connection time-out error.When Fig. 6 is that main equipment executes step A1, the timing of bottom link time-out error processing Figure.When Fig. 8 is that main equipment executes step A2, the timing diagram of bottom link time-out error processing.Figure 10 is to execute step from equipment When B1, the timing diagram of bottom link time-out error processing.Figure 12 is when executing step B2 from equipment, at bottom link time-out error The timing diagram of reason.Since equipment spacing leads to from factors such as too long, severe jammings or power failure the loss of link of connection When, ATT layers can connect time-out error with from equipment notifying link to main equipment.M-1 are completed when main equipment and from equipment Any time after CPA PDU transmission saves working condition data, and hold in the second time interval when receiving this mistake Row bottom link reconnection operation.Before immediately entering CPA operation sub-process after ATT layers of reconnection success and restoring bottom loss of link Communications status, i.e., the transmission process of CPA PDU is continued to execute since m-th of CPA PDU.
When Fig. 7 is that main equipment executes step A1, in Treated Base link time-out error, the timing of ATT layers of reconnection error Figure.When Fig. 9 is that main equipment executes step A2, in Treated Base link time-out error, the timing diagram of ATT layers of reconnection error.Figure 11 for from equipment execute step B1 when, in Treated Base link connection time-out error, ATT layer reconnection malfunction timing diagram.Figure 13 for from equipment execute step B2 when, in Treated Base link connection time-out error, ATT layer reconnection malfunction timing diagram.If Bottom link reconnection time-out, main equipment and stops reconnection from equipment, the instruction function of CC attribute is closed from equipment, and main equipment is silent The instruction function of recognizing CC attribute has been closed, while main equipment and will remove the data of respective working condition from equipment and to respective PHD layer send " bottom connection disconnected " event notice, and if main equipment step A1 or step are carrying out in loss of link Rapid A2, or be carrying out step B1 or step B2 in loss of link from equipment, main equipment or notifies PHD layers of one's own side from equipment Current APDU transmission failure.
When carrying out transmission without data and being in certain sub- state of status of ' connected ' for PHD layers, CPA layers of either side Semantic to ATT layers of transmission is " disconnecting ATT layers of connection " built-in command, and is saved working condition data.After ATT layers disconnect, It is notified to CPA layers of transmission " ATT layers of connection have disconnected " event.When CPA layers of either side (it is assumed herein that for former recipient) receive To PHD layers send APDU (being assumed to be m-th of APDU) when, if ATT layer connection have disconnected, CPA layers immediately to ATT layers hair " establishing ATT layers of connection " built-in command is sent, and waits " ATT layers of connection have been established " the event notice of ATT layers of transmission to be received, in turn CPA PDU (m) is sent to former sender by " write request " that ATT is defined by CPA layers.
The mistake and error handle being likely to occur in the present embodiment are as follows: refer to inside CPA layers of transmission " establishing ATT layers of connection " It waits third time interval not receive " ATT layers of connection have been established " the event notice of ATT layers of transmission yet after order, then executes active Formula anomalous event intervention.
In the present embodiment, generally for power consumption is saved, ATT layers may be when no data be transmitted by CPA layers of ATT layers of control Actively disconnect, but ATT layers may also be maintained at connection status, because can also consume certain energy when equipment reconnection, If the energy ratio of the continuous reconnection consumption of equipment keeps the energy of connection consumption more, keep the mode of connection much better, Depend primarily on the application method of equipment.
In the present embodiment, CPA disconnect sub-process trigger condition be when communicating pair terminate PHD layers interaction or PHD layers when be abnormal disconnection, the PHD layer of communicating pair is transformed into " not connected " state by current state, and to each From CPA layer send the semantic built-in command for " disconnecting bottom connection ", and be not to wait for respective CPA layers of feedback.
In the present embodiment, the mistake that CPA disconnects sub-process and may occur includes:
1, when write-in value and the scheduled close value of protocol definition be not in " write request " to IE attribute that main equipment is sent When consistent, from device replied with the semantic errored response for " write-in value is invalid " error code.
2, after " disconnecting bottom connection " event for receiving PHD layers of one's own side transmission from equipment notifies, if in the 4th time " write request " with predetermined value two to IE attribute for not receiving main equipment transmission in interval closes CC attribute from equipment It indicates function, removes operating state data, and send " bottom connection has disconnected " event notice, and main equipment to PHD layers of one's own side The instruction function that CC attribute is defaulted after the 4th time interval is turned off, and removes operating state data, and send to PHD layers of one's own side " bottom connection has disconnected " event notice.
3, when main equipment to from equipment send have predetermined value two " write request " after, if not connect in first time interval " write response " or errored response from equipment are received, the instruction function that main equipment then defaults CC attribute is turned off, and removes work shape State data, and " bottom connection has disconnected " event notice is sent to PHD layers of one's own side.For receiving with pre- from equipment end After " write request " of definite value two, the instruction function of CC attribute is closed, if sending " write response " failure in first time interval, Operating state data is removed, sends " bottom connection has disconnected " event notice to the PHD layer of one's own side.
By above-mentioned " abnormality processing ", due to defining the mistake for the treatment of process and automatically processing, do not need to intervene Mistake is actively repaired the mistake for the treatment of process by mechanism for correcting errors, the mistake for not needing to intervene is automatically repaired, by In active or automatic fault-tolerant processing that this method identifies the type of error generated in data exchange process and carries out, therefore, It ensure that the validity of data communication process.
As shown in Figure 1, described CPA layers includes abnormality eliminating method, the abnormality eliminating method includes:
If communicating pair is in data exchange process, the value of generation time interval time-out or CC attribute abnormal or ASN field Abnormal ST401 then executes corresponding active anomalous event and intervenes ST402;
If communicating pair in CPA data exchange process, generates ATT property operations method and executes error ST403, then execute Corresponding active ATT mistake intervenes ST404;
If communicating pair is in CPA data exchange process, primary to send when sending direction recipient sends a CPA PDU ATT protocol error that is that side may receive ATT layers of upthrow and being defined within the scope of the reserved application layer error code of ATT ST405 then executes corresponding active CPA PDU mistake and intervenes ST406;
If detecting ST407 when loss of link, corresponding inactive mode event anomalies processing ST408 is executed
Due to communication protocol adaptation layer (Communication Protocol Adaption, lower to be known as CPA) layer, it is used for Low-power consumption, low computing resource slave equipment (personal health equipment) and main equipment between data communication.The data communication Protocol stack layers level structure is respectively bottom transport layer, attribute agreement (Attribute Protocol, lower to be known as ATT) from the bottom to top Layer, CPA layers, personal health equipment application layer data exchange agreement (lower to be known as PHD) layer and application layer.Described CPA layers by pair The operation of ATT is managed, and enables the PHD dependent on reliable bottom transmission (connection-oriented) with nothing It is operated normally on the ATT that state (stateless) communication is characterized, is not frequently cut off the shadow with reconnection by ATT and bottom transmission It rings, is not limited by the protocol message length of ATT, not only made full use of the low power consumption characteristic of ATT, but also can be realized communicating pair and exist The synchronous interaction of application layer;The attribute agreement (ATT) is a standard in Bluetooth Low Energy (BLE) Technical Standard System, It is characterized by: the slave equipment of the standard is followed when carrying out data exchange with main equipment, according to category defined in BLE standard Property (Attribute) format the data that are exchanged are provided.The main equipment for following the standard can be by the category defined in ATT " write request ", " write response ", " instruction ", " confirmation " and " information searching request " method in property operating method is provided from equipment Attribute operated.The ATT is made of ATT data cell (ATT PDU) and ATT data exchange process.The ATT PDU is the data-message of message format being exchanged at ATT layers, meeting ATT and define, the word of the part payload (Payload) Section length does not exceed " ATT PDU maximum payload length ".The transmission of ATT PDU is completed by bottom transport layer.The ATT number It include " ATT establishes connection procedure ", " ATT operational process " and " ATT is planned to disconnect process " according to exchange process.It is described It is that communicating pair is established between both sides using broadcast event defined in BLE and scan event in bottom that ATT, which establishes connection procedure, The process of the communication connection of transport layer;The planned process that disconnects of the ATT is that communicating pair uses termination defined in BLE Connection event is disconnected in the process of the communication connection of bottom transport layer between both sides, and described CPA layers is characterized in that, by CPA number It is constituted according to crosspoint (CPA PDU) and CPA data exchange process.The CPA PDU is exchanged at CPA layers, is had spy The data-message for the formula that fixes, CPAPDU are transmitted as the payload in ATT PDU through ATT.Communicating pair is only when in " ATT fortune When in row process ", CPA data exchange process could be run, which includes " CPA connection sub-process ", " CPA runs sub-process " " CPA disconnects sub-process ".
APDU is obtained from the PHD layer of respective place equipment respectively from equipment and main equipment the two device roles, is then sealed Dress is the format of CPAPDU and is transferred to other side by ATT;The two device roles also receive CPAPDU from other side there respectively, And issued after extracting APDU wherein included it is PHD layer respective, communicating pair only when in " CPA operation sub-process " and PHD layers enter after status of ' connected ', could run PHD layer data exchange process.When the PHD layer of communicating pair carries out APDU When transmission, the PHD layer of sender sends APDU to the CPA layer of one's own side, is carried out data transmission by CPA layers.When communicating pair When PHD layers of end interact or PHD layers are abnormal disconnection, the PHD layer of communicating pair is transformed into " not by current state Connection " state, and semantic to respective CPA layers of transmission is " disconnecting bottom connection " built-in command, and is not to wait for respective CPA layers Feedback.Low power consumption characteristic of the application layer based on bottom transmission technology can be arranged in BLE according to data transfer demands to be defined Connection interval (Connection interval) and be related to the connection ginseng of power consumption from equipment delay (Slave latency) etc. Number, and then the timing that the bottom link for controlling equipment room is reconnected, described CPA layers is characterized in that communicating pair can To complete using and managing to ATT by CPA.When communicating pair PHD layers be in status of ' connected ' when, communicating pair ATT layers of connection can be disconnected by CPA layers in order to reduce power consumption.If application layer is not intended to disconnect PHD layers of connection, In Before disconnecting ATT layers of connection, communicating pair saves CPA layers and PHD layers of operating state data;When needing to reconnect, Communicating pair re-establishes ATT layers of connection by CPA layers, and continues to execute PHD based on the operating state data being previously saved Layer data exchange process.
As shown in Figure 1, if the communicating pair is in data exchange process, generation time interval time-out or CC attribute abnormal Or the value exception ST401 of ASN field, then executing corresponding active anomalous event intervention ST402 includes:
If any one time in CPA layers of four time interval for assisting its connection status of CPA layer-management for including Interval time-out, or:
If in CPA connection sub-process, before CPA layers of connection are failed, communicating pair either one have received and CC attribute Relevant message, or;
If the value of ASN field is not nearest in either one CPA PDU for receiving of communicating pair in CPA operation sub-process Once be successfully transmitted or received CPA PDU in ASN value add 1;
Main equipment is then:
Default is turned off from the instruction function of the CC attribute of equipment, is removed operating state data, is to PHD layers of transmission semanteme Disconnected event notifies for bottom connection, and does not handle the other data sent from equipment before connect next time;
Then from equipment:
The instruction function of CC attribute is closed, operating state data is removed, semantic to PHD layers of transmission is that bottom connection has disconnected Event notice, and in addition to connection request, other data of main equipment transmission are not handled.
Since in CPA layer data exchange process, the mistake of generation and the fault-tolerant processing carried out include:
In CPA connection sub-process, before CPA connection is failed, main equipment or had received from equipment related to CC attribute Message after, execute active anomalous event intervention.
CPA is run in sub-process, if the main equipment or value of ASN field is not nearest from the CPAPDU that equipment receives Once successfully ASN value adds 1 in the CPA PDU of interaction (sending or receiving), executes active anomalous event intervention.
In CPA data exchange process, after sending " instruction " by ATT from equipment, first time interval and not has been waited When receiving corresponding " confirmation ", from ATT layers of equipment identification of connections abnormal disconnection, active anomalous event intervention is executed Process;Or after main equipment sends " write request " by ATT, first time interval is waited and has not received corresponding " write response " When, main equipment assert ATT layers of connection abnormal disconnection, executes active anomalous event intervention.
CPA is run in sub-process, if CPA layers when receiving from PHD layers of APDU, to the ATT layer disconnected Semanteme is sent after " establishing ATT layers of connection " built-in command, to have waited third time interval and not received ATT layers of transmission When " ATT layers of connection have been established " event notifies, that is, execute active anomalous event intervention.
CPA is disconnected in sub-process, is sent out if having waited the 4th time interval from equipment and not received main equipment by ATT When " write request " with predetermined value two sent or main equipment is sent by ATT in the 4th time interval and has predetermined value After two " write request " failure, active anomalous event intervention is executed.
The CPA data exchange process further includes four time intervals for assisting its connection status of CPA layer-management:
First time interval is the high latency that main equipment receives corresponding " write response " in transmission " write request " afterwards; Either receive the high latency of corresponding " confirmation " afterwards in transmission " instruction " from equipment;
Second time interval is CPA layers and executes link reconnection after the link connection time-out error for receiving ATT layers of transmission High latency;
Third time interval is (typically to power consumption is reduced) after actively disconnecting at ATT layers, when CPA layers from PHD layers When receiving APDU, CPA layers to ATT layers send the longest that " establishing bottom connection " built-in command starts and it is waited to complete reconnection Waiting time;
4th time interval is that the CPA layers of semanteme for receiving PHD layers of transmission are master after " disconnecting bottom connection " built-in command Equipment closes the high latency of the instruction function of CC attribute to predetermined value two is written from the IE attribute of equipment;Or CPA After layer receives " disconnecting bottom connection " built-in command of PHD layers of transmission, is received from equipment waiting from main equipment and have predetermined value The high latency of two " write request ".
When the waiting time in some above-mentioned link being more than the time interval, CPA layers of working condition, that is, automatic Change.
The mistake generated due to ATT layers is ATT mistake.In CPA connection sub-process, when main equipment passes through ATT Xiang Congshe When preparation send " write request " to IE attribute, it is likely to be received the protocol error from equipment by the ATT ATT layer upthrow sent, Its semanteme includes but is not limited to following scenario described:
First is that certification is insufficient.Main equipment can carry out authentication operation and retransmit " write request " at this time;
Second is that encryption is insufficient.Main equipment can carry out cryptographic operation and retransmit " write request " at this time;
Third is that key length is inadequate.Main equipment can change key and re-execute cryptographic operation at this time;
Fourth is that graunch.Main equipment can be attempted to retransmit " write request " at this time, and the write-in value in " write request " is constant;
Fifth is that write-in value is invalid.Main equipment can attempt that other predetermined values are written at this time;
Sixth is that other mistakes other than the above mistake.It is repeated if there is some mistake in six or one to five Occur, determines that subsequent error handle operates by application layer.
It is former when sending direction recipient sends a CPA PDU if the communicating pair is in CPA data exchange process ATT agreement that is that sender may receive ATT layers of upthrow and being defined within the scope of the reserved application layer error code of ATT is wrong Accidentally ST405, then executing corresponding active CPA PDU mistake intervention ST406 includes:
If occurring semantic being that CPA PDU receives the mistake to malfunction, former sender can attempt again after receiving this mistake It sends current CPA PDU, while when former recipient abandons error received current CPA PDU segment and preparing to receive and send out again The CPA PDU sent determines that subsequent error handle operates by application layer if still receiving this mistake after retransmitting;
If occurring semantic being the too long mistake of CPA PDU information portion, due to equipment where recipient can not receive it is too long APDU, to former sender can send this mistake, former sender can attempt to retransmit new CPA after receiving this mistake PDU, while former recipient abandons received current CPA PDU segment when malfunctioning and prepares to receive the CPA PDU retransmitted, If still receiving this mistake after retransmitting, determine that subsequent error handle operates by application layer.
If ST407 when detecting loss of link, corresponding inactive mode event anomalies processing ST408 packet is executed It includes:
If detecting ST407 when loss of link, ATT layers can connect time-out error to CPA layers of transmission link, and communicating pair exists Any moment after completing a CPA PDU transmission saves working condition data when receiving link connection time-out error, After waiting ATT layer link reconnection success, communicating pair immediately enter CPA run sub-process and since current CPA PDU after It is continuous to execute the communication before link disconnects comprising:
The operating state data includes the ASN value in a upper CPA PDU, and when bottom link disconnects:
If sender is encapsulating APDU, operating state data further includes the APDU of our PHD layers of transmission, and in bottom chain The APDU encapsulated before bottom link reconnection is encapsulated as CPA PDU again after the reconnection of road;
If sender is through ATT layers of transmission CPA PDU, operating state data further includes current CPA PDU, and in bottom CPA PDU is retransmitted after link reconnection;
If recipient is receiving current CPA PDU, the received all segments for belonging to current CPA PDU are abandoned.
Using technical solution of the present invention or those skilled in the art under the inspiration of technical solution of the present invention, design Similar technical solution out, and reach above-mentioned technical effect, it is to fall into protection scope of the present invention.

Claims (10)

1. the communication means being adapted to by ATT and abnormality processing, which is characterized in that the communication means is included in master and slave set It is standby carry out data exchange before, communicating pair is established be followed successively by bottom transport layer, ATT layers of attribute agreement, general from the bottom to top respectively The data communication protocol stack layer level structure of CPA layers of specification of attribute protocol adaptation, PHD layers of data exchange agreement and application layer;
Described CPA layers includes abnormality eliminating method, and the abnormality eliminating method includes:
If communicating pair is in data exchange process, the value exception of generation time interval time-out or CC attribute abnormal or ASN field, Then execute corresponding active anomalous event intervention;
If communicating pair in CPA data exchange process, generates ATT property operations method and executes error, then execute corresponding main Dynamic formula ATT mistake intervention;
If communicating pair, in CPA data exchange process, when sending direction recipient sends a CPA PDU, primary send can ATT protocol error that is can receiving ATT layers of upthrow and being defined within the scope of the reserved application layer error code of ATT, then hold The corresponding active CPA PDU mistake intervention of row;
If detect loss of link, corresponding inactive mode event anomalies processing is executed.
2. communication means according to claim 1, which is characterized in that if the communicating pair in data exchange process, produces The value of raw time interval time-out or CC attribute abnormal or ASN field is abnormal, then executes corresponding active anomalous event intervention packet It includes:
If any one time interval in CPA layers of four time interval for assisting its connection status of CPA layer-management for including Time-out, or:
If in CPA connection sub-process, before CPA layers of connection are failed, communicating pair either one have received it is related to CC attribute Message, or;
If the value of ASN field is not the last in either one CPA PDU for receiving of communicating pair in CPA operation sub-process Be successfully transmitted or received CPA PDU in ASN value add 1;
Main equipment is then:
Default is turned off from the instruction function of the CC attribute of equipment, removes operating state data, and semantic to PHD layers of transmission is bottom Disconnected event notifies for connection, and does not handle the other data sent from equipment before connect next time;
Then from equipment:
The instruction function of CC attribute is closed, operating state data is removed, semantic to PHD layers of transmission is bottom connection disconnected event Notice, and in addition to connection request, other data of main equipment transmission are not handled.
3. communication means according to claim 2, which is characterized in that described CPA layers include for assist CPA layer-management its Four time intervals of connection status;
First time interval: main equipment received after sending ATT write request corresponding ATT write response high latency or It is the high latency for receiving corresponding ATT after sending ATT instruction from equipment and confirming;
Second time interval: CPA layers after the link connection time-out error for receiving ATT layers of transmission until link reconnection is successful High latency;
Third time interval: after ATT layers of planned disconnection, when CPA layers from when receiving APDU for PHD layers, CPA layers to ATT It is to establish bottom connection built-in command to start to complete the high latency of reconnection until ATT that layer, which is sent semantic,;
4th time interval: after CPA layers of main equipment receive the semanteme of PHD layers of transmission to disconnect bottom connection built-in command, to Predetermined value two is written from the IE attribute of equipment come when closing the longest waiting for waiting corresponding write response when CC attribute instruction function Between.
4. communication means according to claim 3, which is characterized in that if any one time interval in four time intervals Waiting time is more than high latency, then CPA layers of working condition changes automatically.
5. communication means according to claim 1, which is characterized in that if the communicating pair in CPA data exchange process, It generates ATT property operations method and executes error, then executing corresponding active ATT mistake intervention includes:
The ATT protocol error is insufficient including certification, encryption is insufficient, key length is inadequate, graunch and write-in value are invalid Or other relevant errors;
If communicating pair certification is insufficient, main equipment can carry out authentication operation and retransmit ATT write request;
If communicating pair encryption is insufficient, main equipment can carry out cryptographic operation and retransmit ATT write request;
If communicating pair key length is inadequate, main equipment can change key and re-execute cryptographic operation;
If communicating pair graunch, main equipment can be attempted to retransmit the ATT write request with former write-in value;
If communicating pair write-in value is invalid, main equipment can attempt that other predetermined values are written.
6. communication means according to claim 5, which is characterized in that if a type of error weight in ATT protocol error It appears again existing, then determines that subsequent error handle operates by application layer.
7. communication means according to claim 1, which is characterized in that if the communicating pair in CPA data exchange process, It is that the primary side of sending may receive ATT layers of upthrow and to be defined on ATT pre- when sending direction recipient sends a CPA PDU The ATT protocol error within the scope of application layer error code stayed, then executing corresponding active CPA PDU mistake intervention includes:
If occurring semantic being that CPA PDU receives the mistake to malfunction, former sender can attempt to retransmit after receiving this mistake Current CPA PDU, while former recipient abandons received current CPA PDU segment when malfunctioning and prepares what reception retransmitted CPA PDU determines that subsequent error handle operates by application layer if still receiving this mistake after retransmitting;
If occurring semantic being the too long mistake of CPA PDU information portion, due to equipment where recipient can not receive it is too long APDU can send this mistake to former sender, and former sender can attempt to retransmit new CPA PDU after receiving this mistake, Former recipient abandons received current CPA PDU segment when malfunctioning and prepares to receive the CPA PDU retransmitted simultaneously, if weight This mistake is still received after new transmission, determines that subsequent error handle operates by application layer.
8. communication means according to claim 1, which is characterized in that if described when detecting loss of link, execute corresponding Inactive mode event anomalies processing include:
If detect loss of link, ATT layers can connect time-out error to CPA layers of transmission link, and communicating pair completes upper one Any moment after a CPA PDU transmission saves working condition data when receiving link connection time-out error, is waiting ATT After layer link reconnection success, communicating pair immediately enters CPA operation sub-process and continues to execute link since current CPA PDU Communication before disconnection.
9. communication means according to claim 1, which is characterized in that if described when detecting loss of link, execute corresponding Inactive mode anomalous event processing further include:
The operating state data includes the ASN value in a upper CPA PDU, and when bottom link disconnects:
If sender is encapsulating APDU, operating state data further includes the APDU of our PHD layers of transmission, and in bottom link weight The APDU encapsulated before bottom link reconnection is encapsulated as CPA PDU again after even;
If sender is through ATT layers of transmission CPA PDU, operating state data further includes current CPA PDU, and in bottom link CPA PDU is retransmitted after reconnection;
If recipient is receiving current CPA PDU, the received all segments for belonging to current CPA PDU are abandoned.
10. the communication system being adapted to by ATT and abnormality processing, which is characterized in that the communication system is based on master and slave equipment Before carrying out data exchange, communicating pair is established respectively is followed successively by bottom transport layer, ATT layers of attribute agreement, general category from the bottom to top Property specification protocol be adapted to CPA layers, the data communication protocol stack layer level structure of PHD layers of data exchange agreement and application layer;
Described CPA layers includes exception processing module, and the exception processing module is used for:
Realize segmentation and the recombination method of any one such as 1~claim 9 of claim.
CN201910783902.XA 2019-08-23 2019-08-23 Communication method and system adapted by ATT and exception handling Active CN110493775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910783902.XA CN110493775B (en) 2019-08-23 2019-08-23 Communication method and system adapted by ATT and exception handling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910783902.XA CN110493775B (en) 2019-08-23 2019-08-23 Communication method and system adapted by ATT and exception handling

Publications (2)

Publication Number Publication Date
CN110493775A true CN110493775A (en) 2019-11-22
CN110493775B CN110493775B (en) 2021-10-12

Family

ID=68553226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910783902.XA Active CN110493775B (en) 2019-08-23 2019-08-23 Communication method and system adapted by ATT and exception handling

Country Status (1)

Country Link
CN (1) CN110493775B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314448A (en) * 2020-02-05 2020-06-19 重庆大学 Data communication system and method adapted based on CPA field protection
CN111328056A (en) * 2020-01-20 2020-06-23 钟代笛 Communication method and system for carrying out protocol adaptation based on ATT and read-write instruction
CN111416889A (en) * 2020-01-16 2020-07-14 重庆大学 Communication method and system adapted through GATT and exception handling
CN111417116A (en) * 2020-03-10 2020-07-14 国家体育总局体育科学研究所 Communication method and system adapted through ATT, read-write and exception handling

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014609A1 (en) * 2001-07-13 2003-01-16 Kissell Kevin D. Mechanism for programmable modification of memory mapping granularity
CN102739788A (en) * 2012-06-25 2012-10-17 广州复旦奥特科技股份有限公司 Field equipment communication method based on European installation bus (EIB) protocol
CN109474969A (en) * 2018-12-19 2019-03-15 苏芯物联技术(南京)有限公司 Mixed communication method and system based on IEEE 802.15.4 and low-power consumption bluetooth dual stack

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014609A1 (en) * 2001-07-13 2003-01-16 Kissell Kevin D. Mechanism for programmable modification of memory mapping granularity
CN102739788A (en) * 2012-06-25 2012-10-17 广州复旦奥特科技股份有限公司 Field equipment communication method based on European installation bus (EIB) protocol
CN109474969A (en) * 2018-12-19 2019-03-15 苏芯物联技术(南京)有限公司 Mixed communication method and system based on IEEE 802.15.4 and low-power consumption bluetooth dual stack

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416889A (en) * 2020-01-16 2020-07-14 重庆大学 Communication method and system adapted through GATT and exception handling
CN111416889B (en) * 2020-01-16 2022-03-04 重庆大学 Communication method and system adapted through GATT and exception handling
CN111328056A (en) * 2020-01-20 2020-06-23 钟代笛 Communication method and system for carrying out protocol adaptation based on ATT and read-write instruction
CN111328056B (en) * 2020-01-20 2023-03-24 钟代笛 Communication method and system for carrying out protocol adaptation based on ATT (advanced technology transfer) and read-write command
CN111314448A (en) * 2020-02-05 2020-06-19 重庆大学 Data communication system and method adapted based on CPA field protection
CN111314448B (en) * 2020-02-05 2022-02-08 重庆大学 Data communication system and method adapted based on CPA field protection
CN111417116A (en) * 2020-03-10 2020-07-14 国家体育总局体育科学研究所 Communication method and system adapted through ATT, read-write and exception handling
CN111417116B (en) * 2020-03-10 2023-09-19 国家体育总局体育科学研究所 Communication method and system adapted through ATT, read-write and exception handling

Also Published As

Publication number Publication date
CN110493775B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN110493775A (en) The communication means and system being adapted to by ATT and abnormality processing
CN103220292B (en) Cross-safe-area data transmission and system
CN110545265B (en) Data communication system and method for carrying out adaptation depending on ATT and indication
CN110545318B (en) Data communication method and system for carrying out adaptation depending on GATT and indication
CN103152260A (en) Message forwarding system, method and device
CN101984573A (en) Method and system for distributed realization of LACP standard state machine
CN107948063B (en) Method for establishing aggregation link and access equipment
JPH11234277A (en) Management system
CN109688555B (en) Real-time signal data acquisition and communication system and method
CN108322443A (en) Equipment interactive communication method, apparatus, storage medium and computer equipment
CN103095703A (en) Method and equipment and system for achieving data interaction between network and serial port
KR20150070191A (en) Method and system for removing fault of internet of things gateway
US5235597A (en) Synchronizing asynchronous protocol interactions between peer layers in different nodes of a layered communication network
US8547881B2 (en) Method, apparatus and system for transmitting ACK response in bidirectional data transmission
CN104429009B (en) Method for transmitting data packets in the case of bidirectional transmission of data packets
CN111416889B (en) Communication method and system adapted through GATT and exception handling
CN111314448B (en) Data communication system and method adapted based on CPA field protection
CN107911288B (en) Train communication network card and train control management system
CN102710666B (en) RADIUS (remote authentication dial in user service) client overtime treating method in WLAN (wireless local area network) system
CN111328056B (en) Communication method and system for carrying out protocol adaptation based on ATT (advanced technology transfer) and read-write command
CN115226100A (en) Industry heterogeneous network edge gateway based on 5G
CN113259404B (en) Industrial communication middleware based on TCP/IP protocol and use method thereof
CN111417116B (en) Communication method and system adapted through ATT, read-write and exception handling
CN104185204B (en) A kind of connection status inspection method and device
CN100375464C (en) Method for data communication of every terminal when network interconnecting

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
GR01 Patent grant