CN115065699B - Routing activation method, device, equipment and medium based on remote diagnosis - Google Patents
Routing activation method, device, equipment and medium based on remote diagnosis Download PDFInfo
- Publication number
- CN115065699B CN115065699B CN202210640019.7A CN202210640019A CN115065699B CN 115065699 B CN115065699 B CN 115065699B CN 202210640019 A CN202210640019 A CN 202210640019A CN 115065699 B CN115065699 B CN 115065699B
- Authority
- CN
- China
- Prior art keywords
- route activation
- instruction
- activation request
- request instruction
- data
- 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.)
- Active
Links
- 230000004913 activation Effects 0.000 title claims abstract description 167
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000004171 remote diagnosis Methods 0.000 title claims abstract description 39
- 230000005540 biological transmission Effects 0.000 claims abstract description 139
- 230000004044 response Effects 0.000 claims abstract description 76
- 238000004891 communication Methods 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 16
- 238000001994 activation Methods 0.000 description 131
- 238000003745 diagnosis Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000003213 activating effect Effects 0.000 description 3
- 238000002405 diagnostic procedure Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 210000004899 c-terminal region Anatomy 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup 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 a route activation method, a device, equipment and a 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 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 device through the second transmission device so as to enable the data receiving device to complete route activation. The first transmission device directly replies the corresponding first response instruction to the data transmission device after obtaining the route activation request instruction sent by the data transmission device, and the response of the second transmission device is not required to be waited, so that the problem of overtime request response caused by network delay between the first transmission device and the second transmission device is avoided.
Description
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 DOIP (Diagnostic communication over Internet Protocol, i.e., IP-based diagnostics) remote diagnostics, the architecture diagram shown in fig. 1 is generally used, in fig. 1, the second transmission device interacts with the vehicle connection via ethernet as in the C-terminal (user-terminal) of fig. 1, and the first transmission device interacts with the diagnostic device connection via ethernet as in the B-terminal (enterprise-terminal) of fig. 1. 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, the diagnosis equipment transmits the diagnosis data to the second transmission equipment through the cloud platform network, and the second transmission equipment forwards the diagnosis data to the vehicle, so that DOIP remote diagnosis is realized. However, before the diagnostic data is sent by the diagnostic device, the route activation is also required 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 the corresponding route activation response instruction is returned by the vehicle, 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 in the cloud is completely unreliable, and even if a wired network is adopted, it is difficult to ensure that timeout does not occur, and if a wireless network such as WiFi or 4G is adopted, the delay is less likely to ensure stability. Then a data receiving device (e.g., a vehicle) may timeout in response to the route activation request due to network delay, for example, when the network delay is greater than 150 milliseconds, resulting in DOIP remote diagnostic failures.
In summary, how to avoid the overtime of request response caused by network delay so as to improve the reliability and success rate of remote diagnosis is a problem to be solved at present.
Disclosure of Invention
In view of the above, the present invention aims to provide a route activation method, device, equipment and medium 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 communicatively connected to a second transmission device and a data sending device, and the second transmission device is communicatively connected to a data receiving device, and the route activation method 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 device through the second transmission device so as to enable the data receiving device to complete route activation.
Optionally, before the replying to the first response instruction corresponding to the routing activation request instruction to the data sending device, the method further includes:
Acquiring a pre-stored logic address of the data receiving device based on the route activation request instruction; and generating the first response instruction corresponding to the route activation request instruction based on the logic address.
Optionally, before the obtaining 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 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 transmission equipment;
And responding to the TCP connection establishment request and establishing TCP connection with the data sending equipment.
Optionally, the obtaining a routing 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 to the first response instruction corresponding to the routing activation request instruction, the method further includes:
And discarding the second response instruction when the second response instruction corresponding to the route activation request instruction sent by the second transmission equipment is obtained.
Optionally, the obtaining a routing 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;
if yes, determining the operation instruction as a route activation request instruction.
In a second aspect, the present application discloses a routing activation apparatus based on remote diagnosis, applied to a first transmission device, where the first transmission device is communicatively connected to a second transmission device and a data sending device, and the second transmission device is communicatively connected to a data receiving device, and the apparatus includes:
a request instruction acquisition module, configured to acquire a route activation request instruction sent by the data sending device;
The response instruction replying module is used for replying a first response instruction corresponding to the route activation request instruction to the data sending equipment;
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 previously.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the steps of the remote diagnosis based route activation method disclosed previously.
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 device through the second transmission device so as to enable the data receiving device to complete route activation. Therefore, after the first transmission device acquires the route activation request instruction sent by the data sending device, the first transmission device directly replies the 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, 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 overtime of request response caused by network delay between the first transmission device and the second transmission device is avoided, and the reliability and 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 that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of a remote diagnostic architecture in accordance with the present disclosure;
FIG. 2 is a flow chart of a route activation method based on remote diagnosis according to the present application;
FIG. 3 is a flowchart of a specific remote diagnosis-based route activation method disclosed in the present application;
FIG. 4 is a flowchart of a specific remote diagnosis-based route activation method disclosed in the present application;
FIG. 5 is a schematic diagram of a route activating device based on remote diagnosis according to the present application;
fig. 6 is a block diagram of an electronic device according to the present disclosure.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In practical application, the first transmission device and the second transmission device are far apart, even in different cities or countries, so that delay at the cloud is completely unreliable, even if a wired network is adopted, it is difficult to ensure that timeout does not occur, and if a wireless network such as WiFi or 4G is adopted, the delay is less likely to ensure stability. Then a data receiving device (e.g., a vehicle) may timeout in response to the route activation request due to network delay, for example, when the network delay is greater than 150 milliseconds, resulting in DOIP remote diagnostic failures. Therefore, the embodiment of the application discloses a route activating method, a device, equipment and a medium based on remote diagnosis, which can avoid overtime of request response caused by network delay so as to improve the reliability and 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 communicatively connected to a second transmission device and a data sending device, and the second transmission device is communicatively connected to 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, where the data sending device may specifically be a diagnostic device in remote diagnosis of a vehicle, that is, the first transmission device obtains a 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 sending device.
Step S13: and sending the route activation request instruction to the data receiving device through the second transmission device so as to enable the data receiving device to complete route activation.
In this embodiment, after the first transmission device obtains the routing activation request instruction, the first transmission device sends the routing activation request instruction to a second transmission device connected to the first transmission device, and then the second transmission device forwards the instruction to the data receiving device, so that the data receiving device completes routing 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 an 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 device through the second transmission device so as to enable the data receiving device to complete route activation. Therefore, after the first transmission device acquires the route activation request instruction sent by the data sending device, the first transmission device directly replies the 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, 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 overtime of request response caused by network delay between the first transmission device and the second transmission device is avoided, and the reliability and success rate of remote diagnosis are improved.
Referring to fig. 3, an 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 a 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 (i.e. UDP message, user Datagram Protocol) with a Data type (i.e. Data type) of 0004, which is used to represent a vehicle statement. And then analyzing the user data message to obtain a logic address of the data receiving device, and forwarding the user data message to the data sending device, wherein the logic address of the data receiving device can be a logic address of a vehicle, and the logic address is two bytes. It should be noted that the two-byte logical address of the vehicle is DOIP addresses, which can identify a specific device in the vehicle.
Step S22: and acquiring a TCP connection establishment request initiated by the data transmission equipment, responding to the TCP connection establishment request and establishing TCP connection with the data transmission 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 established successfully, the route activation request instruction sent by the data sending device is obtained through the TCP connection. It is understood that in the vehicle remote diagnosis, the diagnostic device as the data transmission setting needs to complete the route activation before sending the diagnostic data, that is, the diagnostic device needs to send the route activation request command to the vehicle as the data receiving device through the first transmission device and the second transmission device, and the data sending device needs to start the diagnostic process after obtaining the response command corresponding to the route activation response command.
Step S24: acquiring a pre-stored logic address of the data receiving device 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, when the first transmitting 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 response instruction corresponding to the route activation request instruction 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 returned to the data sending device, so that after the data sending device obtains the first response instruction, the diagnostic process starts to be started, and diagnostic data is sent. Because of the local processing, no matter whether network delay occurs between the first transmission device and the second transmission device, no activation response timeout is caused. Thus, the reliability and success rate of remote diagnosis are improved.
Step S26: and sending the route activation request instruction to the data receiving device through the second transmission device so as to enable the data receiving device to complete route activation.
For more specific processing in step S26, reference may be made to the corresponding content disclosed in the foregoing embodiment, and no further description is given 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 parsed 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 returned to a data sending device, the logical address is used to indicate a specific device in a vehicle, and because the first response instruction is locally generated, a problem of failure diagnosis caused by overtime of a request response caused by network delay between the first transmission device and the second transmission device is not generated, and reliability and success rate in DOIP remote diagnosis are improved. 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 established successfully, the route activation request instruction is obtained through the TCP connection.
Referring to fig. 4, an 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 a technical solution. The method specifically comprises the following steps:
step S31: and acquiring an operation instruction sent by the data sending equipment.
In this embodiment, the first transmission device acquires the 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; if yes, determining the operation instruction as a route activation request instruction.
In this embodiment, the operation instruction is parsed, and then it is determined whether the instruction type of the operation instruction is the second target instruction type, if so, it is determined that the operation instruction is a route activation request instruction. It will be appreciated 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 0005 operation instruction, 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, i.e. is not a route activation request instruction, the first reply instruction may not need to be generated locally, but a reply 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 0005 sent by the data sending device, that is, a routing activation request instruction, a first response message with an instruction type 0006 is encapsulated locally, and the data sending device is replied.
Step S34: and sending the route activation request instruction to the data receiving device through the second transmission device so as to enable the data receiving device to complete route activation.
In this embodiment, it should be noted that after the foregoing reply to the data sending device with the first reply instruction corresponding to the route activation request instruction, the method further includes: and discarding the second response instruction when the second response instruction corresponding to the route activation request instruction sent by the second transmission equipment is obtained. It can be understood that the first transmission device, after receiving the routing activation request instruction sent by the data sending device, forwards the routing activation request instruction to the second transmission device, so that, in the case that the cloud platform network is not interrupted, the first transmission device still receives the second response instruction corresponding to the routing activation request instruction, which is returned by the second transmission device, but before that, the first transmission device has already locally generated the first response instruction and returned to the target device. Therefore, in order to avoid diagnosis errors 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.
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; if yes, determining the operation instruction as 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 parsed to determine whether the operation instruction is a route activation request instruction, and in order to prevent the response of the route activation request instruction from being overtime, a corresponding first response instruction is locally generated and the data sending device is replied. The first transmission device forwards the route activation request command to the second transmission device, so that the first transmission device still receives the second response command corresponding to the route activation request command returned by the second transmission device, and in order to avoid diagnosis errors 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.
Referring to fig. 5, an embodiment of the present application discloses a routing activating apparatus based on remote diagnosis, which is applied to a first transmission device, where the first transmission device is communicatively connected to a second transmission device and a data sending device, and the second transmission device is communicatively connected to a data receiving device, and the apparatus includes:
a request instruction acquisition module 11, configured to acquire a route activation request instruction sent by the data sending device;
A reply instruction reply module 12, configured to reply to the data sending device with a first reply instruction corresponding to the route activation request instruction;
And 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.
The application can obtain the 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 device through the second transmission device so as to enable the data receiving device to complete route activation. Therefore, after the first transmission device acquires the route activation request instruction sent by the data sending device, the first transmission device directly replies the 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, 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 overtime of request response caused by network delay between the first transmission device and the second transmission device is avoided, and the reliability and success rate of remote diagnosis are improved.
In some embodiments, before the reply command reply 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; and generating the first response instruction corresponding to the route activation request instruction based on the logic address.
In some embodiments, before the request instruction acquiring 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 logic address acquisition unit is used for analyzing the message and acquiring the logic address of the data receiving equipment.
In some embodiments, before the request instruction acquiring module 11, the method further includes:
a request acquisition unit, configured to acquire a TCP connection establishment request initiated by the data transmission device;
and the connection establishment unit is used for responding to the TCP connection establishment request and establishing TCP connection with the data transmission equipment.
In some embodiments, the request instruction acquiring module 11 specifically includes:
And the first instruction acquisition unit is used for acquiring the route activation request instruction sent by the data sending equipment through the TCP connection.
In some embodiments, after the reply command reply module 12, the method further includes:
And the instruction discarding unit is used for discarding the second response instruction when the second response instruction corresponding to the route activation request instruction sent by the second transmission equipment is obtained.
In some embodiments, the request instruction acquiring module 11 specifically includes:
a second instruction acquisition unit, configured to acquire 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 or not;
and the instruction determining unit is used for determining the operation instruction as a route activation request instruction if the operation instruction is the route activation request instruction.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Specifically, the method 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 configured to store a computer program that is loaded and executed by the processor 21 to implement the relevant steps of the remote diagnosis-based route activation method performed by the electronic device as 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 the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing computing operations related to machine learning.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows, unix, linux. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the remote diagnosis-based route activation method performed by the electronic device 20 as disclosed in any of the previous embodiments. The data 223 may include, in addition to data received by the electronic device and transmitted by the external device, data collected by the input/output interface 25 itself, and so on.
Further, the embodiment of the application also discloses a computer readable storage medium, wherein the storage medium stores a computer program, and the computer program realizes the steps of the method executed in the route activation process based on remote diagnosis disclosed in any of the previous embodiments when being loaded and executed by a processor.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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. The software modules may be disposed 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 is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing has described in detail a method, apparatus, device and medium for remote diagnosis-based route activation, wherein specific examples are employed to illustrate the principles and embodiments of the present invention, and the above examples are only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.
Claims (9)
1. A route activation method based on remote diagnosis, which is applied to a first transmission device, wherein 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, the method comprises:
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;
Transmitting the route activation request instruction to the data receiving device through the second transmission device so as to enable the data receiving device to complete route activation;
After the first response instruction corresponding to the route activation request instruction is replied to the data sending device, the method further includes:
And discarding the second response instruction when the second response instruction corresponding to the route activation request instruction sent by the second transmission equipment is obtained.
2. The route activation method according to claim 1, wherein before replying to the data transmission device a first response instruction corresponding to the route activation request instruction, further comprising:
Acquiring a pre-stored logic address of the data receiving device based on the route activation request instruction; and generating the first response instruction corresponding to the route activation request instruction based on the logic address.
3. The route activation method according to claim 2, wherein before the obtaining the route activation request instruction sent by the data sending device, further comprises:
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.
4. The route activation method according to claim 1, wherein before the obtaining the route activation request instruction sent by the data sending device, further comprises:
acquiring a TCP connection establishment request initiated by the data transmission equipment;
And responding to the TCP connection establishment request and establishing TCP connection with the data sending equipment.
5. The route activation method according to claim 4, wherein the obtaining 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.
6. The route activation method according to any one of claims 1 to 5, wherein the obtaining 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;
if yes, determining the operation instruction as a route activation request instruction.
7. A remote diagnosis-based route activation device, applied to a first transmission apparatus, the first transmission apparatus being communicatively connected to a second transmission apparatus and a data transmission apparatus, respectively, the second transmission apparatus being communicatively connected to a data reception apparatus, the device comprising:
a request instruction acquisition module, configured to acquire a route activation request instruction sent by the data sending device;
The response instruction replying module is used for replying a first response instruction corresponding to the route activation request instruction to the data sending equipment;
A request instruction sending module, 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;
After the first response instruction corresponding to the route activation request instruction is replied to the data sending device, the device is further configured to discard the second response instruction when the second response instruction corresponding to the route activation request instruction sent by the second transmission device is obtained.
8. 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 as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program; wherein the computer program when executed by a processor implements the steps of the remote diagnosis based route activation method according to any of claims 1 to 6.
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 CN115065699A (en) | 2022-09-16 |
CN115065699B true 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 (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232458A (en) * | 2008-01-31 | 2008-07-30 | 重庆邮电大学 | A Multipath Extension Method Based on MAODV Protocol |
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 |
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 | 上海赫千电子科技有限公司 | A Functional Addressing Method for Unified Diagnostic Services of Automotive Ethernet |
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10432540B2 (en) * | 2015-11-03 | 2019-10-01 | Comcast Cable Communications, Llc | Determining quality information for a route |
WO2018184221A1 (en) * | 2017-04-07 | 2018-10-11 | 深圳市元征科技股份有限公司 | Method and apparatus for use in remote diagnosis of vehicle |
JP2022501842A (en) * | 2018-08-17 | 2022-01-06 | オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Information transmission methods, devices and communication devices |
-
2022
- 2022-06-08 CN CN202210640019.7A patent/CN115065699B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232458A (en) * | 2008-01-31 | 2008-07-30 | 重庆邮电大学 | A Multipath Extension Method Based on MAODV Protocol |
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 |
CN110213221A (en) * | 2018-02-28 | 2019-09-06 | 罗伯特·博世有限公司 | Method for executing diagnosis |
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 | 上海赫千电子科技有限公司 | A Functional Addressing Method for Unified Diagnostic Services of Automotive 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 |
---|---|
CN115065699A (en) | 2022-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130346591A1 (en) | Clientless Cloud Computing | |
CN112804249B (en) | Data communication method and system for remotely calling automatic driving platform | |
US20130346487A1 (en) | Relay server and relay communication system | |
CN114827242B (en) | Method, device, equipment and medium for correcting flow control frame | |
WO2016202066A1 (en) | Information acquisition method, client device and service end device | |
CN115314540A (en) | Request response timeout processing method, device, equipment and medium | |
CN116668402A (en) | Intelligent cloud box access method, device, equipment and storage medium | |
CN111245831B (en) | FTP data transmission method and device, and information interaction system of server and client | |
CN115065699B (en) | Routing activation method, device, equipment and medium based on remote diagnosis | |
CN116647589A (en) | Vehicle diagnosis communication method, device, equipment and medium | |
US9385990B2 (en) | Relay server and relay communication system | |
CN111131358B (en) | Information acquisition method, device and system, readable storage medium and electronic equipment | |
CN114827293A (en) | Edge intelligent gateway management method and edge intelligent gateway | |
CN115658218B (en) | Method, device, equipment and storage medium for accessing edge equipment to cloud | |
CN114205149B (en) | Network communication method and device | |
CN116389280A (en) | Network topology acquisition method, device, equipment and medium | |
CN115766442A (en) | Automobile network upgrading method, device, equipment, medium and automobile | |
CN114697339A (en) | Load balancing method and device under centralized architecture | |
CN115632945A (en) | Version synchronization method, device, equipment and medium | |
CN118540179A (en) | Data transmission method, device, equipment and medium | |
CN116527793B (en) | Protocol connection method, device, equipment and storage medium | |
CN117651019A (en) | Equipment interaction method and device, electronic equipment and storage medium | |
CN116386834A (en) | Data sharing method, device, equipment and medium | |
CN117579664A (en) | Communication method, communication device and remote diagnosis system | |
CN117640686A (en) | Communication method, electronic equipment and remote diagnosis system |
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 |