CN115065699A - Route activation method, device, equipment and medium based on remote diagnosis - Google Patents

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

Info

Publication number
CN115065699A
CN115065699A CN202210640019.7A CN202210640019A CN115065699A CN 115065699 A CN115065699 A CN 115065699A CN 202210640019 A CN202210640019 A CN 202210640019A CN 115065699 A CN115065699 A CN 115065699A
Authority
CN
China
Prior art keywords
route activation
instruction
equipment
request instruction
activation request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210640019.7A
Other languages
Chinese (zh)
Other versions
CN115065699B (en
Inventor
刘新
李森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202210640019.7A priority Critical patent/CN115065699B/en
Publication of CN115065699A publication Critical patent/CN115065699A/en
Application granted granted Critical
Publication of CN115065699B publication Critical patent/CN115065699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses route activation method, device, equipment and medium based on remote diagnosis, which are applied to first transmission equipment, wherein the first transmission equipment is respectively in communication connection with second transmission equipment and data sending equipment, and the second transmission equipment is in communication connection with data receiving equipment, and the route activation method comprises the following steps: acquiring a route activation request instruction sent by the data sending equipment; replying a first response instruction corresponding to the route activation request instruction to the data sending equipment; and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation. Therefore, after the first transmission device obtains the route activation request instruction sent by the data sending device, the first transmission device directly replies the corresponding first response instruction to the data sending device without waiting for the response of the second transmission device, and the problem of response request timeout caused by network delay between the first transmission device and the second transmission device is avoided.

Description

Route activation method, device, equipment and medium based on remote diagnosis
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a medium for route activation based on remote diagnosis.
Background
In the remote diagnosis of DOIP (Diagnostic Internet Protocol), the architecture diagram shown in fig. 1 is usually adopted, in fig. 1, a second transmission device, for example, a C end (user end) in fig. 1, is connected with a vehicle through ethernet for interaction, and a first transmission device, for example, a B end (enterprise end) in fig. 1, is connected with a diagnosis device through ethernet for interaction. The second transmission equipment collects data of the vehicle and transmits the data to the first transmission equipment through the cloud platform network, the first transmission equipment transmits the received data to the diagnosis equipment, then the diagnosis equipment transmits the diagnosis data to the second transmission equipment through the cloud platform network, and the second transmission equipment transmits the diagnosis data to the vehicle, so that DOIP remote diagnosis is achieved. However, before the diagnostic data is sent by the diagnostic device, the route activation needs to be completed, that is, the diagnostic device needs to send a route activation request instruction to the vehicle through the first transmission device and the second transmission device, and after a corresponding route activation response instruction returned by the vehicle is obtained, the diagnostic process can be started, that is, the diagnostic data is sent.
However, in practical applications, the first transmission device and the second transmission device are far apart, even in different cities or countries, so that the delay at the cloud end is completely unreliable, even if a wired network is adopted, it is difficult to ensure that no timeout occurs, and if a wireless network such as WiFi or 4G is adopted, the delay is more unlikely to ensure stability. The data receiving device (e.g., vehicle) may respond to the route activation request with a timeout due to network latency, e.g., when the network latency is greater than 150 milliseconds, resulting in a failure of the DOIP remote diagnosis.
In summary, how to avoid the request response timeout caused by network delay to improve the reliability and success rate of remote diagnosis is a problem to be solved at present.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus, a device and a medium for route activation based on remote diagnosis, which can avoid request response timeout caused by network delay, so as to improve reliability and success rate of remote diagnosis. The specific scheme is as follows:
in a first aspect, the present application discloses a route activation method based on remote diagnosis, which is applied to a first transmission device, where the first transmission device is in communication connection with a second transmission device and a data sending device, respectively, and the second transmission device is in communication connection with a data receiving device, and includes:
acquiring a route activation request instruction sent by the data sending equipment;
replying a first response instruction corresponding to the route activation request instruction to the data sending equipment;
and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation.
Optionally, before replying the first response instruction corresponding to the route activation request instruction to the data sending device, the method further includes:
acquiring a pre-stored logical address of the data receiving equipment based on the route activation request instruction; generating the first reply instruction corresponding to the route activation request instruction based on the logical address.
Optionally, before the obtaining of the route activation request instruction sent by the data sending device, the method further includes:
acquiring a message of a first target instruction type sent by second transmission equipment;
and analyzing the message to obtain the logical address of the data receiving equipment.
Optionally, before the obtaining of the route activation request instruction sent by the data sending device, the method further includes:
acquiring a TCP connection establishment request initiated by the data sending equipment;
responding to the TCP connection establishment request and establishing a TCP connection with the data sending equipment.
Optionally, the obtaining of the route activation request instruction sent by the data sending device includes:
and acquiring a route activation request instruction sent by the data sending equipment through the TCP connection.
Optionally, after replying the first response instruction corresponding to the route activation request instruction to the data sending device, the method further includes:
and when a second response instruction which is sent by the second transmission equipment and corresponds to the route activation request instruction is obtained, discarding the second response instruction.
Optionally, the obtaining of the route activation request instruction sent by the data sending device includes:
acquiring an operation instruction sent by the data sending equipment;
analyzing the operation instruction, and judging whether the instruction type of the operation instruction is a second target instruction type;
and if so, determining that the operation instruction is a route activation request instruction.
In a second aspect, the present application discloses a route activation device based on remote diagnosis, which is applied to a first transmission device, the first transmission device is respectively connected with a second transmission device and a data sending device in a communication manner, the second transmission device is connected with a data receiving device in a communication manner, and the device includes:
a request instruction obtaining module, configured to obtain a route activation request instruction sent by the data sending device;
a response instruction replying module, configured to reply a first response instruction corresponding to the route activation request instruction to the data sending device;
and the request instruction sending module is used for sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the remote diagnosis based route activation method disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program realizes the steps of the remote diagnosis based route activation method disclosed in the foregoing when being executed by a processor.
It can be seen that, the route activation method based on remote diagnosis of the present application is applied to a first transmission device, and includes: acquiring a route activation request instruction sent by the data sending equipment; replying a first response instruction corresponding to the route activation request instruction to the data sending equipment; and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation. Therefore, after the first transmission device obtains the route activation request instruction sent by the data sending device, the first transmission device directly replies a first response instruction corresponding to the route activation request instruction to the data sending device, and sends the route activation request instruction to the data receiving device through the second transmission device, so that the data receiving device completes route activation. That is to say, for the route activation request instruction, although the instruction is still sent to the data receiving device through the second transmission device, the first transmission device directly replies the first response instruction to the data sending device without waiting for the response of the second transmission device, so that the problem of response timeout caused by network delay between the first transmission device and the second transmission device is avoided, and the reliability and the success rate of remote diagnosis are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram of a remote diagnostic architecture as disclosed herein;
FIG. 2 is a flow chart of a remote diagnosis based route activation method disclosed herein;
FIG. 3 is a flowchart of a specific remote diagnosis-based route activation method disclosed herein;
FIG. 4 is a flowchart of a specific remote diagnosis-based route activation method disclosed herein;
fig. 5 is a schematic structural diagram of a remote diagnosis-based routing activation device disclosed in the present application;
fig. 6 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In practical application, the first transmission device and the second transmission device are far apart from each other, even in different cities or countries, so that the delay at the cloud end is completely unreliable, even if a wired network is adopted, the situation that timeout does not occur is difficult to guarantee, and if a wireless network such as WiFi or 4G is adopted, the stability of the delay cannot be guaranteed. Then the data receiving device (e.g., vehicle) may be caused to reply to the route activation request timeout due to network latency, e.g., when the network latency is greater than 150 milliseconds, resulting in failure of the DOIP remote diagnosis. Therefore, the embodiment of the application discloses a route activation method, a device, equipment and a medium based on remote diagnosis, which can avoid request response overtime caused by network delay so as to improve the reliability and the success rate of remote diagnosis.
Referring to fig. 2, an embodiment of the present application discloses a route activation method based on remote diagnosis, which is applied to a first transmission device, where the first transmission device is respectively in communication connection with a second transmission device and a data sending device, and the second transmission device is in communication connection with a data receiving device, and the method includes:
step S11: and acquiring a route activation request instruction sent by the data sending equipment.
In this embodiment, the first transmission device interacts with the data sending device, and the data sending device may specifically be a diagnostic device in vehicle remote diagnosis, that is, the first transmission device obtains the route activation request instruction sent by the diagnostic device.
Step S12: and replying a first response instruction corresponding to the route activation request instruction to the data sending equipment.
In this embodiment, after the first transmission device obtains the route activation request instruction, a first response instruction corresponding to the route activation request instruction is locally generated, and the first response instruction is replied to the data transmission device.
Step S13: and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation.
In this embodiment, after obtaining the route activation request instruction, the first transmission device sends the route activation request instruction to a second transmission device connected to the first transmission device, and the second transmission device forwards the instruction to the data receiving device, so that the data receiving device completes route activation; the first transmission device and the second transmission device are connected and interacted through a cloud platform network, the second transmission device and the data receiving device are connected through the Ethernet, and the data receiving device can be a vehicle.
It can be seen that, the route activation method based on remote diagnosis of the present application is applied to a first transmission device, and includes: acquiring a route activation request instruction sent by the data sending equipment; replying a first response instruction corresponding to the route activation request instruction to the data sending equipment; and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation. Therefore, after the first transmission device obtains the route activation request instruction sent by the data sending device, the first transmission device directly replies a first response instruction corresponding to the route activation request instruction to the data sending device, and sends the route activation request instruction to the data receiving device through the second transmission device, so that the data receiving device completes route activation. That is to say, for the route activation request instruction, although the instruction is still sent to the data receiving device through the second transmission device, the first transmission device directly replies the first response instruction to the data sending device without waiting for the response of the second transmission device, so that the problem of response timeout caused by network delay between the first transmission device and the second transmission device is avoided, and the reliability and the success rate of remote diagnosis are improved.
Referring to fig. 3, the embodiment of the present application discloses a specific route activation method based on remote diagnosis, and compared with the previous embodiment, the present embodiment further describes and optimizes the technical solution. The method specifically comprises the following steps:
step S21: acquiring a message of a first target instruction type sent by second transmission equipment; and analyzing the message to obtain the logical address of the data receiving equipment.
The message of the first target instruction type in this embodiment may specifically be a User Data message (UDP message) whose Data type (Data type) is 0004, and is used to represent a vehicle statement. Then, the user data packet is analyzed to obtain a logical address of the data receiving device, and the user data packet is further forwarded to the data sending device, where the logical address of the data receiving device may specifically be a logical address of a vehicle, and the logical address is two bytes. It should be noted that the two-byte logical address of the vehicle is a DOIP address, which can identify a specific device in the vehicle.
Step S22: and acquiring a TCP connection establishment request initiated by the data sending equipment, responding to the TCP connection establishment request and establishing a TCP connection with the data sending equipment.
In this embodiment, the data sending device needs to initiate a TCP connection establishment request to the first transmission device, and the first transmission device responds to the TCP connection request to successfully establish a TCP connection with the data sending device.
Step S23: and acquiring a route activation request instruction sent by the data sending equipment through the TCP connection.
In this embodiment, after the TCP connection is successfully established, the route activation request instruction sent by the data sending device is obtained through the TCP connection. It can be understood that, in the vehicle remote diagnosis, before the diagnostic device set as data transmission sends the diagnostic data, the route activation needs to be completed, that is, the diagnostic device needs to send a route activation request instruction to the vehicle serving as the data receiving device through the first transmission device and the second transmission device, and the data sending device also needs to start the diagnostic process after obtaining a response instruction corresponding to the route activation response instruction.
Step S24: acquiring a pre-stored logical address of the data receiving equipment based on the route activation request instruction; and generating a first response instruction corresponding to the route activation request instruction based on the logic address.
In this embodiment, since the logical address of the data receiving device is obtained and stored in advance, after the first transmission device obtains the route activation request instruction sent by the data sending device, the first response instruction corresponding to the route activation request instruction is generated based on the logical address. That is, a first reply command corresponding to the route activation request command is encapsulated at the first transmission device using the logical address of the vehicle as the physical address, the logical address being used to indicate a specific device in the vehicle.
Step S25: and replying a first response instruction corresponding to the route activation request instruction to the data sending equipment.
In this embodiment, the first response instruction is replied to the data sending device, so that the data sending device starts to start a diagnostic process and send diagnostic data after acquiring the first response instruction. Because of being processed locally, no matter whether network delay occurs between the first transmission device and the second transmission device, activation response timeout is not caused. Thus, reliability and success rate of remote diagnosis are improved.
Step S26: and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation.
For a more specific processing procedure of the step S26, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
It can be seen that, in the embodiment of the present application, a message of a first target instruction type sent by a second transmission device is first obtained, and then the message is analyzed to obtain a logical address of a data receiving device, so that after a route activation request instruction is obtained, a first response instruction corresponding to the route activation request instruction is generated based on the logical address and is replied to the data sending device, where the logical address is used to indicate a specific certain device in a vehicle, and since the first response instruction is locally generated, a problem of failure in diagnosis caused by request response timeout due to network delay between the first transmission device and the second transmission device does not occur, thereby improving reliability and success rate in DOIP remote diagnosis. In addition, when the route activation request instruction sent by the data sending device is obtained, the data sending device needs to initiate a TCP connection to the first transmission device, and after the TCP connection is successfully established, the route activation request instruction is obtained through the TCP connection.
Referring to fig. 4, the embodiment of the present application discloses a specific route activation method based on remote diagnosis, and compared with the previous embodiment, the present embodiment further describes and optimizes the technical solution. The method specifically comprises the following steps:
step S31: and acquiring the operation instruction sent by the data sending equipment.
In this embodiment, the first transmission device obtains an operation instruction sent by the data sending device.
Step S32: analyzing the operation instruction, and judging whether the instruction type of the operation instruction is a second target instruction type; and if so, determining that the operation instruction is a route activation request instruction.
In this embodiment, the operation instruction is analyzed, and then it is determined whether the instruction type of the operation instruction is the second target instruction type, and if so, it is determined that the operation instruction is the route activation request instruction. It can be understood that the second target instruction type corresponds to the route activation request instruction, that is, the present embodiment is to determine whether the operation instruction sent by the data sending device is the route activation request instruction. Specifically, the operation instruction is firstly analyzed to obtain a corresponding instruction type, and if the received instruction type is the operation instruction of 0005, the instruction is determined to be a route activation request instruction. In addition, it should be noted that if the instruction type is not the second target instruction type, that is, not the route activation request instruction, the first response instruction may not be locally generated, but the response instruction returned by the second transmission device may be waited for.
Step S33: and replying a first response instruction corresponding to the route activation request instruction to the data sending equipment.
In this embodiment, after receiving an operation instruction with an instruction type of 0005 sent by the data sending device, that is, a route activation request instruction, a first reply packet with an instruction type of 0006 is locally encapsulated, and the data sending device is replied to.
Step S34: and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation.
In this embodiment, it should be noted that, after replying the first response instruction corresponding to the route activation request instruction to the data sending device, the method further includes: and when a second response instruction which is sent by the second transmission equipment and corresponds to the route activation request instruction is obtained, discarding the second response instruction. It can be understood that, after receiving the route activation request instruction sent by the data sending device, the first transmission device forwards the route activation request instruction to the second transmission device, so that, in a case where the cloud platform network is not interrupted, the first transmission device also receives a second response instruction corresponding to the route activation request instruction and returned by the second transmission device, before which, the first transmission device has locally generated the first response instruction and returned to the target device. Therefore, in order to avoid a diagnosis error caused by the data transmission device receiving two response commands corresponding to the same route activation request command, the second response command needs to be discarded.
Therefore, in the embodiment of the application, the operation instruction sent by the data sending device is obtained, the operation instruction is analyzed, and whether the instruction type of the operation instruction is the second target instruction type is judged; and if so, determining that the operation instruction is a route activation request instruction. That is, when the operation instruction sent by the data sending device is acquired, the operation instruction needs to be analyzed to determine whether the operation instruction is the route activation request instruction, and in order to prevent the response of the route activation request instruction from being overtime, the corresponding first response instruction is locally generated and the data sending device is replied. However, since the first transmission device still forwards the route activation request instruction to the second transmission device, the first transmission device still receives a second response instruction corresponding to the route activation request instruction and returned by the second transmission device, and in order to avoid a diagnosis error caused by the data transmission device receiving two response instructions corresponding to the same route activation request instruction, the second response instruction needs to be discarded.
Referring to fig. 5, an embodiment of the present application discloses a route activation device based on remote diagnosis, which is applied to a first transmission device, where the first transmission device is respectively connected to a second transmission device and a data sending device in a communication manner, and the second transmission device is connected to a data receiving device in a communication manner, and the device includes:
a request instruction obtaining module 11, configured to obtain a route activation request instruction sent by the data sending device;
a response instruction replying module 12, configured to reply a first response instruction corresponding to the route activation request instruction to the data sending device;
a request instruction sending module 13, configured to send the route activation request instruction to the data receiving device through the second transmission device, so that the data receiving device completes route activation.
Therefore, the routing activation request instruction sent by the data sending equipment is obtained; replying a first response instruction corresponding to the route activation request instruction to the data sending equipment; and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation. Therefore, after the first transmission device obtains the route activation request instruction sent by the data sending device, the first transmission device directly replies a first response instruction corresponding to the route activation request instruction to the data sending device, and sends the route activation request instruction to the data receiving device through the second transmission device, so that the data receiving device completes route activation. That is to say, for the route activation request instruction, although the instruction is still sent to the data receiving device through the second transmission device, the first transmission device directly replies the first response instruction to the data sending device without waiting for the response of the second transmission device, so that the problem of response timeout caused by network delay between the first transmission device and the second transmission device is avoided, and the reliability and the success rate of remote diagnosis are improved.
In some embodiments, before the response instruction replying module 12, the method further includes:
a response instruction generating unit, configured to obtain a pre-stored logical address of the data receiving device based on the route activation request instruction; generating the first reply instruction corresponding to the route activation request instruction based on the logical address.
In some specific embodiments, before the request instruction obtaining module 11, the method further includes:
the message acquisition unit is used for acquiring a message of a first target instruction type sent by the second transmission equipment;
and the logical address acquisition unit is used for analyzing the message and acquiring the logical address of the data receiving equipment.
In some specific embodiments, before the request instruction obtaining module 11, the method further includes:
a request obtaining unit, configured to obtain a TCP connection establishment request initiated by the data sending device;
and the connection establishing unit is used for responding to the TCP connection establishing request and establishing TCP connection with the data sending equipment.
In some specific embodiments, the request instruction obtaining module 11 specifically includes:
a first instruction obtaining unit, configured to obtain, through the TCP connection, a route activation request instruction sent by the data sending device.
In some embodiments, after the response instruction replying module 12, the method further includes:
and the instruction discarding unit is configured to discard the second response instruction when the second response instruction corresponding to the route activation request instruction and sent by the second transmission device is obtained.
In some specific embodiments, the request instruction obtaining module 11 specifically includes:
a second instruction obtaining unit, configured to obtain an operation instruction sent by the data sending device;
the judging unit is used for analyzing the operation instruction and judging whether the instruction type of the operation instruction is a second target instruction type;
and if so, determining that the operation instruction is a route activation request instruction.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The method specifically comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 to implement the relevant steps of the route activation method based on remote diagnosis performed by an electronic device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon include an operating system 221, a computer program 222, data 223, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the mass data 223 in the memory 22 by the processor 21, which may be Windows, Unix, Linux, or the like. The computer programs 222 may further include computer programs that can be used to perform other specific tasks in addition to the computer programs that can be used to perform the remote diagnosis based route activation method performed by the electronic device 20 disclosed in any of the foregoing embodiments. The data 223 may include data received by the electronic device and transmitted from an external device, or may include data collected by the input/output interface 25 itself.
Further, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored, and when the computer program is loaded and executed by a processor, the method steps executed in the route activation process based on remote diagnosis disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above detailed description is provided for a route activation method, apparatus, device and medium based on remote diagnosis, and a specific example is applied in this document to illustrate the principle and implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A route activation method based on remote diagnosis is applied to a first transmission device which is respectively in communication connection with a second transmission device and a data sending device, and the second transmission device is in communication connection with a data receiving device, and the method comprises the following steps:
acquiring a route activation request instruction sent by the data sending equipment;
replying a first response instruction corresponding to the route activation request instruction to the data sending equipment;
and sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation.
2. The route activation method according to claim 1, wherein before replying to the first reply instruction corresponding to the route activation request instruction to the data transmission device, the method further comprises:
acquiring a pre-stored logical address of the data receiving equipment based on the route activation request instruction; generating the first reply instruction corresponding to the route activation request instruction based on the logical address.
3. The route activation method according to claim 2, wherein before the obtaining of the route activation request instruction sent by the data sending device, the method further comprises:
acquiring a message of a first target instruction type sent by second transmission equipment;
and analyzing the message to obtain the logic address of the data receiving equipment.
4. The route activation method according to claim 1, wherein before the obtaining of the route activation request instruction sent by the data sending device, the method further comprises:
acquiring a TCP connection establishment request initiated by the data sending equipment;
responding to the TCP connection establishment request and establishing a TCP connection with the data sending equipment.
5. The route activation method according to claim 4, wherein the obtaining of the route activation request instruction sent by the data sending device comprises:
and acquiring a route activation request instruction sent by the data sending equipment through the TCP connection.
6. The route activation method according to claim 1, wherein after replying to the first reply instruction corresponding to the route activation request instruction to the data transmission device, the method further comprises:
and when a second response instruction which is sent by the second transmission equipment and corresponds to the route activation request instruction is obtained, discarding the second response instruction.
7. The route activation method according to any one of claims 1 to 6, wherein the obtaining of the route activation request instruction sent by the data sending device includes:
acquiring an operation instruction sent by the data sending equipment;
analyzing the operation instruction, and judging whether the instruction type of the operation instruction is a second target instruction type;
and if so, determining that the operation instruction is a route activation request instruction.
8. A route activation device based on remote diagnosis is characterized in that the route activation device is applied to a first transmission device, the first transmission device is respectively in communication connection with a second transmission device and a data sending device, the second transmission device is in communication connection with a data receiving device, and the route activation device comprises:
a request instruction obtaining module, configured to obtain a route activation request instruction sent by the data sending device;
a response instruction replying module, configured to reply a first response instruction corresponding to the route activation request instruction to the data sending device;
and the request instruction sending module is used for sending the route activation request instruction to the data receiving equipment through the second transmission equipment so as to enable the data receiving equipment to complete route activation.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program for carrying out the steps of the remote diagnosis based route activation method according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program realizes the steps of the remote diagnosis based route activation method according to any one of claims 1 to 7 when being executed by a processor.
CN202210640019.7A 2022-06-08 2022-06-08 Routing activation method, device, equipment and medium based on remote diagnosis Active CN115065699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210640019.7A CN115065699B (en) 2022-06-08 2022-06-08 Routing activation method, device, equipment and medium based on remote diagnosis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210640019.7A CN115065699B (en) 2022-06-08 2022-06-08 Routing activation method, device, equipment and medium based on remote diagnosis

Publications (2)

Publication Number Publication Date
CN115065699A true CN115065699A (en) 2022-09-16
CN115065699B CN115065699B (en) 2024-06-07

Family

ID=83200629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210640019.7A Active CN115065699B (en) 2022-06-08 2022-06-08 Routing activation method, device, equipment and medium based on remote diagnosis

Country Status (1)

Country Link
CN (1) CN115065699B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232458A (en) * 2008-01-31 2008-07-30 重庆邮电大学 Multi path extension method based on MAODV protocol
US20170126572A1 (en) * 2015-11-03 2017-05-04 Comcast Cable Communications, Llc Determining Quality Information for a Route
CN106790233A (en) * 2017-01-17 2017-05-31 北京经纬恒润科技有限公司 The application program method for refreshing and device of a kind of ECU
US9693356B1 (en) * 2016-05-06 2017-06-27 Verizon Patent And Licensing Inc. Smart on-demand internet-of-things connections
US9832128B1 (en) * 2017-03-20 2017-11-28 Engine Media, Llc Dynamic advertisement routing
US20180293811A1 (en) * 2017-04-07 2018-10-11 Launch Tech Co., Ltd. Vehicle remote diagnosis method and device
CN109819052A (en) * 2019-03-11 2019-05-28 华自科技股份有限公司 Remote diagnosis method, device, computer equipment and storage medium
CN110213221A (en) * 2018-02-28 2019-09-06 罗伯特·博世有限公司 Method for executing diagnosis
CN110311992A (en) * 2019-05-31 2019-10-08 上海赫千电子科技有限公司 The functional addressing method of the unified diagnostic service of automobile Ethernet
US20200351977A1 (en) * 2018-08-17 2020-11-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Information transmission method and apparatus, and communication device
CN112787893A (en) * 2021-02-18 2021-05-11 三一汽车起重机械有限公司 Remote diagnosis method, device, electronic equipment and storage medium
CN113285818A (en) * 2020-02-19 2021-08-20 广州汽车集团股份有限公司 Vehicle-mounted Ethernet software refreshing method and device
CN113590162A (en) * 2021-08-24 2021-11-02 北京经纬恒润科技股份有限公司 Data upgrading method and system
CN114237195A (en) * 2021-11-09 2022-03-25 岚图汽车科技有限公司 OBD emission diagnosis method and related equipment
CN114553373A (en) * 2022-02-23 2022-05-27 深圳市元征科技股份有限公司 Data transmission method, device, equipment and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232458A (en) * 2008-01-31 2008-07-30 重庆邮电大学 Multi path extension method based on MAODV protocol
US20170126572A1 (en) * 2015-11-03 2017-05-04 Comcast Cable Communications, Llc Determining Quality Information for a Route
US9693356B1 (en) * 2016-05-06 2017-06-27 Verizon Patent And Licensing Inc. Smart on-demand internet-of-things connections
CN106790233A (en) * 2017-01-17 2017-05-31 北京经纬恒润科技有限公司 The application program method for refreshing and device of a kind of ECU
US9832128B1 (en) * 2017-03-20 2017-11-28 Engine Media, Llc Dynamic advertisement routing
US20180293811A1 (en) * 2017-04-07 2018-10-11 Launch Tech Co., Ltd. Vehicle remote diagnosis method and device
CN110213221A (en) * 2018-02-28 2019-09-06 罗伯特·博世有限公司 Method for executing diagnosis
US20200351977A1 (en) * 2018-08-17 2020-11-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Information transmission method and apparatus, and communication device
CN109819052A (en) * 2019-03-11 2019-05-28 华自科技股份有限公司 Remote diagnosis method, device, computer equipment and storage medium
CN110311992A (en) * 2019-05-31 2019-10-08 上海赫千电子科技有限公司 The functional addressing method of the unified diagnostic service of automobile Ethernet
CN113285818A (en) * 2020-02-19 2021-08-20 广州汽车集团股份有限公司 Vehicle-mounted Ethernet software refreshing method and device
CN112787893A (en) * 2021-02-18 2021-05-11 三一汽车起重机械有限公司 Remote diagnosis method, device, electronic equipment and storage medium
CN113590162A (en) * 2021-08-24 2021-11-02 北京经纬恒润科技股份有限公司 Data upgrading method and system
CN114237195A (en) * 2021-11-09 2022-03-25 岚图汽车科技有限公司 OBD emission diagnosis method and related equipment
CN114553373A (en) * 2022-02-23 2022-05-27 深圳市元征科技股份有限公司 Data transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115065699B (en) 2024-06-07

Similar Documents

Publication Publication Date Title
US20130346591A1 (en) Clientless Cloud Computing
EP3073698A1 (en) Method for processing address resolution protocol message, forwarder and controller
CN113596017B (en) Protocol analysis method and device, soft gateway and storage medium
CN114815782A (en) Remote diagnosis method, apparatus, device and medium
US10348840B2 (en) Dynamic workflow control between network entities
CN115065699B (en) Routing activation method, device, equipment and medium based on remote diagnosis
CN111781848A (en) Server connection method, device and system based on intelligent household equipment
CN116132550A (en) Data transmission method and device, electronic equipment and storage medium
CN113162998B (en) Intelligent interactive communication method and communication system
CN113839828B (en) Network quality detection method, device, terminal equipment and medium
CN114490071A (en) Resource scheduling method, device, equipment and medium based on cloud game
CN114598532A (en) Connection establishing method, device, electronic equipment and storage medium
CN107465751B (en) Communication method, device, client and computer storage medium
JP5577140B2 (en) Information processing system and information processing method
CN115632945A (en) Version synchronization method, device, equipment and medium
Aijaz et al. The resource-oriented mobile web server for long-lived services
CN115658218B (en) Method, device, equipment and storage medium for accessing edge equipment to cloud
CN117201577B (en) Communication method and system of cross-platform API and SPI based on PISA
CN111522605B (en) Local procedure calling method, device, equipment and medium
CN113365296B (en) Network configuration method and equipment of communication central station
JP2006127222A (en) On-demand service provision system
CN117082033A (en) Method, device, equipment and medium for establishing network connection between storage equipment and host
CN108418852B (en) Access control method, proxy server, and storage medium
CN115914019A (en) ERP message data testing method, device, equipment and storage medium
CN118193240A (en) Communication method and device of storage system, storage system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant