Diagnostic Data Remote Transmission Method, Device, Electronic Device and Medium

By introducing multiple transit servers and addressing servers into the remote transmission system, the target transit server is determined, and the problems of high network delay and low transmission rate in remote diagnostic data transmission are solved, and more stable and efficient data transmission is achieved.

CN115695497BActive Publication Date: 2025-06-13THINKCAR SOFTWARE TECH DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211360208.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-01
Publication Date
2025-06-13
Estimated Expiration
2042-11-01

AI Technical Summary

Technical Problem

The prior art has problems with high network latency and low transmission rate in remote diagnostic data transmission, resulting in unstable connection and inability to connect to diagnosis for a long time.

Method used

By introducing a plurality of transit servers and addressing servers in the remote transmission system, the first diagnostic terminal obtains the address information of the addressing server and the transit server list after responding to the diagnosis request, determines the target transit server that meets the data transmission needs, and transmits the diagnostic data with the second diagnostic terminal through the transit server.

Benefits of technology

Improve the stability and transmission rate of remote diagnostic data transmission, ensuring the stability of connection and the efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115695497B_ABST
    Figure CN115695497B_ABST
Patent Text Reader

Abstract

The present application relates to the field of communication technologies, and provides a method, apparatus, electronic device and medium for remotely transmitting diagnostic data. In this method, a first diagnostic terminal obtains the address information of an addressing server and a list of relay servers from a service server based on a diagnostic request, and establishes a communication connection with the addressing server; then, based on the stored pairing information, the addressing server sends a communication connection instruction to a second diagnostic terminal; the second diagnostic terminal obtains the list of relay servers in the service server; the first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the address information in the list of relay servers; the first diagnostic terminal determines a target relay server that meets the data transmission requirements based on the obtained network transmission delay, and transmits diagnostic data to the second diagnostic terminal through the target relay server. This method improves the stability and transmission rate of remote diagnostic data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technologies, and in particular, to a method, device, electronic device, and medium for remotely transmitting diagnostic data. Background Art

[0002] With the growth of the number of automobiles in use, sometimes the capabilities of locally purchased diagnostic devices are limited and cannot cover all automobile diagnostic scenarios. Therefore, the need for remote diagnosis in different locations has emerged. However, automotive data requires fast and accurate transmission, and remote data transmission in different locations has disadvantages such as high network latency and low transmission rate, resulting in unstable connections and inability to maintain a long-term connection for diagnosis. Summary of the Invention

[0003] The purpose of the embodiments of the present application is to provide a method for remotely transmitting diagnostic data, which solves the above problems existing in the prior art and improves the stability and transmission rate of remote diagnostic data transmission.

[0004] In a first aspect, a method for remotely transmitting diagnostic data is provided, which is applied to a remote transmission system. The system includes a first diagnostic terminal, a second diagnostic terminal connected to a vehicle to be diagnosed, a service server, a plurality of relay servers for transmitting diagnostic data, and an addressing server for storing pairing information between the first diagnostic terminal and the second diagnostic terminal. The method includes:

[0005] In response to a received diagnostic request, the first diagnostic terminal obtains the address information of the addressing server and a list of relay servers from the service server. The list of relay servers includes the address information of the plurality of relay servers;

[0006] The first diagnostic terminal establishes a communication connection with the addressing server based on the address information of the addressing server;

[0007] After the first diagnostic terminal establishes a communication connection with itself, the addressing server sends a communication connection instruction to the second diagnostic terminal based on the stored pairing information, so that the second diagnostic terminal establishes a communication connection with the addressing server;

[0008] The second diagnostic terminal obtains the list of relay servers in the service server;

[0009] The first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the address information in the list of relay servers. The network transmission delay includes a first network transmission delay between each relay server and the first diagnostic terminal and a second network transmission delay between each relay server and the second diagnostic terminal;

[0010] The first diagnostic terminal determines a target relay server that meets the data transmission requirements based on the first network transmission delay and the second network transmission delay obtained through the addressing server, and transmits diagnostic data to the second diagnostic terminal through the target relay server.

[0011] In an alternative implementation, after establishing a communication connection with the addressing server, the second diagnostic terminal obtains a list of relay servers in the service server, including:

[0012] After establishing a communication connection with the addressing server, the second diagnostic terminal obtains the list of relay servers from the service server.

[0013] In an alternative implementation, after establishing a communication connection with the addressing server, the second diagnostic terminal obtains a list of relay servers in the service server, including:

[0014] After the second diagnostic terminal and the addressing server establish a communication connection, the addressing server sends connection notification information of the second diagnostic terminal to the first diagnostic terminal;

[0015] The first diagnostic terminal sends the list of relay servers to the second diagnostic terminal through the addressing server, so that the second diagnostic terminal can obtain the list of relay servers in the service server.

[0016] In an alternative implementation, the first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the address information in the list of relay servers, including:

[0017] The first diagnostic terminal and the second diagnostic terminal respectively send heartbeat messages to each relay server at a preset time interval based on the address information in the list of relay servers;

[0018] The first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the sending time of the heartbeat message and the receiving time of the corresponding response message.

[0019] In an alternative implementation, determining a target relay server that meets the data transmission requirements includes:

[0020] The first diagnostic terminal obtains the second network transmission delay through the addressing server;

[0021] The first diagnostic terminal determines the network transmission delay between itself and the second diagnostic terminal corresponding to different relay servers according to the first network transmission delay and the second network transmission delay corresponding to different relay servers;

[0022] The first diagnostic terminal uses the relay server corresponding to the minimum network transmission delay between itself and the second diagnostic terminal as the target relay server.

[0023] In an alternative implementation, the first diagnostic terminal uses the relay server corresponding to the minimum network transmission delay between itself and the second diagnostic terminal as the target relay server, including:

[0024] The first diagnostic terminal ranks the selection of the multiple relay servers in ascending order of the network transmission delay between itself and the second diagnostic terminal;

[0025] Uses the relay server with the highest priority among the multiple relay servers as the target relay server.

[0026] In an alternative implementation, after determining the target relay server that meets the data transmission requirements, the method further includes:

[0027] The first diagnostic terminal establishes a data connection with the target relay server, and sends the address information of the target relay server and a connection establishment instruction to the second diagnostic terminal through the addressing server;

[0028] The second diagnostic terminal establishes a data connection with the target relay server based on the connection establishment instruction.

[0029] In a second aspect, a diagnostic data remote transmission system is provided, which may include:

[0030] A first diagnostic terminal connected to a diagnostic instrument operated by a maintenance technician;

[0031] A second diagnostic terminal connected to a vehicle to be diagnosed;

[0032] Multiple relay servers for transmitting diagnostic data;

[0033] An addressing server storing pairing information between the first diagnostic terminal and the second diagnostic terminal;

[0034] A service server storing the address information of the addressing server and a list of relay servers; the list of relay servers includes the address information of the multiple relay servers;

[0035] Wherein, the first diagnostic terminal, in response to a diagnostic request triggered by the maintenance technician, obtains the address information of the addressing server and the list of relay servers from the service server, the list of relay servers includes the address information of the multiple relay servers; based on the address information of the addressing server, establishes a communication connection with the addressing server;

[0036] The addressing server is configured to, after establishing a communication connection with the first diagnostic terminal itself, send a communication connection instruction to the second diagnostic terminal based on the stored pairing information;

[0037] The second diagnostic terminal is configured to establish a communication connection with the addressing server according to the communication connection instruction; and obtain a list of relay servers in the service server;

[0038] The first diagnostic terminal and the second diagnostic terminal are respectively configured to obtain the network transmission delay between each relay server and itself based on the address information in the list of relay servers, where the network transmission delay includes a first network transmission delay between each relay server and the first diagnostic terminal and a second network transmission delay between each relay server and the second diagnostic terminal; determine a target relay server that meets the data transmission requirements based on the first network transmission delay and the second network transmission delay obtained through the addressing server, and transmit diagnostic data to the second diagnostic terminal through the target relay server.

