WO2018176258A1 - 汽车远程诊断的通信方法、装置和系统 - Google Patents

汽车远程诊断的通信方法、装置和系统 Download PDF

Info

Publication number
WO2018176258A1
WO2018176258A1 PCT/CN2017/078561 CN2017078561W WO2018176258A1 WO 2018176258 A1 WO2018176258 A1 WO 2018176258A1 CN 2017078561 W CN2017078561 W CN 2017078561W WO 2018176258 A1 WO2018176258 A1 WO 2018176258A1
Authority
WO
WIPO (PCT)
Prior art keywords
diagnostic device
socket connection
target
vehicle
car
Prior art date
Application number
PCT/CN2017/078561
Other languages
English (en)
French (fr)
Inventor
刘均
陈质健
陈秀
申舍林
张良
章维
李经锐
Original Assignee
深圳市元征科技股份有限公司
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 深圳市元征科技股份有限公司 filed Critical 深圳市元征科技股份有限公司
Priority to JP2018546661A priority Critical patent/JP6709582B2/ja
Priority to EP17893512.8A priority patent/EP3425878B1/en
Priority to PCT/CN2017/078561 priority patent/WO2018176258A1/zh
Priority to CN201780058400.XA priority patent/CN109845229B/zh
Priority to ES17893512T priority patent/ES2951786T3/es
Priority to KR1020187023986A priority patent/KR102102770B1/ko
Priority to US15/871,909 priority patent/US10748354B2/en
Publication of WO2018176258A1 publication Critical patent/WO2018176258A1/zh

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • 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

Definitions

  • the invention relates to the technical field of automobiles, and in particular to a communication method, device and system for remote diagnosis of automobiles.
  • Vehicle remote diagnosis enables remote diagnosis and consultation of inexperienced technicians or non-professional problem vehicles, giving full play to the advantages of professional automotive technicians.
  • the professional obtains the vehicle diagnostic data collected by the remote diagnostic equipment at the vehicle site through the near-end diagnostic equipment to realize the diagnosis of the vehicle fault, and the method has the following limitations:
  • the near-end diagnostic equipment is generally a professional diagnostic equipment (such as a professional computer equipped with a specific operating system), and the relevant diagnostic APP or other diagnostic program needs to be installed on the equipment.
  • the use of these devices and programs anywhere, so the convenience is very low, is not conducive to the promotion of remote diagnostic technology; on the other hand, due to network transmission conditions, only some simple data between the near-end diagnostic device and the remote diagnostic device Interactions, such as one-way file viewing and data reception, and the sending of simple commands, are not suitable for situations where the real-time and complexity of automotive diagnostics is high.
  • the main object of the present invention is to provide a communication method, device and system for remote diagnosis of a vehicle, aiming at improving the real-time and convenience of remote diagnosis of a vehicle.
  • the present invention provides a communication method for remote diagnosis of a vehicle, the method comprising the following steps:
  • the interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device is performed by the first socket connection and the second socket connection.
  • the step of performing interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device by using the first socket connection and the second socket connection comprises:
  • the obtained original car diagnostic data is sent to the WEB front end for display by the first socket connection.
  • the method further includes:
  • the received vehicle remote diagnostic command is transmitted to the target vehicle diagnostic device via the second socket connection.
  • the step of establishing a second socket connection with the target car diagnostic device according to the target car diagnostic device identifier comprises:
  • a second socket connection is established with the target car diagnostic device.
  • the method further includes:
  • a second socket connection with the target vehicle diagnostic device is established when the target vehicle diagnostic device is detected to be activated.
  • the present invention further provides a communication device for remote diagnosis of a vehicle, the device comprising:
  • a first establishing module configured to establish a first socket connection with the WEB front end when receiving a login request of the WEB front end
  • An acquiring module configured to receive, by using the first socket connection, a remote diagnosis request for a vehicle of the WEB front end, and acquire a target automobile diagnostic device identifier carried in the remote diagnosis request of the automobile;
  • a second establishing module configured to establish a second socket connection with the target car diagnostic device according to the target car diagnostic device identifier
  • an execution module configured to perform interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device by the first socket connection and the second socket connection.
  • the execution module is further configured to:
  • the obtained original car diagnostic data is sent to the WEB front end for display by the first socket connection.
  • the execution module is further configured to:
  • the received vehicle remote diagnostic command is transmitted to the target vehicle diagnostic device via the second socket connection.
  • the second establishing module is further configured to:
  • a second socket connection is established with the target car diagnostic device.
  • the second establishing module is further configured to:
  • a second socket connection with the target vehicle diagnostic device is established when the target vehicle diagnostic device is detected to be activated.
  • the present invention further provides a communication system for remote diagnosis of a vehicle, the system comprising a WEB server, a WEB front end, and a target automobile diagnostic device, wherein
  • the WEB server includes the apparatus as described above;
  • the WEB front end is configured to send a login request to the WEB server, and establish a first socket connection with the WEB server; send a remote car to the WEB server by using the first socket connection a diagnostic request, the vehicle remote diagnostic request carrying a target vehicle diagnostic device identifier;
  • the target vehicle diagnostic device is configured to establish a second socket connection with the WEB server.
  • the target vehicle diagnostic device is further configured to collect original diagnostic data of the automobile, and send the collected original diagnostic data of the automobile to the target automobile diagnostic device through the second socket connection;
  • the WEB front end is further configured to display the original diagnostic data of the car sent by the WEB server through the first socket connection.
  • the WEB front end is further configured to send a car remote diagnosis instruction to the WEB server by using the first socket connection;
  • the target vehicle diagnostic device is further configured to receive a vehicle remote diagnosis instruction sent by the WEB front end through the second socket connection.
  • the target car diagnostic device is further configured to establish a second socket connection with the WEB server when it exists in the car diagnostic device management list of the WEB server and is in an online state.
  • the target car diagnostic device is further configured to: when the offline diagnostic state exists in the car diagnostic device management list of the WEB server, receive a startup instruction of the WEB server; and establish and A second socket connection between the WEB servers.
  • the WEB server of the present invention When receiving the login request of the WEB front end, the WEB server of the present invention establishes a first socket connection with the WEB front end; and receives the remote diagnosis request of the WEB front end through the first socket connection, And acquiring a target vehicle diagnostic device identifier carried in the vehicle remote diagnosis request; establishing a second socket connection with the target vehicle diagnostic device according to the target vehicle diagnostic device identifier; and adopting the first socket
  • the word connection and the second socket connection perform an interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device.
  • the invention establishes a first socket connection between the WEB server and the WEB front end, and establishes a second socket connection between the WEB server and the target car diagnostic device, so that the WEB front end and the target car diagnostic device can pass between
  • the WEB server performs real-time interaction of vehicle diagnostic data, thereby improving the real-time and convenience of vehicle remote diagnosis.
  • FIG. 1 is a schematic flow chart of a first embodiment of a communication method for remote diagnosis of a vehicle according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a communication method for remote diagnosis of a vehicle according to the present invention
  • step S30 is a schematic diagram showing the refinement steps of step S30 in the first embodiment of the communication method for remote diagnosis of a vehicle according to the present invention
  • FIG. 4 is a schematic diagram of functional modules of an embodiment of a communication device for remote diagnosis of a vehicle according to the present invention
  • FIG. 5 is a schematic diagram of functional modules of an embodiment of a communication system for remote diagnosis of a vehicle according to the present invention.
  • FIG. 6 is a schematic diagram of an application scenario of an embodiment of a communication system for remote diagnosis of a vehicle according to the present invention.
  • the invention provides a communication method for remote diagnosis of a vehicle.
  • FIG. 1 is a schematic flow chart of a first embodiment of a communication method for remote diagnosis of a vehicle according to the present invention. The method comprises the following steps:
  • Step S10 when receiving the login request of the WEB front end, establishing a first socket connection with the WEB front end;
  • the communication method of the vehicle remote diagnosis of the present embodiment is applied to a WEB server.
  • the WEB server receives the login request of the WEB front end and establishes a first socket connection with the WEB front end, wherein the WEB front end includes a WEB page and related code capable of interacting with the user, and the socket connection is a socket connection.
  • the socket connection between the WEB front end and the WEB server can be established based on the fifth generation hypertext markup language HTML5.
  • HTML5 is a hypertext markup language HTML (HyperText) Markup Language) made the fifth major revision of the network communication standard, based on the standard established socket connection can be recorded as HTML5 Websocket connection, which supports real-time interaction of network data.
  • the application scenario of this embodiment may be: the user needs to remotely diagnose the car at a certain moment. At this time, the user uses the mobile phone to open the browser to access the corresponding website, and then input the user name and password on the webpage displayed on the website and send it to the WEB server. After the login request is received, the WEB server verifies that the username and password are correct. If correct, the HTML5 between the WEB front end is established. Websocket connection.
  • the near-end diagnostic device used by the user may be any device capable of network access, such as a smart phone, a tablet, a notebook, etc., and the user does not need to download and install a related diagnostic APP or other diagnosis on the near-end diagnostic device.
  • Program in addition, HTML5
  • the establishment of the Websocket connection is also unaffected by the system platform of the near-end diagnostic device, that is, the near-end diagnostic device can be equipped with any operating system such as Windows, Linux, IOS, Android, and the like.
  • a user can generally access a corresponding remote diagnosis website of a car through a popular mobile phone APP such as a browser or a WeChat public account, and establish an HTML5 between the WEB front end (WEB page) and the WEB server. Websocket connection is very convenient to use.
  • a popular mobile phone APP such as a browser or a WeChat public account
  • Step S20 receiving a vehicle remote diagnosis request of the WEB front end through the first socket connection, and acquiring a target vehicle diagnosis device identifier carried in the vehicle remote diagnosis request;
  • Step S30 establishing a second socket connection with the target car diagnostic device according to the target car diagnostic device identifier
  • the WEB server interacts with the WEB front end through the connection. Specifically, the user inputs the target car diagnostic device identification information that needs to be connected through the WEB page, such as the device model, name, etc., and sends a remote diagnosis request to the WEB server, and the WEB server receives the car remote diagnosis request of the WEB front end, and according to the request
  • the target vehicle diagnostic device identifier carried in the vehicle establishes a second socket connection with the target vehicle diagnostic device, and the connection can be recorded as TCP/IP Socket connection.
  • target vehicle diagnostic equipment and the vehicle electronic control unit ECU (Electronic Control) of the embodiment Unit) connection for collecting vehicle raw diagnostic data including real-time fuel consumption, engine water temperature, engine speed, vehicle mileage, current vehicle speed, battery voltage, intake pressure, coolant temperature, oxygen sensor voltage, engine load, throttle Data such as opening degree, ignition timing, and air flow.
  • vehicle diagnostic equipment including but not limited to automotive aftermarket diagnostic equipment (eg OBD (On-Board) Diagnostic, on-board diagnostics), car products, and stand-alone equipment are installed inside the car directly with the car CAN-BUS (Controller Area Network-BUS, controller LAN bus) connected diagnostic equipment, etc.
  • Step S40 performing interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device through the first socket connection and the second socket connection.
  • the WEB server and the WEB front end ie HTML5 Websocket connection
  • establishes a second socket connection with the target car diagnostic device ie TCP/IP
  • the interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device can be performed through the established first socket connection and the second socket connection.
  • the WEB front end and the target car can be diagnosed.
  • Real-time interaction of vehicle diagnostic data between devices through the WEB server improves the real-time and convenience of remote diagnosis of the car.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a communication method for remote diagnosis of a vehicle according to the present invention. Based on the embodiment shown in FIG. 1 above, step S40 may include:
  • Step S41 acquiring original vehicle diagnostic data collected by the target vehicle diagnostic device through the second socket connection;
  • Step S42 Send the acquired original car diagnostic data to the WEB front end for display by using the first socket connection.
  • the WEB server passes TCP/IP.
  • the Socket connection obtains the original diagnostic data of the car collected by the target car diagnostic device and passes HTML5.
  • the Websocket connection sends the obtained car raw diagnostic data to the WEB front end for display.
  • the WEB server can process the original diagnostic data of the car based on HTML5 to ensure that it is normally displayed on the diagnosis interface of the WEB front end. Since the data transmission of the Socket connection is very real-time, the diagnostic data on the diagnostic interface should be changed in real time, so that the user can monitor the vehicle diagnostic data in real time through the WEB page.
  • step S42 the method may further include:
  • Step S43 receiving, by the first socket connection, a vehicle remote diagnosis instruction sent by the WEB front end;
  • Step S44 transmitting the received vehicle remote diagnosis instruction to the target automobile diagnostic device through the second socket connection.
  • the user performs remote diagnosis of the car based on the original diagnostic data of the car displayed on the WEB page.
  • the user may send a vehicle remote diagnosis instruction to the WEB server based on the WEB page, and the vehicle remote diagnosis instruction includes but is not limited to fault diagnosis, fault clearing, real-time data reading, motion test (such as unlocking, whistling), ECU programming, ECU. Brush and so on.
  • WEB server via HTML5
  • the Websocket connection receives the remote diagnostic command of the car sent by the WEB front end and passes TCP/IP.
  • the Socket connection sends the received vehicle remote diagnostic command to the target vehicle diagnostic device to cause the target vehicle diagnostic device to control the automotive ECU unit to perform the corresponding function. Since the data transmission of the Socket connection supports two-way transmission, the user can obtain the current diagnosis status and diagnosis result of the vehicle in real time through the diagnosis interface, thereby realizing the remote diagnosis of the vehicle by the user.
  • the first socket connection established between the WEB server and the WEB front end is HTML5.
  • Websocket connection the second socket connection established with the target car diagnostic device is TCP/IP Socket connection allows users to perform real-time data interaction through the display interface of the WEB front end and the car ECU unit, improving the real-time and convenience of remote diagnosis of the car.
  • FIG. 3 is a schematic diagram showing the refinement steps of step S30 in the first embodiment of the communication method for remote diagnosis of a vehicle according to the present invention. Based on the embodiment shown in FIG. 1 above, step S30 may include:
  • Step S31 acquiring a management list of the automobile diagnostic equipment
  • Step S32 querying, according to the target automobile diagnostic device identifier, whether the target automobile diagnostic device exists in the automobile diagnostic device management list;
  • Step S33 if the target vehicle diagnostic device exists in the car diagnostic device management list, determine whether the target car diagnostic device is in an online state;
  • Step S34 when the target vehicle diagnostic device is in an online state, establish a second socket connection with the target car diagnostic device.
  • the manner of establishing a connection between the WEB server and the target car diagnostic device may be: first, the WEB server obtains a car diagnostic device management list, and the list includes all car diagnostic devices registered on the WEB server; then, The WEB server queries whether the target vehicle diagnostic device exists in the car diagnostic device management list according to the target car diagnostic device identification, and if so, determines whether the target car diagnostic device is in an online state, and automatically establishes a target car when the target car diagnostic device is in an online state.
  • the second socket connection between diagnostic devices is TCP/IP Socket connection.
  • the online diagnostic device indicates that the WEB server and the car diagnostic device terminal are in the same wireless network. After the car diagnostic device is powered on, the online state is updated and the heartbeat connection is maintained with the WEB server, and the WEB server displays the The car diagnostic equipment is online.
  • the method may further include:
  • Step S35 When the target vehicle diagnostic device is in an offline state, determine whether the WEB server and the target car diagnostic device are in the same wireless network;
  • Step S36 if the WEB server and the target car diagnostic device are in the same wireless network, send a start command to the target car diagnostic device through the wireless network;
  • Step S37 when it is detected that the target car diagnostic device is activated, establish a second socket connection with the target car diagnostic device.
  • the target vehicle diagnostic device When the target vehicle diagnostic device is offline, it indicates that the WEB server is not in the same network as the target car diagnostic device or the target car diagnostic device is in a dormant state. At this time, the WEB server determines whether it is in the same wireless network as the target car diagnostic device, and if so, Sending a startup command to the target car diagnostic device through the wireless network to control the target car diagnostic device to recover from the sleep state, and when detecting that the target car diagnostic device is activated, establishing a TCP/IP relationship with the target car diagnostic device Socket connection.
  • the owner can also manually turn on the target car diagnostic device and trigger the relevant connection function to establish a connection with the WEB server, which can be flexibly set in the specific implementation.
  • the WEB server automatically connects to the target vehicle diagnostic device without manual operation on the vehicle site, which makes the vehicle remote diagnosis process more intelligent and improves the user experience.
  • the invention also provides a communication device for remote diagnosis of a vehicle.
  • FIG. 4 is a schematic diagram of functional modules of an embodiment of a communication device for remote diagnosis of a vehicle according to the present invention.
  • the device includes:
  • the first establishing module 10 is configured to establish a first socket connection with the WEB front end when receiving a login request of the WEB front end;
  • the communication device for remote diagnosis of a car of this embodiment is applied to a WEB server.
  • the first establishing module 10 receives the login request of the WEB front end, and establishes a first socket connection between the WEB server and the WEB front end, wherein the WEB front end includes a WEB page and related code capable of interacting with the user, and the socket
  • the word connection is the socket connection.
  • the socket connection between the WEB front end and the WEB server can be established based on the fifth generation hypertext markup language HTML5.
  • HTML5 is a hypertext markup language HTML (HyperText) Markup Language) made the fifth major revision of the network communication standard, based on the standard established socket connection can be recorded as HTML5 Websocket connection, which supports real-time interaction of network data.
  • the application scenario of this embodiment may be: the user needs to remotely diagnose the car at a certain moment. At this time, the user uses the mobile phone to open the browser to access the corresponding website, and then input the user name and password on the webpage displayed on the website and send it to the WEB server. After the login request is received, the WEB server verifies that the username and password are correct. If correct, the HTML5 between the WEB front end is established. Websocket connection.
  • the near-end diagnostic device used by the user may be any device capable of network access, such as a smart phone, a tablet, a notebook, etc., and the user does not need to download and install a related diagnostic APP or other diagnosis on the near-end diagnostic device.
  • Program in addition, HTML5
  • the establishment of the Websocket connection is also unaffected by the system platform of the near-end diagnostic device, that is, the near-end diagnostic device can be equipped with any operating system such as Windows, Linux, IOS, Android, and the like.
  • a user can generally access a corresponding remote diagnosis website of a car through a popular mobile phone APP such as a browser or a WeChat public account, and establish an HTML5 between the WEB front end (WEB page) and the WEB server. Websocket connection is very convenient to use.
  • a popular mobile phone APP such as a browser or a WeChat public account
  • the obtaining module 20 is configured to receive, by using the first socket connection, a vehicle remote diagnosis request of the WEB front end, and acquire a target vehicle diagnostic device identifier carried in the vehicle remote diagnosis request;
  • a second establishing module 30, configured to establish a second socket connection with the target car diagnostic device according to the target car diagnostic device identifier
  • the WEB server interacts with the WEB front end through the connection.
  • the user inputs the target car diagnostic device identification information that needs to be connected through the WEB page, such as the device model, name, and the like, and sends a remote diagnosis request to the WEB server, and the obtaining module 20 receives the remote diagnosis request of the car of the WEB front end, and the second establishment is performed.
  • the module 30 establishes a second socket connection between the WEB server and the target car diagnostic device according to the target car diagnostic device identifier carried in the request, and the connection can be recorded as TCP/IP. Socket connection.
  • target vehicle diagnostic device of the embodiment is connected with the automobile electronic control unit ECU for collecting original diagnostic data of the automobile, including real-time fuel consumption of the automobile, engine water temperature, engine speed, vehicle mileage, current vehicle speed, battery voltage, Intake pressure, coolant temperature, oxygen sensor voltage engine load, throttle opening, ignition timing, air flow, etc.
  • Target vehicle diagnostic equipment including but not limited to automotive aftermarket diagnostic equipment (eg OBD (On-Board) Diagnostic, on-board diagnostics), car products, and stand-alone equipment are installed inside the car directly with the car CAN-BUS (Controller Area Network-BUS, controller LAN bus) connected diagnostic equipment, etc.
  • the execution module 40 is configured to perform interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device by the first socket connection and the second socket connection.
  • the execution module 40 can perform the interaction of the vehicle diagnostic data between the WEB front end and the target vehicle diagnostic device through the established first socket connection and the second socket connection.
  • the WEB front end and the target car can be diagnosed.
  • Real-time interaction of vehicle diagnostic data between devices through the WEB server improves the real-time and convenience of remote diagnosis of the car.
  • the execution module 40 is further configured to: obtain, by using the second socket connection, the original vehicle diagnostic data collected by the target vehicle diagnostic device; and obtain the first socket connection.
  • the car raw diagnostic data is sent to the WEB front end for display.
  • the execution module 40 passes TCP/IP.
  • the Socket connection obtains the original diagnostic data of the car collected by the target car diagnostic device and passes HTML5.
  • the Websocket connection sends the obtained original car diagnostic data to the WEB front end for display.
  • the execution module 40 can process the original diagnostic data of the car based on HTML5 to ensure that it is normally displayed on the diagnosis interface of the WEB front end. Since the data transmission of the Socket connection is very real-time, the diagnostic data on the diagnostic interface should be changed in real time, so that the user can monitor the vehicle diagnostic data in real time through the WEB page.
  • the executing module 40 is further configured to: receive, by the first socket connection, a vehicle remote diagnosis instruction sent by the WEB front end; and receive the remote diagnosis of the vehicle by using the second socket connection An instruction is sent to the target vehicle diagnostic device.
  • the user performs remote diagnosis of the car based on the original diagnostic data of the car displayed on the WEB page.
  • the user may send a vehicle remote diagnosis instruction to the WEB server based on the WEB page, and the vehicle remote diagnosis instruction includes but is not limited to fault diagnosis, fault clearing, real-time data reading, motion test (such as unlocking, whistling), ECU programming, ECU. Brush and so on.
  • Execution module 40 via HTML5
  • the Websocket connection receives the remote diagnostic command of the car sent by the WEB front end and passes TCP/IP.
  • the Socket connection sends the received vehicle remote diagnostic command to the target vehicle diagnostic device to cause the target vehicle diagnostic device to control the automotive ECU unit to perform the corresponding function. Since the data transmission of the Socket connection supports two-way transmission, the user can obtain the current diagnosis status and diagnosis result of the vehicle in real time through the diagnosis interface, thereby realizing the remote diagnosis of the vehicle by the user.
  • the first socket connection established between the WEB server and the WEB front end is HTML5.
  • Websocket connection the second socket connection established with the target car diagnostic device is TCP/IP Socket connection allows users to perform real-time data interaction through the display interface of the WEB front end and the car ECU unit, improving the real-time and convenience of remote diagnosis of the car.
  • the second establishing module 30 is further configured to: obtain a car diagnostic device management list; and query whether the target car diagnostic device exists in the car diagnostic device management list according to the target car diagnostic device identifier; If yes, it is determined whether the target car diagnostic device is in an online state; when the target car diagnostic device is in an online state, establishing a second socket connection with the target car diagnostic device.
  • the manner of establishing a connection between the WEB server and the target car diagnostic device may be: the second establishing module 30 first obtains a car diagnostic device management list, and the list includes all the car diagnostic devices registered on the WEB server. Then, according to the target vehicle diagnostic device identification, the target vehicle diagnostic device exists in the car diagnostic device management list, and if so, whether the target car diagnostic device is in an online state, and when the target car diagnostic device is online, the target is automatically established and the target is automatically established.
  • the second socket connection between the car diagnostic devices is TCP/IP Socket connection.
  • the online diagnostic device indicates that the WEB server and the car diagnostic device terminal are in the same wireless network. After the car diagnostic device is powered on, the online state is updated and the heartbeat connection is maintained with the WEB server, and the WEB server displays the The car diagnostic equipment is online.
  • the second establishing module 30 is further configured to: determine, when the target car diagnostic device is in an offline state, whether the WEB server and the target car diagnostic device are in the same wireless network; if yes, pass the wireless network Sending a startup command to the target car diagnostic device; establishing a second socket connection between the WEB server and the target car diagnostic device when detecting that the target car diagnostic device is activated.
  • the target vehicle diagnostic device When the target vehicle diagnostic device is in an offline state, it indicates that the WEB server is not in the same network as the target car diagnostic device or the target car diagnostic device is in a dormant state, and the second establishing module 30 determines whether it is in the same wireless network as the target car diagnostic device. If yes, sending a start command to the target car diagnostic device through the wireless network to control the target car diagnostic device to recover from the sleep state, and when detecting that the target car diagnostic device is activated, establishing a relationship between the WEB server and the target car diagnostic device TCP/IP Socket connection.
  • the owner can also manually turn on the target car diagnostic device and trigger the relevant connection function to establish a connection with the WEB server, which can be flexibly set in the specific implementation.
  • the WEB server automatically connects to the target vehicle diagnostic device without manual operation on the vehicle site, which makes the vehicle remote diagnosis process more intelligent and improves the user experience.
  • the invention also provides a communication system for remote diagnosis of a vehicle.
  • FIG. 5 is a schematic diagram of functional modules of an embodiment of a communication system for remote diagnosis of a vehicle according to the present invention.
  • the system includes a WEB server 101, a WEB front end 102, and a target car diagnostic device 103, wherein
  • the WEB server 101 includes the apparatus as described above;
  • the WEB front end 102 is configured to send a login request to the WEB server 101, and establish a first socket connection with the WEB server 101; send a remote diagnosis request to the WEB server 101 through the first socket connection, and remotely diagnose the vehicle. Requesting to carry the identification of the target vehicle diagnostic device 103;
  • the target car diagnostic device 103 is configured to establish a second socket connection with the WEB server 101.
  • FIG. 6 is a schematic diagram of an application scenario of an embodiment of a communication system for remote diagnosis of a vehicle according to the present invention.
  • the user uses the near-end diagnostic device to open the browser to access the corresponding website, and sends a login request to the WEB server 101 through the WEB front end 102 (WEB page), and the WEB server 101 receives the login request of the WEB front end 102. And establishing a first socket connection with the WEB front end 102, wherein the WEB front end 102 includes a WEB page and related code capable of interacting with the user, and the socket connection is a socket connection.
  • the socket connection between the WEB front end and the WEB server can be established based on the fifth generation hypertext markup language HTML5.
  • HTML5 is a hypertext markup language HTML (HyperText) Markup Language) made the fifth major revision of the network communication standard, based on the standard established socket connection can be recorded as HTML5 Websocket connection, which supports real-time interaction of network data.
  • HTML5 HyperText Markup Language
  • the near-end diagnostic device used by the user can be any device capable of network access, such as a smart phone, a tablet, a notebook, etc., and the user does not need to download and install a related diagnostic APP or other diagnostic program on the near-end diagnostic device; in addition, HTML5
  • the establishment of the Websocket connection is also unaffected by the system platform of the near-end diagnostic device, that is, the near-end diagnostic device can be equipped with any operating system such as Windows, Linux, IOS, Android, and the like.
  • a user can generally access a corresponding remote diagnosis website of a car through a popular mobile phone APP such as a browser or a WeChat public account, and establish an HTML5 between the WEB front end 102 (WEB page) and the WEB server 101. Websocket connection is very convenient to use.
  • a popular mobile phone APP such as a browser or a WeChat public account
  • the WEB server 101 and the WEB front end 102 exchange data through the connection.
  • the user inputs the identification information of the target car diagnostic device 103 that needs to be connected through the WEB page, such as the device model, name, and the like, and sends a remote diagnosis request to the WEB server 101, and the WEB server 101 receives the remote diagnosis request of the car from the WEB front end 102.
  • the connection can be recorded as TCP/IP Socket connection.
  • the target vehicle diagnostic device 103 and the electronic control unit ECU (Electronic Control) of the present embodiment are described. Unit) connection for collecting vehicle raw diagnostic data, including real-time fuel consumption, engine water temperature, engine speed, vehicle mileage, current vehicle speed, battery voltage, intake pressure, coolant temperature, oxygen sensor voltage, engine load, throttle Data such as opening degree, ignition timing, and air flow.
  • the target vehicle diagnostic device 103 includes, but is not limited to, an automotive aftermarket diagnostic device (such as OBD (On-Board) Diagnostic, on-board diagnostics), car products, and stand-alone equipment are installed inside the car directly with the car CAN-BUS (Controller Area Network-BUS, controller LAN bus) connected diagnostic equipment, etc.
  • a first socket connection HTML5
  • Websocket connection establishes a second socket connection with the target car diagnostic device 103, ie TCP/IP
  • the interaction of the vehicle diagnostic data between the WEB front end 102 and the target vehicle diagnostic device 103 can be performed through the established first socket connection and the second socket connection.
  • the WEB front end can be The real-time interaction between the target vehicle diagnostic equipment and the vehicle diagnostic data through the WEB server improves the real-time and convenience of the vehicle remote diagnosis.
  • the target vehicle diagnostic device 103 is further configured to collect the original diagnostic data of the automobile, and send the collected original diagnostic data of the automobile to the target automobile diagnostic device 103 through the second socket connection; the WEB front end 102 is also used to connect the WEB server. 101 displays the original diagnostic data of the car transmitted through the first socket connection.
  • the WEB server 101 passes TCP/IP.
  • the Socket connection acquires the original diagnostic data of the car collected by the target car diagnostic device 103, and passes HTML5.
  • the Websocket connection sends the acquired car raw diagnostic data to the WEB front end 102 for display.
  • the WEB server 101 can process the original diagnostic data of the car based on the HTML5 to ensure that it is normally displayed on the diagnostic interface of the WEB front end 102. Since the data transmission of the Socket connection is very real-time, the diagnostic data on the diagnostic interface should be changed in real time, so that the user can monitor the vehicle diagnostic data in real time through the WEB page.
  • the WEB front end 102 is further configured to send a car remote diagnosis instruction to the WEB server 101 through the first socket connection;
  • the target car diagnostic device 103 is further configured to receive the car sent by the WEB front end 102 through the second socket connection. Remote diagnostic command.
  • the user performs remote diagnosis of the car based on the original diagnostic data of the car displayed on the WEB page.
  • the user may send a vehicle remote diagnosis instruction to the WEB server 101 based on the WEB page, and the vehicle remote diagnosis instruction includes but is not limited to fault diagnosis, fault clearing, real-time data reading, motion test (such as unlocking, whistling), ECU programming, ECU flashes and so on.
  • WEB server 101 via HTML5
  • the Websocket connection receives the remote diagnostic command of the car sent by the WEB front end 102 and passes TCP/IP.
  • the Socket connection transmits the received car remote diagnostic command to the target car diagnostic device 103 to cause the target car diagnostic device 103 to control the car ECU unit to perform the corresponding function. Since the data transmission of the Socket connection supports two-way transmission, the user can obtain the current diagnosis status and diagnosis result of the vehicle in real time through the diagnosis interface, thereby realizing the remote diagnosis of the vehicle by the user.
  • the first socket connection established between the WEB server and the WEB front end is HTML5.
  • Websocket connection the second socket connection established with the target car diagnostic device is TCP/IP Socket connection allows users to perform real-time data interaction through the display interface of the WEB front end and the car ECU unit, improving the real-time and convenience of remote diagnosis of the car.
  • target car diagnostic device 103 is further configured to establish a second socket connection with the WEB server 101 when it exists in the car diagnostic device management list of the WEB server 101 and is in an online state.
  • the manner of establishing a connection between the WEB server 101 and the target car diagnostic device 103 may be: first, the WEB server 101 acquires a car diagnostic device management list, and the list includes all car diagnoses registered on the WEB server 101. Then, the WEB server 101 queries the target car diagnostic device 103 to check whether the target car diagnostic device 103 exists in the car diagnostic device management list, and if so, determines whether the target car diagnostic device 103 is in an online state, when the target car diagnostic device 103 is In the online state, the second socket connection between the target car diagnostic device 103 and TCP/IP is automatically established. Socket connection.
  • the online diagnostic device indicates that the WEB server 101 and the vehicle diagnostic device terminal are in the same wireless network. After the car diagnostic device is powered on, the online state is updated and the heartbeat connection is maintained with the WEB server 101. The WEB server 101 That is, the car diagnostic device is displayed in an online state.
  • the target car diagnostic device 103 is further configured to receive a startup command of the WEB server 101 when present in the car diagnostic device management list of the WEB server 101 and in an offline state; and establish a relationship with the WEB server 101 according to the startup command.
  • the second socket is connected.
  • the target car diagnostic device 103 When the target car diagnostic device 103 is in an offline state, it indicates that the WEB server 101 and the target car diagnostic device 103 are not in the same network or the target car diagnostic device 103 is in a dormant state, at which time the WEB server 101 determines whether it is in the target car diagnostic device 103 or not.
  • the same wireless network if yes, sends a startup command to the target vehicle diagnostic device 103 through the wireless network to control the target vehicle diagnostic device 103 to resume from the sleep state, and when the target vehicle diagnostic device 103 is detected to be activated, establish and diagnose the target vehicle. TCP/IP between devices 103 Socket connection.
  • the owner can also manually turn on the target car diagnostic device 103 and trigger the related connection function to establish a connection with the WEB server 101, which can be flexibly set in the specific implementation.
  • the WEB server automatically connects to the target vehicle diagnostic device without manual operation on the vehicle site, which makes the vehicle remote diagnosis process more intelligent and improves the user experience.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
  • Information Transfer Between Computers (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

本发明公开了一种汽车远程诊断的通信方法,应用于WEB服务器,该方法包括:在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。本发明还公开了一种汽车远程诊断的通信装置和系统。本发明能够提高汽车远程诊断的实时性和便利性。

Description

汽车远程诊断的通信方法、装置和系统
技术领域
本发明涉及汽车技术领域,尤其涉及汽车远程诊断的通信方法、装置和系统。
背景技术
随着汽车工业的迅速发展,电子控制技术已渗透到汽车的各个组成部分,而随着汽车结构复杂度的增加,汽车的故障诊断及排除已成为一项重要的技术要求和安全保障。汽车远程诊断能够实现对经验不足的技师或非专业人员的问题车辆进行远距离诊断和咨询,充分发挥专业汽车技师的优势。
现有的汽车远程诊断技术中, 专业人员通过近端诊断设备获取车辆现场的远端诊断设备采集到的车辆诊断数据,以实现对车辆故障的诊断,该方法存在以下局限:
一方面,近端诊断设备一般为专业诊断设备(如搭载了特定操作系统的专业电脑),且设备上需安装有相关诊断APP或其他诊断程序,在汽车故障突发时,由于普通用户无法随时随地使用这些设备和程序,因而便利性非常低,不利于远程诊断技术的推广;另一方面,由于网络传输条件的限制,近端诊断设备与远端诊断设备之间只能进行一些简单的数据交互,比如单向的文件查看和数据接收,以及一些简单命令的发送等,无法适用于对汽车诊断的实时性和复杂性要求较高的场合。
发明内容
本发明的主要目的在于提出一种汽车远程诊断的通信方法、装置和系统,旨在提高汽车远程诊断的实时性和便利性。
为实现上述目的,本发明提供一种汽车远程诊断的通信方法,所述方法包括如下步骤:
在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;
通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;
根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;
通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。
可选地,所述通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互的步骤包括:
通过所述第二套接字连接获取所述目标汽车诊断设备采集的汽车原始诊断数据;
通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示。
可选地,所述通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示的步骤之后,还包括:
通过所述第一套接字连接接收所述WEB前端发送的的汽车远程诊断指令;
通过所述第二套接字连接将接收到的所述汽车远程诊断指令发送至所述目标汽车诊断设备。
可选地,所述根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接的步骤包括:
获取汽车诊断设备管理列表;
根据所述目标汽车诊断设备标识查询所述汽车诊断设备管理列表中是否存在所述目标汽车诊断设备;
若是,则判断所述目标汽车诊断设备是否为在线状态;
当所述目标汽车诊断设备为在线状态时,建立与所述目标汽车诊断设备之间的第二套接字连接。
可选地,所述判断所述目标汽车诊断设备是否为在线状态的步骤之后,还包括:
当所述目标汽车诊断设备为离线状态时,判断所述WEB服务器与所述目标汽车诊断设备是否处于同一无线网络;
若是,则通过所述无线网络向所述目标汽车诊断设备发送启动指令;
当侦测到所述目标汽车诊断设备启动时,建立与所述目标汽车诊断设备之间的第二套接字连接。
此外,为实现上述目的,本发明还提供一种汽车远程诊断的通信装置,所述装置包括:
第一建立模块,用于在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;
获取模块,用于通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;
第二建立模块,用于根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;
执行模块,用于通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。
可选地,所述执行模块还用于:
通过所述第二套接字连接获取所述目标汽车诊断设备采集的汽车原始诊断数据;
通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示。
可选地,所述执行模块还用于:
通过所述第一套接字连接接收所述WEB前端发送的的汽车远程诊断指令;
通过所述第二套接字连接将接收到的所述汽车远程诊断指令发送至所述目标汽车诊断设备。
可选地,所述第二建立模块还用于:
获取汽车诊断设备管理列表;
根据所述目标汽车诊断设备标识查询所述汽车诊断设备管理列表中是否存在所述目标汽车诊断设备;
若是,则判断所述目标汽车诊断设备是否为在线状态;
当所述目标汽车诊断设备为在线状态时,建立与所述目标汽车诊断设备之间的第二套接字连接。
可选地,所述第二建立模块还用于:
当所述目标汽车诊断设备为离线状态时,判断所述WEB服务器与所述目标汽车诊断设备是否处于同一无线网络;
若是,则通过所述无线网络向所述目标汽车诊断设备发送启动指令;
当侦测到所述目标汽车诊断设备启动时,建立与所述目标汽车诊断设备之间的第二套接字连接。
此外,为实现上述目的,本发明还提供一种汽车远程诊断的通信系统,所述系统包括WEB服务器、WEB前端和目标汽车诊断设备,其中,
所述WEB服务器包括如上所述的装置;
所述WEB前端,用于向所述WEB服务器发送登录请求,并建立与所述WEB服务器之间的第一套接字连接;通过所述第一套接字连接向所述WEB服务器发送汽车远程诊断请求,所述汽车远程诊断请求携带目标汽车诊断设备标识;
所述目标汽车诊断设备,用于建立与所述WEB服务器之间的第二套接字连接。
可选地,所述目标汽车诊断设备,还用于采集汽车原始诊断数据,并通过所述第二套接字连接向所述目标汽车诊断设备发送采集的汽车原始诊断数据;
所述WEB前端,还用于将所述WEB服务器通过所述第一套接字连接发送的汽车原始诊断数据进行显示。
可选地,所述WEB前端,还用于通过所述第一套接字连接向所述WEB服务器发送汽车远程诊断指令;
所述目标汽车诊断设备,还用于通过所述第二套接字连接接收所述WEB前端发送的汽车远程诊断指令。
可选地,所述目标汽车诊断设备,还用于当存在于所述WEB服务器的汽车诊断设备管理列表中且为在线状态时,建立与所述WEB服务器之间的第二套接字连接。
可选地,所述目标汽车诊断设备,还用于当存在于所述WEB服务器的汽车诊断设备管理列表中且为离线状态时,接收所述WEB服务器的启动指令;根据所述启动指令建立与所述WEB服务器之间的第二套接字连接。
本发明WEB服务器在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。本发明通过建立WEB服务器与WEB前端之间的第一套接字连接,并建立WEB服务器与目标汽车诊断设备之间的第二套接字连接,能够使WEB前端与目标汽车诊断设备之间通过WEB服务器进行汽车诊断数据的实时交互,从而提高了汽车远程诊断的实时性和便利性。
附图说明
图1为本发明汽车远程诊断的通信方法第一实施例的流程示意图;
图2为本发明汽车远程诊断的通信方法第二实施例的流程示意图;
图3本发明汽车远程诊断的通信方法第一实施例中步骤S30的细化步骤示意图;
图4为本发明汽车远程诊断的通信装置一实施例的功能模块示意图;
图5为本发明汽车远程诊断的通信系统一实施例的功能模块示意图;
图6为本发明汽车远程诊断的通信系统一实施例的的应用场景示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种汽车远程诊断的通信方法。
参照图1,图1为本发明汽车远程诊断的通信方法第一实施例的流程示意图。该方法包括如下步骤:
步骤S10,在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;
本实施例汽车远程诊断的通信方法应用于WEB服务器。首先,WEB服务器接收WEB前端的登录请求,并建立与WEB前端之间的第一套接字连接,其中,WEB前端包括能够和用户进行交互的WEB页面及相关代码,套接字连接即socket连接。目前可基于第五代超文本标记语言HTML5建立WEB前端与WEB服务器之间的socket连接,HTML5是对超文本标记语言HTML(HyperText Markup Language)做出第五次重大修改后的网络通信标准,基于该标准建立的socket连接可以记为HTML5 Websocket连接,该连接支持网络数据的实时交互。
本实施例的应用场景可以为:用户在某一时刻需要对其汽车进行远程诊断,此时用户使用手机打开浏览器访问相应网站,然后在网站显示的网页上输入用户名和密码并向WEB服务器发送登录请求,WEB服务器接收到登录请求后,校验用户名和密码是否正确,若正确,则建立与WEB前端之间HTML5 Websocket连接。
在上述应用场景中,用户使用的近端诊断设备可以为任何能够进行网络访问的设备,比如智能手机、平板电脑、笔记本等,且用户无需在近端诊断设备上下载安装相关诊断APP或其他诊断程序;此外,HTML5 Websocket连接的建立也不受近端诊断设备所搭载系统平台的影响,即近端诊断设备可以搭载任何操作系统,如Windows、Linux、IOS、Android等。以智能手机为例,用户一般可以通过浏览器或微信公众号等常用手机APP访问相应汽车远程诊断网站,并建立WEB前端(WEB页面)与WEB服务器之间的HTML5 Websocket连接,使用非常便利。
步骤S20,通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;
步骤S30,根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;
在WEB服务器与WEB前端建立 HTML5 Websocket连接之后,WEB服务器与WEB前端之间即通过该连接进行数据交互。具体地,用户通过WEB页面输入其需要连接的目标汽车诊断设备标识信息,比如设备型号、名称等,并向WEB服务器发送远程诊断请求,WEB服务器接收WEB前端的汽车远程诊断请求,并根据该请求中携带的目标汽车诊断设备标识建立与目标汽车诊断设备之间的第二套接字连接,该连接可以记为TCP/IP Socket连接。
需要说明的是,本实施例目标汽车诊断设备与汽车电子控制单元ECU(Electronic Control Unit)连接,用于采集汽车原始诊断数据,包括汽车的实时油耗、发动机水温、发动机转速、车辆行驶里程、当前车速、电瓶电压、进气压力、冷却液温度、氧传感器电压发动机负载、节气门开度、点火正时、空气流量等数据。目标汽车诊断设备包括但不限于汽车售后诊断设备(如OBD(On-Board Diagnostic,车载诊断)接头),车机产品,以及独立设备安装在汽车内部直接与汽车CAN-BUS(Controller Area Network-BUS,控制器局域网总线)连接的诊断设备等。
步骤S40,通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。
在WEB服务器与WEB前端之间建立了第一套接字连接即HTML5 Websocket连接,与目标汽车诊断设备之间建立了第二套接字连接即TCP/IP Socket连接之后,就能够通过建立的第一套接字连接和第二套接字连接执行WEB前端与目标汽车诊断设备之间的汽车诊断数据的交互。
在本实施例中,通过建立WEB服务器与WEB前端之间的第一套接字连接,并建立WEB服务器与目标汽车诊断设备之间的第二套接字连接,能够使WEB前端与目标汽车诊断设备之间通过WEB服务器进行汽车诊断数据的实时交互,从而提高了汽车远程诊断的实时性和便利性。
进一步地,参照图2,图2为本发明汽车远程诊断的通信方法第二实施例的流程示意图。基于上述图1所示的实施例,步骤S40可以包括:
步骤S41,通过所述第二套接字连接获取所述目标汽车诊断设备采集的汽车原始诊断数据;
步骤S42,通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示。
在本实施例中,WEB服务器通过TCP/IP Socket连接获取目标汽车诊断设备采集的汽车原始诊断数据,并通过HTML5 Websocket连接将获取到的汽车原始诊断数据发送至WEB前端进行显示,该过程中,WEB服务器可基于HTML5对汽车原始诊断数据进行处理,以保证其正常显示在WEB前端的诊断界面上。由于Socket连接的数据传输实时性非常高,诊断界面上的诊断数据应是实时变化的,由此,用户就能通过WEB页面对汽车诊断数据进行实时监测。
进一步地,在步骤S42之后,还可以包括:
步骤S43,通过所述第一套接字连接接收所述WEB前端发送的的汽车远程诊断指令;
步骤S44,通过所述第二套接字连接将接收到的所述汽车远程诊断指令发送至所述目标汽车诊断设备。
用户根据WEB页面显示的汽车原始诊断数据对汽车进行远程诊断。具体地,用户可基于WEB页面向WEB服务器发送汽车远程诊断指令,汽车远程诊断指令包括但不限于故障诊断、故障清除、实时数据读取、动作测试(如开锁、鸣笛)、ECU编程、ECU刷写等。WEB服务器通过HTML5 Websocket连接接收WEB前端发送的的汽车远程诊断指令,并通过TCP/IP Socket连接将接收到的汽车远程诊断指令发送至目标汽车诊断设备,以使目标汽车诊断设备控制汽车ECU单元执行对应的功能。由于Socket连接的数据传输支持双向传输,用户可以通过诊断界面实时获取到汽车当前的诊断状态和诊断结果,由此实现了用户对汽车的远程诊断。
本实施例通过WEB服务器与WEB前端之间建立的第一套接字连接即HTML5 Websocket连接,与目标汽车诊断设备之间建立的第二套接字连接即TCP/IP Socket连接,用户能够通过WEB前端的显示界面和汽车ECU单元进行实时的数据交互,提高了汽车远程诊断的实时性和便利性。
进一步地,参照图3,图3本发明汽车远程诊断的通信方法第一实施例中步骤S30的细化步骤示意图。基于上述图1所示的实施例,步骤S30可以包括:
步骤S31,获取汽车诊断设备管理列表;
步骤S32,根据所述目标汽车诊断设备标识查询所述汽车诊断设备管理列表中是否存在所述目标汽车诊断设备;
步骤S33,若所述汽车诊断设备管理列表中存在所述目标汽车诊断设备,则判断所述目标汽车诊断设备是否为在线状态;
步骤S34,当所述目标汽车诊断设备为在线状态时,建立与所述目标汽车诊断设备之间的第二套接字连接。
在本实施例中,WEB服务器和目标汽车诊断设备之间建立连接的方式可以为:首先WEB服务器获取汽车诊断设备管理列表,该列表中包括所有在WEB服务器上注册过的汽车诊断设备;然后,WEB服务器根据目标汽车诊断设备标识查询汽车诊断设备管理列表中是否存在目标汽车诊断设备,若是,则判断目标汽车诊断设备是否为在线状态,当目标汽车诊断设备为在线状态时,自动建立与目标汽车诊断设备之间的第二套接字连接即TCP/IP Socket连接。
需要说明的是,汽车诊断设备为在线状态表明WEB服务器与汽车诊断设备终端处于同一无线网络内,汽车诊断设备开机后将自身的在线状态进行更新并与WEB服务器保持心跳连接,WEB服务器即显示该汽车诊断设备为在线状态。
进一步地,步骤S33之后,还可以包括:
步骤S35,当所述目标汽车诊断设备为离线状态时,判断所述WEB服务器与所述目标汽车诊断设备是否处于同一无线网络;
步骤S36,若所述WEB服务器与所述目标汽车诊断设备处于同一无线网络,则通过所述无线网络向所述目标汽车诊断设备发送启动指令;
步骤S37,当侦测到所述目标汽车诊断设备启动时,建立与所述目标汽车诊断设备之间的第二套接字连接。
当目标汽车诊断设备为离线状态时,表明WEB服务器与目标汽车诊断设备不处于同一网络或者目标汽车诊断设备处于休眠状态,此时WEB服务器判断其与目标汽车诊断设备是否处于同一无线网络,若是,则通过该无线网络向目标汽车诊断设备发送启动指令,以控制目标汽车诊断设备从休眠状态恢复,当侦测到目标汽车诊断设备启动时,建立与目标汽车诊断设备之间的TCP/IP Socket连接。
当然,车主也可以手动开启目标汽车诊断设备并触发相关连接功能以建立其与WEB服务器之间的连接,具体实施中可进行灵活设置。
本实施例WEB服务器通过自动连接目标汽车诊断设备,而无需车辆现场的人工操作,使得汽车远程诊断过程更加智能化,提升了用户体验。
本发明还提供一种汽车远程诊断的通信装置。
参照图4,图4为本发明汽车远程诊断的通信装置一实施例的功能模块示意图。该装置包括:
第一建立模块10,用于在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;
本实施例汽车远程诊断的通信装置应用于WEB服务器。首先,第一建立模块10接收WEB前端的登录请求,并建立WEB服务器与WEB前端之间的第一套接字连接,其中,WEB前端包括能够和用户进行交互的WEB页面及相关代码,套接字连接即socket连接。目前可基于第五代超文本标记语言HTML5建立WEB前端与WEB服务器之间的socket连接,HTML5是对超文本标记语言HTML(HyperText Markup Language)做出第五次重大修改后的网络通信标准,基于该标准建立的socket连接可以记为HTML5 Websocket连接,该连接支持网络数据的实时交互。
本实施例的应用场景可以为:用户在某一时刻需要对其汽车进行远程诊断,此时用户使用手机打开浏览器访问相应网站,然后在网站显示的网页上输入用户名和密码并向WEB服务器发送登录请求,WEB服务器接收到登录请求后,校验用户名和密码是否正确,若正确,则建立与WEB前端之间HTML5 Websocket连接。
在上述应用场景中,用户使用的近端诊断设备可以为任何能够进行网络访问的设备,比如智能手机、平板电脑、笔记本等,且用户无需在近端诊断设备上下载安装相关诊断APP或其他诊断程序;此外,HTML5 Websocket连接的建立也不受近端诊断设备所搭载系统平台的影响,即近端诊断设备可以搭载任何操作系统,如Windows、Linux、IOS、Android等。以智能手机为例,用户一般可以通过浏览器或微信公众号等常用手机APP访问相应汽车远程诊断网站,并建立WEB前端(WEB页面)与WEB服务器之间的HTML5 Websocket连接,使用非常便利。
获取模块20,用于通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;
第二建立模块30,用于根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;
在WEB服务器与WEB前端建立 HTML5 Websocket连接之后,WEB服务器与WEB前端之间即通过该连接进行数据交互。具体地,用户通过WEB页面输入其需要连接的目标汽车诊断设备标识信息,比如设备型号、名称等,并向WEB服务器发送远程诊断请求,获取模块20接收WEB前端的汽车远程诊断请求,第二建立模块30根据该请求中携带的目标汽车诊断设备标识建立WEB服务器与目标汽车诊断设备之间的第二套接字连接,该连接可以记为TCP/IP Socket连接。
需要说明的是,本实施例目标汽车诊断设备与汽车电子控制单元ECU连接,用于采集汽车原始诊断数据,包括汽车的实时油耗、发动机水温、发动机转速、车辆行驶里程、当前车速、电瓶电压、进气压力、冷却液温度、氧传感器电压发动机负载、节气门开度、点火正时、空气流量等数据。目标汽车诊断设备包括但不限于汽车售后诊断设备(如OBD(On-Board Diagnostic,车载诊断)接头),车机产品,以及独立设备安装在汽车内部直接与汽车CAN-BUS(Controller Area Network-BUS,控制器局域网总线)连接的诊断设备等。
执行模块40,用于通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。
在WEB服务器与WEB前端之间建立了第一套接字连接即HTML5 Websocket连接,与目标汽车诊断设备之间建立了第二套接字连接即TCP/IP Socket连接之后,执行模块40就能够通过建立的第一套接字连接和第二套接字连接执行WEB前端与目标汽车诊断设备之间的汽车诊断数据的交互。
在本实施例中,通过建立WEB服务器与WEB前端之间的第一套接字连接,并建立WEB服务器与目标汽车诊断设备之间的第二套接字连接,能够使WEB前端与目标汽车诊断设备之间通过WEB服务器进行汽车诊断数据的实时交互,从而提高了汽车远程诊断的实时性和便利性。
进一步地,继续参照图4,执行模块40还用于:通过所述第二套接字连接获取所述目标汽车诊断设备采集的汽车原始诊断数据;通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示。
在本实施例中,执行模块40通过TCP/IP Socket连接获取目标汽车诊断设备采集的汽车原始诊断数据,并通过HTML5 Websocket连接将获取到的汽车原始诊断数据发送至WEB前端进行显示,该过程中,执行模块40可基于HTML5对汽车原始诊断数据进行处理,以保证其正常显示在WEB前端的诊断界面上。由于Socket连接的数据传输实时性非常高,诊断界面上的诊断数据应是实时变化的,由此,用户就能通过WEB页面对汽车诊断数据进行实时监测。
进一步地,执行模块40还用于:通过所述第一套接字连接接收所述WEB前端发送的的汽车远程诊断指令;通过所述第二套接字连接将接收到的所述汽车远程诊断指令发送至所述目标汽车诊断设备。
用户根据WEB页面显示的汽车原始诊断数据对汽车进行远程诊断。具体地,用户可基于WEB页面向WEB服务器发送汽车远程诊断指令,汽车远程诊断指令包括但不限于故障诊断、故障清除、实时数据读取、动作测试(如开锁、鸣笛)、ECU编程、ECU刷写等。执行模块40通过HTML5 Websocket连接接收WEB前端发送的的汽车远程诊断指令,并通过TCP/IP Socket连接将接收到的汽车远程诊断指令发送至目标汽车诊断设备,以使目标汽车诊断设备控制汽车ECU单元执行对应的功能。由于Socket连接的数据传输支持双向传输,用户可以通过诊断界面实时获取到汽车当前的诊断状态和诊断结果,由此实现了用户对汽车的远程诊断。
本实施例通过WEB服务器与WEB前端之间建立的第一套接字连接即HTML5 Websocket连接,与目标汽车诊断设备之间建立的第二套接字连接即TCP/IP Socket连接,用户能够通过WEB前端的显示界面和汽车ECU单元进行实时的数据交互,提高了汽车远程诊断的实时性和便利性。
进一步地,继续参照图4,第二建立模块30还用于:获取汽车诊断设备管理列表;根据所述目标汽车诊断设备标识查询所述汽车诊断设备管理列表中是否存在所述目标汽车诊断设备;若是,则判断所述目标汽车诊断设备是否为在线状态;当所述目标汽车诊断设备为在线状态时,建立与所述目标汽车诊断设备之间的第二套接字连接。
在本实施例中,WEB服务器和目标汽车诊断设备之间建立连接的方式可以为:第二建立模块30首先获取汽车诊断设备管理列表,该列表中包括所有在WEB服务器上注册过的汽车诊断设备;然后,根据目标汽车诊断设备标识查询汽车诊断设备管理列表中是否存在目标汽车诊断设备,若是,则判断目标汽车诊断设备是否为在线状态,当目标汽车诊断设备为在线状态时,自动建立与目标汽车诊断设备之间的第二套接字连接即TCP/IP Socket连接。
需要说明的是,汽车诊断设备为在线状态表明WEB服务器与汽车诊断设备终端处于同一无线网络内,汽车诊断设备开机后将自身的在线状态进行更新并与WEB服务器保持心跳连接,WEB服务器即显示该汽车诊断设备为在线状态。
进一步地,第二建立模块30还用于:当所述目标汽车诊断设备为离线状态时,判断所述WEB服务器与所述目标汽车诊断设备是否处于同一无线网络;若是,则通过所述无线网络向所述目标汽车诊断设备发送启动指令;当侦测到所述目标汽车诊断设备启动时,建立WEB服务器与所述目标汽车诊断设备之间的第二套接字连接。
当目标汽车诊断设备为离线状态时,表明WEB服务器与目标汽车诊断设备不处于同一网络或者目标汽车诊断设备处于休眠状态,此时第二建立模块30判断其与目标汽车诊断设备是否处于同一无线网络,若是,则通过该无线网络向目标汽车诊断设备发送启动指令,以控制目标汽车诊断设备从休眠状态恢复,当侦测到目标汽车诊断设备启动时,建立WEB服务器与目标汽车诊断设备之间的TCP/IP Socket连接。
当然,车主也可以手动开启目标汽车诊断设备并触发相关连接功能以建立其与WEB服务器之间的连接,具体实施中可进行灵活设置。
本实施例WEB服务器通过自动连接目标汽车诊断设备,而无需车辆现场的人工操作,使得汽车远程诊断过程更加智能化,提升了用户体验。
本发明还提供一种汽车远程诊断的通信系统。
参照图5,图5为本发明汽车远程诊断的通信系统一实施例的功能模块示意图。该系统包括WEB服务器101、WEB前端102和目标汽车诊断设备103,其中,
WEB服务器101包括如上所述的装置;
WEB前端102,用于向WEB服务器101发送登录请求,并建立与WEB服务器101之间的第一套接字连接;通过第一套接字连接向WEB服务器101发送汽车远程诊断请求,汽车远程诊断请求携带目标汽车诊断设备103标识;
目标汽车诊断设备103,用于建立与WEB服务器101之间的第二套接字连接。
参照图6,图6为本发明汽车远程诊断的通信系统一实施例的的应用场景示意图。
用户在需要对其汽车进行远程诊断时,使用近端诊断设备打开浏览器访问相应网站,并通过WEB前端102(WEB页面)向WEB服务器101发送登录请求,WEB服务器101接收WEB前端102的登录请求,并建立与WEB前端102之间的第一套接字连接,其中,WEB前端102包括能够和用户进行交互的WEB页面及相关代码,套接字连接即socket连接。目前可基于第五代超文本标记语言HTML5建立WEB前端与WEB服务器之间的socket连接,HTML5是对超文本标记语言HTML(HyperText Markup Language)做出第五次重大修改后的网络通信标准,基于该标准建立的socket连接可以记为HTML5 Websocket连接,该连接支持网络数据的实时交互。
用户使用的近端诊断设备可以为任何能够进行网络访问的设备,比如智能手机、平板电脑、笔记本等,且用户无需在近端诊断设备上下载安装相关诊断APP或其他诊断程序;此外,HTML5 Websocket连接的建立也不受近端诊断设备所搭载系统平台的影响,即近端诊断设备可以搭载任何操作系统,如Windows、Linux、IOS、Android等。以智能手机为例,用户一般可以通过浏览器或微信公众号等常用手机APP访问相应汽车远程诊断网站,并建立WEB前端102(WEB页面)与WEB服务器101之间的HTML5 Websocket连接,使用非常便利。
在WEB服务器101与WEB前端102建立 HTML5 Websocket连接之后,WEB服务器101与WEB前端102之间即通过该连接进行数据交互。具体地,用户通过WEB页面输入其需要连接的目标汽车诊断设备103标识信息,比如设备型号、名称等,并向WEB服务器101发送远程诊断请求,WEB服务器101接收WEB前端102的汽车远程诊断请求,并根据该请求中携带的目标汽车诊断设备103标识建立与目标汽车诊断设备103之间的第二套接字连接,该连接可以记为TCP/IP Socket连接。
需要说明的是,本实施例目标汽车诊断设备103与汽车电子控制单元ECU(Electronic Control Unit)连接,用于采集汽车原始诊断数据,包括汽车的实时油耗、发动机水温、发动机转速、车辆行驶里程、当前车速、电瓶电压、进气压力、冷却液温度、氧传感器电压发动机负载、节气门开度、点火正时、空气流量等数据。目标汽车诊断设备103包括但不限于汽车售后诊断设备(如OBD(On-Board Diagnostic,车载诊断)接头),车机产品,以及独立设备安装在汽车内部直接与汽车CAN-BUS(Controller Area Network-BUS,控制器局域网总线)连接的诊断设备等。
在WEB服务器101与WEB前端102之间建立了第一套接字连接即HTML5 Websocket连接,与目标汽车诊断设备103之间建立了第二套接字连接即TCP/IP Socket连接之后,就能够通过建立的第一套接字连接和第二套接字连接执行WEB前端102与目标汽车诊断设备103之间的汽车诊断数据的交互。
在本实施例中,通过建立WEB服务器与WEB前端之间的基于HTML5的第一套接字连接,并建立WEB服务器与目标汽车诊断设备之间的第二套接字连接,能够使WEB前端与目标汽车诊断设备之间通过WEB服务器进行汽车诊断数据的实时交互,从而提高了汽车远程诊断的实时性和便利性。
进一步地,目标汽车诊断设备103,还用于采集汽车原始诊断数据,并通过第二套接字连接向目标汽车诊断设备103发送采集的汽车原始诊断数据;WEB前端102,还用于将WEB服务器101通过第一套接字连接发送的汽车原始诊断数据进行显示。
在本实施例中,WEB服务器101通过TCP/IP Socket连接获取目标汽车诊断设备103采集的汽车原始诊断数据,并通过HTML5 Websocket连接将获取到的汽车原始诊断数据发送至WEB前端102进行显示,该过程中,WEB服务器101可基于HTML5对汽车原始诊断数据进行处理,以保证其正常显示在WEB前端102的诊断界面上。由于Socket连接的数据传输实时性非常高,诊断界面上的诊断数据应是实时变化的,由此,用户就能通过WEB页面对汽车诊断数据进行实时监测。
进一步地,WEB前端102,还用于通过第一套接字连接向WEB服务器101发送汽车远程诊断指令;目标汽车诊断设备103,还用于通过第二套接字连接接收WEB前端102发送的汽车远程诊断指令。
用户根据WEB页面显示的汽车原始诊断数据对汽车进行远程诊断。具体地,用户可基于WEB页面向WEB服务器101发送汽车远程诊断指令,汽车远程诊断指令包括但不限于故障诊断、故障清除、实时数据读取、动作测试(如开锁、鸣笛)、ECU编程、ECU刷写等。WEB服务器101通过HTML5 Websocket连接接收WEB前端102发送的的汽车远程诊断指令,并通过TCP/IP Socket连接将接收到的汽车远程诊断指令发送至目标汽车诊断设备103,以使目标汽车诊断设备103控制汽车ECU单元执行对应的功能。由于Socket连接的数据传输支持双向传输,用户可以通过诊断界面实时获取到汽车当前的诊断状态和诊断结果,由此实现了用户对汽车的远程诊断。
本实施例通过WEB服务器与WEB前端之间建立的第一套接字连接即HTML5 Websocket连接,与目标汽车诊断设备之间建立的第二套接字连接即TCP/IP Socket连接,用户能够通过WEB前端的显示界面和汽车ECU单元进行实时的数据交互,提高了汽车远程诊断的实时性和便利性。
进一步地,目标汽车诊断设备103,还用于当存在于WEB服务器101的汽车诊断设备管理列表中且为在线状态时,建立与WEB服务器101之间的第二套接字连接。
在本实施例中,WEB服务器101和目标汽车诊断设备103之间建立连接的方式可以为:首先WEB服务器101获取汽车诊断设备管理列表,该列表中包括所有在WEB服务器101上注册过的汽车诊断设备;然后,WEB服务器101根据目标汽车诊断设备103标识查询汽车诊断设备管理列表中是否存在目标汽车诊断设备103,若是,则判断目标汽车诊断设备103是否为在线状态,当目标汽车诊断设备103为在线状态时,自动建立与目标汽车诊断设备103之间的第二套接字连接即TCP/IP Socket连接。
需要说明的是,汽车诊断设备为在线状态表明WEB服务器101与汽车诊断设备终端处于同一无线网络内,汽车诊断设备开机后将自身的在线状态进行更新并与WEB服务器101保持心跳连接,WEB服务器101即显示该汽车诊断设备为在线状态。
进一步地,目标汽车诊断设备103,还用于当存在于WEB服务器101的汽车诊断设备管理列表中且为离线状态时,接收WEB服务器101的启动指令;根据启动指令建立与WEB服务器101之间的第二套接字连接。
当目标汽车诊断设备103为离线状态时,表明WEB服务器101与目标汽车诊断设备103不处于同一网络或者目标汽车诊断设备103处于休眠状态,此时WEB服务器101判断其与目标汽车诊断设备103是否处于同一无线网络,若是,则通过该无线网络向目标汽车诊断设备103发送启动指令,以控制目标汽车诊断设备103从休眠状态恢复,当侦测到目标汽车诊断设备103启动时,建立与目标汽车诊断设备103之间的TCP/IP Socket连接。
当然,车主也可以手动开启目标汽车诊断设备103并触发相关连接功能以建立其与WEB服务器101之间的连接,具体实施中可进行灵活设置。
本实施例WEB服务器通过自动连接目标汽车诊断设备,而无需车辆现场的人工操作,使得汽车远程诊断过程更加智能化,提升了用户体验。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (15)

  1. 一种汽车远程诊断的通信方法,应用于WEB服务器,其特征在于,所述方法包括如下步骤:
    在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;
    通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;
    根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;
    通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。
  2. 如权利要求1所述的方法,其特征在于,所述通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互的步骤包括:
    通过所述第二套接字连接获取所述目标汽车诊断设备采集的汽车原始诊断数据;
    通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示。
  3. 如权利要求2所述的方法,其特征在于,所述通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示的步骤之后,还包括:
    通过所述第一套接字连接接收所述WEB前端发送的的汽车远程诊断指令;
    通过所述第二套接字连接将接收到的所述汽车远程诊断指令发送至所述目标汽车诊断设备。
  4. 如权利要求1所述的方法,其特征在于,所述根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接的步骤包括:
    获取汽车诊断设备管理列表;
    根据所述目标汽车诊断设备标识查询所述汽车诊断设备管理列表中是否存在所述目标汽车诊断设备;
    若是,则判断所述目标汽车诊断设备是否为在线状态;
    当所述目标汽车诊断设备为在线状态时,建立与所述目标汽车诊断设备之间的第二套接字连接。
  5. 如权利要求4所述的方法,其特征在于,所述判断所述目标汽车诊断设备是否为在线状态的步骤之后,还包括:
    当所述目标汽车诊断设备为离线状态时,判断所述WEB服务器与所述目标汽车诊断设备是否处于同一无线网络;
    若是,则通过所述无线网络向所述目标汽车诊断设备发送启动指令;
    当侦测到所述目标汽车诊断设备启动时,建立与所述目标汽车诊断设备之间的第二套接字连接。
  6. 一种汽车远程诊断的通信装置,应用于WEB服务器,其特征在于,所述装置包括:
    第一建立模块,用于在接收到WEB前端的登陆请求时,建立与所述WEB前端之间的第一套接字连接;
    获取模块,用于通过所述第一套接字连接接收所述WEB前端的汽车远程诊断请求,并获取所述汽车远程诊断请求中携带的目标汽车诊断设备标识;
    第二建立模块,用于根据所述目标汽车诊断设备标识建立与所述目标汽车诊断设备之间的第二套接字连接;
    执行模块,用于通过所述第一套接字连接和所述第二套接字连接执行所述WEB前端与所述目标汽车诊断设备之间的汽车诊断数据的交互。
  7. 如权利要求6所述的装置,其特征在于,所述执行模块还用于:
    通过所述第二套接字连接获取所述目标汽车诊断设备采集的汽车原始诊断数据;
    通过所述第一套接字连接将获取到的所述汽车原始诊断数据发送至所述WEB前端进行显示。
  8. 如权利要求7所述的装置,其特征在于,所述执行模块还用于:
    通过所述第一套接字连接接收所述WEB前端发送的的汽车远程诊断指令;
    通过所述第二套接字连接将接收到的所述汽车远程诊断指令发送至所述目标汽车诊断设备。
  9. 如权利要求6所述的装置,其特征在于,所述第二建立模块还用于:
    获取汽车诊断设备管理列表;
    根据所述目标汽车诊断设备标识查询所述汽车诊断设备管理列表中是否存在所述目标汽车诊断设备;
    若是,则判断所述目标汽车诊断设备是否为在线状态;
    当所述目标汽车诊断设备为在线状态时,建立与所述目标汽车诊断设备之间的第二套接字连接。
  10. 如权利要求9所述的装置,其特征在于,所述第二建立模块还用于:
    当所述目标汽车诊断设备为离线状态时,判断所述WEB服务器与所述目标汽车诊断设备是否处于同一无线网络;
    若是,则通过所述无线网络向所述目标汽车诊断设备发送启动指令;
    当侦测到所述目标汽车诊断设备启动时,建立与所述目标汽车诊断设备之间的第二套接字连接。
  11. 一种汽车远程诊断的通信系统,其特征在于,所述系统包括WEB服务器、WEB前端和目标汽车诊断设备,其中,
    所述WEB服务器包括权利要求6至10任一项所述的装置;
    所述WEB前端,用于向所述WEB服务器发送登录请求,并建立与所述WEB服务器之间的第一套接字连接;通过所述第一套接字连接向所述WEB服务器发送汽车远程诊断请求,所述汽车远程诊断请求携带目标汽车诊断设备标识;
    所述目标汽车诊断设备,用于建立与所述WEB服务器之间的第二套接字连接。
  12. 如权利要求11所述的系统,其特征在于,
    所述目标汽车诊断设备,还用于采集汽车原始诊断数据,并通过所述第二套接字连接向所述目标汽车诊断设备发送采集的汽车原始诊断数据;
    所述WEB前端,还用于将所述WEB服务器通过所述第一套接字连接发送的汽车原始诊断数据进行显示。
  13. 如权利要求12所述的系统,其特征在于,
    所述WEB前端,还用于通过所述第一套接字连接向所述WEB服务器发送汽车远程诊断指令;
    所述目标汽车诊断设备,还用于通过所述第二套接字连接接收所述WEB前端发送的汽车远程诊断指令。
  14. 如权利要求11所述的系统,其特征在于,
    所述目标汽车诊断设备,还用于当存在于所述WEB服务器的汽车诊断设备管理列表中且为在线状态时,建立与所述WEB服务器之间的第二套接字连接。
  15. 如权利要求14所述的系统,其特征在于,
    所述目标汽车诊断设备,还用于当存在于所述WEB服务器的汽车诊断设备管理列表中且为离线状态时,接收所述WEB服务器的启动指令;根据所述启动指令建立与所述WEB服务器之间的第二套接字连接。
PCT/CN2017/078561 2017-03-29 2017-03-29 汽车远程诊断的通信方法、装置和系统 WO2018176258A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2018546661A JP6709582B2 (ja) 2017-03-29 2017-03-29 自動車遠隔診断の通信方法、装置及びシステム
EP17893512.8A EP3425878B1 (en) 2017-03-29 2017-03-29 Communication method, apparatus and system for remote diagnosis of automobile
PCT/CN2017/078561 WO2018176258A1 (zh) 2017-03-29 2017-03-29 汽车远程诊断的通信方法、装置和系统
CN201780058400.XA CN109845229B (zh) 2017-03-29 2017-03-29 汽车远程诊断的通信方法、装置和系统
ES17893512T ES2951786T3 (es) 2017-03-29 2017-03-29 Método, aparato y sistema de comunicación para el diagnóstico remoto de automóviles
KR1020187023986A KR102102770B1 (ko) 2017-03-29 2017-03-29 자동차 원격 진단의 통신 방법
US15/871,909 US10748354B2 (en) 2017-03-29 2018-01-15 Communication method, device, and system for vehicle remote diagnosis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/078561 WO2018176258A1 (zh) 2017-03-29 2017-03-29 汽车远程诊断的通信方法、装置和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/871,909 Continuation-In-Part US10748354B2 (en) 2017-03-29 2018-01-15 Communication method, device, and system for vehicle remote diagnosis

Publications (1)

Publication Number Publication Date
WO2018176258A1 true WO2018176258A1 (zh) 2018-10-04

Family

ID=63670893

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078561 WO2018176258A1 (zh) 2017-03-29 2017-03-29 汽车远程诊断的通信方法、装置和系统

Country Status (7)

Country Link
US (1) US10748354B2 (zh)
EP (1) EP3425878B1 (zh)
JP (1) JP6709582B2 (zh)
KR (1) KR102102770B1 (zh)
CN (1) CN109845229B (zh)
ES (1) ES2951786T3 (zh)
WO (1) WO2018176258A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113408755A (zh) * 2021-06-16 2021-09-17 深圳市道通科技股份有限公司 汽修资源获取方法、云平台及电子设备
CN113448318A (zh) * 2021-07-07 2021-09-28 江铃汽车股份有限公司 一种车辆下线故障诊断控制方法

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10964134B2 (en) 2018-06-05 2021-03-30 Hunter Engineering Company Cloud-based on-demand vehicle diagnostic systems
US11721140B2 (en) 2019-07-01 2023-08-08 Hunter Engineering Company System and method for presentation of remote vehicle diagnostics and service guidance through a local vehicle service system
CN110602702A (zh) * 2019-08-23 2019-12-20 绿驰汽车科技集团有限公司 整车中t-box的功能检测方法及系统
CN110636481B (zh) * 2019-08-31 2024-02-09 广州市中海达测绘仪器有限公司 应用于服务器与低功耗设备的数据交互方法及装置
CN111741074B (zh) * 2020-05-28 2023-06-30 深圳市元征科技股份有限公司 车辆远程诊断方法、系统、车辆连接器及设备连接器
CN111741075A (zh) * 2020-05-28 2020-10-02 深圳市元征科技股份有限公司 通信连接方法、车辆远程连接系统及连接设备
CN111935258A (zh) * 2020-07-30 2020-11-13 南京酷沃智行科技有限公司 一种对电动汽车车载终端进行参数操作的方法和系统
CN112187893B (zh) * 2020-09-16 2024-02-20 新石器慧通(北京)科技有限公司 车辆安全交互方法、装置、车辆和存储介质
CN112286171B (zh) * 2020-11-05 2021-11-16 中国第一汽车股份有限公司 一种远程诊断方法、装置、车辆及存储介质
CN112566071B (zh) * 2020-11-18 2023-12-12 深圳市豪恩汽车电子装备股份有限公司 移动终端、移动终端的信息通讯装置及方法
CN112380045B (zh) * 2020-12-03 2022-09-20 安徽江淮汽车集团股份有限公司 车辆异常检测方法、装置、设备及存储介质
CN112987684B (zh) * 2021-01-28 2022-11-04 浙江合众新能源汽车有限公司 基于Windows通用平台诊断系统
CN113050598B (zh) * 2021-03-15 2022-05-27 中国第一汽车股份有限公司 一种数据获取方法、设备及存储介质
CN113409490A (zh) * 2021-05-26 2021-09-17 上汽通用五菱汽车股份有限公司 一种汽车远程控制功能下线检测系统及检测方法
CN113311816A (zh) * 2021-06-10 2021-08-27 中国第一汽车股份有限公司 一种车辆远程诊断系统及方法
CN113792601B (zh) * 2021-08-10 2024-01-12 武汉光庭信息技术股份有限公司 基于霍夫直线检测结果的车位线拟合方法及系统
CN113625695B (zh) * 2021-08-30 2023-07-04 重庆长安汽车股份有限公司 一种基于安卓服务的车辆实车车控功能诊断方法及系统
CN113741403B (zh) * 2021-09-24 2023-06-30 深圳市元征科技股份有限公司 车辆诊断方法、诊断设备及计算机可读存储介质
US20230419271A1 (en) * 2022-06-24 2023-12-28 Gm Cruise Holdings Llc Routing field support to vehicles for maintenance
CN115291593A (zh) * 2022-10-08 2022-11-04 江铃汽车股份有限公司 一种车辆远程诊断方法、系统、存储介质及设备
CN116366472B (zh) * 2023-04-11 2023-10-13 广东保伦电子股份有限公司 一种减少服务器转发压力的前端控制、服务器转发方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050126A1 (en) * 2005-08-23 2007-03-01 Seong Taeg Nou Vehicle management system and method in telematics system
CN101621735A (zh) * 2009-08-07 2010-01-06 赵阳 基于第三代移动通信的汽车实时信息系统
CN102968112A (zh) * 2012-10-19 2013-03-13 深圳市元征科技股份有限公司 基于汽车诊断设备的专家远程网络视频协助系统及方法
CN103095799A (zh) * 2012-12-05 2013-05-08 北京众智先导科技有限公司 车载诊断数据通信系统
CN104494601A (zh) * 2014-12-18 2015-04-08 清华大学苏州汽车研究院(吴江) 基于obd的驾驶行为分析及驾驶辅助系统

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101082679B1 (ko) * 2005-12-21 2011-11-15 주식회사 현대오토넷 텔레매틱스 시스템을 이용한 차량 원격제어방법
CN101306686A (zh) * 2008-06-03 2008-11-19 奇瑞汽车股份有限公司 汽车远程诊断控制系统
CN101662488B (zh) * 2008-08-29 2013-10-02 比亚迪股份有限公司 一种汽车远程实时监控方法和系统
US8897952B1 (en) * 2011-05-20 2014-11-25 Brian Palmer Vehicle diagnostic communications system and application
US9349223B1 (en) * 2013-04-10 2016-05-24 Brian Palmer System for advertising vehicle information wirelessly
GB201008710D0 (en) * 2010-05-25 2010-07-07 Jaguar Cars Vehicle communications
CN102183945B (zh) * 2011-01-17 2012-11-14 武汉理工大学 一种多功能电控汽车远程故障诊断系统
KR20130049006A (ko) * 2011-11-03 2013-05-13 주식회사 타오스 스마트 단말을 이용한 차량 관리 시스템 및 그 방법
CN103914059B (zh) * 2013-01-09 2017-02-01 上海通用汽车有限公司 一种远程总线诊断方法及其系统
JP6015541B2 (ja) * 2013-04-22 2016-10-26 株式会社デンソー 車両診断システム、サーバ及びコンピュータプログラム
US9571623B2 (en) * 2014-02-20 2017-02-14 Verizon Patent And Licensing Inc. Providing a customized visual interface based on a dialed number
US10146521B2 (en) * 2014-09-09 2018-12-04 Airpro Diagnostics, Llc Device, system and method for updating the software modules of a vehicle
US10109201B2 (en) * 2015-03-20 2018-10-23 Automap, Llc Vehicle monitoring devices, vehicle monitoring management devices, and vehicle monitoring systems
CN205015731U (zh) * 2015-07-13 2016-02-03 北京博曼迪汽车科技有限公司 一种汽车的远程诊断服务设备和远程诊断服务系统
US10142420B2 (en) * 2015-08-25 2018-11-27 Ford Global Technologies, Llc On-board web server telematics systems and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050126A1 (en) * 2005-08-23 2007-03-01 Seong Taeg Nou Vehicle management system and method in telematics system
CN101621735A (zh) * 2009-08-07 2010-01-06 赵阳 基于第三代移动通信的汽车实时信息系统
CN102968112A (zh) * 2012-10-19 2013-03-13 深圳市元征科技股份有限公司 基于汽车诊断设备的专家远程网络视频协助系统及方法
CN103095799A (zh) * 2012-12-05 2013-05-08 北京众智先导科技有限公司 车载诊断数据通信系统
CN104494601A (zh) * 2014-12-18 2015-04-08 清华大学苏州汽车研究院(吴江) 基于obd的驾驶行为分析及驾驶辅助系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113408755A (zh) * 2021-06-16 2021-09-17 深圳市道通科技股份有限公司 汽修资源获取方法、云平台及电子设备
WO2022262582A1 (zh) * 2021-06-16 2022-12-22 深圳市道通科技股份有限公司 汽修资源获取方法、云平台及电子设备
CN113448318A (zh) * 2021-07-07 2021-09-28 江铃汽车股份有限公司 一种车辆下线故障诊断控制方法
CN113448318B (zh) * 2021-07-07 2022-08-16 江铃汽车股份有限公司 一种车辆下线故障诊断控制方法

Also Published As

Publication number Publication date
EP3425878A4 (en) 2019-12-11
KR20180132612A (ko) 2018-12-12
CN109845229A (zh) 2019-06-04
JP2019519825A (ja) 2019-07-11
JP6709582B2 (ja) 2020-06-17
EP3425878B1 (en) 2023-05-03
KR102102770B1 (ko) 2020-04-22
ES2951786T3 (es) 2023-10-24
US20180286146A1 (en) 2018-10-04
EP3425878A1 (en) 2019-01-09
CN109845229B (zh) 2022-02-22
US10748354B2 (en) 2020-08-18

Similar Documents

Publication Publication Date Title
WO2018176258A1 (zh) 汽车远程诊断的通信方法、装置和系统
WO2019194474A1 (ko) 차량을 진단하는 전자 장치 및 방법
WO2018103213A1 (zh) 基于车辆的环境监测方法及系统
WO2015020360A1 (ko) 무선 통신 시스템에서 기기 등록 및 인증을 수행하는 방법 및 장치
WO2012034486A1 (zh) 一种家庭网络中应用终端的软件安装和升级方法及系统
WO2016169390A1 (zh) 应用安全防护方法、终端、存储介质
WO2020133765A1 (zh) 健身管理方法、装置及计算机可读存储介质
WO2012050289A1 (ko) 원격 전원 관리 시스템 및 방법
EP3146441A1 (en) Information providing system and method thereof
WO2015103954A1 (en) Information sharing method, information sharing apparatus, and electronic device
WO2020000637A1 (zh) 基于声音的设备控制方法、装置、设备及存储介质
WO2015106503A1 (zh) 用于停车场控制系统的嵌入式主板及停车场控制系统
WO2016179880A1 (zh) 网络医院平台、专家平台及基于专家平台的紧急专家会诊请求方法
WO2018107641A1 (zh) 车辆检测方法及装置
WO2020119369A1 (zh) 智能it运维故障定位方法、装置、设备及可读存储介质
WO2021000507A1 (zh) 空调温度调节异常的控制方法、空调器及存储介质
WO2021017332A1 (zh) 语音控制报错方法、电器及计算机可读存储介质
WO2018199630A1 (ko) 이미지 캡처를 이용한 통합 모니터링 시스템 및 방법
WO2019114587A1 (zh) 虚拟现实终端的信息处理方法、装置及可读存储介质
WO2019189950A1 (ko) 설비의 원격 진단 방법, 시스템 및 프로그램
WO2021162321A1 (ko) 서버 장치 및 그의 제어 방법
WO2020134788A1 (zh) 空调器的控制方法、空调器及计算机可读存储介质
WO2020134003A1 (zh) 智能电视的输入方法、智能电视、移动终端及存储介质
WO2020186598A1 (zh) 空调系统及其内机冲突的控制方法、终端及可读存储介质
WO2016179878A1 (zh) 网络医院平台、专家平台及紧急专家会诊请求方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20187023986

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018546661

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2017893512

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017893512

Country of ref document: EP

Effective date: 20181002

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17893512

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE