CN112585927A - Communication link detection method, device and system and movable platform - Google Patents

Communication link detection method, device and system and movable platform Download PDF

Info

Publication number
CN112585927A
CN112585927A CN202080004404.1A CN202080004404A CN112585927A CN 112585927 A CN112585927 A CN 112585927A CN 202080004404 A CN202080004404 A CN 202080004404A CN 112585927 A CN112585927 A CN 112585927A
Authority
CN
China
Prior art keywords
component
sending
query request
target component
state
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.)
Pending
Application number
CN202080004404.1A
Other languages
Chinese (zh)
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.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI 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 SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Publication of CN112585927A publication Critical patent/CN112585927A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application provides a method, a device and a system for detecting a communication link and a movable platform. The method comprises the following steps: after a communication link is established between a sending component and a target component, generating a state query request corresponding to the target component, wherein the type of a communication protocol interface of the sending component is different from that of the communication protocol interface of the target component; sending a status query request to the target component; and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not. The technical scheme provided by the embodiment can determine the working state of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component is received or not, so that the query of the states of the communication links established through different communication protocol interfaces is effectively realized, and the method has the characteristics of simple implementation mode, good flexibility, strong expansibility and the like.

Description

Communication link detection method, device and system and movable platform
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method, a device and a system for detecting a communication link and a movable platform.
Background
With the rapid development of communication technology, more and more communication protocols capable of realizing data transmission are available, and it can be understood that different communication protocols may correspond to different communication protocol interfaces, and the different communication protocol interfaces may include: two-wire serial bus I2The controller comprises a C interface, a serial peripheral SPI interface, a serial interface, a parallel interface, a universal serial bus USB interface, a controller area network CAN interface, a mobile industry processor MIPI interface, a high-speed serial computer expansion bus standard PCIE interface, an Ethernet interface, a modem interface and the like.
Because the communication protocols corresponding to different communication protocol interfaces are different, the different communication protocol interfaces cannot be directly connected in a communication mode. At this time, when the state of the communication link formed between the different communication protocol interfaces needs to be detected, operations such as encoding and link debugging need to be performed on the communication link between the different communication interfaces. The operation process is complicated, and the labor cost and the time cost are greatly increased.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for detecting a communication link and a movable platform.
A first aspect of the present invention is to provide a method for detecting a communication link, including:
after a communication link is established between a sending component and a target component, generating a state query request corresponding to the target component, wherein the type of a communication protocol interface of the sending component is different from that of the target component;
sending the status query request to the target component;
and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not.
A second aspect of the present invention is to provide a detection apparatus for a communication link, the communication link including at least a sending component and a target component communicatively connected to the sending component, the detection apparatus including:
a first memory for storing a computer program;
a first processor for executing a computer program stored in the first memory to implement:
after a communication link is established between a sending component and a target component, generating a state query request corresponding to the target component, wherein the type of a communication protocol interface of the sending component is different from that of the target component;
sending the status query request to the target component;
and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not.
A third aspect of the present invention is to provide a movable platform, comprising:
a body;
the apparatus for detecting a communication link according to the third aspect is disposed on the body, and is configured to detect a state of a communication link formed between communication components of the movable platform.
A fourth aspect of the present invention is to provide a computer-readable storage medium, wherein the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used for the method for detecting a communication link according to the first aspect.
A fifth aspect of the present invention is to provide a method for detecting a communication link, applied to an intermediate component, the method including:
the intermediate component receives a state query request sent by a sending component, wherein the state query request is used for querying the working state of a communication link between the sending component and a target component;
the intermediate component determines a target identity of a target component corresponding to the status query request;
and the intermediate component transmits the state query request based on the target identity so as to send the state query request to the target component.
A sixth aspect of the present invention is to provide a detection apparatus for a communication link, including:
a second memory for storing a computer program;
a second processor for executing the computer program stored in the second memory to implement:
receiving a state query request sent by a sending component, wherein the state query request is used for querying the working state of a communication link between the sending component and a target component;
determining a target identity of a target component corresponding to the status query request;
and transmitting the state query request based on the target identity so as to send the state query request to a target component.
A seventh aspect of the present invention is to provide a movable platform, comprising:
a body;
the communication link detection apparatus according to the sixth aspect is disposed on the body, and configured to detect a state of a communication link formed between communication components of the movable platform.
An eighth aspect of the present invention is to provide a computer-readable storage medium, wherein the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, and the program instructions are used for the method for detecting a communication link according to the fifth aspect.
A ninth aspect of the present invention is to provide a system for detecting a communication link, the communication link including at least a target component to which a sending component is communicatively connected, the sending component having a communication protocol interface of a type different from that of the target component, the system including:
a sending component for generating a status query request corresponding to the target component; sending the state query request to the target component through an intermediate component; determining the working state of a communication link between the sending component and the target component according to whether query feedback information sent by the target component based on the state query request is received or not;
the intermediate component receives a state query request sent by a sending component through a receiving port, wherein the state query request is used for querying the working state of a communication link between the sending component and a target component and sending the state query request out through a sending port of the intermediate component, and the sending port is different from the receiving port of the intermediate component;
the target component is used for receiving the state query request through the intermediate component, generating query feedback information based on the state query request, and sending the query feedback information to the sending component.
The technical scheme provided by the embodiment of the invention can determine the working state of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component is received or not, has the characteristics of simple implementation mode, effectively reduced labor cost and time cost, and further improves the practicability of the method.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a method for detecting a communication link according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of generating a status query request corresponding to the target component according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a network structure of a protocol corresponding to a status query request according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating the generation of a status query request corresponding to the target component in the embodiment of FIG. 2;
FIG. 5 is a diagram illustrating an embodiment of the present invention in which the status query request is sent directly to the target component;
FIG. 6 is a diagram illustrating sending the status query request to the target component via at least one intermediate component, according to an embodiment of the present invention;
FIG. 7 is a flow diagram illustrating sending of the status query request to the target component via at least one intermediate component in an embodiment of the present invention;
FIG. 8 is a flowchart illustrating the at least one intermediate component in FIG. 7 transmitting the status query request based on the second identity to send the status query request to the target component;
fig. 9 is a flowchart illustrating another method for detecting a communication link according to an embodiment of the present invention;
fig. 10 is a schematic flowchart of fig. 1 illustrating a process of determining an operating state of a communication link between the sending component and the target component according to whether query feedback information sent by the target component based on the status query request is received;
FIG. 11 is a schematic flow chart of FIG. 10 illustrating the determination of the operational status of the communication link between the sending component and the target component based on the feedback duration;
fig. 12 is a flowchart illustrating a method for detecting a communication link according to another embodiment of the present invention;
fig. 13 is a first schematic connection diagram of a communication link between a sending component and the target component according to an embodiment of the present invention;
fig. 14 is a second schematic connection diagram of a communication link between the sending component and the target component according to the embodiment of the present invention;
fig. 15 is a first flowchart illustrating sending the status query request to the target component according to the embodiment of the present invention;
fig. 16 is a second flowchart illustrating sending the status query request to the target component according to the embodiment of the present invention;
fig. 17 is a flowchart illustrating a method for detecting a communication link according to another embodiment of the present invention;
fig. 18 is a flowchart illustrating a method for detecting a communication link according to another embodiment of the present invention;
fig. 19 is a first signaling interaction diagram of a method for detecting a communication link according to an embodiment of the present invention;
fig. 20 is a signaling interaction diagram ii of a method for detecting a communication link according to an embodiment of the present invention;
fig. 21 is a schematic structural diagram of a detection system for a communication link according to an embodiment of the present invention;
fig. 22 is a first schematic structural diagram of a detection apparatus for a communication link according to an embodiment of the present invention;
fig. 23 is a schematic structural diagram of a detection apparatus for a communication link according to an embodiment of the present invention;
fig. 24 is a schematic structural diagram of a detection system of a communication link according to an embodiment of the present invention;
FIG. 25 is a first schematic structural diagram of a movable platform according to an embodiment of the present invention;
fig. 26 is a second schematic structural diagram of a movable platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
In order to facilitate understanding of the implementation process of the detection method of the communication link in this embodiment, the following briefly describes related technologies:
with the rapid development of communication technology, more and more communication protocols capable of realizing data transmission are available, and different communication protocols may correspond to different communication protocol interfaces, and the different communication protocol interfaces may include: two-wire serial bus I2C interface, serial peripheral SPI interface, serial interface, parallel interface, universal serial bus USB interface, controller area network CAN interface, mobile industry processor MIPI interface, high speed serial computer expansion bus standard PCIE interface, Ethernet interface, modem interface, and the like.
Because the communication protocols corresponding to different communication protocol interfaces are different, the different communication protocol interfaces cannot be directly connected in a communication mode. At this time, when the state of the communication link formed between the different communication protocol interfaces needs to be detected, operations such as encoding and link debugging need to be performed on the communication link between the different communication interfaces.
For example, there are a first chip and a second chip, the first chip includes a two-wire serial bus I2C interface and the second chip comprises a serial peripheral SPI interface, because I2The communication protocol corresponding to the C interface is different from the communication protocol corresponding to the SPI interface, and therefore, the above-mentioned I interface2The C interface and the SPI interface can not be in direct communication connection. At this time, in order to perform the status statistics, communication failure diagnosis and link delay statistics operations on the communication link, it is necessary to manually perform the I-correlation2And the communication link between the C interface and the SPI interface is independently developed, interconnected and intercommunicated, debugged and processed so as to realize the detection of the state of the communication link between the first chip and the second chip.
However, the above state detection process is not only complicated in operation process and high in complexity, but also greatly increases labor cost and time cost, and in addition, the implementation method requires a user to perform specific encoding and debugging operations on a communication link between specific chip interfaces, is strong in customization and cannot be flexibly expanded, thereby reducing quality and efficiency of state detection on the communication link between different communication protocol interfaces.
In order to solve the above-mentioned disadvantages in the operation processes of performing status statistics, communication fault diagnosis, link delay statistics, and the like on communication links between different communication interfaces, the present embodiment provides a method, an apparatus, a system, and a mobile platform for detecting a communication link, where the method can generate a status query request corresponding to a target component after a communication link is established between a sending component and the target component, then send the status query request to the target component, and determine a working status of the communication link between the sending component and the target component according to whether query feedback information sent by the target component based on the status query request is received.
The state query request can meet a pre-configured communication protocol, and the pre-configured communication protocol can realize interconnection and intercommunication among a plurality of different communication protocol interfaces, so that the operations of coding, link debugging and the like of communication links among different communication protocol interfaces are conveniently realized, and the complex problems existing in the operations of detecting and diagnosing the communication links formed among the plurality of different communication protocol interfaces are simply and efficiently solved; in addition, the detection method in the embodiment also has the characteristics of simple implementation mode, good flexibility, strong expansibility and the like, so that the practicability of the detection method is improved.
The following describes implementations of embodiments of the present invention in detail with reference to the accompanying drawings. The features of the embodiments and examples described below may be combined with each other without conflict between the embodiments.
Fig. 1 is a schematic flowchart of a method for detecting a communication link according to an embodiment of the present invention; referring to fig. 1, the embodiment provides a method for detecting a communication link, where an execution subject of the method may be a detection apparatus of the communication link, and the detection apparatus may refer to a sending component having a data transmission function, and it is understood that the sending component may be implemented as software, or a combination of software and hardware. Specifically, the method for detecting the communication link may include:
step S101: after a communication link is established between a sending component and a target component, a status query request corresponding to the target component is generated, wherein the type of the communication protocol interface of the sending component is different from the type of the communication protocol interface of the target component.
Step S102: the status query request is sent to the target component.
Step S103: and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not.
The following describes the implementation process of each step in detail:
step S101: after a communication link is established between a sending component and a target component, a status query request corresponding to the target component is generated, wherein the type of the communication protocol interface of the sending component is different from the type of the communication protocol interface of the target component.
The sending component and the target component may respectively refer to a data unit with a data transmission function, and it is understood that the data unit may be implemented as software, for example: the sending component is a first application program APP, the target component is a second application program APP, and a communication link can be established between the first APP and the second APP. Alternatively, the data unit described above may be implemented as hardware, for example: the sending component is a first chip, the target component is a second chip, and a communication link can be established between the first chip and the second chip. Alternatively, the data units described above may be implemented as a combination of software and hardware, for example: the sending component is a first chip system, a software program for realizing a first function is stored in the first chip system, at the moment, the target component is a second chip system, a software degree for realizing a second function is stored in the second chip system, and a communication link can be established between the first chip system and the second chip system. Alternatively, the sending component and the target component may be in different representations, such as: the sending component may be implemented in a software representation and the target component may be implemented in a hardware representation; alternatively, the sending component may be implemented as a software representation and the target component may be implemented as a combined representation of software and hardware.
In addition, the sending component and the target component may be any two different components in a group of components, the group of components may include multiple components, and the representations of the multiple components may be configured arbitrarily based on different application scenarios and application requirements.
For example, in the field of unmanned aerial vehicle technology, a set of components may include a control terminal, a flight control system 1 of the unmanned aerial vehicle in communication connection with the control terminal, a camera 1 in communication connection with the flight control system 1, an unmanned aerial vehicle 1 and a pan-tilt 1, a flight control system 2 of the unmanned aerial vehicle in communication connection with the control terminal, a camera 2 in communication connection with the flight control system 2, the unmanned aerial vehicle 1 and the pan-tilt 2. In this case, the control terminal may be a transmission component, and the target component may be the camera 1 communicatively connected to the flight control system 1. In this embodiment, the control terminal may inquire about the state of the camera 1. In another embodiment, the flight control system 2 on the drone may be a sending component, and the target component may be a cradle head 1 disposed on the drone 1. In this embodiment, the flight control system 2 may query the state of the pan/tilt head 1. In yet another embodiment, the camera 2 on the drone may also be a sending component and the target component may be a control terminal. In this embodiment, the camera may query the status of the control terminal. That is, by selecting any two components in a group of components as a sending component and a receiving component, respectively, any component in the group of components can be made to query the state of the other component, or can query the state of a communication link between the component to the other component.
In the technical field of network devices, a group of components may include a routing controller, a routing device in communication connection with the routing controller, and a network device corresponding to the routing device, where the routing controller may be a sending component and the network device may be a target component; alternatively, the routing device may be a sending component and the network device may be a target component; alternatively, the network device may be a sending component, the routing controller may be a target component, and so on. Of course, those skilled in the art may also arbitrarily configure the sending component and the target component according to different application scenarios and application requirements, which are not described herein again.
In specific application, a person skilled in the art may configure the sending component and the target component according to specific application requirements and design requirements, as long as it is ensured that a communication link can be established between the sending component and the target component, and the type of the communication protocol interface of the sending component is different from that of the target component, which is not described herein again.
In addition, after the communication link between the sending component and the target component is established, a status query request corresponding to the target component may be generated, the status query request being used to query the operating status of the communication link between the sending component and the target component. Specifically, in an implementation manner, the status query request may be a Ping command generated by using an improved Internet message Control Protocol (ICMP), and the generated Ping command does not depend on a physical link. That is, the Ping instruction may be used on a variety of different physical links, for example, the Ping instruction described above may be adapted to: universal Asynchronous Receiver/Transmitter (UART), Controller Area Network (CAN), two-wire serial bus I2C. Universal serial bus USB, high speed serial computer expansion bus standard PCIE, ethernet, etc.
Of course, those skilled in the art may also generate the status query request corresponding to the target component in other manners, as long as the accuracy and reliability of generating the status query request can be ensured, which is not described herein again.
Step S102: the status query request is sent to the target component.
The status query request may include a target component identifier corresponding to the target component. Therefore, after the status query request is acquired, the status query request can be analyzed and identified to acquire a target component identifier corresponding to the target component, and the status query request is sent to the target component based on the target component identifier corresponding to the target component, so that the target component can acquire the status query request. After the target component acquires the state query request, query feedback information can be generated according to the state query request, and the query feedback information can be returned to the sending component.
Step S103: and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not.
After the target component generates query feedback information based on the status query request, the query feedback information may be sent to the sending component, for which there are two cases: (1) the sending component may receive query feedback information; (2) the sending component does not receive the query feedback information. After determining whether the sending component receives the query feedback information, the operating state of the communication link between the sending component and the target component may be determined based on whether the query feedback information is received, and it is understood that the operating state may include a normal state and an abnormal state. Specifically, determining the working state of the communication link between the sending component and the target component according to whether query feedback information sent by the target component based on the state query request is received may include:
step S1031: and when receiving the query feedback information, determining that the working state of the communication link is a normal state. Or,
step S1032: and when the query feedback information is not received, determining that the working state of the communication link is an abnormal state.
Specifically, when the sending component does not receive the query feedback information sent by the target component, it indicates that a fault exists between the communication links between the sending component and the target component, and at this time, the target component cannot transmit the query feedback information to the sending component based on the communication links, so that it can be determined that the working state of the communication links between the sending component and the target component is an abnormal state. Similarly, after the sending component receives the query feedback information sent by the target component, it indicates that the communication link between the sending component and the target component is operating normally, and at this time, the target component may transmit the query feedback information to the sending component based on the communication link, and may further determine that the operating state of the communication link between the sending component and the target component is a normal state.
Of course, those skilled in the art may also use other manners to determine the working state of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received, as long as the working state of the communication link between the sending component and the target component can be accurately and effectively identified, which is not described herein again.
The method for detecting a communication link according to this embodiment generates a status query request corresponding to a target component after a communication link is established between a sending component and the target component. The generated state query request can be request information generated based on a custom communication protocol, the custom communication protocol can realize communication connection between communication interfaces of different communication protocols, then the state query request is sent to the target component, and the working state of a communication link between the sending component and the target component is determined according to whether query feedback information sent by the target component based on the state query request is received or not, wherein the query feedback information and the state query request can meet a preset communication protocol, the preset communication protocol can ensure that data can be safely and stably transmitted between different communication protocol interfaces, thereby effectively realizing the query of the state of the communication link established by the different communication protocol interfaces, and the method also has the characteristics of simple implementation mode and effectively reducing the labor cost and the time cost, further improving the practicability of the method.
FIG. 2 is a flowchart illustrating a process of generating a status query request corresponding to a target component according to an embodiment of the present invention; based on the foregoing embodiment, with reference to fig. 2, a specific implementation manner of generating the status query request corresponding to the target component in this embodiment is not limited, and a person skilled in the art may set the request according to specific application requirements and design requirements, and preferably, the generating the status query request corresponding to the target component in this embodiment may include:
step S201: application layer data, network layer data, and data link layer data corresponding to the sending component and the target component are obtained.
Step S202: a status query request corresponding to the target component is generated based on the application layer data, the network layer data, and the data link layer data.
The status query request may be request information generated based on a preset communication protocol, where the preset communication protocol may be an internet credit control protocol, and at this time, the status query request generated by the internet credit control protocol may be a Ping request. In addition, the preset communication protocol may correspond to an Open System Interconnection (OSI) model, and in general, the OSI model corresponding to the preset communication protocol may include 7 layers: a physical layer, a data link layer, a network layer, a transport layer, a session layer, an identification layer, and an application layer. In this embodiment, in order to improve the quality and efficiency of generating the status query request, a network structure corresponding to a preset communication protocol may be simplified and customized, for example, in this embodiment, the preset communication protocol corresponding to the status query request may only include a data link layer, a network layer, and an application layer, and the quality and efficiency of generating the status query request may be effectively ensured by generating the status query request according to the simplified preset communication protocol corresponding to the network structure. The preset communication protocol refers to a protocol above a link layer.
Specifically, referring to fig. 3, the network structure corresponding to the status query request includes: when the data link layer, the network layer and the application layer are in use, the application layer data, the network layer data and the data link layer data corresponding to the sending component and the target component may be obtained, where the application layer data is used to enable the sending component and the target component to support the instruction corresponding to the status query request, and enable the sending component and the target component to have data sending and receiving functions, and the application layer data may further include: a user can configure application data capable of realizing a preset function according to application scene requirements; the network layer data is used for enabling each component to have a data forwarding function, namely routing data can be forwarded to a preset component and a preset interface; the data link layer data is used to implement data packaging, formatting of sender, receiver, and data verification operations, so that a status query request can be generated.
The data link layer data can comprise at least one of frame data and data control information, wherein the frame data can refer to data content to be transmitted, and the data control information comprises limitation information for carrying out data transmission on the frame data; specifically, the data control information may include at least one of: address information of the sending component, address information of the target component, and check data, it is conceivable that the data control information may include not only the above-mentioned exemplary data, but also may be set by those skilled in the art according to specific application requirements and design requirements, for example: the data control information may further include data synchronization information for performing a data synchronization operation on the frame data, and flow control information for limiting a flow rate of data transmission of the frame data. The network layer is used for converting data link layer data into data packets, and the network layer data may include: data packets corresponding to the frame data and the data control information.
Further, the application layer data may include at least one of: sending a first identity of the component, a second identity of the target component, application request data, and verification data, where the application request data may be different according to different application scenarios and application requirements, for example, the application request data may be status request data, memory request data, load request data, and the like; the check data is used for verifying the reasonability of the state inquiry request.
In addition, the embodiment does not limit the specific implementation manner of acquiring the application layer data, the network layer data, and the data link layer data corresponding to the sending component and the target component, and may be arbitrarily set according to specific application requirements and application scenarios, for example: after the sending component and the target component are determined, the application layer data, the network layer data and the data link layer data can be generated based on the sending component and the target component, the application layer data, the network layer data and the data link layer data can be stored in a preset interval, and the application layer data, the network layer data and the data link layer data corresponding to the sending component and the target component can be obtained by accessing the preset interval. Or, the application layer data, the network layer data, and the data link layer data may be stored in a preset device, and the detection device of the communication link may send a data acquisition request to the preset device, so that the preset device may send the application layer data, the network layer data, and the data link layer data corresponding to the sending component and the target component to the detection device of the communication link through the data acquisition request, so that the detection device of the communication link may stably obtain the application layer data, the network layer data, and the data link layer data corresponding to the sending component and the target component.
Of course, those skilled in the art may also use other manners to obtain the application layer data, the network layer data, and the data link layer data corresponding to the sending component and the target component, as long as the accuracy and reliability of obtaining the application layer data, the network layer data, and the data link layer data can be ensured, which is not described herein again.
After the application layer data, the network layer data, and the data link layer data are obtained, the application layer data, the network layer data, and the data link layer data may be analyzed to generate a status query request corresponding to the target component. Specifically, referring to fig. 4, generating the status query request corresponding to the target component may include:
step S401: and acquiring a second identity of the target component.
Step S402: and generating a state query request based on the first identity identification, the second identity identification and preset check data of the sending component.
After determining the target component, the second identity of the target component may be obtained, and then a status query request may be generated based on the first identity of the sending component, the second identity of the target component, and preset check data, where the status query request may detect status information of a communication link between the target component and the sending component, for example: it is possible to detect whether or not the operation state of the communication link between the target component and the sending component is a normal operation state. In addition, the verification data may include preset characters, such as: "0" and "1" for identifying whether the status inquiry request is normal data.
In the embodiment, the application layer data, the network layer data and the data link layer data corresponding to the sending component and the target component are obtained, and then the state query request corresponding to the target component is generated based on the application layer data, the network layer data and the data link layer data, so that the accuracy and the reliability of the generation of the state query request are effectively ensured, and the stability and the reliability of the method are further improved.
In some examples, the embodiment does not limit the specific implementation manner of sending the status query request to the target component, and a person skilled in the art may set the implementation manner according to specific application requirements and design requirements, where one implementation manner of sending the status query request to the target component may include: the status query request is sent directly to the target component.
Specifically, referring to fig. 5, the sending component and the target component may establish a communication connection through the improved control protocol provided by the present invention, and after generating the status query request, the sending component may directly send the status query request to the target component, so that the target component may directly receive the status query request sent by the sending component.
Additionally, another way to implement, sending the status query request to the target component can include: the status query request is sent to the target component through the at least one intermediate component.
Referring to fig. 6, the sending component may be communicatively connected to the target component through an internet credit control protocol, an intermediate component, where the intermediate component may refer to a component unit having an information forwarding function, and the number of the intermediate component may be one or more. After the status query request is generated, the sending component may send the status query request to the intermediate component, and after the intermediate component obtains the status query request, the status query request may be sent to the target component, so that the target component may receive the status query request sent by the intermediate component.
FIG. 7 is a flow diagram that illustrates sending a status query request to a target component via at least one intermediate component, in an embodiment of the invention; based on the foregoing embodiment, with continued reference to fig. 7, when the status query request is sent to the target component through at least one intermediate component, the at least one target component may forward the status query request to the target component, and at this time, the execution body of the detection method for the communication link may further include at least one intermediate component, where the at least one intermediate component is communicatively connected to the sending component. Specifically, the sending the status query request to the target component through the at least one intermediate component in this embodiment may include:
step S701: the status query request is sent to at least one intermediary component.
Step S702: the at least one intermediate component determines a second identity of the target component corresponding to the status query request.
Step S703: the at least one intermediate component transmits the status query request based on the second identity to send the status query request to the target component.
The type of the communication protocol interface of the sending component, the type of the communication protocol interface of the at least one intermediate component and the type of the communication protocol interface of the target component are not completely the same, namely the type of the communication protocol interface of the sending component, the type of the communication protocol interface of the at least one intermediate component and the type of the communication protocol interface of the target component are completely different; alternatively, the type of the communication protocol interface of the sending component, the type of the communication protocol interface of the at least one intermediate component, and the type of the communication protocol interface of the target component are partially the same.
After the sending component generates the status query request, the sending component may send the status query request to the at least one intermediate component in order to send the status query request to the target component, and after the at least one intermediate component receives the status query request, the status query request may be analyzed to determine the second identity of the target component corresponding to the status query request.
After obtaining the second identity of the target component, the at least one intermediate component may transmit the status query request based on the second identity to send the status query request to the target component. Specifically, referring to fig. 8, in this embodiment, the transmitting, by the at least one intermediate component, the status query request based on the second identity to send the status query request to the target component may include:
step S801: and comparing the second identity with at least one third identity corresponding to at least one intermediate component.
Step S802: when at least one third identity mark is inconsistent with the second identity mark, the state query request is sent to other components through a sending port of the intermediate component so as to finally send the state query request to the target component, wherein the sending port is different from a port of the intermediate component for receiving the state query request; and when the second identity identification is consistent with a third identity identification, determining the intermediate component corresponding to the third identity identification as the target component.
Specifically, after the at least one intermediate component acquires the second identity of the target component corresponding to the status query request, the at least one third identity corresponding to the at least one intermediate component may be acquired, and then the second identity may be analyzed and compared with the at least one third identity, and when the analysis and comparison result shows that the at least one third identity is not consistent with the second identity, it is indicated that the at least one intermediate component corresponding to the at least one third identity is not the target component, at this time, in order to be able to send the status query request to the target component, the status query request may be continuously transmitted, that is, the status query request is sent to other components through the sending port of the intermediate component to finally send the status query request to the target component, it may be understood that the sending port is different from the port at which the intermediate component receives the status query request, thereby enabling the sending of status query requests to the target component. When the analysis and comparison result shows that the second identity is consistent with a third identity, the intermediate component corresponding to the third identity can be determined to be the target component, so that the state query request is sent to the target component.
For example, the sending component is component a, and the at least one intermediate component may include: the component A, the component B, the component C and the component D are connected in sequence; after the component a generates the status query request, the generated status query request may include the identity of the target component, and it is assumed that the identity of the target component is the identity C. Then, the component a may send the status query request to the component B, after the component B obtains the status query request, the identifier B corresponding to the component B may be analyzed and compared with the identifier of the target component, since the identifier B is not consistent with the identifier C, it is further stated that the component B is not the target component corresponding to the status query request, at this time, the component B may forward the status query request to the component C, after the component C obtains the status query request, the identifier C corresponding to the component C may be analyzed and compared with the identifier of the target component, since the identifier C is consistent with the identifier C included in the status query request, it is further stated that the component C is the target component corresponding to the status query request, at this time, it is effectively realized that the component a sends the status query request to the component C, after component C receives the status query request, component C need not transmit the status query request again.
In other examples, when at least one third identity is inconsistent with the second identity, the method in this embodiment may further include:
step S803: and adding a third identity identifier in the state query request, and marking a component corresponding to the third identity identifier as an intermediate component so as to record a transmission path of the state query request.
When the at least one third identity is inconsistent with the second identity, it is indicated that the at least one intermediate component corresponding to the at least one third identity is not a target component, at this time, in order to enable the user to timely know the component through which the status query request passes, the status query request is generated, and when the status query request passes through the intermediate component of the identity different from the second identity, the third identity can be added to the status query request, and the component corresponding to the third identity is marked as the intermediate component.
For example, the sending component is a component a, the intermediate component includes a component B, a component C, and a component D, the target component is a component E, after the component a generates the status query request, the status query request may be sent to the component B, after the component B receives the status query request, it may be determined whether a target component identifier included in the status query request is consistent with an identifier B of the component B, when the identifier B of the component B is inconsistent with the target component identifier, a status query request 1 may be generated based on the identifier B corresponding to the component B and the status query request, and at this time, the status query request 1 includes the identifier B for identifying the component B as the intermediate component, so that the status query request 1 may record the transmission path.
Similarly, after the component B obtains the status query request 1, the status query request 1 may be sent to the component C, the component C may determine that the identifier C of the component C is inconsistent with the target component identifier, and then may generate the status query request 2 based on the identifier C of the component C and the status query request 1, where the status query request 2 includes the identifier B for identifying the component B as an intermediate component and the identifier C for identifying the component C as an intermediate component, so that the status query request 2 may record a transmission path.
Similarly, after the component C acquires the status query request 2, the status query request 2 may be sent to the component D, the component D may determine that the identifier D of the component D is inconsistent with the target component identifier, and then may generate the status query request 3 based on the identifier D of the component D and the status query request 2, at this time, the status query request 3 includes an identifier B for identifying that the component B is an intermediate component, an identifier C for identifying that the component C is an intermediate component, and an identifier D for identifying that the component D is an intermediate component, so that the status query request 3 may record a transmission path.
After the component D acquires the state query request 3, the state query request 3 can be sent to the component E, after the component E acquires the state query request, whether the identity E of the component E is consistent with the target component identity can be judged, and the identity E of the component E is determined to be consistent with the target component identity, so that the state query request is effectively transmitted to the target component.
In this embodiment, the second identity is compared with at least one third identity corresponding to the at least one intermediate component, and when the at least one third identity is inconsistent with the second identity, the status query request continues to be transmitted, so as to send the status query request to the target component; or when the second identity is consistent with a third identity, determining the intermediate component corresponding to the third identity as the target component, thereby effectively ensuring that the sending component sends the state query request to the target component through at least one intermediate component, and further ensuring the stability and reliability of the method.
Fig. 9 is a flowchart illustrating another method for detecting a communication link according to an embodiment of the present invention; on the basis of the foregoing embodiment, with continuing reference to fig. 9, after determining the intermediate component corresponding to the third identity as the target component, the target component in this embodiment may perform the following steps, that is, the execution subject in this embodiment may include the target component corresponding to the sending component, and specifically, the method may further include:
step S901: the target component generates query feedback information corresponding to the status query request.
Step S902: the query feedback information is returned to the sending component.
After the target component acquires the state query request, the target component may analyze the state query request to generate query feedback information corresponding to the state query request, where the query feedback information generated by the target component may be preset feedback information corresponding to the state query request, which is configured in advance, or content included in the query feedback information is the same as content included in the state query request; alternatively, the query feedback information may include a component identity of at least one intermediate component located in a communication link between the sending component and the target component.
For example, when the status query request is "01010101" preset, after the target component receives the status query request, the status feedback information may be generated based on the status query request, specifically, in a manner that the status feedback information corresponding to the status query request is determined based on a pre-configured processing policy, for example, the status feedback information may be "01111111". Alternatively, it can be realized that the content included in the status feedback information is the same as the content included in the status query request, i.e. the status feedback information may be "01010101". Alternatively, in yet another implementation, the query feedback information may include the component identity of at least one intermediate component located in the communication link between the sending component and the target component, for example, the status feedback information may be "01010101 and 0110", where "0110" is the component identity of at least one intermediate component located in the communication link between the sending component and the target component.
After the state feedback information is generated, the target component may return the query feedback information to the sending component, so that the sending component may detect the operating state of the communication link between the sending component and the target component based on whether the query feedback information is received, thereby effectively ensuring the accuracy and reliability of detecting the operating state of the communication link.
Fig. 10 is a flowchart illustrating determining an operating state of a communication link between a sending component and a target component according to whether query feedback information sent by the target component based on a state query request is received according to an embodiment of the present invention; based on any one of the above embodiments, referring to fig. 10, in this embodiment, a specific implementation manner of determining the working state of the communication link between the sending component and the target component according to whether query feedback information sent by the target component based on the status query request is received is not limited, and a person skilled in the art may set the working state according to a specific application requirement and a design requirement, and preferably, in this embodiment, determining the working state of the communication link between the sending component and the target component according to whether query feedback information sent by the target component based on the status query request is received may include:
step S1001: and when receiving the query feedback information, acquiring a feedback time length corresponding to the query feedback information.
Step S1002: based on the feedback duration, an operating state of a communication link between the sending component and the target component is determined.
In order to be able to accurately identify the operating state of the communication link between the sending component and the target component, when the sending component receives the query feedback information, a feedback duration corresponding to the query feedback information may be determined. Specifically, the embodiment does not limit the specific obtaining manner of the feedback duration, and a person skilled in the art may perform any configuration according to specific application requirements and design requirements, for example: and determining the sending time corresponding to the state query request and the receiving time corresponding to the query feedback information through a preset timer, and then determining the feedback time length corresponding to the query feedback information through the sending time and the receiving time. Alternatively, a sending time stamp corresponding to the status query request and a feedback time stamp corresponding to the query feedback information may be obtained, and the feedback time duration corresponding to the query feedback information may be determined by the sending time stamp and the feedback time stamp.
Of course, those skilled in the art may also use other manners to obtain the feedback duration corresponding to the query feedback information, as long as the accuracy and reliability of obtaining the feedback duration corresponding to the query feedback information can be ensured, which is not described herein again.
After the feedback duration is obtained, the feedback duration may be analyzed to determine the operating state of the communication link between the sending component and the target component. Specifically, referring to fig. 11, in this embodiment, determining the operating state of the communication link between the sending component and the target component based on the feedback duration may include:
step S1101: and analyzing and comparing the feedback time length with a preset time threshold.
Step S1102: and when the feedback duration is greater than a preset time threshold, determining that the delay state of the communication link is an abnormal state. Or,
step S1103: and when the feedback duration is less than or equal to the preset time threshold, determining that the delay state of the communication link is a normal state.
The preset time threshold may be a maximum time limit value configured in advance for identifying that the communication link is in a normal communication state, the specific data range of the preset time threshold is not limited in this embodiment, and a person skilled in the art may set the preset time threshold according to specific application requirements and design requirements, for example: the preset time threshold may be 15s, 25s, 30s, 45s, or 1min, and so on. After the feedback time length is obtained, the feedback time length may be analyzed and compared with a preset time threshold, and when the feedback time length is greater than the preset time threshold, it indicates that the delay time of the communication link between the sending component and the target component at this time is longer, so that it may be determined that the delay state of the communication link is an abnormal state. Or, when the feedback duration is less than or equal to the preset time threshold, it indicates that the delay time of the communication link between the sending component and the target component at this time is short, and it may be determined that the delay state of the communication link is a normal state.
In the embodiment, the feedback time length is analyzed and compared with the preset time threshold, when the feedback time length is greater than the preset time threshold, the delay state of the communication link is determined to be an abnormal state, and when the feedback time length is less than or equal to the preset time threshold, the delay state of the communication link is determined to be a normal state, so that the working state of the communication link between the sending component and the target component is effectively determined based on the feedback time length, and the accuracy and reliability of the method are further improved.
Fig. 12 is a flowchart illustrating a method for detecting a communication link according to another embodiment of the present invention; on the basis of the foregoing embodiment, with continued reference to fig. 12, after determining the operating state of the communication link between the sending component and the target component, the method in this embodiment may further include:
step S1201: a link type of a communication link between the sending component and the target component is determined.
Step S1202: when the link type is a serial link and the working state of the communication link is a normal state, it is determined that the working state of the sub communication link between all the components included in the serial link is a normal state. Or,
step S1203: and when the link type is the parallel link, generating a branch state query request corresponding to the parallel branch included in the parallel link, and determining whether the working state of the communication link corresponding to the parallel branch is normal or not based on the branch state query request.
The communication link formed between the sending component and the target component may include a variety of link types, such as: the communication link formed between the sending component and the target component may include at least one of: a series link and a parallel link.
In order to accurately determine the working state of a communication link between a sending component and a target component, after the sending component and the target component are obtained, the link type of the communication link between the sending component and the target component can be analyzed and identified, specifically, the number of input nodes and the number of output nodes of each component in the communication link can be obtained, and the link type of the communication link between the sending component and the target component can be determined based on the number of the input nodes and the number of the output nodes; when the number of the input nodes is greater than or equal to 2 and the number of the output nodes is greater than or equal to 2, it may be determined that the link type of the communication link between the sending component and the target component includes a parallel link, and when the number of the input nodes is 1 and the number of the output nodes is 1, it may be determined that the link type of the communication link between the sending component and the target component includes a serial link.
After determining the link type of the communication link between the sending component and the target component, an operational status of the communication link may be detected based on the link type of the communication link between the sending component and the target component. Specifically, when the link type is a serial link and the operating state of the communication link is a normal state, it may be determined that the operating state of the sub-communication link between all the components included in the serial link is a normal state. When the link type is a parallel link, in order to ensure that the working state of each parallel link can be accurately identified, branch state query requests corresponding to parallel branches included in the parallel link are generated, wherein the number of the branch state query requests corresponds to the number of the parallel branches included in the parallel link, and then whether the working state of a communication link corresponding to the parallel branch is normal or not can be determined based on the branch state query requests.
For example, referring to fig. 13, when the sending component is communicatively connected to the target component through a plurality of intermediate components, which may include intermediate component 1 and intermediate component 2, specifically, the sending component, intermediate component 1, intermediate component 2, and the target component may form a serial link, and after determining that the link type of the communication link between the sending component and the target component is a serial link, when the operating state of the communication link is a normal state, it is described that the operating states of all sub-communication links formed between the sending component and intermediate component 1, between intermediate component 1 and intermediate component 2, and between intermediate component 2 and the target component included in the serial link are normal states.
In addition, referring to fig. 14, when the sending module is communicatively connected to the target module through a plurality of intermediate modules, which may include the intermediate module 1, the intermediate module 2, the intermediate module 3, the intermediate module 4, the intermediate module 5 and the intermediate module 6, specifically, the intermediate module 1 may form a parallel branch 1 between the sending module and the target module, the intermediate module 2 and the intermediate module 3 are connected in series to form a parallel branch 2 between the sending module and the target module, and the intermediate module 4, the intermediate module 5 and the intermediate module 6 are connected in series to form a parallel branch 3 between the sending module and the target module; i.e. a plurality of parallel links between the sending component and the target component.
When the link type of the communication link between the sending component and the target component is determined to be a parallel link, in order to ensure the accuracy and reliability of detection of the working state of the communication link between the sending component and the target component, a branch state query request corresponding to a parallel branch included in the parallel link may be generated, that is, a branch state query request 1 corresponding to a parallel branch 1, a branch state query request 2 corresponding to a parallel branch 2, and a branch state query request 3 corresponding to a parallel branch 3 may be generated, and then whether the working state of the communication link corresponding to the parallel branch is normal may be determined based on the generated branch state query request 1, branch state query request 2, and branch state query request 3.
It should be noted that, when generating a branch status query request corresponding to a parallel branch included in a parallel link, in order to improve quality and efficiency of generating the branch status query request, the branch status query request may be generated based on a node component corresponding to the parallel branch, and at this time, the branch status query request may include branch identification information (an identity of the node component included in the parallel branch) corresponding to the parallel branch.
As shown in fig. 14, for a parallel branch 1 corresponding to the sending component and the intermediate component 1, a branch status query request 1 corresponding to the parallel branch 1 may be generated, and the branch status query request 1 may include a component identifier 1 corresponding to the intermediate component 1, and the component identifier 1 is used to identify the parallel branch 1. For the parallel branch 2 corresponding to the sending component, the middle component 2 and the middle component 3, a branch status query request 2 corresponding to the parallel branch 2 may be generated, the branch status query request 2 may include a component identifier 2 corresponding to the middle component 2 and a component identifier 3 corresponding to the middle component 3, and the component identifier 2 and the component identifier 3 are used to identify the parallel branch 2. Similarly, for the parallel leg 3 corresponding to the sending component, the middle component 4, the middle component 5, and the middle component 6, the leg status query request 3 corresponding to the parallel leg 3 may be generated, and the leg status query request 3 may include the component identifier 4 corresponding to the middle component 4, the component identifier 5 corresponding to the middle component 5, and the component identifier 6 corresponding to the middle component 6, where the component identifier 4, the component identifier 5, and the component identifier 6 are used to identify the parallel leg 3.
Specifically, when the sending component receives branch state feedback information sent by the target component based on the branch state query request 1, it may be determined that the working state of the parallel branch 1 located between the sending component and the target component is a normal state; when the sending component does not receive branch state feedback information sent by the target component based on the branch state query request 1, it may be determined that the working state of the parallel branch 1 located between the sending component and the target component is an abnormal state.
Similarly, when the sending component receives branch state feedback information sent by the target component based on the branch state query request 2, it may be determined that the working state of the parallel branch 2 located between the sending component and the target component is a normal state; when the sending component does not receive the branch state feedback information sent by the target component based on the branch state query request 2, it may be determined that the working state of the parallel branch 2 located between the sending component and the target component is an abnormal state. When the sending component receives branch state feedback information sent by the target component based on the branch state query request 3, the working state of the parallel branch 3 between the sending component and the target component can be determined to be a normal state; when the sending component does not receive the branch state feedback information sent by the target component based on the branch state query request 3, it may be determined that the working state of the parallel branch 3 located between the sending component and the target component is an abnormal state.
It should be noted that, when generating the branch state feedback information corresponding to the branch state query request, in order to improve the quality and efficiency of generating the branch state feedback information, the branch state feedback information may be generated based on the component node corresponding to the parallel branch, and the branch state feedback information at this time may include branch identification information corresponding to the parallel branch (an identity of the component node included in the parallel branch). The specific implementation manner of generating the branch state feedback information is similar to the specific implementation manner of generating the branch state query request, specifically, the branch identification information corresponding to the branch state query request may be determined first, and the corresponding branch state feedback information is generated based on the branch identification information, where the branch state feedback information at this time may include the branch identification information.
In this embodiment, by determining the link type of the communication link between the sending component and the target component, when the link type is the serial link and the working state of the communication link is a normal state, it may be determined that the working state of the sub-communication links between all components included in the serial link is a normal state; or, when the link type is the parallel link, a branch state query request corresponding to the parallel branch included in the parallel link is generated, and whether the working state of the communication link corresponding to the parallel branch is normal is determined based on the branch state query request, so that the accurate reliability of detecting the working state of the communication links with different structures based on the link type of the communication link between the sending component and the target component is effectively realized, and the accurate reliability of the method is further improved.
FIG. 15 is a first flowchart illustrating sending a status query request to a target component according to an embodiment of the present invention; based on the foregoing embodiment, with continued reference to fig. 15, another way for sending the status query request to the target component is provided in this embodiment, and in particular, sending the status query request to the target component may include:
step S1501: and acquiring the sending frequency corresponding to the state inquiry request.
Step S1502: based on the frequency of sending, a status query request is sent to the target component.
After a communication link is established between the sending component and the target component, in order to ensure the timely reliability of detection of the communication link, the sending frequency corresponding to the state query request can be obtained, and then the state query request can be sent to the target component based on the sending frequency; that is, when the sending module and the target module are controlled to operate, the sending module can obtain a preset sending frequency corresponding to the status query request, and then the sending module is controlled to periodically send the status query request to the target module according to the sending frequency so as to detect the working status of the communication link between the sending module and the target module.
In the embodiment, the sending frequency corresponding to the state query request is obtained, and then the state query request is sent to the target assembly based on the sending frequency, so that the communication link between the sending assembly and the target assembly can be periodically detected, the stability and the reliability of the work of the sending assembly and the target assembly are ensured, and the practicability of the method is further improved.
FIG. 16 is a second flowchart illustrating sending a status query request to a target component according to an embodiment of the present invention; based on the foregoing embodiment, with continued reference to fig. 16, another way for sending the status query request to the target component is provided in this embodiment, and in particular, sending the status query request to the target component may include:
step S1601: and acquiring a sending format corresponding to the state inquiry request.
Step S1602: based on the sending format, a status query request is sent to the target component.
After a communication link is established between the sending component and the target component, in order to ensure the timely reliability of detection of the communication link, a sending format corresponding to the state query request can be obtained, then the state query request can be sent to the target component based on the defined sending format, and then the sending component is controlled to send the state query request to the target component according to the sending format, so that any type of target component can recognize the state query request based on the defined sending format, and the detection of the working state of the communication link between the sending component and the target component is facilitated.
In the embodiment, the sending format corresponding to the state query request is obtained, and then the state query request is sent to the target component based on the sending format, so that the state query request can be identified by any type of target component based on the limited sending format, the state detection of the communication link between the sending component and the target component based on the pre-configured sending format is effectively realized, and the stability and reliability of the detection of the working state of the communication link between the sending component and the target component are further ensured.
Fig. 17 is a flowchart illustrating a flowchart of a method for detecting a communication link according to another embodiment of the present invention; on the basis of any of the above embodiments, with continued reference to fig. 17, when the status query request includes the application request data, the method in this embodiment may further include:
step S1701: application feedback data sent by the target component based on the application request data is received.
Step 1702: based on the application feedback data, an application state corresponding to the target component is determined.
Wherein the application request data may include at least one of: a load occupation request, a memory occupation request and a Central Processing Unit (CPU) occupation request; correspondingly, the application state may include at least one of: load occupation information, memory occupation information and CPU occupation information. When the sending component sends the application request data to the target component, after the target component obtains the application request data, the application feedback information can be generated based on the application request data, and the application feedback data is sent to the sending component, so that the sending component can receive the application feedback data sent by the target component based on the application request data, and after the sending component receives the application feedback data, the application state corresponding to the target component can be determined based on the application feedback data.
For example 1, after the sending component sends the load occupation request to the target component, and after the target component receives the load occupation request, load occupation information may be generated based on the load occupation request, and then the load occupation information may be returned to the sending component, so that the sending component may receive the load occupation information sent by the target component based on the load occupation request, and may determine the load occupation situation corresponding to the target component based on the load occupation information, so that a user may timely and accurately obtain the load occupation situation of the target component, which is beneficial to adjusting and scheduling the operation state between the sending component and the target component based on the load occupation situation, so as to improve the quality and efficiency of data communication between the sending component and the target component.
For example 2, after the sending component sends the memory occupation request to the target component, and the target component receives the memory occupation request, the memory occupation information may be generated based on the memory occupation request, and then the memory occupation information may be returned to the sending component, so that the sending component may receive the memory occupation information sent by the target component based on the memory occupation request, and may determine the memory occupation situation corresponding to the target component based on the memory occupation information, so that the user may timely and accurately obtain the memory occupation situation of the target component, which is beneficial to adjusting and scheduling the operation state between the sending component and the target component based on the memory occupation information, so as to improve the quality and efficiency of data communication between the sending component and the target component.
For example 3, after the sending component sends the CPU occupation request to the target component, and the target component receives the CPU occupation request, the CPU occupation information may be generated based on the CPU occupation request, and then the CPU occupation information may be returned to the sending component, so that the sending component may receive the CPU occupation information sent by the target component based on the CPU occupation request, so that the user may timely and accurately obtain the CPU occupation information of the target component, which is beneficial to adjusting and scheduling the operating state between the sending component and the target component based on the CPU occupation information, so as to improve the quality and efficiency of data communication between the sending component and the target component.
Fig. 18 is a flowchart illustrating a method for detecting a communication link according to another embodiment of the present invention; referring to fig. 18, the embodiment provides still another detection method for a communication link, where an execution subject of the method may be a detection apparatus for a communication link, and when the method is applied specifically, the detection apparatus may be an intermediate component having a data transmission function, that is, the detection method for a communication link may be applied to the intermediate component, and it is understood that the intermediate component may be implemented as software, or a combination of software and hardware. Specifically, the method for detecting the communication link may include:
step S1801: the intermediate component receives a state query request sent by the sending component, wherein the state query request is used for querying the working state of a communication link between the sending component and the target component.
Step S1802: the intermediate component determines a target identity of the target component corresponding to the status query request.
Step S1803: the intermediate component transmits the status query request based on the target identity to send the status query request to the target component.
Specifically, after the sending component generates a status query request for querying an operating status of a communication link between the sending component and the target component, the sending component may send the status query request to the intermediate component, so that the intermediate component may receive the status query request sent by the sending component. After the intermediate component receives the status query request, the status query request may be analyzed to determine a target identity of a target component corresponding to the status query request.
After the target identity of the target component is obtained, the intermediate component may transmit the status query request based on the target identity to send the status query request to the target component. Specifically, the transmitting, by the intermediate component, the status query request based on the target identity to send the status query request to the target component may include:
step S18031: the intermediary component compares the target identity with a first identity corresponding to the intermediary component.
Step S18032: when the first identity identification is inconsistent with the target identity identification, the state query request is sent to other components through a sending port of the intermediate component so as to finally send the state query request to the target component, wherein the sending port is different from a port of the intermediate component for receiving the state query request; and when the first identity identification is consistent with the target identity identification, determining the intermediate component corresponding to the first identity identification as the target component.
Specifically, after the intermediate component acquires the target identity of the target component corresponding to the status query request, the first identity corresponding to the intermediate component may be acquired, the first identity is analyzed and compared with the target identity, and when the first identity is inconsistent with the target identity as a result of the analysis and comparison, it is indicated that the intermediate component corresponding to the first identity is not the target component. When the analysis and comparison result shows that the first identity identification is consistent with the target identity identification, the intermediate component corresponding to the first identity identification is determined to be the target component, and therefore the state query request is sent to the target component.
For example, the sending component is component a, and the at least one intermediate component may include: the component A, the component B, the component C and the component D are connected in sequence; after the component a generates the status query request, the generated status query request may include the identity of the target component, and it is assumed that the identity of the target component is the identity C. Then, the component a may send the status query request to the component B, after the component B obtains the status query request, the identifier B corresponding to the component B may be analyzed and compared with the identifier of the target component, since the identifier B is not consistent with the identifier C, it is further stated that the component B is not the target component corresponding to the status query request, at this time, the component B may forward the status query request to the component C, after the component C obtains the status query request, the identifier C corresponding to the component C may be analyzed and compared with the identifier of the target component, since the identifier C is consistent with the identifier C included in the status query request, it is further stated that the component C is the target component corresponding to the status query request, at this time, it is effectively realized that the component a sends the status query request to the component C, after component C receives the status query request, component C need not transmit the status query request again.
In this embodiment, the target identity of the target component is compared with the first identity corresponding to the intermediate component, and when the first identity is inconsistent with the target identity, the status query request is transmitted continuously, so that the status query request is sent to the target component; or when the target identity is consistent with the first identity, the intermediate component corresponding to the first identity is determined as the target component, so that the condition query request can be effectively sent to the target component by the sending component, and the stability and the reliability of the method are further ensured.
In some examples, when the first identity is not consistent with the target identity, the method in this embodiment may further include:
step S1804: and adding a first identity identifier into the state query request, marking a component corresponding to the first identity identifier as an intermediate component, and recording a transmission path of the state query request.
When the first identity mark is inconsistent with the target identity mark, it is indicated that all the components corresponding to the first identity mark are not target components, and at this time, in order to enable the user to timely know the components through which the status query request passes, when the status query request is generated and passes through the intermediate components of the identity marks different from the target identity mark, the first identity mark can be added into the status query request, and the components corresponding to the first identity mark are marked as the intermediate components.
For example, the sending component is a component a, the intermediate component includes a component B, a component C, and a component D, the target component is a component E, after the component a generates the status query request, the status query request may be sent to the component B, after the component B receives the status query request, it may be determined whether a target component identifier included in the status query request is consistent with an identifier B of the component B, when the identifier B of the component B is inconsistent with the target component identifier, a status query request 1 may be generated based on the identifier B corresponding to the component B and the status query request, and at this time, the status query request 1 includes the identifier B for identifying the component B as the intermediate component, so that the status query request 1 may record the transmission path.
Similarly, after the component B obtains the status query request 1, the status query request 1 may be sent to the component C, the component C may determine that the identifier C of the component C is inconsistent with the target component identifier, and then may generate the status query request 2 based on the identifier C of the component C and the status query request 1, where the status query request 2 includes the identifier B for identifying the component B as an intermediate component and the identifier C for identifying the component C as an intermediate component, so that the status query request 2 may record a transmission path.
Similarly, after the component C acquires the status query request 2, the status query request 2 may be sent to the component D, the component D may determine that the identifier D of the component D is inconsistent with the target component identifier, and then may generate the status query request 3 based on the identifier D of the component D and the status query request 2, at this time, the status query request 3 includes an identifier B for identifying that the component B is an intermediate component, an identifier C for identifying that the component C is an intermediate component, and an identifier D for identifying that the component D is an intermediate component, so that the status query request 3 may record a transmission path.
After the component D acquires the state query request 3, the state query request 3 can be sent to the component E, after the component E acquires the state query request, whether the identity E of the component E is consistent with the target component identity can be judged, and the identity E of the component E is determined to be consistent with the target component identity, so that the state query request is effectively transmitted to the target component.
In some examples, when the first identity is not consistent with the target identity, the method in this embodiment may further include:
step S1901: and receiving query feedback information sent by the target component, wherein the query feedback information comprises the component identity of at least one intermediate component in a communication link between the sending component and the target component.
Step S1902: and transmitting the query feedback information based on the component identity of the at least one intermediate component included in the query feedback information so as to finally send the query feedback information to the sending component.
After the intermediate component sends the status query request to the target component, the target component may analyze the status query request and generate query feedback information corresponding to the status query request. The target component may then send the query feedback information to the intermediate component, so that the intermediate component may receive the query feedback information sent by the target component, where the query feedback information may include a component identity of at least one intermediate component located in a communication link between the sending component and the target component.
After the query feedback information is obtained, the query feedback information may be analyzed and processed to transmit the query feedback information based on the component identity of at least one intermediate component included in the query feedback information, so that the query feedback information is finally sent to the sending component, and then the sending component may determine the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received.
As shown in fig. 14, when the state feedback information is "01010101-0110", the "0110" is a component identity of at least one intermediate component located in a communication link between the sending component and the target component, and after the intermediate component acquires the state feedback information, the "0110" included in the state feedback information may be analyzed to determine that the at least one intermediate component corresponding to the state feedback information includes the intermediate component 2 and the intermediate component 3, and then the state feedback information may be transmitted sequentially through the intermediate component 3 and the intermediate component 2, so that the target component sends the state feedback information to the sending component through the intermediate component 3 and the intermediate component 2, and thus the query feedback information is finally sent to the sending component.
Or when the state feedback information is "01011101-0111", the "0111" is a component identity of at least one intermediate component located in a communication link between the sending component and the target component, and after the intermediate component acquires the state feedback information, the "0111" included in the state feedback information may be analyzed to determine that the at least one intermediate component corresponding to the state feedback information includes the intermediate component 4, the intermediate component 5, and the intermediate component 6, and then the state feedback information may be transmitted sequentially through the intermediate component 4, the intermediate component 5, and the intermediate component 6, so that the target component sends the state feedback information to the sending component through the intermediate component 4, the intermediate component 5, and the intermediate component 6, and finally sends the query feedback information to the sending component.
In specific application, an execution main body of the detection method may be a detection system of a communication link, and a Ping instruction (generally, including at least 10 to 11 bytes) generated by an Internet message Control Protocol (ICMP) is taken as an example for explanation below, where the Ping instruction is used as a status query request. When the detection system of the communication link executes the detection method of the communication link, the Ping instruction may be configured to meet a specific format of a preset communication protocol, and the specific format meeting the preset communication protocol may implement detection of a load, a memory, and an operation state of the communication link of the detection system of the communication link.
Specifically, referring to fig. 21, the system for detecting the communication link may include:
the host computer comprises a Personal Computer (PC), mobile terminal equipment or other embedded terminal equipment and is used as a sending component with a data transmission function, specifically, the host computer can acquire application layer data, network layer data and data link layer data corresponding to the sending component and a target component, generate a state query request (Ping instruction) based on the application layer data, the network layer data and the data link layer data, and send the state query request to other components according to a preset frequency, wherein the preset frequency can include any one of the following frequencies: 1, 2, 3 or 5 times/s, etc.
In other examples, other components can also actively generate state identification information for identifying the running state of the component, and actively upload the state identification information to the upper computer, so that the upper computer can actively acquire the state identification information corresponding to the running state of other components.
Other components may include: and the intermediate component and the target component are used for receiving the state query request sent by the upper computer, and executing corresponding data transmission operation or generating query feedback information corresponding to the state query request based on the state query request.
The intermediate component comprises a first chip, a second chip, a third chip, a fourth chip and a fifth chip which are sequentially connected with an upper computer, and the target component comprises a sixth chip, wherein the interface of the first chip and the interface of the second chip CAN be in communication connection through a wireless link, the interface of the second chip and the interface of the third chip CAN be in communication connection through PCIE, the interface of the third chip and the interface of the fourth chip CAN be in communication connection through USB, the interface of the fourth chip and the interface of the fifth chip CAN be in communication connection through CAN, the interface of the fifth chip and the interface of the sixth chip CAN be in communication connection through a serial port, and the sixth chip is in communication connection with a sensor which is used for detecting the running state information of the sixth chip. In an embodiment, the first chip, the second chip, the third chip, the fourth chip, the fifth chip and the sixth chip are included in the same device or apparatus.
Specifically, based on the structure of the detection system for the communication link defined above, when the detection system for the communication link performs the detection method for the communication link, as shown in fig. 19, the method in this embodiment includes the following steps:
step 1: and the sending component (the upper computer) acquires the application layer data, the network layer data and the data link layer data corresponding to the sending component and the target component (the sixth chip).
Wherein the application layer data may include at least one of: the first identity of the sending component, the second identity of the target component, the application request data, and the verification data may be different according to different application scenarios and application requirements, for example, the application request data may be status request data, memory request data, load request data, and the like, that is, a user may configure different application request data according to different application scenarios or different application requirements. The check data is used for verifying the reasonability of the state inquiry request.
Step 2: a status query request is generated based on the application layer data, the network layer data, and the data link layer data.
Specifically, the application layer data may include at least one of: sending a first identity identification of the component, a second identity identification of the target component, application request data and verification data; the data link layer data may include at least one of frame data, data control information, the data control information including at least one of: sending address information of the component, address information of data control information of the target component and check data; the network layer data may include: data packets corresponding to the frame data and the data control information. In general, the generated status query request may include 10 to 11 bytes, and the first byte of information included in the generated status query request may be sender information, the second byte of information may be receiver information, the third byte of information may be a sending sequence number identifier, and the fourth byte of information may be check information.
It should be understood that the specific format content of the status query request is not limited to the format content defined above, and those skilled in the art may set the format content according to the specific application requirement and design requirement, which is not described herein again.
And step 3: the status query request is sent to the target component.
And 4, step 4: the target component receives the status query request and generates query feedback information corresponding to the status query request.
And 5: the target component sends the query feedback information to the sending component.
Step 6: the sending component determines an operational state of a communication link between the sending component and the target component based on whether query feedback information is received.
Specifically, when the sending component receives the query feedback information, it may be determined that the working state of the communication link between the sending component and the target component is a normal state; when the sending component does not receive the query feedback information, it may be determined that the working state of the communication link between the sending component and the target component is an abnormal state. Or, receiving the query feedback information at the sending component, and determining the packet returning time corresponding to the query feedback information so as to judge whether the delay of the communication link is reasonable according to the packet returning time.
In another implementation, referring to fig. 20, the method of this embodiment includes the following steps:
step 11: and the sending component (the upper computer) acquires the application layer data, the network layer data and the data link layer data corresponding to the sending component and the target component (the sixth chip).
Step 12: a status query request is generated based on the application layer data, the network layer data, and the data link layer data.
Step 13: and sending the state query request to an intermediate component (comprising a first chip, a second chip, a third chip, a fourth chip and a fifth chip).
Step 14: the intermediate component receives the status query request and identifies whether the intermediate component is a target component.
Specifically, after the status query request is sent to the first chip and the first chip receives the status query request, it may be determined whether the first chip is the target component, that is, whether the identification information of the first chip is the same as the identification information corresponding to the target component included in the status query request is determined, and when the first chip is the target component, query feedback information 1 corresponding to the status query request may be generated and the generated query feedback information 1 may be sent to the sending component.
Or, when the first chip is not the target component, the status query request may be continuously transmitted, that is, the first chip may send the status query request to the second chip, and after the second chip receives the status query request, it may be identified whether the second chip is the target component, and when the second chip is the target component, the query feedback information 2 corresponding to the status query request may be generated, and the generated query feedback information 2 may be sent to the sending component.
Similarly, when the second chip is not the target component, the status query request may be continuously transmitted, that is, the second chip may send the status query request to the third chip, after the third chip receives the status query request, whether the third chip is the target component may be identified, and when the third chip is the target component, the query feedback information 2 corresponding to the status query request may be generated, and the generated query feedback information 2 may be sent to the sending component.
Step 15: the sending component determines the operational status of the communication link between the sending component and the target component based on whether query feedback information 1 (query feedback information 2) is received.
Specifically, when the sending component receives the query feedback information 1 (query feedback information 2), it may be determined that the working state of the communication link between the sending component and the target component is a normal state; when the sending component does not receive the query feedback information 1 (query feedback information 2), it may be determined that the operating state of the communication link between the sending component and the target component is an abnormal state. Alternatively, the sending component receives the query feedback information 1 (query feedback information 2) and determines the packet return time corresponding to the query feedback information 1 (query feedback information 2) to judge whether the delay of the communication link is reasonable according to the packet return time.
The method for detecting the communication link provided by the embodiment can simply and efficiently solve the complex problems existing in the related technology of detecting and diagnosing the running states of each chip and the communication links among the chips in the detection system of the communication link, and has the characteristics of simple implementation mode, good flexibility, strong expansibility and the like, namely, the communication state and the delay condition of the link corresponding to the communication links among the detection systems of the communication link can be accurately detected through a simple state query request, so that a user can timely and accurately adjust or control a sending component and a target component, and the stability and the reliability of the method are effectively improved.
Fig. 22 is a first schematic structural diagram of a detection apparatus for a communication link according to an embodiment of the present invention; referring to fig. 22, the present embodiment provides a communication link detection apparatus, which can perform the communication link detection method corresponding to the embodiment of fig. 1. Wherein, the communication link can include at least a sending component and a target component connected with the sending component in communication, and the detecting device includes:
a first memory 12 for storing a computer program;
a first processor 11 for executing the computer program stored in the first memory 12 to implement:
after a communication link is established between a sending component and a target component, generating a state query request corresponding to the target component, wherein the type of a communication protocol interface of the sending component is different from that of the communication protocol interface of the target component;
sending a status query request to the target component;
and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not.
The structure of the detection apparatus for a communication link may further include a first communication interface 13, which is used for the electronic device to communicate with other devices or a communication network.
In some examples, when the first processor 11 generates a status query request corresponding to a target component, the first processor 11 is configured to: acquiring application layer data, network layer data and data link layer data corresponding to the sending component and the target component; a status query request corresponding to the target component is generated based on the application layer data, the network layer data, and the data link layer data.
In some examples, the application layer data includes at least one of: sending a first identity identification of the component, a second identity identification of the target component, application request data and verification data;
the data link layer data may include at least one of frame data, data control information including at least one of: sending address information of the component, address information of data control information of the target component and check data;
the network layer data may include: data packets corresponding to the frame data and the data control information.
In some examples, when the first processor 11 generates a status query request corresponding to a target component, the first processor 11 is configured to: acquiring a second identity of the target component; and generating a state query request based on the first identity identification, the second identity identification and preset check data of the sending component.
In some examples, when the first processor 11 sends a status query request to the target component, the first processor 11 is configured to: directly sending the state query request to the target component; alternatively, the status query request is sent to the target component through at least one intermediate component.
In some examples, when the first processor 11 sends the status query request to the target component through the at least one intermediate component, the first processor 11 is configured to: and sending the state query request to the at least one intermediate component, so that the at least one intermediate component determines a second identity of the target component corresponding to the state query request, and transmits the state query request based on the second identity to send the state query request to the target component, wherein the type of the communication protocol interface of the sending component, the type of the communication protocol interface of the at least one intermediate component, and the type of the communication protocol interface of the target component are not identical.
In some examples, when the at least one intermediary component transmits the status query request based on the second identity to send the status query request to the target component, the at least one intermediary component is configured to: comparing the second identity with at least one third identity corresponding to at least one intermediate component; when at least one third identity mark is inconsistent with the second identity mark, the state query request is sent to other components through a sending port of the intermediate component so as to finally send the state query request to the target component, wherein the sending port is different from a port of the intermediate component for receiving the state query request; and when the second identity identification is consistent with a third identity identification, determining the intermediate component corresponding to the third identity identification as the target component.
In some examples, when the at least one third identity is not consistent with the second identity, the first processor 11 is further configured to: and adding a third identity identifier in the state query request, and marking a component corresponding to the third identity identifier as an intermediate component so as to record a transmission path of the state query request.
In some examples, after determining the intermediate component corresponding to the third identity as the target component, the first processor 11 is further configured to: the target component generates query feedback information corresponding to the state query request; the query feedback information is returned to the sending component.
In some examples, the query feedback information includes the same content as the status query request.
In some examples, the query feedback information includes a component identity of at least one intermediate component located in a communication link between the sending component and the target component.
In some examples, when the first processor 11 determines the working status of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the status query request is received, the first processor 11 is further configured to: when receiving the query feedback information, determining that the working state of the communication link is a normal state; or when the query feedback information is not received, determining that the working state of the communication link is an abnormal state.
In some examples, when the first processor 11 determines the working status of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the status query request is received, the first processor 11 is further configured to: when receiving the query feedback information, acquiring a feedback time length corresponding to the query feedback information; based on the feedback duration, an operating state of a communication link between the sending component and the target component is determined.
In some examples, when the first processor 11 determines the operating state of the communication link between the sending component and the target component based on the feedback duration, the first processor 11 is further configured to: analyzing and comparing the feedback duration with a preset time threshold; when the feedback duration is greater than a preset time threshold, determining that the delay state of the communication link is an abnormal state; or when the feedback duration is less than or equal to the preset time threshold, determining that the delay state of the communication link is a normal state.
In some examples, after determining the operating state of the communication link between the sending component and the target component, the first processor 11 in this embodiment is further configured to: determining a link type of a communication link between a sending component and a target component; when the link type is a serial link and the working state of the communication link is a normal state, determining that the working state of the sub-communication links among all the components in the serial link is a normal state; and when the link type is the parallel link, generating a branch state query request corresponding to the parallel branch included in the parallel link, and determining whether the working state of the communication link corresponding to the parallel branch is normal or not based on the branch state query request.
In some examples, the number of branch status query requests corresponds to the number of parallel branches included in the parallel link.
In some examples, when the first processor 11 sends a status query request to the target component, the first processor 11 is further configured to: acquiring a sending frequency corresponding to the state query request; based on the frequency of sending, a status query request is sent to the target component.
In some examples, when the first processor 11 sends a status query request to the target component, the first processor 11 is further configured to: acquiring a sending format corresponding to the state query request; based on the sending format, a status query request is sent to the target component.
In some examples, when the application request data is included in the status query request, the first processor 11 is further configured to: receiving application feedback data sent by the target component based on the application request data; based on the application feedback data, an application state corresponding to the target component is determined.
In some examples, the application request data includes at least one of: a load occupation request, a memory occupation request and a Central Processing Unit (CPU) occupation request; correspondingly, the application state comprises at least one of the following: load occupation information, memory occupation information and CPU occupation information.
In some examples, the sending component and the target component are any two different components in a set of components.
The apparatus shown in fig. 22 can perform the method of the embodiments shown in fig. 1-17 and fig. 19-21, and the detailed description of the embodiment may refer to the related descriptions of the embodiments shown in fig. 1-17 and fig. 19-21. The implementation process and technical effect of the technical solution are described in the embodiments shown in fig. 1 to 17 and fig. 19 to 21, and are not described again here.
Fig. 23 is a schematic structural diagram of a detection apparatus for a communication link according to an embodiment of the present invention; referring to fig. 23, the present embodiment provides a communication link detection apparatus, which can perform the communication link detection method corresponding to the embodiment of fig. 18. Wherein, the communication link can include at least a sending component and a target component connected with the sending component in communication, and the detecting device includes:
a second memory 22 for storing a computer program;
a second processor 21 for executing the computer program stored in the second memory 22 to implement:
receiving a state query request sent by a sending component, wherein the state query request is used for querying the working state of a communication link between the sending component and a target component;
determining a target identity of a target component corresponding to the status query request;
the status query request is transmitted based on the target identity to send the status query request to the target component.
The structure of the detection apparatus of the communication link may further include a second communication interface 23, which is used for the electronic device to communicate with other devices or a communication network.
In some examples, when the second processor 21 transmits the status query request based on the target identity to send the status query request to the target component, the second processor 21 is further configured to: comparing the target identity with a first identity corresponding to the detection device; when the first identity identification is inconsistent with the target identity identification, the state query request is sent to other components through a sending port of the detection device so as to finally send the state query request to the target component, wherein the sending port is different from a port of the detection device for receiving the state query request; and when the first identity identification is consistent with the target identity identification, determining the detection device corresponding to the first identity identification as the target component.
In some examples, the second processor 21 is further configured to, when the first identity is not consistent with the target identity: and adding a first identity identifier into the state query request, marking a component corresponding to the first identity identifier as an intermediate component, and recording a transmission path of the state query request.
In some examples, the second processor 21 is further configured to, when the first identity is not consistent with the target identity: receiving query feedback information sent by a target component, wherein the query feedback information comprises a component identity of at least one intermediate component in a communication link between a sending component and the target component; and transmitting the query feedback information based on the component identity of the at least one intermediate component included in the query feedback information so as to finally send the query feedback information to the sending component.
The apparatus shown in fig. 23 can perform the method of the embodiment shown in fig. 18-21, and the related descriptions of the embodiment shown in fig. 18-21 can be referred to for the part not described in detail in this embodiment. The implementation process and technical effect of the technical solution are described in the embodiments shown in fig. 18 to 21, and are not described herein again.
Fig. 24 is a schematic structural diagram of a detection system of a communication link according to an embodiment of the present invention; referring to fig. 24, the present embodiment provides a system for detecting a communication link, where the communication link includes at least a target component 32 having a sending component 31 and the sending component 31 communicatively connected, and a type of a communication protocol interface of the sending component 31 is different from a type of a communication protocol interface of the target component 32, and the system includes:
a sending component 31 for generating a status query request corresponding to the target component 32; sending a status query request to the target component 32 through the intermediary component 33; determining an operating state of a communication link between the sending component 31 and the target component 32 according to whether query feedback information sent by the target component 32 based on the state query request is received;
the intermediate component 33 is configured to receive, through the receiving port, a status query request sent by the sending component 31, where the status query request is used to query a working status of a communication link between the sending component 31 and the target component 32, and send the status query request through the sending port of the intermediate component 33, where the sending port is different from the receiving port of the intermediate component 33;
and the target component 32 is configured to receive the status query request through the intermediate component 33, generate query feedback information based on the status query request, and send the query feedback information to the sending component 31.
In some examples, when the detection system of the communication link is applied to a drone system, the sending component 31 may include at least one of: the system comprises a remote controller, an unmanned aerial vehicle, a camera, mobile internet equipment and a preset application program APP; similarly, the target component 32 may include at least one of: remote controller, unmanned aerial vehicle, camera, mobile internet equipment, preset application APP, foretell target assembly 32 is different with the communication protocol who sends subassembly 31.
The system shown in fig. 24 can execute the method of the embodiment shown in fig. 1-21, and reference may be made to the related description of the embodiment shown in fig. 1-21 for a part not described in detail in this embodiment. The implementation process and technical effect of the technical solution refer to the descriptions in the embodiments shown in fig. 1 to 21, and are not described herein again.
FIG. 25 is a first schematic structural diagram of a movable platform according to an embodiment of the present invention; referring to fig. 25, this embodiment provides a movable platform, and when specifically applying, this movable platform can be for handheld phone, handheld cloud platform, unmanned aerial vehicle, unmanned car, unmanned ship, robot or automatic driving car etc. specifically, this movable platform can include:
a body 41;
the detection device 42 for the communication link in the embodiment of fig. 22 is disposed on the main body 41, and is used for detecting the state of the communication link formed between the communication components of the movable platform.
Wherein the communication component of the movable platform may comprise at least one of: remote controller, unmanned aerial vehicle, camera, mobile internet equipment, preset application APP.
The specific implementation process and implementation principle of the movable plate shown in fig. 25 are similar to the implementation process and implementation principle of the detection device 42 of the communication link in fig. 22, and specific reference may be made to the description in the embodiment shown in fig. 22, and details are not described here.
Fig. 26 is a schematic structural diagram of a second movable platform according to an embodiment of the present invention, and referring to fig. 26, the second movable platform according to this embodiment is provided, where the second movable platform may be a handheld phone, a handheld pan/tilt, an unmanned aerial vehicle, an unmanned ship, a robot, an autonomous vehicle, or the like, and specifically, the second movable platform may include:
a body 51;
the detecting device 52 for the communication link in the embodiment of fig. 23 is disposed on the main body 51, and is used for detecting the state of the communication link formed between the communication components of the movable platform.
Wherein the communication component of the movable platform may comprise at least one of: remote controller, unmanned aerial vehicle, camera, mobile internet equipment, preset application APP.
The specific implementation process and implementation principle of the movable plate shown in fig. 25 are similar to the implementation process and implementation principle of the detection device 52 of the communication link in fig. 23, and specific reference may be made to the description in the embodiment shown in fig. 23, and details are not described here.
Another aspect of this embodiment provides a computer-readable storage medium, where the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, where the program instructions are used to implement the method for detecting a communication link in the embodiments corresponding to fig. 1 to 17.
Another aspect of this embodiment provides a computer-readable storage medium, where the storage medium is a computer-readable storage medium, and program instructions are stored in the computer-readable storage medium, where the program instructions are used to implement the method for detecting a communication link in the embodiment corresponding to fig. 18 described above.
The technical scheme provided by the embodiment of the invention can determine the working state of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component is received or not, wherein the query feedback information can meet the preset communication protocol, and the preset communication protocol can ensure that data can be safely and stably transmitted between different communication protocol interfaces, so that the query of the state of the communication link established by the different communication protocol interfaces is effectively realized, and the method also has the characteristics of simple implementation mode, effectively reduced labor cost and time cost, and further improves the practicability of the method.
The technical solutions and the technical features in the above embodiments may be used alone or in combination in case of conflict with the present disclosure, and all embodiments that fall within the scope of protection of the present disclosure are intended to be equivalent embodiments as long as they do not exceed the scope of recognition of those skilled in the art.
In the embodiments provided in the present invention, it should be understood that the disclosed related remote control device and method can be implemented in other ways. For example, the above-described remote control device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, remote control devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (55)

