CN115174652B - Communication connection establishment method, device, equipment and medium - Google Patents

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

Info

Publication number
CN115174652B
CN115174652B CN202210727694.3A CN202210727694A CN115174652B CN 115174652 B CN115174652 B CN 115174652B CN 202210727694 A CN202210727694 A CN 202210727694A CN 115174652 B CN115174652 B CN 115174652B
Authority
CN
China
Prior art keywords
data transmission
transmission end
target message
target
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.)
Active
Application number
CN202210727694.3A
Other languages
Chinese (zh)
Other versions
CN115174652A (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

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 establishment method, a device, equipment and a medium, which are applied to the technical field of computers, wherein the method comprises the following steps: when the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation; if the target message is not received within the time specified by the timing operation, notifying a product terminal to broadcast the target message through a second data transmission end; acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to detection equipment; and establishing target communication connection with the detection equipment. Therefore, if the first data transmission end and the detection equipment do not establish the target communication connection, or the detection equipment does not receive the target message, the first data transmission end actively informs the product terminal of broadcasting 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 reduced.

Description

Communication connection establishment 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 detecting a product terminal, for example, in a process of remotely diagnosing a vehicle terminal based on DOIP (Diagnostic Communication Over Internet Protocol, performing diagnostic communication through a network protocol), a physical connection is not necessarily established between the detecting device and the first data transmission end and between the product terminal and the second data transmission end at the same time, which often results in detection failure because the detecting device is far away from the product terminal. For example, when the second data transmission end on one side of the product terminal is physically connected to the product terminal, the product terminal will start broadcasting the message, but if the detection device and the first data transmission end are not physically connected, the message cannot be received, and corresponding detection cannot be performed. For another example, in the detection process, after the physical connection between the first data transmission end and the detection device is disconnected, 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, and therefore the detection device cannot receive the message, and further detection service fails.
Therefore, how to reduce the detection failure caused by the detection device not receiving the message is a problem to be solved in the art.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, apparatus, device and medium for establishing communication connection, capable of greatly reducing detection failure caused by that a detection device does not receive a message, and its specific scheme is as follows:
in a first aspect, the present application discloses a communication connection establishment method 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 the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation;
if the target message is not received within the time specified by the timing operation, notifying the product terminal to broadcast the target message through the second data transmission terminal;
acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment;
and establishing target communication connection with the detection equipment.
Optionally, after the target message is not received 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 and the detecting device establish physical connection, 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 message 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 to broadcast the target message includes:
and notifying the second data transmission end to broadcast a 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 message includes:
notifying 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.
Optionally, the communication connection establishment method further includes:
the detection equipment is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle sound message.
In a second aspect, the application discloses a communication connection establishment device, which is applied to a first data transmission end, wherein the first data transmission end establishes connection with a second data transmission end through a cloud platform, and the second data transmission end establishes physical connection with a product terminal, and the device comprises:
the timing module is used for starting timing operation when the first data transmission end and the detection equipment are detected to establish physical connection;
the target message acquisition module is used for notifying 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 broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment;
and the communication connection establishment 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;
and a processor for executing the computer program to implement the communication connection establishment method disclosed above.
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 communication connection establishment method disclosed previously.
As can be seen, the present application proposes a communication connection establishment method applied to a first data transmission end, including: when the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation; if the target message is not received within the time specified by the timing operation, notifying the product terminal to broadcast the target message through the second data transmission terminal; acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment; and establishing target communication connection with the detection equipment. Therefore, in the specified time, if the first data transmission end does not receive the target message broadcast by the product terminal, the first data transmission end actively informs the product terminal of broadcasting the target message through the second data transmission end, so that the problem of detection failure caused by 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 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 invention, 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 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 a schematic diagram of a vehicle remote diagnosis architecture disclosed herein;
fig. 4 is a schematic structural diagram of a communication connection establishment apparatus disclosed in the present application;
fig. 5 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the embodiments of the present invention 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 invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the 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 detecting the product terminal, the detection equipment is often far away from the product terminal, so that physical connection between the detection equipment and the first data transmission end and between the product terminal and the second data transmission end is not necessarily established at the same time, and further detection failure is caused.
Therefore, the embodiment of the application provides a communication connection establishment method scheme, which can greatly reduce detection failure caused by that the detection equipment does not receive a message.
The embodiment of the application discloses a 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 connected with a product terminal physically. Referring to fig. 1, the method includes:
step S11: and when the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation.
It should be noted that the present embodiment may start the timing operation in various manners, for example, by setting a timer, and is not particularly limited herein.
Step S12: and if the target message is not received within the time specified by the timing operation, notifying the product terminal to broadcast the target message through the second data transmission terminal.
In this embodiment, if the target message is not received within the time specified by the timing operation, the first data transmission end actively sends an instruction to the second data transmission end, so as to notify the product terminal to broadcast the target message 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 report specifically includes: notifying a target gateway in the product terminal to broadcast the target message through the second data transmission end; wherein each of the product terminals includes one or more of the target gateways.
Step S13: and acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment.
In this embodiment, after receiving the notification of the second data transmission end, the product terminal broadcasts the target message, and the first data transmission end obtains the target message broadcasted by the product terminal and sent by the second data transmission end, and sends the target message to the detection device.
Step S14: and establishing target communication connection with the detection equipment.
In this embodiment, after the target message 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 realizes remote detection of the product terminal by establishing the target communication connection.
Therefore, in the specified time, if the first data transmission end does not receive the target message broadcast by the product terminal, the first data transmission end actively informs the product terminal of broadcasting the target message through the second data transmission end, so that the problem of detection failure caused by that the detection equipment does not receive the target message can be greatly reduced.
In a specific embodiment, establishing the 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 of starting the timing operation until the first data transmission end establishes target communication connection with the detection equipment. Therefore, the method and the device can re-execute the step of starting the timing operation under the condition that the detection equipment does not receive the target message, so as to judge whether the target message is received or not, until the first data transmission end and the detection equipment establish target communication connection, and therefore the method and the device can avoid the problem of detection failure caused by the fact that the detection equipment does not receive the target message.
In another specific embodiment, establishing the target communication connection with the detection device may specifically include: and if the target message is received within the time specified by the timing operation, broadcasting the target message to the detection equipment, and re-executing the step S11, the step S12 and the step S13 of starting the timing operation until the first data transmission end and the detection equipment establish target communication connection. 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 is not established between the first data transmission end and the detection equipment until the first data transmission end and the detection equipment establish the target communication connection, so that the method and the device can ensure that the first data transmission end and the detection equipment establish the target communication connection.
In this embodiment, since each target gateway in the product terminal broadcasts the target message, when the target messages broadcast by all the target gateways in the product terminal are received, it is determined that the first data transmission end and the detection device establish the target communication connection, and the step of executing the start 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, the second data transmission end is connected with a product terminal in a physical mode, and compared with the previous embodiment, the technical scheme is further described and optimized. Referring to fig. 2, the method specifically includes:
step S21: and when the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation.
In comparison with the above embodiment, the detecting device in this embodiment may be a diagnostic apparatus, that is, when it is detected that the first data transmission end and the diagnostic apparatus are physically connected, 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 terminal to broadcast the request message so that the product terminal broadcasts the target message after receiving the request message.
In comparison with the above embodiment, the product terminal in this embodiment may be a vehicle, and the target message may be a vehicle notification message. In this way, in this embodiment, if the vehicle notification message is not received within the time specified by the timing operation, the request message is broadcast through the second data transmission end, the vehicle broadcasts the vehicle notification message after receiving the request message broadcast by the second data transmission end, and further, the second data transmission end sends the vehicle notification message to the first data transmission end after receiving the vehicle notification message.
Step S23: and acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment.
Based on the descriptions of the step S21 and the step S22, the step of obtaining the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection device may specifically include: and acquiring the vehicle statement message which is sent by the second data transmission end and broadcast by the vehicle, 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 description of step S21, step S22 and step S23, the present embodiment can establish a target communication connection with the diagnostic apparatus, and thus, the present embodiment can implement remote diagnosis of the vehicle based on the target communication connection.
As can be seen, the present application proposes a communication connection establishment method applied to a first data transmission end, including: when the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation; if the target message is not received within the time specified by the timing operation, notifying the second data transmission terminal to broadcast a request message so that the product terminal broadcasts the target message after receiving the request message; acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment; the first data transmission end can actively inform the product terminal of broadcasting the target message through the second data transmission end if the first data transmission end does not receive the target message sent by the product terminal in a specified time, 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 remote diagnosis of a vehicle, under normal conditions, the server side first establishes physical connection with the target vehicle, then the target vehicle broadcasts a vehicle statement message (usually broadcast three times), the maintenance side forwards the received message to the server side, after the received message is received by the server side, the vehicle statement message is broadcast to a preset diagnostic apparatus through the physical connection of the DOIP, after the received message is received by the diagnostic apparatus, a TCP connection is established with the server side, and interaction of the diagnostic message is started.
However, in the actual use process, the service end and the maintenance end are far apart, so that the time for establishing the DOIP physical connection between the service end and the maintenance end is not necessarily the same. For example, if the maintenance end has 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 established a DOIP physical connection at this time, the diagnostic apparatus cannot receive the broadcast, and cannot establish a TCP connection later. For another example, in the diagnosis process, the physical connection between the server and the diagnostic apparatus is disconnected for some reasons, and after reconnection, the target vehicle does not know that the server and the diagnostic apparatus have been reconnected, so that the target vehicle cannot broadcast, and therefore the diagnostic apparatus cannot receive the vehicle broadcast, and the remote diagnosis fails.
For the above case, referring to fig. 3, the present application applies the communication connection establishment method to a TCP connection establishment process for vehicle remote diagnosis. Specifically, the first data transmission end is a service end in a preset diagnostic box, namely a B-end connector in fig. 3, the second data transmission end is a maintenance end in the preset diagnostic box, namely 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 connected with a target vehicle in a DOIP physical manner.
In the TCP connection establishment process of vehicle remote diagnosis, when the fact that DOIP physical connection is established between the server side and a preset diagnostic instrument is detected, a timer is started to perform timing operation, if a vehicle statement message with Data Type of 0004 is not received within the time specified by the timer, the maintenance side is informed to broadcast a vehicle identification request message with Data Type of 0001 to the target vehicle, and therefore the target vehicle broadcasts the vehicle statement message after receiving the vehicle identification request message. After receiving the vehicle statement message broadcast by the target vehicle, the maintenance end sends the vehicle statement message to a service end through a cloud platform, and when the service end receives the vehicle statement message, the vehicle statement message is broadcast to the preset diagnostic instrument, and the step of starting the timer to perform timing operation is re-executed until the service end establishes TCP connection with the preset diagnostic instrument. And if the vehicle statement message is received within the time specified by the timer, broadcasting the vehicle statement message to the preset diagnostic instrument, and re-executing the step of starting the timer to perform timing operation until the server establishes TCP connection with the preset diagnostic instrument.
It should be noted that the specific process of judging whether the server side and the preset diagnostic apparatus establish a TCP connection is: since there may be one or more gateways in the target vehicle, and each gateway may broadcast a vehicle statement message, when receiving the vehicle statement messages broadcast by all the gateways in the target vehicle, it is determined that the server 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 statement 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 a maintenance terminal.
After the server side and the preset diagnostic instrument are connected through TCP, maintenance data of the target vehicle are obtained through the TCP connection, the preset diagnostic instrument is utilized, the maintenance data are diagnosed through the preset diagnostic instrument, corresponding diagnostic data are formed, and the diagnostic data are sent to the target vehicle through the TCP connection, so that remote diagnosis of the target vehicle is completed. In this way, if the service end and the diagnostic apparatus are not connected by TCP, or the diagnostic apparatus has not received the vehicle statement message, the service end actively notifies the target vehicle to broadcast the vehicle statement message through the maintenance end.
Correspondingly, the embodiment of the application also discloses a communication connection establishment device, as shown in fig. 4, which comprises:
a timing module 11, configured to start a timing operation when it is detected that the first data transmission end and the detection device establish a physical connection;
a target message obtaining module 12, configured to notify, if the target message is not received within a time specified by the timing operation, the product terminal to broadcast the target message through the second data transmission end;
a target message sending module 13, configured to obtain the target message broadcasted by the product terminal and sent by the second data transmission end, and send the target message to the detection device;
a communication connection establishment module 14 for establishing a target communication connection with the detection device.
As can be seen, the present application proposes a communication connection establishment apparatus applied to a first data transmission end, including: the timing module is used for starting timing operation when the first data transmission end and the detection equipment are detected to establish physical connection; the target message acquisition module is used for notifying 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 broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment; and the communication connection establishment module is used for establishing target communication connection with the detection equipment. Therefore, if the first data transmission end and the detection equipment do not establish the target communication connection, or the detection equipment does not receive the target message, the first data transmission end actively informs the product terminal of broadcasting 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.
In some embodiments, after the target message obtaining module 12, the method further may further include:
and the timing operation re-executing 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 and the detection equipment establish target communication connection.
In some embodiments, after the timing module 11, the method may further include:
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 message broadcasting unit, the method further may further include:
and the timing operation re-executing 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 and the detection equipment establish target communication connection.
In some specific embodiments, the target message obtaining module 12 may specifically include:
and the request message broadcasting unit is used for informing the second data transmission end to broadcast the request message so that the product terminal broadcasts the target message after receiving the request message.
In some specific embodiments, the target message 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 establishment apparatus may specifically include:
the detection equipment is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle sound message.
Further, the embodiment of the application also provides electronic equipment. Fig. 5 is a block diagram of an electronic device 20, according to 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 application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 for realizing the following steps:
when the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation;
if the target message is not received within the time specified by the timing operation, notifying the product terminal to broadcast the target message through the second data transmission terminal;
acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment;
and establishing target communication connection with the detection equipment.
In some embodiments, the processor may further include the following steps by executing the computer program stored in the memory:
and if 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 end establishes target communication connection with the detection equipment.
In some embodiments, the processor may further include the following steps by executing the computer program stored in the memory:
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 may further include the following steps by executing the computer program stored in the memory:
and after broadcasting the target message to the detection equipment, 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 embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and notifying the second data transmission end to broadcast a request message so that the product terminal broadcasts the target message after receiving the request message.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
notifying 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 embodiments, the processor may further include the following steps by executing the computer program stored in the memory:
the detection equipment is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle sound message.
In this embodiment, the power supply 26 is used to provide 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 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 24 is used for obtaining external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application needs, which is not limited herein.
The memory 22 may be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like, and the resources stored thereon may include the computer program 221, which may be stored in a temporary or permanent manner. The computer program 221 may further include a computer program for performing other specific tasks in addition to the computer program for performing the communication connection establishment method performed by the electronic device 20 as 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 previously.
For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In this application, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts between the embodiments refer to the devices disclosed in the embodiments, so that the description is relatively simple because it corresponds to the method disclosed in the embodiments, and the relevant parts 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 storage medium for establishing a communication connection, where specific examples are applied to illustrate the principles and embodiments of the present application, and the above description of the embodiments is only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. The communication connection establishment method is characterized by being applied to a first data transmission end, wherein the first data transmission end establishes connection with a second data transmission end through a cloud platform, and the second data transmission end establishes physical connection with a product terminal, and the method comprises the following steps:
when the first data transmission end and the detection equipment are detected to establish physical connection, starting timing operation;
if the target message is not received within the time specified by the timing operation, notifying the product terminal to broadcast the target message through the second data transmission terminal;
acquiring the target message broadcasted by the product terminal and sent by the second data transmission end, 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 target message is not received within a time period defined by the timing operation:
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.
3. The method for establishing a communication connection according to claim 1, wherein after detecting that the first data transmission terminal establishes a physical connection 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. A method of establishing a communication connection according to claim 3, wherein after said broadcasting the target message 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 method for establishing a communication connection according to claim 1, wherein the notifying, by the second data transmission terminal, the product terminal to broadcast the target message includes:
and notifying the second data transmission end to broadcast a request message so that the product terminal broadcasts the target message after receiving the request message.
6. The method for establishing a communication connection according to any one of claims 1 to 5, wherein the notifying, by the second data transmission end, the product terminal to broadcast the target message includes:
notifying 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.
7. The communication connection establishment method according to claim 6, further comprising:
the detection equipment is a diagnostic instrument, the product terminal is a vehicle, and the target message is a vehicle sound message.
8. A communication connection establishment device, characterized in that it is applied to a first data transmission end, the first data transmission end establishes a connection with a second data transmission end through a cloud platform, the second data transmission end establishes a physical connection with a product terminal, the device comprising:
the timing module is used for starting timing operation when the first data transmission end and the detection equipment are detected to establish physical connection;
the target message acquisition module is used for notifying 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 broadcasted by the product terminal and sent by the second data transmission end, and sending the target message to the detection equipment;
and the communication connection establishment 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 as claimed in 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 as claimed in any of the 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 CN115174652A (en) 2022-10-11
CN115174652B true 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 (6)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10454765B2 (en) * 2016-07-15 2019-10-22 Mastercard International Incorporated Method and system for node discovery and self-healing of blockchain networks
EP3806400A4 (en) * 2019-08-29 2021-07-07 Launch Tech Co., Ltd Remote diagnosis method and system for vehicles

Patent Citations (6)

* 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
CN107612947A (en) * 2017-11-03 2018-01-19 北京微视酷科技有限责任公司 Synchronous communication means and system between a kind of virtual reality device
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
基于服务的车载以太网研究与开发;郭灿;崔根群;唐风敏;;现代电子技术;20200301(05);全文 *

Also Published As

Publication number Publication date
CN115174652A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN108712485B (en) Resource subscription method and device for Internet of things equipment
CN110213759B (en) Broadcast-based anti-loss detection method, storage medium and electronic device
EP3200486A1 (en) Connection establishment method, device, and system
CN112804213B (en) Communication disconnection reconnection method, device, system, readable medium and electronic equipment
CN109962827B (en) Equipment link detection method, device, equipment and readable storage medium
CN110933142A (en) ICFS cluster network card monitoring method, device and equipment and medium
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN111371631A (en) Heartbeat mechanism detection method, terminal device and storage medium
CN102412983B (en) Reporting method for equipment alarm
CN115174652B (en) Communication connection establishment method, device, equipment and medium
CN111258795B (en) Samba cluster fault reconnection method, device, equipment and medium
CN101202963A (en) Method and system for transmitting data used in engineering machinery remote monitor supervision area
CN111901298A (en) Method and device for determining cloud short message platform during SSLVPN authentication and electronic equipment
CN113691591B (en) Data transmission method, device and computer readable storage medium
US10904300B2 (en) Method and device for managing user information
CN111781848A (en) Server connection method, device and system based on intelligent household equipment
CN112583617A (en) Fault determination method, server, control terminal and storage medium
CN106899957B (en) Method and device for correcting IMS registration state
CN102487341A (en) Session detection method and apparatus thereof, and session initiation protocol (SIP) server
CN106162583B (en) Meter reading system and processing method thereof
CN110913416B (en) Terminal, networking method thereof and computer-readable storage medium
CN114584425A (en) Method for applying cross-domain roaming
CN111624983A (en) Synchronous connection method and vehicle remote diagnosis system
KR20140121599A (en) Network Management System, Gateway Server and Communication Relay Method, Mobile and Keep Alive Control Method
CN110460586B (en) In-vehicle node communication method, device, equipment and storage medium

Legal Events

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