Method for determining transit server and related device

By receiving and processing data acquisition requests from the diagnostic terminal, obtaining a list of transit servers and sending them to the diagnostic terminal, the problem of time-consuming selection of transit servers in remote diagnosis is solved, and data transmission speed and user experience are improved.

CN119109980APending Publication Date: 2024-12-10LAUNCH TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410974363.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

During the remote diagnosis process, the maintenance technician cannot calculate the network delay of each transit server in real time, resulting in multiple attempts to find a suitable transit server, which makes the data transmission time take.

Method used

By receiving a data acquisition request from the diagnostic terminal, obtaining a list of transit servers, determining the target data, including the relationship between the transit server and the diagnostic terminal, and sending the list of transit servers and target data to the diagnostic terminal, so that it determines the target transit server.

Benefits of technology

It improves the speed of data transmission during remote diagnosis and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109980A_ABST
    Figure CN119109980A_ABST
Patent Text Reader

Abstract

The invention discloses a method for determining a transit server and a related device, the method is applied to a first server of a diagnosis data transmission system, the first server is used for storing and processing diagnosis related data, and the method comprises the following steps: receiving a data acquisition request from a diagnosis terminal; in response to the data acquisition request, acquiring a transit server list, the transit server list comprising identifiers and address information of a plurality of transit servers; determining target data, wherein the target data is used for indicating a relationship between the diagnosis terminal and each transit server in the plurality of transit servers; and sending the transit server list and the target data to the diagnosis terminal, so that the diagnosis terminal determines a target transit server according to the transit server list and the target data. According to the invention, the data transmission speed during remote diagnosis can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method for determining a transit server and related devices. Background Art

[0002] When conducting remote diagnosis, vehicle data transmission through a relay server must be fast and accurate. However, when a maintenance technician operates on a diagnostic terminal connected to a dedicated diagnostic device on the technician side, it is impossible to calculate the network delay of each relay server in real time. It may take multiple attempts to find a suitable relay server, resulting in a long time-consuming remote data transmission. Summary of the invention

[0003] The embodiments of the present application provide a method and related devices for determining a transit server to increase the speed of data transmission.

[0004] In a first aspect, an embodiment of the present application provides a method for determining a transit server, which is applied to a first server of a diagnostic data transmission system, wherein the first server is used to store and process diagnostic related data, including:

[0005] receiving a data acquisition request from a diagnostic terminal;

[0006] In response to the data acquisition request, acquiring a relay server list, wherein the relay server list includes identifications and address information of a plurality of relay servers;

[0007] determining target data, the target data being used to indicate a relationship between the diagnostic terminal and each of the plurality of relay servers;

[0008] The relay server list and the target data are sent to the diagnosis terminal, so that the diagnosis terminal determines the target relay server according to the relay server list and the target data.

[0009] In a second aspect, an embodiment of the present application provides a method for determining a transit server, which is applied to a diagnostic data transmission system, wherein the diagnostic data transmission system includes a first server for storing and processing diagnostic related data, a diagnostic terminal, and a remote diagnostic device operated by a maintenance technician, including:

[0010] The remote diagnostic device sends a diagnostic request to the diagnostic terminal;

[0011] The diagnostic terminal receives a diagnostic request from the remote diagnostic device;

[0012] The diagnostic terminal sends a data acquisition request to the first server in response to the diagnostic request;

[0013] The first server receives a data acquisition request from the diagnostic terminal;

[0014] The first server obtains a list of relay servers in response to the data acquisition request, wherein the list of relay servers includes identifiers and address information of a plurality of relay servers;

[0015] The first server determines target data, the target data being used to indicate a relationship between the diagnostic terminal and each of the plurality of relay servers;

[0016] The first server sends the transfer server list and the target data to the diagnosis terminal;

[0017] The diagnostic terminal receives the relay server list and the target data from the first server;

[0018] The diagnostic terminal determines a target relay server based on the relay server list and the target data.

[0019] In a third aspect, an embodiment of the present application provides a device for determining a transit server, which is applied to a first server of a diagnostic data transmission system, wherein the first server is used to store and process diagnostic related data, including:

[0020] A receiving unit, used for receiving a data acquisition request from a diagnostic terminal;

[0021] an acquisition unit, configured to acquire a list of relay servers in response to the data acquisition request, wherein the list of relay servers includes identifiers and address information of a plurality of relay servers;

[0022] a determining unit, configured to determine target data, wherein the target data is used to indicate a relationship between the diagnostic terminal and each of the plurality of relay servers;

[0023] The sending unit is used to send the relay server list and the target data to the diagnosis terminal, so that the diagnosis terminal determines the target relay server.

[0024] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing execution instructions, wherein the memory stores one or more programs; when the processor executes the execution instructions stored in the memory, the processor executes the method described in the first aspect.

[0025] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing an energy data management program, including execution instructions. When a processor of an electronic device executes the execution instructions, the processor executes the method described in the first aspect.

[0026] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0027] It can be seen that in the embodiment of the present application, firstly, a data acquisition request from a diagnostic terminal is received; in response to the data acquisition request, a relay server list is obtained, wherein the relay server list includes identifications and address information of multiple relay servers; target data is determined, wherein the target data is used to indicate the relationship between the diagnostic terminal and each of the multiple relay servers; the relay server list and the target data are sent to the diagnostic terminal, so that the diagnostic terminal determines the target relay server according to the relay server list and the target data. The present application determines the relay server by processing the relationship between each of the multiple relay servers and the diagnostic terminal, thereby improving the speed of data transmission during remote diagnosis and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 is a system architecture diagram of a diagnostic data transmission system provided by an embodiment of the present application;

[0030] Figure 2 It is a flowchart of a method for determining a transit server provided in an embodiment of the present application;

[0031] Figure 3 It is a block diagram of the functional units of a device for determining a transit server provided in an embodiment of the present application;

[0032] Figure 4 It is a block diagram of functional units of another device for determining a transit server provided in an embodiment of the present application;

[0033] Figure 5 It is a structural schematic diagram of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0036] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0037] When a maintenance technician operates on a diagnostic terminal connected to a dedicated diagnostic device on the technician side, the network delay of each relay server cannot be calculated in real time. It may take multiple attempts to find a suitable relay server, resulting in a long time spent on remote data transmission.

[0038] In response to the above problems, an embodiment of the present application provides a method and related devices for determining a transit server. The embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0039] See also Figure 1 , Figure 1 1 is a system architecture diagram of a diagnostic data transmission system provided by an embodiment of the present application. Figure 1As shown, the diagnostic data transmission system includes a remote diagnostic device for maintenance technicians, a diagnostic terminal, a background server for storing and processing diagnostic related data, an on-board diagnostic device for car owners, and multiple transfer servers, wherein the multiple transfer servers include a first server, a second server, a third server, ..., an Nth server, the remote diagnostic device is respectively connected to the diagnostic terminal and the background server, the first diagnostic device is respectively connected to the background server and each of the multiple transfer servers, and the on-board diagnostic device is respectively connected to the background server and each of the multiple transfer servers. Specifically, the diagnostic terminal can be a computer of a maintenance technician with diagnostic software installed, and the multiple transfer servers are used to transmit diagnostic data between the diagnostic terminal and the on-board diagnostic device during the remote diagnosis process. When the diagnostic terminal receives a diagnostic request from a remote diagnostic device, the diagnostic terminal sends a data acquisition request to the background server. The diagnostic request may include an identifier of the remote diagnostic device. The data acquisition request may include address information of the diagnostic terminal and may also include an identifier of the remote diagnostic device. The background server responds to the data acquisition request from the diagnostic terminal, obtains identifiers and address information of multiple relay servers from a database, and determines whether network delay data of the remote diagnostic device exists in the database based on the identifier of the remote diagnostic device, or determines the distance between each relay server and the diagnostic terminal based on the address information of the diagnostic terminal and each relay server; the background server sends a relay server list, network delay data or distance data to the diagnostic terminal, and the diagnostic terminal determines a relay server with a smaller network delay or a shorter distance as a target relay server based on the received data.

[0040] See also Figure 2 , Figure 2 The present invention provides a flow chart of a method for determining a transfer server provided in an embodiment of the present invention. The method is applied to a first server of a diagnostic data transmission system, the first server is used to store and process diagnostic related data, and the method includes the following steps.

[0041] S210, receiving a data acquisition request from a diagnosis terminal.