1. A method for detecting a communication link, comprising:
after a communication link is established between a sending component and a target component, generating a state query request corresponding to the target component, wherein the type of a communication protocol interface of the sending component is different from that of the target component;
sending the status query request to the target component;
and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not.
2. The method of claim 1, wherein generating the status query request corresponding to the target component comprises:
acquiring application layer data, network layer data and data link layer data corresponding to the sending component and the target component;
generating the status query request corresponding to the target component based on the application layer data, the network layer data, and the data link layer data.
3. The method of claim 2,
the application layer data includes at least one of: sending a first identity identification of the component, a second identity identification of the target component, application request data and verification data;
the data link layer data comprises at least one of frame data and data control information, wherein the data control information comprises at least one of the following: sending address information of the component, address information of data control information of the target component and check data;
the network layer data includes: data packets corresponding to the frame data and the data control information.
4. The method of claim 3, wherein generating the status query request corresponding to the target component comprises:
acquiring a second identity of the target component;
and generating the state query request based on the first identity identification, the second identity identification and preset check data of the sending component.
5. The method of claim 1, wherein sending the status query request to the target component comprises:
sending the status query request directly to the target component; or,
sending the status query request to the target component through at least one intermediate component.
6. The method of claim 5, wherein sending the status query request to the target component via at least one intermediate component comprises:
sending the status query request to at least one intermediary component;
the at least one intermediate component determines a second identity of the target component corresponding to the status query request;
the at least one intermediate component transmits the status query request based on the second identity so as to send the status query request to a target component;
wherein a type of the communication protocol interface of the sending component, a type of the communication protocol interface of the at least one intermediate component, and a type of the communication protocol interface of the target component are not identical.
7. The method of claim 6, wherein the at least one intermediate component transmits the status query request based on the second identity to send the status query request to a target component, comprising:
comparing the second identity with at least one third identity corresponding to the at least one intermediate component;
when the at least one third identity is not consistent with the second identity, sending the status query request to other components through a sending port of the intermediate component so as to finally send the status query request to the target component, wherein the sending port is different from a port of the intermediate component for receiving the status query request; and when the second identity identification is consistent with a third identity identification, determining the intermediate component corresponding to the third identity identification as the target component.
8. The method of claim 7, wherein when the at least one third identity is not consistent with the second identity, the method further comprises:
and adding the third identity into the state query request, and marking the component corresponding to the third identity as the intermediate component so as to record the transmission path of the state query request.
9. The method of claim 7, wherein after determining the intermediate component corresponding to the third identity as the target component, the method further comprises:
the target component generates query feedback information corresponding to the state query request;
returning the query feedback information to the sending component.
10. The method of claim 9, wherein the query feedback information comprises the same content as the status query request.
11. The method of claim 9, wherein the query feedback information comprises a component identity of at least one intermediate component located in a communication link between the sending component and the target component.
12. The method according to any one of claims 1 to 11, wherein determining the operating status of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the status query request is received comprises:
when the query feedback information is received, determining that the working state of the communication link is a normal state; or,
and when the query feedback information is not received, determining that the working state of the communication link is an abnormal state.
13. The method according to any one of claims 1 to 11, wherein determining the operating status of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the status query request is received comprises:
when the query feedback information is received, acquiring a feedback time length corresponding to the query feedback information;
determining an operating state of a communication link between the sending component and the target component based on the feedback duration.
14. The method of claim 13, wherein determining the operational status of the communication link between the sending component and the target component based on the feedback duration comprises:
analyzing and comparing the feedback duration with a preset time threshold;
when the feedback duration is greater than the preset time threshold, determining that the delay state of the communication link is an abnormal state; or,
and when the feedback duration is less than or equal to the preset time threshold, determining that the delay state of the communication link is a normal state.
15. The method of claim 12, wherein after determining the operational status of the communication link between the sending component and the target component, the method further comprises:
determining a link type of a communication link between the sending component and the target component;
when the link type is a serial link and the working state of the communication link is a normal state, determining that the working state of the sub-communication links among all the components in the serial link is a normal state; and the number of the first and second groups,
and when the link type is a parallel link, generating a branch state query request corresponding to a parallel branch included in the parallel link, and determining whether the working state of the communication link corresponding to the parallel branch is normal or not based on the branch state query request.
16. The method of claim 15, wherein the number of branch status query requests corresponds to the number of parallel branches included in the parallel link.
17. The method of any of claims 1-11, wherein sending the status query request to the target component comprises:
acquiring a sending frequency corresponding to the state query request;
and sending the state inquiry request to the target component based on the sending frequency.
18. The method of any of claims 1-11, wherein sending the status query request to the target component comprises:
acquiring a sending format corresponding to the state query request;
and sending the state query request to the target component based on the sending format.
19. The method according to any of claims 1-11, wherein when the status query request includes application request data, the method further comprises:
receiving application feedback data sent by the target component based on the application request data;
determining an application state corresponding to the target component based on the application feedback data.
20. The method of claim 19,
the application request data includes at least one of: a load occupation request, a memory occupation request and a Central Processing Unit (CPU) occupation request;
correspondingly, the application state includes at least one of the following: load occupation information, memory occupation information and CPU occupation information.
21. The method of any of claims 1-11, wherein the sending component and the target component are any two different components in a set of components.
22. A method for detecting a communication link, the method being applied to an intermediate component, the method comprising:
the intermediate component receives a state query request sent by a sending component, wherein the state query request is used for querying the working state of a communication link between the sending component and a target component;
the intermediate component determines a target identity of a target component corresponding to the status query request;
and the intermediate component transmits the state query request based on the target identity so as to send the state query request to the target component.
23. The method of claim 22, wherein the intermediate component transmits the status query request based on the target identity to send the status query request to a target component, comprising:
the intermediate component compares the target identity with a first identity corresponding to the intermediate component;
when the first identity identification is inconsistent with the target identity identification, the state query request is sent to other components through a sending port of the intermediate component so as to finally send the state query request to the target component, wherein the sending port is different from a port of the intermediate component for receiving the state query request; and the number of the first and second groups,
and when the first identity identification is consistent with the target identity identification, determining the intermediate component corresponding to the first identity identification as the target component.
24. The method of claim 23, wherein when the first identity is not consistent with the target identity, the method further comprises:
and adding the first identity identifier into the state query request, marking the component corresponding to the first identity identifier as the intermediate component, and recording the transmission path of the state query request.
25. The method of claim 23, wherein when the first identity is not consistent with the target identity, the method further comprises:
receiving query feedback information sent by the target component, wherein the query feedback information comprises a component identity of at least one intermediate component in a communication link between the sending component and the target component;
and transmitting the query feedback information based on the component identity of at least one intermediate component included in the query feedback information so as to finally send the query feedback information to the sending component.
26. A detection apparatus for a communication link, the communication link including at least a sending component and a target component communicatively coupled to the sending component, the detection apparatus comprising:
a first memory for storing a computer program;
a first processor for executing a computer program stored in the first memory to implement:
after a communication link is established between a sending component and a target component, generating a state query request corresponding to the target component, wherein the type of a communication protocol interface of the sending component is different from that of the target component;
sending the status query request to the target component;
and determining the working state of a communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the state query request is received or not.
27. The detection apparatus according to claim 26, wherein when the first processor generates the status query request corresponding to the target component, the first processor is configured to:
acquiring application layer data, network layer data and data link layer data corresponding to the sending component and the target component;
generating the status query request corresponding to the target component based on the application layer data, the network layer data, and the data link layer data.
28. The detection apparatus according to claim 27,
the application layer data includes at least one of: sending a first identity identification of the component, a second identity identification of the target component, application request data and verification data;
the data link layer data comprises at least one of frame data and data control information, wherein the data control information comprises at least one of the following: sending address information of the component, address information of the target component and check data;
the network layer data includes: data packets corresponding to the frame data and the data control information.
29. The detection apparatus according to claim 28, wherein when the first processor generates the status query request corresponding to the target component, the first processor is configured to:
acquiring a second identity of the target component;
and generating the state query request based on the first identity identification, the second identity identification and preset check data of the sending component.
30. The detection apparatus according to claim 26, wherein when the first processor sends the status query request to the target component, the first processor is configured to:
sending the status query request directly to the target component; or,
sending the status query request to the target component through at least one intermediate component.
31. The detection apparatus according to claim 30, wherein when the first processor sends the status query request to the target component via at least one intermediate component, the first processor is configured to:
sending the status query request to at least one intermediate component, so that the at least one intermediate component determines a second identity of a target component corresponding to the status query request, and transmits the status query request based on the second identity to send the status query request to the target component; wherein a type of a communication protocol interface of the detection apparatus, a type of a communication protocol interface of the at least one intermediate component, and a type of a communication protocol interface of the target component are not identical.
32. The apparatus according to claim 31, wherein when the at least one intermediate component transmits the status query request based on the second identity to send the status query request to the target component, the at least one intermediate component is configured to:
comparing the second identity with at least one third identity corresponding to the at least one intermediate component;
when the at least one third identity is not consistent with the second identity, sending the status query request to other components through a sending port of the intermediate component so as to finally send the status query request to the target component, wherein the sending port is different from a port of the intermediate component for receiving the status query request; and
and when the second identity identification is consistent with a third identity identification, determining the intermediate component corresponding to the third identity identification as the target component.
33. The detection apparatus according to claim 32, wherein when the at least one third identifier is not consistent with the second identifier, the first processor is further configured to:
and adding the third identity into the state query request, and marking the component corresponding to the third identity as the intermediate component so as to record the transmission path of the state query request.
34. The detection apparatus according to claim 32, wherein after determining the intermediate component corresponding to the third id as the target component, the first processor is further configured to:
the target component generates query feedback information corresponding to the state query request;
returning the query feedback information to the sending component.
35. The detecting device for detecting the rotation of a motor rotor as claimed in claim 34, wherein the contents included in the query feedback information are the same as the contents included in the status query request.
36. The detection apparatus according to claim 34, wherein the query feedback information includes a component identity of at least one intermediate component located in a communication link between the sending component and the target component.
37. The apparatus as claimed in any one of claims 26-36, wherein when the first processor determines the working status of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the status query request is received, the first processor is further configured to:
when the query feedback information is received, determining that the working state of the communication link is a normal state; or,
and when the query feedback information is not received, determining that the working state of the communication link is an abnormal state.
38. The apparatus as claimed in any one of claims 26-36, wherein when the first processor determines the working status of the communication link between the sending component and the target component according to whether the query feedback information sent by the target component based on the status query request is received, the first processor is further configured to:
when the query feedback information is received, acquiring a feedback time length corresponding to the query feedback information;
determining an operating state of a communication link between the sending component and the target component based on the feedback duration.
39. The detection apparatus according to claim 38, wherein when the first processor determines the operating state of the communication link between the sending component and the target component based on the feedback duration, the first processor is further configured to:
analyzing and comparing the feedback duration with a preset time threshold;
when the feedback duration is greater than the preset time threshold, determining that the delay state of the communication link is an abnormal state; or,
and when the feedback duration is less than or equal to the preset time threshold, determining that the delay state of the communication link is a normal state.
40. The detection apparatus of claim 37, wherein after determining the operational status of the communication link between the sending component and the target component, the first processor is further configured to:
determining a link type of a communication link between the sending component and the target component;
when the link type is a serial link and the working state of the communication link is a normal state, determining that the working state of the sub-communication links among all the components in the serial link is a normal state; and the number of the first and second groups,
and when the link type is a parallel link, generating a branch state query request corresponding to a parallel branch included in the parallel link, and determining whether the working state of the communication link corresponding to the parallel branch is normal or not based on the branch state query request.
41. The sensing device of claim 40, wherein the number of branch status query requests corresponds to the number of parallel branches included in the parallel link.
42. The detection apparatus according to any one of claims 26-36, wherein when the first processor sends the status query request to the target component, the first processor is further configured to:
acquiring a sending frequency corresponding to the state query request;
and sending the state inquiry request to the target component based on the sending frequency.
43. The detection apparatus according to any one of claims 26-36, wherein when the first processor sends the status query request to the target component, the first processor is further configured to:
acquiring a sending format corresponding to the state query request;
and sending the state query request to the target component based on the sending format.
44. The detection apparatus according to any of claims 26-36, wherein when the application request data is included in the status query request, the first processor is further configured to:
receiving application feedback data sent by the target component based on the application request data;
determining an application state corresponding to the target component based on the application feedback data.
45. The detection apparatus according to claim 44,
the application request data includes at least one of: a load occupation request, a memory occupation request and a Central Processing Unit (CPU) occupation request of a central first processor;
correspondingly, the application state includes at least one of the following: load occupation information, memory occupation information and central first processor CPU occupation information.
46. The detection apparatus according to any one of claims 26-36, wherein the sending component and the target component are any two different components in a set of components.
47. An apparatus for detecting a communication link, comprising:
a second memory for storing a computer program;
a second processor for executing the computer program stored in the second memory to implement:
receiving a state query request sent by a sending component, wherein the state query request is used for querying the working state of a communication link between the sending component and a target component;
determining a target identity of a target component corresponding to the status query request;
and transmitting the state query request based on the target identity so as to send the state query request to a target component.
48. The detection apparatus according to claim 47, wherein when the second processor transmits the status query request based on the target identity to send the status query request to a target component, the second processor is further configured to:
comparing the target identity with a first identity corresponding to the detection device;
when the first identity identification is inconsistent with the target identity identification, the state query request is sent to other components through a sending port of the detection device so as to finally send the state query request to the target component, wherein the sending port is different from a port of the detection device for receiving the state query request; and the number of the first and second groups,
and when the first identity identification is consistent with the target identity identification, determining the intermediate component corresponding to the first identity identification as the target component.
49. The detection apparatus as claimed in claim 48, wherein when the first identity is not consistent with the target identity, the second processor is further configured to:
and adding the first identity identifier into the state query request, marking the component corresponding to the first identity identifier as the intermediate component, and recording the transmission path of the state query request.
50. The detection apparatus as claimed in claim 48, wherein when the first identity is not consistent with the target identity, the second processor is further configured to:
receiving query feedback information sent by the target component, wherein the query feedback information comprises a component identity of at least one intermediate component in a communication link between the sending component and the target component;
and transmitting the query feedback information based on the component identity of at least one intermediate component included in the query feedback information so as to finally send the query feedback information to the sending component.
51. A system for detecting a communication link, the communication link including at least a target component to which a sending component is communicatively coupled with the sending component, the sending component having a communication protocol interface of a type different from that of the target component, the system comprising:
a sending component for generating a status query request corresponding to the target component; sending the state query request to the target component through an intermediate component; determining the working state of a communication link between the sending component and the target component according to whether query feedback information sent by the target component based on the state query request is received or not;
the intermediate component is used for receiving a state query request sent by the sending component through a receiving port, wherein the state query request is used for querying the working state of a communication link between the sending component and a target component and sending the state query request out through a sending port of the intermediate component, and the sending port is different from the receiving port of the intermediate component;
the target component is used for receiving the state query request through the intermediate component, generating query feedback information based on the state query request, and sending the query feedback information to the sending component.
52. A movable platform, comprising:
a body;
the apparatus for detecting a communication link of any one of claims 26-46, disposed on the body, for detecting a status of a communication link formed between communication components of a movable platform.
53. A movable platform, comprising:
a body;
the apparatus for detecting the communication link of any one of claims 47-50, disposed on the body, for detecting the status of the communication link formed between the communication components of the movable platform.
54. A computer-readable storage medium, characterized in that the storage medium is a computer-readable storage medium having stored therein program instructions for implementing the method of detection of a communication link according to any one of claims 1 to 21.
55. A computer-readable storage medium, characterized in that the storage medium is a computer-readable storage medium having stored therein program instructions for implementing the method of detection of a communication link according to any one of claims 22 to 25.
CN202080004404.1A 2020-04-30 2020-04-30 Communication link detection method, device and system and movable platform Pending CN112585927A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087956 WO2021217540A1 (en) 2020-04-30 2020-04-30 Detection method, device, and system for communication link, and mobile platform