[0039] In an optional implementation, the diagnostic instrument corresponds to the vehicle type of the vehicle to be diagnosed to which the second diagnostic terminal is connected.

[0040] In an optional implementation, the second diagnostic terminal is specifically configured to obtain the list of relay servers from the service server after establishing a communication connection with the addressing server.

[0041] In an optional implementation, the addressing server is further configured to send connection notification information of the second diagnostic terminal to the first diagnostic terminal after the second diagnostic terminal establishes a communication connection with the addressing server;

[0042] The first diagnostic terminal is further configured to send the list of relay servers to the second diagnostic terminal through the addressing server, so that the second diagnostic terminal obtains the list of relay servers in the service server.

[0043] In an optional implementation, the first diagnostic terminal and the second diagnostic terminal are respectively specifically configured to:

[0044] Based on the address information in the list of relay servers, send heartbeat messages to each relay server at a preset time interval;

[0045] Based on the sending time of the heartbeat message and the receiving time of the corresponding response message, obtain the network transmission delay between each relay server and itself.

[0046] In an alternative implementation, the first diagnostic terminal is specifically configured to obtain the second network transmission delay through the addressing server;

[0047] Determine the network transmission delay between itself and the second diagnostic terminal corresponding to different relay servers according to the first network transmission delay and the second network transmission delay corresponding to different relay servers;

[0048] Use the relay server corresponding to the minimum network transmission delay between itself and the second diagnostic terminal as the target relay server.

[0049] In an alternative implementation, the first diagnostic terminal is further specifically configured to sort the selection of the multiple relay servers in ascending order of the network transmission delay between itself and the second diagnostic terminal;

[0050] Use the relay server with the highest priority among the multiple relay servers as the target relay server.

[0051] In an alternative implementation, the first diagnostic terminal is further configured to establish a data connection with the target relay server and send the address information and connection establishment instruction of the target relay server to the second diagnostic terminal through the addressing server;

[0052] The second diagnostic terminal is further configured to establish a data connection with the target relay server based on the connection establishment instruction.

[0053] In a third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of the above first aspects are implemented.

[0054] The diagnostic data remote transmission method provided by this application is applied to a remote transmission system. The system includes a first diagnostic terminal, a second diagnostic terminal connected to the vehicle to be diagnosed, a service server, multiple relay servers for transmitting diagnostic data, and an addressing server for storing the pairing information between the first diagnostic terminal and the second diagnostic terminal. In this method, the first diagnostic terminal obtains the address information of the addressing server and the list of relay servers from the service server in response to the received diagnostic request; the first diagnostic terminal establishes a communication connection with the addressing server based on the address information of the addressing server; after the first diagnostic terminal establishes a communication connection with itself, the addressing server sends a communication connection instruction to the second diagnostic terminal based on the stored pairing information; the second diagnostic terminal obtains the list of relay servers in the service server; the first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the address information in the list of relay servers; the first diagnostic terminal determines the target relay server that meets the data transmission requirements based on the obtained network transmission delay, and transmits the diagnostic data to the second diagnostic terminal through the target relay server. This method improves the stability and transmission rate of remote diagnostic data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions of the embodiments of this application, the following will briefly introduce the drawings required to be used in the embodiments of this application. It should be understood that the following drawings only show some embodiments of this application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative efforts.

[0056] Figure 1 It is an architecture diagram of a remote transmission system for an application diagnostic data remote transmission method provided by an embodiment of this application;

[0057] Figure 2 It is a schematic flowchart of a diagnostic data remote transmission method provided by an embodiment of this application;

[0058] Figure 3 It is a schematic flowchart of another diagnostic data remote transmission method provided by an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0059] The following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of this application.