[0042] Among them, the first server, transit server, etc. involved in this application can be a physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), as well as basic cloud computing services such as big data and artificial intelligence platforms. The above-mentioned terminals can be computer devices in the form of desktops, laptops, tablets, all-in-ones, etc. Exemplarily, the first server can correspond to a background server for storing various types of information transmitted from remote diagnostic equipment, and can also analyze the stored data to extract valuable information; the diagnostic terminal can be a maintenance technician performing remote diagnosis on a computer device with diagnostic software installed.

[0043] In which, the diagnostic terminal is connected to the remote diagnostic equipment operated by the maintenance technician, thereby receiving the diagnostic request sent by the remote diagnostic equipment including the remote diagnostic equipment identification. Based on the diagnostic request, the diagnostic terminal sends a data acquisition request to the first server, wherein the data acquisition request may include the identification of the remote diagnostic equipment and the address information of the diagnostic terminal, and the address information may be the longitude and latitude information based on the Global Positioning System (GPS).

[0044] Specifically, before receiving the acquisition request from the diagnostic terminal, the method also includes: receiving data information sent by the remote diagnostic device, the data information is obtained by determining the network delay of the relay server when the remote diagnostic device performs remote diagnosis, the data information includes the identification of the remote diagnostic device, the identification of the relay server, the reference network delay and the remote diagnosis time, and the remote diagnostic device is connected to the diagnostic terminal; and storing the data information in a database.

[0045] Among them, when the remote diagnosis device starts remote diagnosis, it will upload the calculated network delay data with each relay server to the background server, and the background server will save this data to the database. The specific data content may include: the identification of the remote diagnosis device, the identification of the relay server, the network delay, and the time to start remote diagnosis.

[0046] Among them, the identifier of remote diagnosis can be the device serial number, such as "JD00123456", "JS-78901234", etc., or the physical address of the device, the specific code of the device, etc.; the identifier of the transit server can be the specific code of the transit server, such as "ZS001", "TransServer_05", or a specific identifier generated based on certain characteristics of the transit server, etc.

[0047] Specifically, the reference network delay is determined according to the network delays between the remote diagnostic device and the on-board diagnostic device and the transfer server respectively, and the on-board diagnostic device is connected to the vehicle to be diagnosed.

[0048] Among them, the first network delay between the relay server and the remote diagnostic device is calculated, and the second network delay between the relay server and the on-board diagnostic device is calculated, and the reference network delay is obtained according to the average of the first network delay and the second network delay.

[0049] S220: In response to the data acquisition request, acquire a relay server list, wherein the relay server list includes identifiers and address information of a plurality of relay servers.

[0050] The backend server searches for the relay server in the database according to the serial number of the remote terminal according to the request of the diagnostic terminal. The address of the relay server may be the address of the city where the relay server is located.

[0051] S230, determining target data, where the target data is used to indicate a relationship between the diagnosis terminal and each of the plurality of relay servers.

[0052] Specifically, the data acquisition request includes the identification of the remote diagnostic device, the address information of the diagnostic terminal and the address information of the on-board diagnostic device, and the determination of the target data includes: determining whether there is network delay data between the remote diagnostic device and the relay server in the database based on the identification of the remote diagnostic device; in the case where the network delay data exists, determining the reference network delay corresponding to the remote diagnostic time closest to the current time interval as the target network delay; sorting the target network delays to obtain a network delay list; sending the relay server list and the target data to the diagnostic terminal includes: sending the relay server list and the network delay list to the diagnostic terminal.

[0053] Among them, after receiving the request, the background server searches the database for the network delay data most recently uploaded by the device according to the identifier of the remote diagnostic device, and sorts the network delay corresponding to each relay server from small to large, or from large to small. The specific sorting method is not limited. After sorting, a network delay list including the relay server identifier and the network delay corresponding to the relay server is obtained. The background server sends the relay server list and the network delay list to the diagnostic terminal. Based on the received data, the diagnostic terminal can select the relay server with the shortest network delay as the target relay server.

[0054] Specifically, in the absence of the network delay data, the distances between the remote diagnostic device and the on-board diagnostic device and the relay server are determined according to the address information of the diagnostic terminal, the on-board diagnostic device and the relay server respectively; the target distance is determined according to the distances between the remote diagnostic device and the on-board diagnostic device and the relay server respectively; the target distances are sorted to obtain a distance list; and sending the relay server list and the target data to the diagnostic terminal includes: sending the relay server list and the distance list to the diagnostic terminal.