Publications (1)

Publication Number Publication Date
CN112585927A true CN112585927A (en) 2021-03-30

Family

ID=75145426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080004404.1A Pending CN112585927A (en) 2020-04-30 2020-04-30 Communication link detection method, device and system and movable platform

Country Status (2)

Country Link
CN (1) CN112585927A (en)
WO (1) WO2021217540A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114594714A (en) * 2022-03-23 2022-06-07 苏州佳祺仕信息科技有限公司 Equipment control method, device, equipment and storage medium
CN115002207A (en) * 2022-05-27 2022-09-02 三一智矿科技有限公司 Information communication method and system
WO2022213719A1 (en) * 2021-04-08 2022-10-13 中兴通讯股份有限公司 Link state test method and apparatus therefor, and computer-readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134266A (en) * 2022-05-31 2022-09-30 西安北方华创微电子装备有限公司 Data uploading method, data receiving method and semiconductor process equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030898A (en) * 2006-01-30 2007-09-05 丛林网络公司 Determining connectivity status for unnumbered inerfaces of a target network device
CN105516078A (en) * 2014-10-01 2016-04-20 Ls产电株式会社 Protocol converter
US20170208134A1 (en) * 2016-01-19 2017-07-20 Comcast Cable Communications, Llc Connection Manager
CN107528746A (en) * 2016-06-21 2017-12-29 丛林网络公司 Communication means and source network device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236340B (en) * 2010-04-26 2014-12-03 北大方正集团有限公司 Multi-equipment management method and device
CN101977128B (en) * 2010-09-14 2015-04-01 中兴通讯股份有限公司 Interface detection method and device for communication equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030898A (en) * 2006-01-30 2007-09-05 丛林网络公司 Determining connectivity status for unnumbered inerfaces of a target network device
CN105516078A (en) * 2014-10-01 2016-04-20 Ls产电株式会社 Protocol converter
US20170208134A1 (en) * 2016-01-19 2017-07-20 Comcast Cable Communications, Llc Connection Manager
CN107528746A (en) * 2016-06-21 2017-12-29 丛林网络公司 Communication means and source network device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022213719A1 (en) * 2021-04-08 2022-10-13 中兴通讯股份有限公司 Link state test method and apparatus therefor, and computer-readable storage medium
CN114594714A (en) * 2022-03-23 2022-06-07 苏州佳祺仕信息科技有限公司 Equipment control method, device, equipment and storage medium
CN114594714B (en) * 2022-03-23 2024-04-12 苏州佳祺仕科技股份有限公司 Equipment control method, device, equipment and storage medium
CN115002207A (en) * 2022-05-27 2022-09-02 三一智矿科技有限公司 Information communication method and system
CN115002207B (en) * 2022-05-27 2024-02-23 三一智矿科技有限公司 Information communication method and system

