CN115174652A - Communication connection establishing method, device, equipment and medium - Google Patents

Communication connection establishing method, device, equipment and medium Download PDF

Info

Publication number
CN115174652A
CN115174652A CN202210727694.3A CN202210727694A CN115174652A CN 115174652 A CN115174652 A CN 115174652A CN 202210727694 A CN202210727694 A CN 202210727694A CN 115174652 A CN115174652 A CN 115174652A
Authority
CN
China
Prior art keywords
data transmission
target
terminal
target message
communication connection
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
CN202210727694.3A
Other languages
Chinese (zh)
Other versions
CN115174652B (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 CN202210727694.3A priority Critical patent/CN115174652B/en
Publication of CN115174652A publication Critical patent/CN115174652A/en
Application granted granted Critical
Publication of CN115174652B publication Critical patent/CN115174652B/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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • 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/10Protocols in which an application is distributed across nodes in the network
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication connection establishing method, a device, equipment and a medium, which are applied to the technical field of computers, wherein the method comprises the following steps: when detecting that the first data transmission terminal establishes physical connection with the detection equipment, starting timing operation; if the target message is not received within the time specified by the timing operation, informing a product terminal to broadcast the target message through a second data transmission terminal; acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to detection equipment; and establishing target communication connection with the detection equipment. As can be seen, if the target communication connection between the first data transmission terminal and the detection device is not established yet, or the detection device does not receive the target message yet, the first data transmission terminal will actively notify the product terminal to broadcast the target message through the second data transmission terminal, so that the problem of detection failure caused by the detection device not receiving the target message can be reduced.

Description

Communication connection establishing method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for establishing a communication connection.
Background
In the process of detecting a product terminal, for example, in the process of remotely diagnosing a vehicle terminal based on DOIP (Diagnostic Over Internet Protocol), often, because the distance between the detection device and the product terminal is too far, physical connections are not necessarily established between the detection device and the first data transmission end and between the product terminal and the second data transmission end at the same time, which leads to detection failure. For example, when the second data transmission terminal on the product terminal side establishes a physical connection with the product terminal, the product terminal starts to broadcast a message, but if the physical connection between the detection device and the first data transmission terminal is not established at this time, the message cannot be received, and corresponding detection cannot be performed. For another example, in the detection process, the first data transmission end and the detection device are reconnected after physical connection is broken due to some reasons, and the product terminal does not know that the first data transmission end and the detection device are reconnected, so that the product terminal cannot broadcast a message, the detection device cannot receive the message, and the detection service fails.
Therefore, how to reduce the detection failure caused by the fact that the detection equipment does not receive the message is an urgent problem to be solved in the field.
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 establishing a communication connection, which can greatly reduce detection failures caused by that a detection device does not receive a packet, and a specific solution thereof is as follows:
in a first aspect, the present application discloses a communication connection establishment method, which is applied to a first data transmission end, where the first data transmission end establishes a connection with a second data transmission end through a cloud platform, and the second data transmission end establishes a physical connection with a product terminal, and the method includes:
when detecting that the first data transmission terminal establishes physical connection with the detection equipment, starting timing operation;
if the target message is not received within the time specified by the timing operation, informing the product terminal to broadcast the target message through the second data transmission terminal;
acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to the detection equipment;
and establishing target communication connection with the detection equipment.
Optionally, after the receiving of the target packet within the time specified by the timing operation, the method further includes:
and re-executing the step of starting the timing operation to the step of sending the target message to the detection equipment until the first data transmission end establishes target communication connection with the detection equipment.
Optionally, after the detecting that the first data transmission end is physically connected to the detection device and the timing operation is started, the method further includes:
and if the target message is received within the time specified by the timing operation, broadcasting the target message to the detection equipment.
Optionally, after the broadcasting the target packet to the detection device, the method further includes:
and re-executing the step of starting the timing operation to the step of sending the target message to the detection equipment until the first data transmission end establishes target communication connection with the detection equipment.
Optionally, the notifying, by the second data transmission end, the product terminal of broadcasting the target packet includes:
and informing the second data transmission terminal of broadcasting the request message so that the product terminal broadcasts the target message after receiving the request message.
Optionally, the notifying, by the second data transmission end, the product terminal to broadcast the target packet includes:
informing a target gateway in the product terminal to broadcast the target message through the second data transmission terminal; wherein the product terminal comprises one or more of the target gateways.
Optionally, the method for establishing a communication connection further includes:
the detection device is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle statement message.
In a second aspect, the present application discloses a communication connection establishing apparatus, which is applied to a first data transmission terminal, where the first data transmission terminal establishes a connection with a second data transmission terminal through a cloud platform, and the second data transmission terminal establishes a physical connection with a product terminal, the apparatus includes:
the timing module is used for starting timing operation when detecting that the first data transmission end is in physical connection with the detection equipment;
a target message acquisition module, configured to notify the product terminal to broadcast the target message through the second data transmission end if the target message is not received within the time specified by the timing operation;
the target message sending module is used for obtaining the target message broadcast by the product terminal and sent by the second data transmission terminal and sending the target message to the detection equipment;
and the communication connection establishing module is used for establishing target communication connection with the detection equipment.
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 communication connection establishment 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 communication connection establishment method disclosed in the foregoing when executed by a processor.
It can be seen that the present application provides a communication connection establishing method, applied to a first data transmission end, including: when the first data transmission terminal is detected to be in physical connection with the detection equipment, starting timing operation; if the target message is not received within the time specified by the timing operation, informing the product terminal to broadcast the target message through the second data transmission terminal; acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to the detection equipment; and establishing target communication connection with the detection equipment. Therefore, within a specified time, if the first data transmission terminal does not receive the target message broadcasted by the product terminal, the first data transmission terminal can actively inform the product terminal to broadcast the target message through the second data transmission terminal, and therefore the problem of detection failure caused by the fact that the detection equipment does not receive the target message can be greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 flowchart of a communication connection establishment method disclosed in the present application;
fig. 2 is a flowchart of a specific communication connection establishment method disclosed in the present application;
FIG. 3 is an architectural diagram illustrating a vehicle remote diagnostics disclosed herein;
fig. 4 is a schematic structural diagram of a communication connection establishing apparatus disclosed in the present application;
fig. 5 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are 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.
The system architecture related to the embodiment of the application comprises: the system comprises a cloud platform, a first data transmission end and a second data transmission end, wherein the first data transmission end and the second data transmission end are connected with the cloud platform; the first data transmission end is connected with the detection equipment, and the second data transmission end is connected with the product terminal.
When the product terminal is detected, the detection device is far away from the product terminal, so that physical connections are not necessarily established between the detection device and the first data transmission terminal and between the product terminal and the second data transmission terminal at the same time, and detection failure is caused.
Therefore, the embodiment of the present application provides a communication connection establishment method, which can greatly reduce detection failures caused by that the detection device does not receive a message.
The embodiment of the application discloses a communication connection establishing method, which is applied to a first data transmission end, wherein the first data transmission end is connected with a second data transmission end through a cloud platform, and the second data transmission end is physically connected with a product terminal. Referring to fig. 1, the method includes:
step S11: and starting timing operation when the first data transmission terminal is detected to be in physical connection with the detection equipment.
It should be noted that the present embodiment may start the timing operation in various ways, for example, by setting a timer to start the timing operation, which is not limited herein.
Step S12: and if the target message is not received within the time specified by the timing operation, informing the product terminal to broadcast the target message through the second data transmission terminal.
In this embodiment, if the target packet is not received within the time specified by the timing operation, the first data transmission end may actively send an instruction to the second data transmission end, so as to notify the product terminal to broadcast the target packet through the second data transmission end.
It should be noted that notifying, by the second data transmission end, the product terminal to broadcast the target packet specifically includes: informing a target gateway in the product terminal to broadcast the target message through the second data transmission terminal; wherein each of the product terminals includes one or more of the target gateways.
Step S13: and acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to the detection equipment.
In this embodiment, the product terminal broadcasts the target packet after receiving the notification from the second data transmission terminal, and the first data transmission terminal obtains the target packet broadcasted by the product terminal and sent by the second data transmission terminal, and sends the target packet to the detection device.
Step S14: and establishing target communication connection with the detection equipment.
In this embodiment, after the target packet is sent to the detection device, a target communication connection is established with the detection device, so that the detection device can detect the product terminal based on the target communication connection, that is, the embodiment implements remote detection of the product terminal by establishing the target communication connection.
Therefore, within a specified time, if the first data transmission terminal does not receive the target message broadcasted by the product terminal, the first data transmission terminal can actively inform the product terminal to broadcast the target message through the second data transmission terminal, and therefore the problem of detection failure caused by the fact that the detection equipment does not receive the target message can be greatly reduced.
In a specific embodiment, the establishing a target communication connection with the detection device may specifically include: and if the target message is not received within the time specified by the timing operation, re-executing the step S11, the step S12 and the step S13 for starting the timing operation until the first data transmission end establishes the target communication connection with the detection device. Therefore, the method and the device can re-execute the step of starting the timing operation to judge whether the target message is received or not under the condition that the detection device does not receive the target message until the first data transmission terminal establishes the target communication connection with the detection device, and therefore the method and the device can avoid the problem of detection failure caused by the fact that the detection device does not receive the target message.
In another specific embodiment, the establishing a target communication connection with the detection device may specifically include: if the target message is received within the time specified by the timing operation, the target message is broadcasted to the detection device, and the step S11, the step S12 and the step S13 of starting the timing operation are executed again until the first data transmission terminal establishes target communication connection with the detection device. Therefore, the method and the device can re-execute the step of starting the timing operation under the condition that the target message is received but the target communication connection between the first data transmission terminal and the detection equipment is not established yet until the target communication connection between the first data transmission terminal and the detection equipment is established, and thus the method and the device can ensure that the target communication connection between the first data transmission terminal and the detection equipment is established.
In this embodiment, since each target gateway in the product terminal broadcasts the target packet, when the target packets broadcast by all the target gateways in the product terminal are received, it is determined that the first data transmission terminal establishes the target communication connection with the detection device, and the step of starting the timing operation is stopped.
The embodiment of the application discloses a specific communication connection establishment method, which is applied to a first data transmission end, wherein the first data transmission end is connected with a second data transmission end through a cloud platform, and the second data transmission end is physically connected with a product terminal. Referring to fig. 2, the method specifically includes:
step S21: and when the first data transmission terminal is detected to be in physical connection with the detection equipment, starting timing operation.
Compared with the previous embodiment, the detection device in this embodiment may be a diagnostic apparatus, that is, when it is detected that the first data transmission terminal is physically connected to the diagnostic apparatus, a timing operation is started.
Step S22: and if the target message is not received within the time specified by the timing operation, notifying the second data transmission end to broadcast the request message so that the product terminal broadcasts the target message after receiving the request message.
Compared with the previous embodiment, the product terminal in this embodiment may be a vehicle, and the target message may be a vehicle declaration message. In this way, in this embodiment, if a vehicle declaration message is not received within the time specified by the timing operation, the second data transmission terminal broadcasts the request message, the vehicle broadcasts the vehicle declaration message after receiving the request message broadcast by the second data transmission terminal, and further, the second data transmission terminal sends the vehicle declaration message to the first data transmission terminal after receiving the vehicle declaration message.
Step S23: and acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to the detection equipment.
Based on the description of step S21 and step S22, the obtaining the target packet broadcasted by the product terminal and sent by the second data transmission end, and sending the target packet to the detection device may specifically include: and acquiring the vehicle statement message broadcasted by the vehicle and sent by the second data transmission terminal, and sending the vehicle statement message to the diagnostic instrument.
Step S24: and establishing target communication connection with the detection equipment.
As can be seen from the descriptions of step S21, step S22, and step S23, the present embodiment can establish the target communication connection with the diagnostic apparatus, and thus, the present embodiment can implement the remote diagnosis of the vehicle based on the target communication connection.
It can be seen that the present application provides a communication connection establishing method, applied to a first data transmission end, including: when detecting that the first data transmission terminal establishes physical connection with the detection equipment, starting timing operation; if the target message is not received within the time specified by the timing operation, notifying the second data transmission terminal of broadcasting the request message so that the product terminal broadcasts the target message after receiving the request message; acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to the detection equipment; and establishing target communication connection with the detection equipment, and thus, if the first data transmission end does not receive a target message sent by the product terminal within a specified time, the first data transmission end can actively inform the product terminal to broadcast the target message through the second data transmission end, so that the problem of detection failure caused by the fact that the detection equipment does not receive the target message can be greatly reduced.
It should be noted that, in the process of vehicle remote diagnosis, under normal conditions, the service end first establishes a physical connection of the DOIP with the target vehicle, then the target vehicle broadcasts a vehicle declaration message (usually broadcast three times), the maintenance end forwards the received message to the service end, after the service end receives the message, the service end broadcasts the vehicle declaration message to a preset diagnosis instrument through the physical connection of the DOIP, after the diagnosis instrument receives the message, the service end establishes a TCP connection with the service end, and starts to perform interaction of the diagnosis message.
However, in the actual use process, since the service end and the maintenance end are far apart, the time for establishing the DOIP physical connection between the two ends is not necessarily the same. For example, if the service end has already established a DOIP physical connection with the target vehicle, the target vehicle will broadcast, but if the diagnostic apparatus and the service end have not yet established a DOIP physical connection at this time, the diagnostic apparatus will not receive the broadcast, and thus cannot establish a TCP connection later. For another example, in the process of diagnosis, physical connection between the service end and the diagnostic apparatus is disconnected due to some reasons, and after reconnection is performed, the target vehicle does not broadcast because the target vehicle does not know that the service end and the diagnostic apparatus are reconnected, so that the diagnostic apparatus cannot receive vehicle broadcasts, and remote diagnosis fails.
For the above situation, referring to fig. 3, the present application applies the communication connection establishment method to the TCP connection establishment process of vehicle remote diagnosis. Specifically, the first data transmission end is a service end in a preset diagnosis box, that is, a B-end connector in fig. 3, the second data transmission end is a maintenance end in the preset diagnosis box, that is, a C-end connector in fig. 3, the service end is connected with the maintenance end through a cloud platform, and the maintenance end is physically connected with a target vehicle by a DOIP.
In the TCP connection establishment process of vehicle remote diagnosis, when the fact that the service end establishes DOIP physical connection with a preset diagnostic instrument is detected, a timer is started to conduct timing operation, if a vehicle statement message with Data Type 0004 is not received within the time specified by the timer, the maintenance end is informed of broadcasting a vehicle identification request message with Data Type 0001 to the target vehicle, and therefore the target vehicle broadcasts the vehicle statement message after receiving the vehicle identification request message. And after receiving the vehicle statement message broadcasted by the target vehicle, the maintenance end sends the vehicle statement message to a service end through a cloud platform, and when receiving the vehicle statement message, the service end broadcasts the vehicle statement message to the preset diagnostic instrument and re-executes the step of starting the timer to perform timing operation until the service end establishes TCP connection with the preset diagnostic instrument. If the vehicle statement message is received within the time specified by the timer, the vehicle statement message is broadcasted to the preset diagnostic instrument, and the step of starting the timer for timing operation is executed again until the service end establishes TCP connection with the preset diagnostic instrument.
It should be noted that the specific process of determining whether the server establishes the TCP connection with the preset diagnostic apparatus is as follows: since there may be one or more gateways in the target vehicle, and each gateway may broadcast a vehicle declaration message, when vehicle declaration messages broadcast by all gateways in the target vehicle are received, it is determined that the service end has established a TCP connection with the preset diagnostic apparatus, and further, remote diagnosis can be performed through the TCP connection. And if the vehicle declaration message is not received or the TCP connection is not established within the time specified by the timer, broadcasting a vehicle identification request message through the maintenance terminal.
After the server side establishes TCP connection with the preset diagnostic instrument, the service data of the target vehicle are obtained through the TCP connection, the preset diagnostic instrument is used for diagnosing the service data to form corresponding diagnostic data, and the diagnostic data are sent to the target vehicle through the TCP connection to finish remote diagnosis of the target vehicle. Therefore, if the service end and the diagnostic instrument do not establish TCP connection or the diagnostic instrument does not receive the vehicle statement message, the service end can actively inform a target vehicle to broadcast the vehicle statement message through the maintenance end, and therefore the problem of diagnosis failure caused by the fact that the diagnostic instrument does not receive the vehicle statement message can be greatly reduced.
Correspondingly, an embodiment of the present application further discloses a communication connection establishing apparatus, and as shown in fig. 4, the apparatus includes:
a timing module 11, configured to start a timing operation when detecting that the first data transmission end establishes a physical connection with the detection device;
a target message obtaining module 12, configured to notify the product terminal to broadcast the target message through the second data transmission terminal if the target message is not received within the time specified by the timing operation;
a target message sending module 13, configured to obtain the target message broadcast by the product terminal and sent by the second data transmission end, and send the target message to the detection device;
and a communication connection establishing module 14, configured to establish a target communication connection with the detection device.
It can be seen that the present application provides a communication connection establishing apparatus, applied to a first data transmission end, including: the timing module is used for starting timing operation when detecting that the first data transmission end is in physical connection with the detection equipment; a target message acquisition module, configured to notify the product terminal to broadcast the target message through the second data transmission end if the target message is not received within the time specified by the timing operation; the target message sending module is used for acquiring the target message broadcasted by the product terminal and sent by the second data transmission terminal and sending the target message to the detection equipment; and the communication connection establishing module is used for establishing target communication connection with the detection equipment. Therefore, if the first data transmission terminal and the detection device do not establish a target communication connection or the detection device does not receive the target message, the first data transmission terminal can actively inform the product terminal to broadcast the target message through the second data transmission terminal, and therefore the problem of detection failure caused by the fact that the detection device does not receive the target message can be greatly reduced.
In some specific embodiments, after the target packet obtaining module 12, the method further may further include:
and the timing operation re-execution unit is used for re-executing the step of starting the timing operation to the step of sending the target message to the detection equipment until the first data transmission end establishes target communication connection with the detection equipment.
In some specific embodiments, after the timing module 11, the method further includes:
and the target message broadcasting unit is used for broadcasting the target message to the detection equipment if the target message is received within the time specified by the timing operation.
In some embodiments, after the target packet broadcasting unit, the method further includes:
and the timing operation re-execution unit is used for re-executing the step of starting the timing operation to the step of sending the target message to the detection equipment until the first data transmission end establishes target communication connection with the detection equipment.
In some specific embodiments, the target packet obtaining module 12 may specifically include:
and the request message broadcasting unit is used for informing the second data transmission end of broadcasting the request message so that the product terminal broadcasts the target message after receiving the request message.
In some specific embodiments, the target packet obtaining module 12 may specifically include:
a target message obtaining unit, configured to notify a target gateway in the product terminal to broadcast the target message through the second data transmission end; wherein the product terminal comprises one or more of the target gateways.
In some specific embodiments, the communication connection establishing apparatus may specifically include:
the detection device is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle statement message.
Further, the embodiment of the application also provides electronic equipment. Fig. 5 is a block diagram of electronic device 20 shown in accordance with an exemplary embodiment, and the contents of the diagram should not be construed as limiting the scope of use of the present application in any way.
Fig. 5 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display 23, an input output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. Wherein the memory 22 is adapted to store a computer program, which is loaded and executed by the processor 21, to implement the steps of:
when the first data transmission terminal is detected to be in physical connection with the detection equipment, starting timing operation;
if the target message is not received within the time specified by the timing operation, informing the product terminal to broadcast the target message through the second data transmission terminal;
acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to the detection equipment;
and establishing target communication connection with the detection equipment.
In some embodiments, the processor, by executing the computer program stored in the memory, may further include the steps of:
and after the target message is not received within the time specified by the timing operation, re-executing the step of starting the timing operation to the step of sending the target message to the detection equipment until the first data transmission terminal establishes target communication connection with the detection equipment.
In some embodiments, the processor, by executing the computer program stored in the memory, may further include the steps of:
and if the target message is received within the time specified by the timing operation, broadcasting the target message to the detection equipment.
In some embodiments, the processor, by executing the computer program stored in the memory, may further include the steps of:
after the target message is broadcasted to the detection equipment, the step of starting the timing operation is executed again to the step of sending the target message to the detection equipment until the first data transmission end establishes target communication connection with the detection equipment.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
and informing the second data transmission terminal of broadcasting the request message so that the product terminal broadcasts the target message after receiving the request message.
In some embodiments, the processor, by executing the computer program stored in the memory, may specifically implement the following steps:
informing a target gateway in the product terminal to broadcast the target message through the second data transmission terminal; wherein the product terminal comprises one or more of the target gateways.
In some embodiments, the processor, by executing the computer program stored in the memory, may further include the steps of:
the detection device is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle statement message.
In this embodiment, the power supply 26 is used for providing an operating voltage for each hardware device on the electronic device 20; the communication interface 25 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 24 is configured to acquire 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.
In addition, the memory 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resource stored thereon may include the computer program 221, and the storage manner may be a transient storage or a permanent storage. The computer program 221 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 communication connection establishment method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, the embodiment of the application also discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the communication connection establishment method disclosed in the foregoing.
For the specific steps of the method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
The embodiments in the present application 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, that is, for the apparatus disclosed in the embodiments, since the apparatus corresponds to the method disclosed in the embodiments, the description is simple, and for the relevant parts, the method is referred to 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 phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The above detailed description is provided for a communication connection establishing method, apparatus, device, and storage medium provided by the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A communication connection establishment method is applied to a first data transmission terminal, the first data transmission terminal establishes connection with a second data transmission terminal through a cloud platform, and the second data transmission terminal establishes physical connection with a product terminal, and the method comprises the following steps:
when detecting that the first data transmission terminal establishes physical connection with the detection equipment, starting timing operation;
if the target message is not received within the time specified by the timing operation, informing the product terminal to broadcast the target message through the second data transmission terminal;
acquiring the target message broadcast by the product terminal and sent by the second data transmission terminal, and sending the target message to the detection equipment;
and establishing target communication connection with the detection equipment.
2. The method according to claim 1, further comprising, after the if the target packet is not received within the time specified by the timing operation, the step of:
and re-executing the step of starting the timing operation to the step of sending the target message to the detection equipment until the first data transmission terminal establishes target communication connection with the detection equipment.
3. The communication connection establishing method according to claim 1, wherein after the starting of the timing operation when the first data transmission end is detected to be physically connected with the detection device, the method further comprises:
and if the target message is received within the time specified by the timing operation, broadcasting the target message to the detection equipment.
4. The communication connection establishment method according to claim 3, wherein after the broadcasting of the target packet to the detection device, the method further comprises:
and re-executing the step of starting the timing operation to the step of sending the target message to the detection equipment until the first data transmission end establishes target communication connection with the detection equipment.
5. The communication connection establishing method according to claim 1, wherein the notifying the product terminal of broadcasting the target packet via the second data transmission terminal comprises:
and informing the second data transmission terminal of broadcasting the request message so that the product terminal broadcasts the target message after receiving the request message.
6. The communication connection establishing method according to any one of claims 1 to 5, wherein the notifying the product terminal of broadcasting the target message through the second data transmission terminal comprises:
informing a target gateway in the product terminal to broadcast the target message through the second data transmission terminal; wherein the product terminal comprises one or more of the target gateways.
7. The communication connection establishing method according to claim 6, further comprising:
the detection device is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle statement message.
8. A communication connection establishing device is applied to a first data transmission terminal, the first data transmission terminal is connected with a second data transmission terminal through a cloud platform, the second data transmission terminal is physically connected with a product terminal, and the device comprises:
the timing module is used for starting timing operation when detecting that the first data transmission terminal is in physical connection with the detection equipment;
a target message acquisition module, configured to notify the product terminal to broadcast the target message through the second data transmission terminal if the target message is not received within the time specified by the timing operation;
the target message sending module is used for acquiring the target message broadcasted by the product terminal and sent by the second data transmission terminal and sending the target message to the detection equipment;
and the communication connection establishing module is used for establishing target communication connection with the detection equipment.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the communication connection establishment 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 when executed by a processor implements the communication connection establishment method according to any one of claims 1 to 7.
CN202210727694.3A 2022-06-23 2022-06-23 Communication connection establishment method, device, equipment and medium Active CN115174652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210727694.3A CN115174652B (en) 2022-06-23 2022-06-23 Communication connection establishment method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210727694.3A CN115174652B (en) 2022-06-23 2022-06-23 Communication connection establishment method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN115174652A true CN115174652A (en) 2022-10-11
CN115174652B CN115174652B (en) 2024-04-02

Family

ID=83486518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210727694.3A Active CN115174652B (en) 2022-06-23 2022-06-23 Communication connection establishment method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115174652B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516183A (en) * 2015-12-30 2016-04-20 小米科技有限责任公司 Device connection method and device
CN106790233A (en) * 2017-01-17 2017-05-31 北京经纬恒润科技有限公司 The application program method for refreshing and device of a kind of ECU
US20180019921A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for node discovery and self-healing of blockchain networks
CN107612947A (en) * 2017-11-03 2018-01-19 北京微视酷科技有限责任公司 Synchronous communication means and system between a kind of virtual reality device
CN111555953A (en) * 2020-05-29 2020-08-18 北京经纬恒润科技有限公司 Remote diagnosis method, device and system based on vehicle-mounted Ethernet and TSP (Total suspended particulate) server
CN111586145A (en) * 2020-04-30 2020-08-25 深圳市元征科技股份有限公司 Vehicle diagnosis method and system, electronic equipment and storage medium
CN112152880A (en) * 2020-09-22 2020-12-29 杭州迪普科技股份有限公司 Link health detection method and device
US20210065480A1 (en) * 2019-08-29 2021-03-04 Launch Tech Co., Ltd. Method and system for remote vehicle diagnostics

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516183A (en) * 2015-12-30 2016-04-20 小米科技有限责任公司 Device connection method and device
US20180019921A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for node discovery and self-healing of blockchain networks
CN106790233A (en) * 2017-01-17 2017-05-31 北京经纬恒润科技有限公司 The application program method for refreshing and device of a kind of ECU
CN107612947A (en) * 2017-11-03 2018-01-19 北京微视酷科技有限责任公司 Synchronous communication means and system between a kind of virtual reality device
US20210065480A1 (en) * 2019-08-29 2021-03-04 Launch Tech Co., Ltd. Method and system for remote vehicle diagnostics
CN111586145A (en) * 2020-04-30 2020-08-25 深圳市元征科技股份有限公司 Vehicle diagnosis method and system, electronic equipment and storage medium
CN111555953A (en) * 2020-05-29 2020-08-18 北京经纬恒润科技有限公司 Remote diagnosis method, device and system based on vehicle-mounted Ethernet and TSP (Total suspended particulate) server
CN112152880A (en) * 2020-09-22 2020-12-29 杭州迪普科技股份有限公司 Link health detection method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭灿;崔根群;唐风敏;: "基于服务的车载以太网研究与开发", 现代电子技术, no. 05, 1 March 2020 (2020-03-01) *

Also Published As

Publication number Publication date
CN115174652B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
CN113490218B (en) Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium
EP3200486A1 (en) Connection establishment method, device, and system
CN109962827B (en) Equipment link detection method, device, equipment and readable storage medium
CN110213759B (en) Broadcast-based anti-loss detection method, storage medium and electronic device
CN110933142A (en) ICFS cluster network card monitoring method, device and equipment and medium
CN112769652B (en) Node service monitoring method, device, equipment and medium
CN111371631A (en) Heartbeat mechanism detection method, terminal device and storage medium
CN112804213A (en) Communication disconnection reconnection method, device, system, readable medium and electronic equipment
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN111836233B (en) Data transmission method, communication device, and storage medium
CN115174652B (en) Communication connection establishment method, device, equipment and medium
CN111258795B (en) Samba cluster fault reconnection method, device, equipment and medium
CN111781848A (en) Server connection method, device and system based on intelligent household equipment
CN110896569B (en) Bullet screen automatic reconnection method, storage medium, electronic equipment and system
CN111224983A (en) Method and device for discovering equipment across network segments
CN113691591B (en) Data transmission method, device and computer readable storage medium
US10904300B2 (en) Method and device for managing user information
CN112583617A (en) Fault determination method, server, control terminal and storage medium
CN106162583B (en) Meter reading system and processing method thereof
CN114584425A (en) Method for applying cross-domain roaming
CN111624983B (en) Synchronous connection method and vehicle remote diagnosis system
CN110913416B (en) Terminal, networking method thereof and computer-readable storage medium
CN110460586B (en) In-vehicle node communication method, device, equipment and storage medium
CN115412588B (en) Method and device for remotely updating configuration file and electronic equipment

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
GR01 Patent grant