[0055] Among them, if the network delay data of the device is not found in the database, the background server will calculate the first distance between the diagnostic terminal and the relay server, and the second distance between the relay server and the on-board diagnostic device according to the location of the diagnostic terminal and the on-board diagnostic device in the data acquisition request, and the location of the city where the relay server is located, calculate the average of the first distance and the second distance to obtain the target distance, sort the target distance corresponding to each relay server from small to large, and obtain a distance list including the relay server identifier and the target distance corresponding to the relay server. The background server sends the relay server list and the distance list to the diagnostic terminal. Based on the received data, the diagnostic terminal can select the relay server with the shortest target distance as the target relay server.

[0056] S240: Send the relay server list and the target data to the diagnosis terminal, so that the diagnosis terminal determines a target relay server according to the relay server list and the target data.

[0057] Specifically, the target data includes a network delay list or a distance list, the network delay list is used to indicate the data transmission time relationship between each of the multiple relay servers and the diagnostic terminal and the on-board diagnostic device, and the distance list is used to indicate the distance relationship between each of the multiple relay servers and the diagnostic terminal and the on-board diagnostic device.

[0058] The target data includes a network delay list, that is, the network delay data about the remote diagnosis device can be found in the background server, and the target data includes a data list, that is, the network delay data about the remote diagnosis device cannot be found in the background server. When the diagnosis terminal receives the network delay list, it can select the transit server with the shortest network delay in the network delay list as the target transit server. When the diagnosis terminal receives the distance list, it can select the transit server with the shortest distance in the distance list as the target transit server.

[0059] It can be seen that in the embodiment of the present application, the determination of the relay server is achieved by processing the relationship between each relay server and the diagnostic terminal in multiple relay servers, which improves the speed of data transmission during remote diagnosis and enhances the user experience.

[0060] In one possible embodiment, when it is determined that there is network delay data between the remote diagnosis device and the relay server in the database based on the identification of the remote diagnosis device, the most recent remote diagnosis time and the current time are compared to determine whether the preset interval time is exceeded. If the time interval between the most recent network delay data and the current time is too long, the reference network delay list and the distance list can be combined to determine the target relay server. Alternatively, the network delay data in the database can be regularly updated and deleted.

[0061] It can be seen that in the embodiments of the present application, the speed of diagnostic data transmission can be improved.

[0062] For the above embodiments, please refer to Figure 3 , Figure 3 is a block diagram of functional units of a device for determining a transit server provided in an embodiment of the present application, such as Figure 3 As shown, the device 30 for determining the relay server includes: a receiving unit 31, used to receive a data acquisition request from a diagnostic terminal; an acquisition unit 32, used to obtain a relay server list in response to the data acquisition request, the relay server list including identifications and address information of multiple relay servers; a determination unit 33, used to determine target data, the target data is used to indicate the relationship between the diagnostic terminal and each of the multiple relay servers; a sending unit 34, used to send the relay server list and the target data to the diagnostic terminal, so that the diagnostic terminal determines the target relay server.

[0063] In a possible embodiment, before receiving an acquisition request from a diagnostic terminal, the device 30 for determining a relay server is further specifically used to: receive data information sent by the remote diagnostic device, the data information being obtained by determining the network delay of the relay server when the remote diagnostic device performs remote diagnosis, the data information including an identifier of the remote diagnostic device, an identifier of the relay server, a reference network delay and a remote diagnosis time, and the remote diagnostic device is connected to the diagnostic terminal; and store the data information in a database.

[0064] In a possible embodiment, in terms of determining the target relay server, the device 30 for determining the relay server is specifically further used for: the reference network delay is determined based on the network delay between the remote diagnostic device and the on-board diagnostic device and the relay server respectively, and the on-board diagnostic device is connected to the vehicle to be diagnosed.

[0065] In a possible embodiment, in terms of determining the target relay server, the determination unit 33 is specifically further used for: the target data includes a network delay list or a distance list, the network delay list is used to indicate the data transmission time relationship between each of the multiple relay servers and the diagnostic terminal and the on-board diagnostic device, and the distance list is used to indicate the distance relationship between each of the multiple relay servers and the diagnostic terminal and the on-board diagnostic device.