Also Published As

Publication number Publication date
WO2021217540A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
CN112585927A (en) Communication link detection method, device and system and movable platform
CN111835627B (en) Communication method of vehicle-mounted gateway, vehicle-mounted gateway and intelligent vehicle
EP2512163A1 (en) Method, system for defining message in machine-to-machine platform, and machine-to-machine platform
CN112199266B (en) Log transmission method and system for vehicle-mounted machine system, vehicle and storage medium
CN101300534A (en) Method and system for the transmission of cyclic and acyclic data
CN111464419B (en) Data transmission control method based on bus network communication
CN111294235B (en) Data processing method, device, gateway and readable storage medium
WO2024037304A1 (en) Vehicle diagnosis communication method and apparatus, and device, medium and program product
CN111490893A (en) Method, device and system for establishing network forwarding model
CN104468265A (en) Method and device for detecting online states of local area network terminals
CN113259268A (en) Network port and serial port data forwarding gateway and method supporting redundancy architecture
CN104993583B (en) The communication means of power distribution automation equipment
CN110912805B (en) Message reading state synchronization method, terminal, server and system
CN113791792B (en) Method, device and storage medium for acquiring application call information
CN117640720A (en) Remote diagnosis channel creation method, vehicle connector and remote diagnosis system
CN106953809B (en) 485 time-sharing communication-based equipment resource acquisition method
CN107885169A (en) A kind of collection method of field data, device and system
EP3340190B1 (en) Vehicle communication system
CN107579804B (en) Method and system for filtering repeated data
CN113032054B (en) Service execution method and device, storage medium and electronic device
CN112187536B (en) Information interaction method and device based on TMS configuration data, storage medium and electronic device
CN107065598B (en) L KJ simulation system and method
CN107046493B (en) Communication means and device
CN105955916B (en) A kind of method that writing immediate, equipment and system
CN109861981A (en) A kind of signal frequency conversion sampling test control method, system, device 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210330

WD01 Invention patent application deemed withdrawn after publication