[0060] The diagnostic data remote transmission method provided by the embodiments of the present application can be applied in Figure 1 the remote transmission system architecture shown in Figure 1 As shown, the system may include: a first diagnostic terminal connected to a diagnostic instrument operated by a maintenance technician, a second diagnostic terminal connected to a vehicle to be diagnosed, a service server storing the address information of the storage addressing server and the list of relay servers, multiple relay servers for transmitting diagnostic data, such as relay server 1, relay server 2, ……, relay server n, etc., and an addressing server storing the pairing information between the first diagnostic terminal and the second diagnostic terminal. Among them, the above various servers may be physical servers, or a server cluster or distributed system composed of multiple physical servers, or may also be cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), as well as big data and artificial intelligence platforms. The above various terminals may be user equipment (UE) such as mobile phones, smart phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, mobile stations (MS), mobile terminals, etc.

[0061] The first diagnostic terminal and the second diagnostic terminal can respectively perform data transmission with the service server; the first diagnostic terminal and the second diagnostic terminal can respectively establish a communication connection with the addressing server; the first diagnostic terminal and the second diagnostic terminal can respectively send heartbeat messages to each relay server to test the network latency.

[0062] It should be noted that the diagnostic instrument connected to the first diagnostic terminal corresponds to the vehicle type of the vehicle to be diagnosed connected to the second diagnostic terminal. That is to say, the first diagnostic terminal can connect to the corresponding diagnostic instrument according to the vehicle type of the vehicle to be diagnosed, that is, the first diagnostic terminal can connect different types of diagnostic tools according to the business requirements of vehicle diagnosis.

[0063] The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. And without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0064] Figure 2 It is a schematic flowchart of a diagnostic data remote transmission method provided by an embodiment of the present application. As Figure 2As shown, the method may include:

[0065] Step S210: In response to the received diagnostic request, the first diagnostic terminal obtains the address information of the addressing server and the list of relay servers from the service server.

[0066] In a specific implementation, the first diagnostic terminal receives a diagnostic request sent by a maintenance technician through a diagnostic instrument, and the first diagnostic terminal obtains the address information of the addressing server and the list of relay servers from the service server based on the diagnostic request. Among them, the list of relay servers may include the identifiers and address information of multiple relay servers.

[0067] Step S220: The first diagnostic terminal establishes a communication connection with the addressing server based on the address information of the addressing server.

[0068] The first diagnostic terminal sends a communication connection establishment request to the addressing server based on the address information of the addressing server to establish a communication connection with the addressing server.

[0069] Step S230: The addressing server sends a communication connection indication to the second diagnostic terminal based on the stored pairing information.

[0070] In a specific implementation, after the first diagnostic terminal and the addressing server establish a communication connection, the addressing server searches for the pairing information of the first diagnostic terminal and determines that the second diagnostic terminal is paired with the first diagnostic terminal;

[0071] At this time, the addressing server sends a communication connection indication to the second diagnostic terminal;

[0072] The second diagnostic terminal sends a communication connection establishment request to the addressing server based on the communication connection indication to establish a communication connection with the addressing server.

[0073] Based on this, the above steps establish a communication link between the first diagnostic terminal and the second diagnostic terminal through the addressing server, which can ensure the pairing relationship between the first diagnostic terminal and the second diagnostic terminal and improve the timeliness of information transmission.

[0074] Step S240: The second diagnostic terminal obtains the list of relay servers in the service server.

[0075] In a specific implementation, after the second diagnostic terminal establishes a communication connection with the addressing server, it can directly obtain the list of relay servers from the service server.

[0076] Alternatively, after the addressing server determines that the second diagnostic terminal and the addressing server have established a communication connection, it sends connection notification information of the second diagnostic terminal to the first diagnostic terminal, and the connection notification information is used to notify that the second diagnostic terminal and the addressing server have established a communication connection;

[0077] After that, the first diagnostic terminal sends the list of relay servers to the second diagnostic terminal through the addressing server, so that the second diagnostic terminal can obtain the list of relay servers in the service server.

[0078] Step S250: The first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and themselves based on the address information in the list of relay servers.

[0079] Among them, the network transmission delay includes the first network transmission delay between each relay server and the first diagnostic terminal and the second network transmission delay between each relay server and the second diagnostic terminal.

[0080] In specific implementation, the first diagnostic terminal and the second diagnostic terminal respectively send heartbeat messages to each relay server at a preset time interval based on the address information in the list of relay servers;

[0081] The first diagnostic terminal obtains the first network transmission delay between each relay server and the first diagnostic terminal based on the sending time of the heartbeat message and the receiving time of the corresponding response message. For example, the first network transmission delay between the first diagnostic terminal and relay server 1 is 0.2 ms; the first network transmission delay between the first diagnostic terminal and relay server 2 is 0.5 ms; the first network transmission delay between the first diagnostic terminal and relay server 3 is 0.3 ms.

[0082] The second diagnostic terminal obtains the second network transmission delay between each relay server and the second diagnostic terminal based on the sending time of the heartbeat message and the receiving time of the corresponding response message. For example, the second network transmission delay between the second diagnostic terminal and relay server 1 is 0.2 ms; the second network transmission delay between the second diagnostic terminal and relay server 2 is 0.3 ms; the second network transmission delay between the second diagnostic terminal and relay server 3 is 0.4 ms.

[0083] By sending heartbeat messages to each relay server, not only can the network transmission delay be detected, but also the working status of each relay server can be detected to ensure the stability of diagnostic data transmission.

[0084] Step S260: The first diagnostic terminal determines the target relay server that meets the data transmission requirements based on the first network transmission delay and the second network transmission delay obtained through the addressing server.

[0085] In specific implementation, the first diagnostic terminal obtains the second network transmission delay obtained by the second diagnostic terminal through the addressing server. Or rather, the second diagnostic terminal sends the second network transmission delay to the first diagnostic terminal through the addressing server;

[0086] The first diagnostic terminal determines the network transmission delay between itself and the second diagnostic terminal corresponding to different relay servers based on the first network transmission delay and the second network transmission delay corresponding to different relay servers.

[0087] After that, the first diagnostic terminal uses the relay server corresponding to the minimum network transmission delay between itself and the second diagnostic terminal as the target relay server.

[0088] In an example, taking the existence of three relay servers as an example, the first network transmission delay between the first diagnostic terminal and the three relay servers and the second network transmission delay between the second diagnostic terminal and the same three relay servers are known:

[0089] The first network transmission delay between the first diagnostic terminal and relay server 1 is 0.2 ms.

[0090] The first network transmission delay between the first diagnostic terminal and relay server 2 is 0.5 ms.

[0091] The first network transmission delay between the first diagnostic terminal and relay server 3 is 0.3 ms.

[0092] The second network transmission delay between the second diagnostic terminal and relay server 1 is 0.2 ms.

[0093] The second network transmission delay between the second diagnostic terminal and relay server 2 is 0.3 ms.

[0094] The second network transmission delay between the second diagnostic terminal and relay server 3 is 0.4 ms.

[0095] Among them, (1) Since relay server 1 corresponds to a first network transmission delay of 0.2 ms and a second network transmission delay of 0.2 ms, the network transmission delay between the first diagnostic terminal and the second diagnostic terminal corresponding to relay server 1 is 0.4 ms. (2) Since relay server 2 corresponds to a first network transmission delay of 0.5 ms and a second network transmission delay of 0.3 ms, the network transmission delay between the first diagnostic terminal and the second diagnostic terminal corresponding to relay server 2 is 0.8 ms. (3) Since relay server 3 corresponds to a first network transmission delay of 0.3 ms and a second network transmission delay of 0.4 ms, the network transmission delay between the first diagnostic terminal and the second diagnostic terminal corresponding to relay server 3 is 0.7 ms.

[0096] Therefore, among relay server 1, relay server 2, and relay server 3, the target relay server that can achieve the minimum network transmission delay between the first diagnostic terminal and the second diagnostic terminal is relay server 1.

[0097] In the above-described embodiment of the present application, by obtaining the network transmission delays between the first diagnostic terminal and each relay server, and the network transmission delays between the second diagnostic terminal and each relay server, the minimum network transmission delay between the first diagnostic terminal and the second diagnostic terminal is determined, so as to improve the data transmission efficiency through the relay server corresponding to the minimum network transmission delay.

[0098] In some embodiments, the first diagnostic terminal may perform a priority ranking on the selection of different relay servers in ascending order of the network transmission delay between itself and the second diagnostic terminal; and use the relay server with the highest priority among the multiple relay servers as the target relay server. Among them, the relay server with the highest priority is the relay server corresponding to the minimum network transmission delay.

[0099] Based on the above embodiments, before determining the target relay server, the first diagnostic terminal may detect the working status of the target relay server in real time;

[0100] Based on whether an acknowledgment feedback is received within a preset time period for the sent heartbeat message, determine the working status of each relay server, such as a faulty working status and a normal working status.

[0101] If the working status of the relay server is a faulty working status, the first diagnostic terminal deletes the relay server, searches for the relay server corresponding to the minimum network transmission delay from the remaining relay servers, and uses it as the new target relay server;

[0102] If the working status of the resources of the relay server is a normal working status, the first diagnostic terminal searches for the relay server corresponding to the minimum network transmission delay from each relay server to perform the next step.

[0103] Based on the above embodiments, after determining the target relay server, the first diagnostic terminal may detect the available status of the resources of the target relay server in real time;

[0104] If the available status of the resources of the target relay server is no available resources, the first diagnostic terminal may use the relay server corresponding to the minimum network transmission delay except the target relay server as the new target relay server;

[0105] If the available status of the resources of the target relay server is there are available resources, the first diagnostic terminal performs the next step. Further, for the stability of data transmission, it may be considered that when the available resources present are greater than the preset resource amount, the target relay server is determined as the final target relay server; otherwise, return to execute: use the relay server corresponding to the minimum network transmission delay except the target relay server as the new target relay server.

[0106] It can be understood that when determining the target relay server, the first diagnostic terminal can also comprehensively consider the working status of the target relay server and the available status of resources, or other considerations can be added according to business requirements. The embodiments of the present application do not limit this here.

[0107] Step S270: The first diagnostic terminal transmits diagnostic data to the second diagnostic terminal through the target relay server.

[0108] The first diagnostic terminal sends the address information of the target relay server and a connection establishment instruction to the second diagnostic terminal through the addressing server; the first diagnostic terminal establishes a data connection with the target relay server, and the second diagnostic terminal establishes a data connection with the target relay server based on the connection establishment instruction, thereby realizing the transmission of diagnostic data between the first diagnostic terminal and the second diagnostic terminal through the target relay server.

[0109] In a specific embodiment, as Figure 3 shown, the embodiments of the present application provide a method for remotely transmitting diagnostic data, which may include the following steps:

[0110] Step 301: The first diagnostic terminal receives a diagnostic request sent by a maintenance technician through a diagnostic instrument;

[0111] Step 302: Based on the diagnostic request, the first diagnostic terminal obtains the address information of the addressing server and a list of relay servers from the service server; the list of relay servers only includes the address information of relay server 1 and relay server 2;

[0112] Step 303: The first diagnostic terminal establishes a communication connection with the addressing server based on the address information of the addressing server;

[0113] Step 304: Based on the stored pairing information, the addressing server sends a communication connection instruction to the second diagnostic terminal;

[0114] Step 305: The second diagnostic terminal establishes a communication connection with the addressing server based on the communication connection instruction;

[0115] Step 306: The addressing server sends connection notification information of the second diagnostic terminal to the first diagnostic terminal;

[0116] Step 307: The first diagnostic terminal sends the list of relay servers to the second diagnostic terminal through the addressing server;

[0117] Step 308: Based on the address information in the list of relay servers, the first diagnostic terminal sends heartbeat packets to each relay server at a preset time interval;

[0118] Step S309: The second diagnostic terminal sends heartbeat messages to each relay server at a preset time interval based on the address information in the relay server list;

[0119] Step 310: The first diagnostic terminal obtains the first network transmission delay between each relay server and itself;

[0120] Step 311: The second diagnostic terminal obtains the second network transmission delay between each relay server and itself;

[0121] Step 312: The first diagnostic terminal obtains the second network transmission delay obtained by the second diagnostic terminal through the addressing server;

[0122] Step 313: The first diagnostic terminal determines the network transmission delay between itself and the second diagnostic terminal corresponding to each relay server according to the first network transmission delay and the second network transmission delay corresponding to each relay server;

[0123] Step 314: The first diagnostic terminal uses the relay server 1 corresponding to the minimum network transmission delay between itself and the second diagnostic terminal as the target relay server;

[0124] Step 315: The first diagnostic terminal sends the address information of the relay server 1 and a connection establishment instruction to the second diagnostic terminal through the addressing server;

[0125] Step 316: The first diagnostic terminal establishes a data connection with the relay server 1.

[0126] Step 317: The second diagnostic terminal establishes a data connection with the relay server 1 based on the connection establishment instruction, and realizes the transmission of diagnostic data between the first diagnostic terminal and the second diagnostic terminal through the relay server 1.

[0127] It can be seen that in the above method embodiment of the present application, the first diagnostic terminal can connect the corresponding diagnostic instrument according to the vehicle type of the vehicle to be diagnosed. Therefore, this method can provide a solution with the minimum network delay and stable data transmission for vehicles to be diagnosed and maintenance technicians in different regions of the world.

[0128] In another embodiment provided by the present application, there is also provided a computer-readable storage medium, in which instructions are stored. When it runs on a computer, it causes the computer to execute any one of the diagnostic data remote transmission methods in the above embodiments.

[0129] In another embodiment provided by the present application, there is also provided a computer program product containing instructions. When it runs on a computer, it causes the computer to execute any one of the diagnostic data remote transmission methods in the above embodiments.

[0130] Those skilled in the art should understand that the embodiments in the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the embodiments in the embodiments of the present application can take the form of completely hardware embodiments, completely software embodiments, or embodiments combining software and hardware aspects. Moreover, the embodiments in the embodiments of the present application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) that contain computer-usable program code.

[0131] The embodiments in the embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments in the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for realizing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0132] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device realizes the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for realizing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0134] Although the preferred embodiments in the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they know the basic creative concepts. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.

[0135] Obviously, those skilled in the art can make various changes and modifications to the embodiments in this application without departing from the spirit and scope of the embodiments in this application. Thus, if these modifications and variations of the embodiments in this application fall within the scope of the claims in this application and their equivalent technologies, this application also intends to include these changes and modifications therein.

Claims

1. A method for remotely transmitting diagnostic data, characterized in that, it is applied to a remote transmission system, the system includes a first diagnostic terminal, a second diagnostic terminal connected to the vehicle to be diagnosed, a service server, a plurality of relay servers for transmitting diagnostic data, and an addressing server for storing pairing information between the first diagnostic terminal and the second diagnostic terminal, and the method includes: The first diagnostic terminal, in response to the received diagnostic request, obtains the address information of the addressing server and the relay server list from the service server, and the relay server list includes the address information of the plurality of relay servers; The first diagnostic terminal establishes a communication connection with the addressing server based on the address information of the addressing server; After the addressing server establishes a communication connection with the first diagnostic terminal itself, based on the stored pairing information, it sends a communication connection instruction to the second diagnostic terminal to enable the second diagnostic terminal to establish a communication connection with the addressing server; The second diagnostic terminal obtains the relay server list in the service server; The first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the address information in the relay server list, and the network transmission delay includes the first network transmission delay between each relay server and the first diagnostic terminal and the second network transmission delay between each relay server and the second diagnostic terminal; The first diagnostic terminal determines a target relay server that meets the data transmission requirements based on the first network transmission delay and the second network transmission delay obtained through the addressing server, and transmits the diagnostic data to the second diagnostic terminal through the target relay server.

2. The method according to claim 1, characterized in that, after the second diagnostic terminal establishes a communication connection with the addressing server, obtaining the relay server list in the service server includes: After the second diagnostic terminal establishes a communication connection with the addressing server, it obtains the relay server list from the service server.

3. The method according to claim 1, characterized in that, after the second diagnostic terminal establishes a communication connection with the addressing server, obtaining the relay server list in the service server includes: After the second diagnostic terminal establishes a communication connection with the addressing server, the addressing server sends connection notification information of the second diagnostic terminal to the first diagnostic terminal; The first diagnostic terminal sends the relay server list to the second diagnostic terminal through the addressing server so that the second diagnostic terminal can obtain the relay server list in the service server.

4. The method according to claim 1, characterized in that, the first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the address information in the relay server list, including: The first diagnostic terminal and the second diagnostic terminal respectively send heartbeat messages to each relay server according to the address information in the relay server list at a preset time interval; The first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delay between each relay server and itself based on the sending time of the heartbeat message and the receiving time of the corresponding response message.

5. The method according to claim 1 or 4, characterized in that, determining a target relay server that meets the data transmission requirement includes: The first diagnostic terminal obtains the second network transmission delay through the addressing server; The first diagnostic terminal determines the network transmission delay between itself and the second diagnostic terminal corresponding to different relay servers according to the first network transmission delay and the second network transmission delay corresponding to different relay servers; The first diagnostic terminal uses the relay server corresponding to the minimum network transmission delay between itself and the second diagnostic terminal as the target relay server.

6. The method according to claim 5, characterized in that, The first diagnostic terminal uses the relay server corresponding to the minimum network transmission delay between itself and the second diagnostic terminal as the target relay server, including: The first diagnostic terminal sorts the selection of the multiple relay servers in ascending order of the network transmission delay between itself and the second diagnostic terminal; The relay server with the highest priority among the multiple relay servers is used as the target relay server.

7. The method according to claim 1, characterized in that, After determining the target relay server that meets the data transmission requirement, the method further includes: The first diagnostic terminal establishes a data connection with the target relay server, and sends the address information of the target relay server and a connection establishment instruction to the second diagnostic terminal through the addressing server; The second diagnostic terminal establishes a data connection with the target relay server based on the connection establishment instruction.

8. A diagnostic data remote transmission system, characterized in that, The system includes: A first diagnostic terminal connected to a diagnostic instrument operated by a maintenance technician; A second diagnostic terminal connected to a vehicle to be diagnosed; Multiple relay servers for transmitting diagnostic data; An addressing server storing the pairing information between the first diagnostic terminal and the second diagnostic terminal; A service server storing the address information of the addressing server and a relay server list; the relay server list includes the address information of the multiple relay servers; Wherein, the first diagnostic terminal, in response to a diagnostic request triggered by the maintenance technician, obtains the address information of the addressing server and the relay server list from the service server, and the relay server list includes the address information of the multiple relay servers; based on the address information of the addressing server, establish a communication connection with the addressing server; The addressing server, after establishing a communication connection with the first diagnostic terminal itself, sends a communication connection instruction to the second diagnostic terminal based on the stored pairing information; The second diagnostic terminal is configured to establish a communication connection with the addressing server according to the communication connection indication; and obtain a list of relay servers in the service server; The first diagnostic terminal and the second diagnostic terminal respectively obtain the network transmission delays between each relay server and themselves based on the address information in the list of relay servers, where the network transmission delays include the first network transmission delays between each relay server and the first diagnostic terminal and the second network transmission delays between each relay server and the second diagnostic terminal; The first diagnostic terminal is further configured to determine a target relay server that meets the data transmission requirements based on the first network transmission delay and the second network transmission delay obtained through the addressing server, and transmit diagnostic data to the second diagnostic terminal through the target relay server.

9. The system according to claim 8, wherein, The diagnostic instrument corresponds to the vehicle type of the vehicle to be diagnosed connected to the second diagnostic terminal.

10. A computer-readable storage medium, wherein, The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Data transmission system, method, device, equipment and medium

    CN115032973A

  • Route activation method and device based on remote diagnosis, equipment and medium

    CN115065699A