[0066] In a possible embodiment, in terms of determining the target data, the determination unit 33 is specifically further used for: the data acquisition request includes the identification of the remote diagnostic device, the address information of the diagnostic terminal and the address information of the on-board diagnostic device, and the determination of the target data includes: determining whether there is network delay data between the remote diagnostic device and the relay server in the database based on the identification of the remote diagnostic device; in the case where the network delay data exists, determining the reference network delay corresponding to the remote diagnostic time closest to the current time interval as the target network delay; sorting the target network delays to obtain a network delay list; sending the relay server list and the target data to the diagnostic terminal includes: sending the relay server list and the network delay list to the diagnostic terminal.

[0067] In a possible embodiment, in terms of determining the target data, the determination unit 33 is specifically used to: in the absence of the network delay data, determine the distances between the remote diagnostic device and the on-board diagnostic device and the relay server respectively according to the address information of the diagnostic terminal, the on-board diagnostic device and the relay server; determine the target distance according to the distances between the remote diagnostic device and the on-board diagnostic device and the relay server respectively; sort the target distances to obtain a distance list; sending the relay server list and the target data to the diagnostic terminal includes: sending the relay server list and the distance list to the diagnostic terminal.

[0068] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.

[0069] In the case of integrated units, see Figure 4 , Figure 4 is a block diagram of functional units of another device for determining a transit server provided in an embodiment of the present application, such as Figure 4As shown, the apparatus 30 for determining the relay server includes: a processing module 302 and a communication module 301. The processing module 302 is used to control and manage the actions of the apparatus 30 for determining the relay server, for example, executing the steps of the receiving unit 31, the obtaining unit 32, the determining unit 33 and the sending unit 34, and / or other processes for executing the technology described herein. The communication module 301 is used to determine the interaction between the apparatus 30 for determining the relay server and other devices. Figure 4 As shown, the device 30 for determining a relay server may further include a storage module 303, and the storage module 303 is used to store program codes and data of the device 30 for determining a relay server.

[0070] Wherein, the processing module 302 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 301 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 303 can be a memory.

[0071] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above-mentioned device 30 for determining the transfer server can execute the above-mentioned Figure 2 The method for determining the relay server is shown.

[0072] See also Figure 5 , Figure 5 is a schematic diagram of the structure of an electronic device proposed in an embodiment of the present application, such as Figure 5 As shown, the electronic device 50 includes a processor 510, a memory 520, a communication interface 530 and one or more programs 521. The one or more programs 521 are stored in the memory and are configured to be executed by the processor. When the program is executed, it includes part or all of the steps of any one of the methods for determining the transit server recorded in the method embodiments. The processor, memory and communication interface are interconnected and complete communication with each other.

[0073] The memory may be a volatile memory such as a dynamic random access memory (DRAM), or a non-volatile memory such as a mechanical hard disk. The memory is used to store a set of executable program codes, and the processor is used to call the executable program codes stored in the memory, and may execute some or all steps of any energy data management method recorded in the above-mentioned method embodiment for determining the transfer server.

[0074] It can be seen that the electronic device 50 described in the embodiment of the present application first receives a data acquisition request from a diagnostic terminal; in response to the data acquisition request, obtains a relay server list, wherein the relay server list includes identifications and address information of multiple relay servers; determines target data, wherein the target data is used to indicate the relationship between the diagnostic terminal and each of the multiple relay servers; sends the relay server list and the target data to the diagnostic terminal, so that the diagnostic terminal determines the target relay server based on the relay server list and the target data. The present application determines the relay server by processing the relationship between each of the multiple relay servers and the diagnostic terminal, thereby improving the speed of data transmission during remote diagnosis and enhancing the user experience.

[0075] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.

[0076] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.

[0077] It should be noted that, for the sake of simplicity, the aforementioned method implementations are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by the present application.

[0078] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0079] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0080] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0081] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

[0082] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., and other media that can store program codes.

[0083] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable memory, which can include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.

[0084] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for determining a transit server, characterized in that: A first server applied to a diagnostic data transmission system, wherein the first server is used to store and process diagnostic related data, comprising: receiving a data acquisition request from a diagnostic terminal; In response to the data acquisition request, acquiring a relay server list, wherein the relay server list includes identifications and address information of a plurality of relay servers; determining target data, the target data being used to indicate a relationship between the diagnostic terminal and each of the plurality of relay servers; The relay server list and the target data are sent to the diagnosis terminal, so that the diagnosis terminal determines the target relay server according to the relay server list and the target data.

2. The method according to claim 1, characterized in that Before receiving the acquisition request from the diagnostic terminal, the method further includes: receiving data information sent by a remote diagnostic device, the data information being obtained by determining the network delay of the relay server when the remote diagnostic device performs remote diagnosis, the data information including an identifier of the remote diagnostic device, an identifier of the relay server, a reference network delay and a remote diagnosis time, the remote diagnostic device being connected to the diagnostic terminal; The data information is stored in a database.

3. The method according to claim 2, characterized in that The reference network delay is determined based on the network delays between the remote diagnostic device and the on-board diagnostic device and the transfer server respectively, and the on-board diagnostic device is connected to the vehicle to be diagnosed.

4. The method according to claim 2, characterized in that: The target data includes a network delay list or a distance list, the network delay list is used to indicate the data transmission time relationship between each of the multiple relay servers and the diagnostic terminal and the on-board diagnostic device, and the distance list is used to indicate the distance relationship between each of the multiple relay servers and the diagnostic terminal and the on-board diagnostic device.

5. The method according to claim 4, characterized in that The data acquisition request includes the identifier of the remote diagnostic device, the address information of the diagnostic terminal and the address information of the on-board diagnostic device, and the determined target data includes: Determining whether network delay data between the remote diagnostic device and the transit server exists in the database based on the identifier of the remote diagnostic device; In the case where the network delay data exists, determining the reference network delay corresponding to the remote diagnosis time closest to the current time interval as the target network delay; Sorting the target network delays to obtain a network delay list; The sending the transfer server list and the target data to the diagnosis terminal includes: The relay server list and the network delay list are sent to the diagnostic terminal.

6. The method according to claim 5, characterized in that In the absence of the network delay data, determining the distances between the remote diagnostic device and the on-board diagnostic device and the relay server respectively according to the address information of the diagnostic terminal, the on-board diagnostic device and the relay server; Determine the target distance according to the distances between the remote diagnostic device and the on-board diagnostic device and the transfer server respectively; Sorting the target distances to obtain a distance list; The sending the transfer server list and the target data to the diagnosis terminal includes: The relay server list and the distance list are sent to the diagnosis terminal.

7. A method for determining a transit server, characterized in that: Applicable to a diagnostic data transmission system, the diagnostic data transmission system comprising a first server for storing and processing diagnostic related data, a diagnostic terminal and a remote diagnostic device operated by a maintenance technician, including: The remote diagnostic device sends a diagnostic request to the diagnostic terminal; The diagnostic terminal receives a diagnostic request from the remote diagnostic device; The diagnostic terminal sends a data acquisition request to the first server in response to the diagnostic request; The first server receives a data acquisition request from the diagnostic terminal; The first server obtains a list of relay servers in response to the data acquisition request, wherein the list of relay servers includes identifiers and address information of a plurality of relay servers; The first server determines target data, the target data being used to indicate a relationship between the diagnostic terminal and each of the plurality of relay servers; The first server sends the transfer server list and the target data to the diagnosis terminal; The diagnostic terminal receives the relay server list and the target data from the first server; The diagnostic terminal determines a target relay server based on the relay server list and the target data.

8. A device for determining a transit server, characterized in that: A first server applied to a diagnostic data transmission system, wherein the first server is used to store and process diagnostic related data, comprising: A receiving unit, used for receiving a data acquisition request from a diagnostic terminal; an acquisition unit, configured to acquire a list of relay servers in response to the data acquisition request, wherein the list of relay servers includes identifiers and address information of a plurality of relay servers; a determining unit, configured to determine target data, wherein the target data is used to indicate a relationship between the diagnostic terminal and each of the plurality of relay servers; The sending unit is used to send the relay server list and the target data to the diagnosis terminal, so that the diagnosis terminal determines the target relay server.

9. An electronic device, characterized in that: The method comprises a processor and a memory storing execution instructions, wherein the memory stores one or more programs; when the processor executes the execution instructions stored in the memory, the processor executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: An energy data management program is stored, including execution instructions. When a processor of an electronic device executes the execution instructions, the processor executes the method according to any one of claims 1-7.

Citation Information

Cited By

  • Forwarding server selection method of hybrid network architecture, electronic equipment and computer readable storage medium

    CN120602493A