WO2019057188A1 - 汽车远程诊断方法和装置、移动终端、电子设备及服务器 - Google Patents

汽车远程诊断方法和装置、移动终端、电子设备及服务器 Download PDF

Info

Publication number
WO2019057188A1
WO2019057188A1 PCT/CN2018/107232 CN2018107232W WO2019057188A1 WO 2019057188 A1 WO2019057188 A1 WO 2019057188A1 CN 2018107232 W CN2018107232 W CN 2018107232W WO 2019057188 A1 WO2019057188 A1 WO 2019057188A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
diagnostic
action
control terminal
remote
Prior art date
Application number
PCT/CN2018/107232
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 EP18858440.3A priority Critical patent/EP3690579A4/en
Publication of WO2019057188A1 publication Critical patent/WO2019057188A1/zh
Priority to US16/829,559 priority patent/US11615651B2/en

Links

Images

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/006Indicating maintenance
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • 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
    • G07C2205/00Indexing scheme relating to group G07C5/00
    • G07C2205/02Indexing scheme relating to group G07C5/00 using a vehicle scan tool

Definitions

  • the present application relates to the field of automotive diagnostic technology, and in particular, to a remote diagnostic method and apparatus for a vehicle, a mobile terminal, an electronic device, and a server.
  • Automotive diagnostic technology began to exist with the birth of the car, but with the rapid development of automotive technology, the complexity of high-end automotive configuration is gradually increasing, and the professional technical requirements for automotive maintenance and fault diagnosis technicians are getting higher and higher. Diagnostic instruments are more complex and specialized. This not only requires high maintenance funds, but also has higher requirements for professional literacy of employees. High-standard 4S shops, chain repair shops, and high-end cars cannot be widely used, and small and small repair shops are not enough to provide high. A high-quality maintenance and repair work, an effective way to solve this dilemma is to carry out remote diagnosis of the car, through remote assistance to the technical experts in the industry, to diagnose and deal with the fault site at the point.
  • the main object of the present invention is to provide a method and apparatus for remotely diagnosing a vehicle with good scalability, a mobile terminal, an electronic device and a server.
  • an embodiment of the present invention provides a remote diagnosis method for a vehicle, which is applied to a controlled end, and the method includes:
  • the sending a connection request to establish a remote connection with the console includes:
  • the diagnostic action includes a selection action of the diagnostic parameter and an execution action of the diagnostic event; when the diagnostic action is a selection action of the diagnostic parameter, selecting a corresponding diagnostic parameter or option on the user interface; When the diagnostic action is an execution action of the diagnostic event, the diagnostic command corresponding to the execution action of the diagnostic event is sent to the device to be diagnosed.
  • the method further includes:
  • the diagnosis result information is displayed on the user interface.
  • the information of the device to be diagnosed includes diagnostic request data
  • the generating the identifiable data according to the information of the device to be diagnosed includes:
  • the method further includes:
  • the method further includes:
  • control strategy Presetting the control strategy with the control end, the control strategy includes:
  • an embodiment of the present invention provides a remote diagnosis method for a vehicle, which is applied to a control end, and the method includes:
  • the responding to the connection request to establish a remote connection with the console includes:
  • the method further includes:
  • the method further includes:
  • control strategy Presetting a control policy with the controlled end, the control strategy includes:
  • an embodiment of the present invention provides a remote diagnosis method for a vehicle, where the method includes:
  • the method further includes:
  • the method further includes:
  • an embodiment of the present invention provides a remote diagnosis device for a vehicle, which is applied to a controlled end, and the device includes:
  • a first connection unit configured to send a connection request to establish a remote connection with the control end
  • a second connection unit configured to establish a communication connection with the device to be diagnosed
  • An identifiable data generating unit configured to generate identifiable data according to information of the device to be diagnosed
  • a processing unit configured to generate a user interface and protocol data according to the identifiable data, and send the protocol data to the control terminal;
  • an execution unit configured to receive, according to the action data sent by the control terminal according to the protocol data, perform a diagnosis action corresponding to the action data on the user interface to complete diagnosis of the device to be diagnosed.
  • the first connecting unit is specifically configured to:
  • the diagnostic action includes a selection action of a diagnostic parameter and an execution action of the diagnostic event
  • the execution unit is further configured to:
  • the diagnostic action is an execution action of the diagnostic event
  • the diagnostic command corresponding to the execution action of the diagnostic event is sent to the device to be diagnosed.
  • the apparatus further includes:
  • a diagnosis result information receiving unit configured to receive diagnostic result information returned by the device to be diagnosed according to the diagnostic instruction
  • the diagnosis result information display unit is configured to display the diagnosis result information on the user interface.
  • the information of the device to be diagnosed includes diagnostic request data
  • the identifiable data generating unit is specifically configured to:
  • the apparatus further includes:
  • a heartbeat data receiving unit configured to receive heartbeat data sent from the control terminal
  • the heartbeat response data sending unit is configured to send the heartbeat response data to the control terminal according to the heartbeat data.
  • the apparatus further includes:
  • a first preset unit configured to preset a control policy with the control end, where the control strategy includes:
  • an embodiment of the present invention provides a remote diagnosis device for a vehicle, which is applied to a control end, and the device includes:
  • a third connection unit configured to respond to the connection request to establish a remote connection with the controlled end
  • a protocol data receiving unit configured to receive protocol data sent by the control terminal
  • An interface generating unit configured to parse the protocol data, and generate an interface associated with the user interface of the controlled end;
  • the action data sending unit is configured to receive an interface operation instruction, generate action data according to the interface operation instruction, and send the action data to the controlled end.
  • the third connecting unit is specifically configured to:
  • the apparatus further includes:
  • a heartbeat data sending unit configured to send heartbeat data to the controlled end
  • the heartbeat response data receiving unit is configured to receive heartbeat response data sent by the controlled terminal according to the heartbeat data to determine an online state of the controlled end.
  • the apparatus further includes:
  • a second preset unit configured to preset a control policy with the controlled end, where the control policy includes:
  • an embodiment of the present invention provides a remote diagnosis device for a vehicle, where the device includes:
  • connection establishing unit configured to establish a connection with the controlled end and the control end respectively
  • connection request forwarding unit configured to receive a connection request sent by the controlled terminal, and forward the connection request to the control terminal
  • Responding to the connection request forwarding unit configured to receive the response connection request sent by the control terminal according to the connection request, and forward the response connection request to the controlled end;
  • a protocol data forwarding unit configured to receive protocol data sent by the controlled terminal, and forward the protocol data to the control terminal;
  • the action data forwarding unit is configured to receive the action data sent by the control terminal, and forward the action data to the controlled end.
  • the apparatus further includes:
  • a heartbeat data forwarding unit configured to receive heartbeat data sent by the control terminal, and forward the heartbeat data to the controlled end;
  • the heartbeat response data forwarding unit is configured to receive the heartbeat response data sent by the controlled end according to the heartbeat data, and forward the heartbeat response data to the control end.
  • the apparatus further includes:
  • a forwarding unit configured to receive data that is sent by the controlled end and that includes ID information, and forward the data that includes the ID information to the control end;
  • the response information forwarding unit is configured to receive the ID response information sent by the control terminal according to the data that includes the ID information, and forward the ID response information to the controlled end.
  • an embodiment of the present invention provides a mobile terminal, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a vehicle remote diagnostic method as described above.
  • an electronic device including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a vehicle remote diagnostic method as described above.
  • an embodiment of the present invention provides a server, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a vehicle remote diagnostic method as described above.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium, where the computer-readable storage medium stores computer-executable instructions, when executed by a mobile terminal, The mobile terminal performs the vehicle remote diagnosis method as described above.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer-executable instructions, when the computer-executable instructions are executed by an electronic device, The electronic device is caused to perform the vehicle remote diagnosis method as described above.
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer executable instructions, when the computer executable instructions are executed by a server, The server performs the vehicle remote diagnosis method as described above.
  • an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed by the mobile terminal, the mobile terminal is caused to perform the vehicle remote diagnosis method as described above.
  • an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed by the electronic device, the electronic device is caused to perform the vehicle remote diagnosis method as described above.
  • an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed by the server, the server is caused to execute the vehicle remote diagnosis method as described above.
  • the controlled end of the embodiment of the present invention may automatically generate protocol data and send the protocol data to the control end; or the control end may parse the protocol data, and generate and The interface associated with the user interface of the controlled end, then receives the interface operation instruction, and generates action data according to the interface operation instruction and sends the action data to the controlled end; thereby implementing a local diagnosis function on the control end, and implementing the remotely correspondingly Diagnostic function with good scalability.
  • FIG. 1 is a schematic diagram of an application environment of a remote diagnosis method for a vehicle according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an implementation principle of an application of a remote diagnosis method for a vehicle according to an embodiment of the present invention
  • FIG. 3 is a flowchart of remote diagnosis command synchronization according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of a remote diagnosis method for a vehicle according to an embodiment of the present invention.
  • FIG. 5 is a schematic flow chart of a remote diagnosis method for a vehicle according to another embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a bidirectional heartbeat sequence according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of timings of transmitting data response of a controlled end according to an embodiment of the present invention.
  • FIG. 8 is a schematic flow chart of a remote diagnosis method for a vehicle according to another embodiment of the present invention.
  • FIG. 9 is a schematic flow chart of a remote diagnosis method for a vehicle according to another embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a timing sequence of a data transmission response of a control terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic flow chart of a remote diagnosis method for a vehicle according to another embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a remote diagnosis device for a vehicle according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • FIG. 14 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • FIG. 15 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • 16 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • 17 is a schematic structural diagram of hardware of a mobile terminal according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of a server hardware according to an embodiment of the present invention.
  • Embodiments of the present invention provide a remote diagnosis method and device for a vehicle, a mobile terminal, and an electronic device.
  • the remote diagnosis method and device for the automobile, the mobile terminal, and the electronic device can implement a local diagnosis function on the control end, and the corresponding implementation is implemented.
  • Remote diagnostics with good scalability The following is an example of the application environment of the above method.
  • FIG. 1 is a schematic diagram of an application environment of a remote diagnosis method for a vehicle according to an embodiment of the present invention.
  • the application scenario includes: the device to be diagnosed 10, the controlled terminal 20, the remote diagnosis server 30, and the control terminal 40.
  • the controlled terminal 20 refers to a device that is connected to the device to be diagnosed 10 (such as connected to a car) during remote diagnosis, and is controlled by the control terminal 40; the control terminal 40 refers to performing control during remote diagnosis. And instructions on how to operate the device.
  • the device to be diagnosed 10 is connected to the controlled terminal 20, and the controlled terminal 20, the server 30 and the control terminal 40 are connected through a network, and the controlled terminal 20 is remotely connected to the control terminal 40.
  • the controlled terminal 20 can read and parse the fault information in the device to be diagnosed 10, and send the parsed information to the control terminal 40 through the remote diagnostic server 30, and the control terminal 40 generates a diagnosis.
  • the action information is sent to the controlled terminal 20 through the remote diagnostic server 30, and the controlled terminal 20 performs a diagnostic action corresponding to the diagnostic action information to perform diagnosis on the device to be diagnosed 10.
  • the remote diagnostic server 30 is primarily used for forwarding information and storing data.
  • the controlled terminal 20 includes: a device application software, a diagnostic protocol package, and a lower computer module.
  • the lower computer module refers to an intermediate device connected to the device to be diagnosed 10, such as a vehicle communication interface device (VCI device), for reading data from the device to be diagnosed 10 and performing the device to be diagnosed 10 Diagnosing;
  • the diagnostic protocol package is a set of control commands for parsing the read fault information, generating data identifiable by the device application software, and generating protocol data according to the identifiable data; and the controlled end device application software displaying the diagnosis
  • the data interface transmits data to the control terminal 40 and responds to the action of the control terminal 40.
  • FIG. 2 is a schematic diagram of an implementation principle of an application of a remote diagnosis method for a vehicle according to an embodiment of the present invention.
  • the implementation principle mainly includes:
  • the connection request is sent by the controlled terminal 20, and the control terminal 40 responds to the connection request to establish a remote connection between the controlled terminal 20 and the control terminal 40.
  • the process of establishing a remote connection may include: the controlled terminal 20 sends a remote diagnosis request; the remote diagnosis request is sent to the control terminal 40 through the relay of the remote diagnosis server 30; The remote diagnosis request is sent, and the remote diagnosis response data is transmitted, and the remote diagnosis response data is transmitted to the controlled terminal 20 through the relay of the remote diagnosis server 30. Thereby, the controlled terminal 20 and the control terminal 40 are remotely connected.
  • the controlled terminal 20 reads the fault code in the device to be diagnosed 10 and generates identifiable data.
  • the lower computer module of the controlled terminal 20 receives the diagnostic request data sent from the device to be diagnosed 10, and the lower computer module sends a read fault code command to the device to be diagnosed 10 according to the diagnostic request data.
  • the fault code is read and sent to the diagnostic software protocol package of the controlled terminal 20, the diagnostic software protocol package parses the fault code and generates identifiable data.
  • the fault code refers to a code defined for each fault in the electronic control unit ECU (Electronic Control Unit) of the automobile.
  • the identifiable data is data that can be identified by upper layer software (such as device application software).
  • the sending the read fault code command and the reading the fault code may be implemented by the lower computer module communicating with the on-board diagnostic system OBD (On-Board Diagnostic) interface. Moreover, the lower computer module and the diagnostic software protocol package are connected and communicated by wired communication or wireless communication, such as a USB connection or a Bluetooth connection.
  • OBD On-Board Diagnostic
  • the controlled terminal 20 generates a user interface and protocol data according to the identifiable data, and forwards the protocol data to the control terminal 40 through the remote diagnostic server 30.
  • the protocol data may be JSON (Java Script Object Notation) protocol data.
  • Json is a data format based on Internet transmission.
  • JSON is a lightweight data exchange format. It is based on a subset of ECMAScript (the js specification developed by w3c) that stores and represents data in a text format that is completely independent of the programming language.
  • JSON is an ideal data exchange language due to the clean and clear hierarchy of JSON. JSON is easy to read and write, and is easy to be parsed and generated by machines, and effectively improves network transmission efficiency.
  • the specific process of generating the user interface and the JSON protocol data is that the diagnostic protocol package generates a user interface according to the identifiable data, which is convenient for the user to display; and automatically generates a JSON software framework to generate JSON protocol data. And, the controlled terminal 20 transmits the JSON protocol data to the remote diagnostic server 30 by establishing a TCP/IP connection with the remote diagnostic server 30.
  • the remote diagnostic server 30 receives the JSON protocol data sent from the controlled terminal 20, and sends the JSON protocol data to the control terminal 40. For backup of data, the remote diagnostic server 30 can also store JSON protocol data.
  • the remote diagnosis server 30 can be developed for C++, and has the functions of fast speed response, strong business processing capability, storage and forwarding data, and device management.
  • the remote diagnostic server 30 sends a JSON protocol data to the control terminal 40 by establishing a TCP/IP connection with the control terminal 40.
  • the control terminal 40 receives and parses the protocol data and generates an interface associated with the user interface of the controlled terminal. Specifically, after receiving the JSON protocol data, the control terminal 40 automatically parses through the JSON software framework, and generates a synchronized interface associated with the user interface of the controlled end by using a reflection technology. Reflection technology is a technique in the programming language. Knowing the file and function names, you can run the corresponding logic. Therefore, a synchronized interface can be produced by reflection technology.
  • the control terminal 40 receives an interface operation instruction, and generates action data according to the interface operation instruction, and sends the action data to the controlled terminal 20.
  • the user terminal operates the interface of the control terminal 40, and the control terminal 40 receives an interface operation instruction, and generates JSON action data according to the interface operation instruction, and generates JSON action data through the remote diagnosis server 30. Sent to the controlled end.
  • the controlled terminal 20 receives the action data, and sends a diagnostic command to the device to be diagnosed 10 according to the action data, and performs corresponding to the action data on the user interface of the controlled terminal 20.
  • a diagnostic action is performed to diagnose the device to be diagnosed 10. Specifically, after receiving the JSON action data, the controlled terminal 20 executes a corresponding file, a corresponding function, and performs a corresponding diagnostic action by the diagnostic command to diagnose the device to be diagnosed 10. This achieves a synchronous operation of the diagnostic action of the control terminal 40 at the controlled terminal 20.
  • the diagnostic action includes a selection action of the diagnostic parameter and an execution action of the diagnostic event; when the diagnostic action is a selection action of the diagnostic parameter, selecting a corresponding diagnostic parameter or option on the user interface; When the action is performed as a diagnostic event, a diagnostic command corresponding to the execution action of the diagnostic event is sent to the device to be diagnosed.
  • the controlled terminal 20 receives the diagnosis result information returned by the device to be diagnosed 10 according to the diagnosis instruction, and displays the diagnosis result information on the user interface to visually display the diagnosis result.
  • the control terminal 40 after receiving the JSON protocol data, the control terminal 40 automatically parses through the JSON software framework, and generates a corresponding synchronization interface by using a reflection technology; when the control terminal 40 receives the interface operation instruction, and according to The interface operation instruction generates JSON action data, and sends the generated JSON action data to the controlled terminal 20 through the remote diagnosis server 30; after receiving the JSON action data, the controlled terminal 20 performs the reflection technology. Corresponding file, corresponding function. Therefore, the effect of interface synchronization and motion synchronization can be stably achieved. At the same time, the scalability is improved by the reflection technique, and the following is explained in detail by the command synchronization flowchart.
  • the remote diagnosis command synchronization process mainly includes: the controlled terminal 20 sends a connection request, and after the remote diagnosis server 30 transits, the control terminal 40 responds to the connection request after receiving the connection request, and then transits through the remote diagnosis server 30, and the controlled terminal 20 receives the control.
  • the terminal 40 responds to the connection request to establish a remote connection with the console.
  • the controlled terminal 20 enters the car selection interface of the user interface, so that the user selects the currently diagnosed car system, determines the car system and enters the controlled user interface, and the JSON interface data is forwarded to the control terminal 40 through the remote diagnosis server 30. .
  • control is given to the control terminal 40.
  • the control terminal 40 generates an interface identical to the controlled terminal 20. If the control terminal 40 clicks to read the fault code, the click event is sent to the controlled terminal 20 through the remote diagnostic server 30, and the controlled terminal 20 executes the corresponding logic to read from the device to be diagnosed 10 through the lower computer module.
  • the fault code and the fault code are parsed by the diagnostic protocol package, and the device application software of the controlled terminal 20 regenerates the JSON page data, and forwards it to the control terminal 40 through the remote diagnosis server 30, so that the control terminal 40 sees the detailed fault code list. , the maintenance end 20 is given maintenance suggestions and/or the next diagnostic function.
  • the device to be diagnosed 10 may be an automobile, for example, a passenger car, a commercial vehicle, etc.; the controlled terminal 20 includes a diagnostic host and a lower computer module, and the lower computer may be A separate device can also be integrated into the diagnostic host.
  • the diagnostic host can be various mobile terminals, for example, a car diagnostic device, a laptop computer, a tablet computer, a smart phone, etc.; the lower computer can be a vehicle communication interface device such as a J2534 ECU, an OBD connector, a car Bluetooth connection box, etc.; the remote diagnosis server 30 It can be a traditional server or a cloud server or the like; the control terminal 40 can be an electronic device such as a car diagnostic device, a desktop computer, a laptop computer, a tablet computer, a smart phone, or the like.
  • the diagnostic software protocol package may be on the control terminal 40, and the controlled terminal 20 may also have no diagnostic protocol packet, and the controlled terminal 20 directly reads the fault code from the device to be diagnosed 10 It is transmitted to the control terminal 40, and the control terminal 40 processes the fault code.
  • the controlled terminal 20 may automatically generate protocol data and send it to the control terminal 40; the control terminal 40 may parse the protocol data and generate an interface associated with the user interface of the controlled terminal 20, Then, the interface operation instruction is received, and the action data is generated and sent to the controlled terminal 20 according to the interface operation instruction. Therefore, the addition of a local diagnosis function at the control terminal 40 realizes the remote diagnosis function correspondingly, achieves the effect of interface synchronization and motion synchronization, and has good expandability.
  • FIG. 4 is a schematic flow chart of a remote diagnosis method for a vehicle according to an embodiment of the present invention.
  • One embodiment of the present invention provides a remote diagnosis method for a vehicle applied to a controlled end, which can be executed by the controlled terminal 20 of FIG.
  • a controlled end which can be executed by the controlled terminal 20 of FIG.
  • the controlled terminal 20 of FIG. For example, car diagnostics, laptops, tablets, smartphones, etc.
  • the method includes:
  • the controlled terminal sends a connection request to establish a remote connection with the control terminal.
  • Remote connection means that the controlled end is connected to the control terminal through a network, for example, via the Internet or a local area network.
  • the control terminal can control the controlled terminal, and the control terminal can operate the controlled terminal in real time.
  • the controlled end can establish a communication connection with the device to be diagnosed through the OBD interface.
  • the controlled end generates identifiable data according to the information of the device to be diagnosed.
  • the identifiable data refers to data that can be recognized by the upper layer software.
  • the software can include upper software and lower software.
  • the upper layer software (interface, application, etc.) mainly provides human-computer interaction and technical support
  • the lower layer software (embedded, driver, etc.) mainly provides execution functions and feedback functions.
  • the device to be diagnosed may be a car or the like, and the information of the device to be diagnosed includes a vehicle type, a vehicle, a vehicle identification number (VIN), and the like, and includes diagnostic request data and a diagnosis result sent by the device to be diagnosed. data.
  • the information of the device to be diagnosed may be sent to the controlled end by the device to be diagnosed, or may be information manually input by the controlled end user, such as a car system, model information, and the like.
  • the controlled terminal generates a user interface and protocol data according to the identifiable data, and sends the protocol data to the control terminal.
  • a protocol is an abbreviation of a network protocol, which is a set of conventions that both parties to a communication computer must comply with. For example, how to establish a connection, how to recognize each other, and so on. Only by obeying this convention can computers communicate with each other.
  • This set of rules is called a protocol, and it is ultimately embodied in the format of the data packets transmitted over the network, that is, the protocol data.
  • the protocol data may be JSON protocol data. JSON is a lightweight data format for Internet transmission.
  • the specific process of generating the user interface and the JSON protocol data is that the controlled end generates a user interface according to the identifiable data, which is convenient for the user to display; and automatically generates a JSON software framework to generate JSON protocol data. And, the JSON protocol data is transferred to the control terminal by the remote diagnosis server.
  • the controlled terminal receives the action data, wherein the action data refers to data generated according to the action, and the action data may be JSON action data.
  • the corresponding file the corresponding function is executed, and the corresponding diagnostic action is performed by the diagnostic command to diagnose the device to be diagnosed.
  • the reflection technique refers to a technique in the programming language. Knowing the file and function names, the corresponding logic can be run. The synchronization of the interface and the action of the controlled end and the control end can be ensured by the reflection technique.
  • control terminal is performing a "tick” action
  • the controlled terminal is also "checked” in synchronization
  • the control terminal clicks "read fault code”
  • the controlled terminal also clicks "read fault code” and sends it to the device to be diagnosed. "Read Fault Code” command.
  • the vehicle remote diagnosis method provided by the embodiment of the invention is applied to the controlled end, and the controlled end can automatically generate protocol data and send it to the control end. If a new function is added, after the interface is developed, there is no need to redefine the protocol data, and each The meaning of the field, the controlled end does not need to re-process the data, re-parse the data, can achieve the effect of interface synchronization, motion synchronization, and has good scalability.
  • FIG. 5 is a schematic flowchart diagram of a remote diagnosis method for a vehicle according to another embodiment of the present invention.
  • a remote diagnosis method for a vehicle according to another embodiment of the present invention is applied to a controlled terminal, which can be executed by the controlled terminal 20 in FIG.
  • a controlled terminal for example, car diagnostics, laptops, tablets, smartphones, etc.
  • the method includes:
  • the controlled terminal sends a connection request to establish a remote connection with the control terminal.
  • the method includes: sending a remote diagnosis request to the control terminal; receiving remote diagnosis response data sent by the control terminal according to the remote diagnosis request; and establishing a remote connection with the control terminal according to the remote diagnosis response data.
  • 503 Generate identifiable data according to information of the device to be diagnosed.
  • the controlled end generates identifiable data according to the information of the device to be diagnosed.
  • the information of the device to be diagnosed includes diagnostic request data.
  • the method further includes: sending a read fault code command to the device to be diagnosed according to the diagnosis request data, reading and translating the fault code, and generating identifiable data.
  • 504 Generate user interface and protocol data according to the identifiable data, and send the protocol data to the control end.
  • the controlled terminal generates a user interface and protocol data according to the identifiable data, and sends the protocol data to the control terminal.
  • the protocol data may be JSON protocol data.
  • the specific process of generating the user interface and the JSON protocol data is that the controlled end generates a user interface according to the identifiable data, which is convenient for the user to display; and automatically generates a JSON software framework to generate JSON protocol data. And, the JSON protocol data is transferred to the control terminal by the remote diagnosis server.
  • the controlled terminal receives the action data, wherein the action data refers to data generated according to the action, and the action data may be JSON action data.
  • the corresponding file the corresponding function is executed, and the corresponding diagnostic action is performed by the diagnostic command to diagnose the device to be diagnosed.
  • the reflection technique refers to a technique in the programming language. Knowing the file and function names, the corresponding logic can be run. The synchronization of the interface and the action of the controlled end and the control end can be ensured by the reflection technique.
  • the diagnostic action includes a selection action of the diagnostic parameter and an execution action of the diagnostic event; when the diagnostic action is a selection action of the diagnostic parameter, selecting a corresponding diagnostic parameter or option on the user interface; When the action is performed as a diagnostic event, a diagnostic command corresponding to the execution action of the diagnostic event is sent to the device to be diagnosed.
  • the vehicle remote diagnosis method further includes:
  • the diagnosis result information is displayed on the user interface of the controlled end to visually display the result of the diagnosis.
  • the controlled terminal receives heartbeat data sent from the control terminal.
  • the heartbeat data sends a small data packet to the other party of the interconnection at intervals, and determines whether the communication link between the two sides of the interconnection has been disconnected by the response of the other party.
  • 509 Send heartbeat response data to the control end according to the heartbeat data.
  • the controlled end sends the heartbeat response data to the control end according to the heartbeat data.
  • FIG. 6 is a schematic diagram of the bidirectional heartbeat timing.
  • the control terminal sends the heartbeat data 00A to the remote diagnosis server. If the remote diagnosis server returns the data 00B, it represents the control terminal online; the remote diagnosis server forwards the heartbeat data 00A to the controlled terminal, and the controlled terminal returns the heartbeat response data 00C to the control terminal. If the control terminal receives the heartbeat response data 00C, it means that the controlled terminal is also online. Therefore, it is possible to monitor whether the controlled end and the control end are online at any time, and if there is a disconnection, prompt and reconnect in time to continue the remote diagnosis.
  • the data sent and received by the controlled end and the control end in the two-way heartbeat may be exchanged, that is, the controlled end sends the heartbeat data 00A to the remote diagnostic server, if the remote diagnostic server returns The data 00B represents the controlled end in the line; the remote diagnostic server forwards the heartbeat data 00A to the control end, and the control end returns the heartbeat response data 00C to the controlled end. If the controlled end receives the heartbeat response data 00C, it represents the control end. Also online.
  • the controlled end may preset a control policy with the control end.
  • the control policy includes: transmitting data containing the ID information to the control terminal, and if receiving the ID response information sent by the control terminal, transmitting the next data containing the ID information to the control terminal.
  • the ID information may be randomly generated.
  • FIG. 7 is a schematic diagram of timing of sending data response for the controlled end.
  • the steps 506-510 may not be mandatory steps in different embodiments, and in addition, those skilled in the art may understand that, according to the description of the embodiments of the present invention, In different embodiments, the steps 501-510 may have different execution orders.
  • the vehicle remote diagnosis method provided by the embodiment of the invention is applied to the controlled end, and the controlled end can automatically generate protocol data and send it to the control end. If a new function is added, after the interface is developed, there is no need to redefine the protocol data, and each The meaning of the field, the controlled end does not need to re-process the data, re-parse the data, can achieve the effect of interface synchronization, motion synchronization, and has good scalability. Moreover, by receiving the heartbeat data and transmitting the heartbeat response data, and carrying the ID in each of the transmitted data, the online state of the controlled end or the control end can be monitored at any time, and the data is accurately transmitted to the control end without losing data, thereby ensuring The safety of car remote diagnosis avoids car diagnostic safety accidents.
  • FIG. 8 is a schematic flowchart diagram of a remote diagnosis method for a vehicle according to another embodiment of the present invention.
  • a vehicle remote diagnosis method according to another embodiment of the present invention is applied to a control terminal, which can be executed by the control terminal 40 in FIG.
  • a control terminal which can be executed by the control terminal 40 in FIG.
  • car diagnostics desktop computers, laptops, tablets, smartphones, etc.
  • the method includes:
  • the control terminal responds to the connection request to establish a remote connection with the controlled terminal.
  • the controlled end and the control end are connected through a network.
  • the control terminal can control the controlled terminal, and the control terminal can operate the controlled terminal in real time.
  • the control terminal receives the protocol data sent from the control terminal.
  • the protocol data may be JSON protocol data.
  • JSON is a lightweight data format for Internet transmission. It is easy to read and write, easy to parse and generate, and improve network transmission efficiency.
  • control end parses the protocol data and generates an interface associated with the user interface of the controlled end. Specifically, after receiving the JSON protocol data, the control end automatically parses through the JSON software framework, and generates an interface associated with the user interface of the controlled end by using a reflection technology.
  • the control end receives the interface operation instruction, and generates action data according to the interface operation instruction, and sends the action data to the controlled end.
  • the control terminal receives the interface operation instruction, generates JSON action data according to the interface operation instruction, and sends the generated JSON action data to the Controlled end.
  • the vehicle remote diagnosis method provided by the embodiment of the present invention is applied to a control end, and the control end may parse the protocol data, generate an interface associated with the user interface of the controlled end, and then receive an interface operation instruction, and according to the interface The operation instruction generates action data and sends it to the controlled end. Therefore, a local diagnostic function is added on the control end, and the remote diagnosis function is realized correspondingly, and the effect of interface synchronization and motion synchronization is achieved, and the scalability is good.
  • FIG. 9 is a schematic flowchart diagram of a remote diagnosis method for a vehicle according to an embodiment of the present invention.
  • a vehicle remote diagnosis method according to an embodiment of the present invention is applied to a control terminal, and can be executed by the control terminal 40 in FIG.
  • the control terminal 40 for example, car diagnostics, desktop computers, laptops, tablets, smartphones, etc.
  • the method includes:
  • the control terminal responds to the connection request to establish a remote connection with the controlled terminal.
  • the method includes: receiving a remote diagnosis request sent from the controlled terminal; transmitting, according to the remote diagnosis request, remote diagnosis response data to the controlled terminal; and establishing, according to the remote diagnosis response data, the controlled end Remote Connection.
  • the control terminal receives the protocol data sent from the control terminal.
  • the protocol data may be JSON protocol data.
  • the control end receives the interface operation instruction, and generates action data according to the interface operation instruction, and sends the action data to the controlled end.
  • the control terminal receives the interface operation instruction, generates JSON action data according to the interface operation instruction, and sends the generated JSON action data to the Controlled end.
  • the vehicle remote diagnosis method further includes:
  • the control end sends heartbeat data to the controlled end.
  • the heartbeat data sends a small data packet to the other party of the interconnection at intervals, and determines whether the communication link between the two sides of the interconnection has been disconnected by the response of the other party.
  • control end receives the heartbeat response data sent by the controlled end according to the heartbeat data to determine the online state of the controlled end.
  • the controlled end transmits the heartbeat data and receives the heartbeat response data to monitor whether the controlled end and the control end are online at any time.
  • the data sent and received by the controlled end and the control end in the two-way heartbeat may be exchanged, that is, the controlled end sends the heartbeat data 00A to the remote diagnostic server, if the remote diagnostic server returns The data 00B represents the controlled end in the line; the remote diagnostic server forwards the heartbeat data 00A to the control end, and the control end returns the heartbeat response data 00C to the controlled end. If the controlled end receives the heartbeat response data 00C, it represents the control end. Also online.
  • control end may preset a control policy with the controlled end.
  • the control policy includes: transmitting data containing ID information to the controlled terminal, and if receiving ID response information sent from the controlled terminal, transmitting the next data containing the ID information to the controlled end.
  • the ID information may be randomly generated.
  • FIG. 10 is a schematic diagram of timing of sending data response for the control terminal.
  • the steps 905-907 may not be mandatory steps in different embodiments, and in addition, those skilled in the art may understand that, according to the description of the embodiments of the present invention, In different embodiments, the steps 901-907 may have different execution orders.
  • the vehicle remote diagnosis method provided by the embodiment of the present invention is applied to a control end, and the control end may parse the protocol data, generate an interface associated with the user interface of the controlled end, and then receive an interface operation instruction, and according to the interface
  • the operation instruction generates action data and sends it to the controlled end. Therefore, a local diagnostic function is added on the control end, and the remote diagnosis function is realized correspondingly, and the effect of interface synchronization and motion synchronization is achieved, and the scalability is good.
  • the online state of the controlled end or the control end can be monitored at any time to ensure that the data is accurately sent to the controlled end without losing data. To ensure the safety of remote diagnosis of vehicles and to avoid car accidents.
  • FIG. 11 is a schematic flow chart of a remote diagnosis method for a vehicle according to another embodiment of the present invention.
  • An automobile remote diagnosis method provided by one embodiment of the present invention is applied to a server, which can be executed by the remote diagnosis server 30 in FIG.
  • a server which can be executed by the remote diagnosis server 30 in FIG.
  • a traditional server or a cloud server for example, a traditional server or a cloud server.
  • the method includes:
  • the server establishes a communication connection with the controlled end and the control end to implement data transfer.
  • Step 113 Receive, by the control terminal, a response connection request sent according to the connection request, and forward the response connection request to the controlled terminal.
  • connection request and the response connection request are relayed by the server to implement remote connection between the controlled end and the control end.
  • the protocol data and the action data are transferred by the server, so that a local diagnosis function is added on the control end, and the remote diagnosis function is implemented accordingly, so that the diagnosis has good scalability.
  • the method further includes:
  • the heartbeat data and the heartbeat response data are relayed by the server to monitor whether the controlled terminal and the control terminal are online.
  • the receiving the control end forwards the ID response information to the controlled end according to the ID response information sent by the data that includes the ID information.
  • the protocol data and the action data are transferred by the server, so that a local diagnosis function is added on the control end, and the remote diagnosis function is implemented accordingly, so that the diagnosis has good scalability.
  • FIG. 12 is a schematic diagram of a remote diagnosis device for a vehicle according to an embodiment of the present invention.
  • One embodiment of the present invention provides a remote diagnosis device for a vehicle applied to a controlled end, which can be executed by the controlled terminal 20 of FIG.
  • the controlled end may be a car diagnostic device, a laptop computer, a tablet computer, a smart phone, or the like.
  • the apparatus 120 includes:
  • the first connection unit 121 is configured to send a connection request to establish a remote connection with the control end.
  • the second connection unit 122 is configured to establish a communication connection with the device to be diagnosed.
  • the identifiable data generating unit 123 is configured to generate identifiable data according to the information of the device to be diagnosed.
  • the identifiable data generating unit 123 generates identifiable data according to the information of the device to be diagnosed.
  • the identifiable data refers to data that can be recognized by the upper layer software.
  • the software can include upper software and lower software.
  • the upper layer software interface, application, etc.
  • the lower layer software mainly provides execution functions and feedback functions.
  • the processing unit 124 is configured to generate a user interface and protocol data according to the identifiable data, and send the protocol data to the control end.
  • the processing unit 124 generates a user interface and protocol data according to the identifiable data, and sends the protocol data to the control terminal.
  • the protocol data may be JSON protocol data.
  • JSON is a lightweight data format for Internet transmission. It is easy to read and write, easy to parse and generate, and improve network transmission efficiency.
  • the processing unit 124 generates a user interface to facilitate intuitive display to the user; at the same time, the processing unit 124 automatically generates a JSON software framework to generate JSON protocol data. And, the processing unit 124 transfers the JSON protocol data to the control terminal through the remote diagnosis server.
  • the executing unit 125 is configured to receive the action data sent by the control terminal according to the protocol data, and perform a diagnosis action corresponding to the action data on the user interface to complete diagnosis of the device to be diagnosed.
  • the execution unit 125 receives the action data, wherein the action data refers to data generated according to the action, and the action data may be JSON action data. And through the reflection technology, the corresponding file, the corresponding function is executed, and the corresponding diagnostic action is performed by the diagnostic command to diagnose the device to be diagnosed.
  • the reflection technique refers to a technique in the programming language. Knowing the file and function names, the corresponding logic can be run. The synchronization of the interface and the action of the controlled end and the control end can be ensured by the reflection technique.
  • the vehicle remote diagnosis device 120 can execute the vehicle remote diagnosis method applied to the controlled end provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the vehicle remote diagnostic device 120 can execute the vehicle remote diagnosis method applied to the controlled end provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 13 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • Another embodiment of the present invention provides a remote diagnosis device for a vehicle applied to a controlled end, which can be executed by the controlled terminal 20 of FIG.
  • the controlled end may be a car diagnostic device, a laptop computer, a tablet computer, a smart phone, or the like.
  • the apparatus 130 includes:
  • the first connection unit 131 is configured to send a connection request to establish a remote connection with the control end.
  • the first connection unit 131 is specifically configured to: send a remote diagnosis request to the control terminal; receive remote diagnosis response data sent by the control terminal according to the remote diagnosis request; according to the remote diagnosis response Data, establishing a remote connection with the console.
  • the second connection unit 132 is configured to establish a communication connection with the device to be diagnosed.
  • the identifiable data generating unit 133 is configured to generate identifiable data according to the information of the device to be diagnosed.
  • the identifiable data generating unit 133 generates identifiable data according to the information of the device to be diagnosed.
  • the information of the device to be diagnosed includes diagnostic request data.
  • the identifiable data generating unit 133 is specifically configured to: according to the diagnosis request data, send a read fault code command to the device to be diagnosed, read and translate the fault code, and generate identifiable data.
  • the processing unit 134 is configured to generate a user interface and protocol data according to the identifiable data, and send the protocol data to the control end.
  • the processing unit 134 generates a user interface and protocol data according to the identifiable data, and sends the protocol data to the control terminal.
  • the protocol data may be JSON protocol data.
  • the processing unit 134 generates a user interface for facilitating intuitive display to the user; at the same time, the processing unit 134 automatically generates a JSON software framework to generate JSON protocol data. And, the JSON protocol data is transferred to the control terminal by the remote diagnosis server.
  • the executing unit 135 is configured to receive the action data sent by the control terminal according to the protocol data, and perform a diagnosis action corresponding to the action data on the user interface to complete diagnosis of the device to be diagnosed.
  • the execution unit 135 receives the action data, wherein the action data refers to data generated according to the action, and the action data may be JSON action data. And through the reflection technology, the corresponding file, the corresponding function is executed, and the corresponding diagnostic action is performed by the diagnostic command to diagnose the device to be diagnosed.
  • the reflection technique refers to a technique in the programming language. Knowing the file and function names, the corresponding logic can be run. The synchronization of the interface and the action of the controlled end and the control end can be ensured by the reflection technique.
  • the diagnostic action includes a selection action of the diagnostic parameter and an execution action of the diagnostic event.
  • the executing unit 135 is further configured to: when the diagnostic action is a selection action of the diagnostic parameter, select a corresponding diagnostic parameter or option on the user interface; when the diagnostic action is an execution action of the diagnostic event, The diagnostic command corresponding to the execution action of the diagnostic event is sent to the device to be diagnosed.
  • the vehicle remote diagnosis device 130 further includes:
  • the diagnosis result information receiving unit 136 is configured to receive the diagnosis result information returned by the device to be diagnosed according to the diagnosis instruction.
  • the diagnosis result information display unit 137 is configured to display the diagnosis result information on the user interface.
  • the heartbeat data receiving unit 138 is configured to receive heartbeat data sent from the control terminal.
  • the heartbeat data receiving unit 138 receives the heartbeat data sent from the control terminal.
  • the heartbeat data sends a small data packet to the other party of the interconnection at intervals, and determines whether the communication link between the two sides of the interconnection has been disconnected by the response of the other party.
  • the heartbeat response data sending unit 139 is configured to send heartbeat response data to the control terminal according to the heartbeat data.
  • the heartbeat response data transmitting unit 139 sends the heartbeat response data to the control terminal according to the heartbeat data.
  • the heartbeat data is received by the heartbeat data receiving unit 138, and the heartbeat response data transmitting unit 139 sends the heartbeat response data.
  • the controlled terminal and the control terminal can be monitored at any time. If not, the prompt can be promptly reconnected to continue the remote diagnosis.
  • the first preset unit 1310 is configured to preset a control policy with the control terminal.
  • the first preset unit 1310 may preset a control policy with the control terminal.
  • the control policy includes: transmitting data containing the ID information to the control terminal, and if receiving the ID response information sent by the control terminal, transmitting the next data containing the ID information to the control terminal.
  • the ID information can be randomly generated. Through the control strategy, data can be guaranteed to be accurate and not lost, and sent to the control end in an orderly manner.
  • the vehicle remote diagnosis device 130 can perform the vehicle remote diagnosis method applied to the controlled end provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the vehicle remote diagnosis device 130 can perform the vehicle remote diagnosis method applied to the controlled end provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 14 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • Another embodiment of the present invention provides a vehicle remote diagnosis device applied to a control terminal, which can be executed by the control terminal 40 of FIG.
  • the control terminal may be a car diagnostic device, a desktop computer, a laptop computer, a tablet computer, a smart phone, or the like.
  • the apparatus 140 includes:
  • the third connection unit 141 is configured to respond to the connection request to establish a remote connection with the controlled end.
  • the protocol data receiving unit 142 is configured to receive protocol data sent by the control terminal.
  • the protocol data receiving unit 142 receives the protocol data sent from the control terminal.
  • the protocol data may be JSON protocol data.
  • JSON is a lightweight data format for Internet transmission. It is easy to read and write, easy to parse and generate, and improve network transmission efficiency.
  • the interface generating unit 143 is configured to parse the protocol data, and generate an interface associated with the user interface of the controlled end.
  • the interface generating unit 143 parses the protocol data and generates an interface associated with the user interface of the controlled end. Specifically, after receiving the JSON protocol data, the interface generating unit 143 automatically parses through the JSON software framework, and generates an interface associated with the user interface of the controlled end by using a reflection technology.
  • the action data sending unit 144 is configured to receive an interface operation instruction, generate action data according to the interface operation instruction, and send the action data to the controlled end.
  • the action data sending unit 144 receives the interface operation instruction, and generates action data according to the interface operation instruction, and sends the action data to the controlled end.
  • the user operates the interface of the control terminal, the action data sending unit 144 receives the interface operation instruction, generates JSON action data according to the interface operation instruction, and sends the generated JSON action data through the remote diagnosis server. To the controlled end.
  • the vehicle remote diagnosis device 140 can execute the vehicle remote diagnosis method applied to the control end provided by the embodiment of the present invention, and has a function module and a beneficial effect corresponding to the execution method.
  • the remote diagnosis method for a vehicle applied to the control terminal provided by the embodiment of the present invention can execute the vehicle remote diagnosis method applied to the control end provided by the embodiment of the present invention, and has a function module and a beneficial effect corresponding to the execution method.
  • FIG. 15 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • Another embodiment of the present invention provides a vehicle remote diagnosis device applied to a control terminal, which can be executed by the control terminal 40 of FIG.
  • the control terminal may be a car diagnostic device, a desktop computer, a laptop computer, a tablet computer, a smart phone, or the like.
  • the apparatus 150 includes:
  • the third connection unit 151 is configured to respond to the connection request to establish a remote connection with the controlled end.
  • the second connection unit 151 is specifically configured to: receive a remote diagnosis request sent from the controlled end; and send remote diagnosis response data to the controlled end according to the remote diagnosis request; Establishing a remote connection with the controlled end based on the remote diagnostic response data.
  • the protocol data receiving unit 152 is configured to receive protocol data sent by the control terminal.
  • the protocol data receiving unit 152 receives the protocol data sent from the control terminal.
  • the protocol data may be JSON protocol data.
  • the interface generating unit 153 is configured to parse the protocol data, and generate an interface associated with the user interface of the controlled end.
  • the action data sending unit 154 is configured to receive an interface operation instruction, generate action data according to the interface operation instruction, and send the action data to the controlled end.
  • the action data sending unit 154 receives the interface operation instruction, and generates action data according to the interface operation instruction, and sends the action data to the controlled end.
  • the user operates the interface of the control terminal, the action data sending unit 154 receives the interface operation instruction, generates JSON action data according to the interface operation instruction, and sends the generated JSON action data through the remote diagnosis server. To the controlled end.
  • the device 150 further includes:
  • the heartbeat data sending unit 155 is configured to send heartbeat data to the controlled terminal.
  • the heartbeat data transmitting unit 155 sends heartbeat data to the controlled terminal.
  • the heartbeat data sends a small data packet to the other party of the interconnection at intervals, and determines whether the communication link between the two sides of the interconnection has been disconnected by the response of the other party.
  • the heartbeat response data receiving unit 156 is configured to receive heartbeat response data sent by the controlled terminal according to the heartbeat data to determine an online state of the controlled terminal.
  • the heartbeat data sending unit 155 sends the heartbeat data
  • the heartbeat response data receiving unit 156 receives the heartbeat response data, and can monitor whether the controlled end and the control end are online at any time. If not, the prompt can be promptly reconnected. , continue remote diagnosis.
  • the second preset unit 157 is configured to preset a control policy with the controlled end.
  • the second preset unit 157 may preset a control policy with the controlled terminal.
  • the control policy includes: transmitting data containing ID information to the controlled terminal, and if receiving ID response information sent from the controlled terminal, transmitting the next data containing the ID information to the controlled end.
  • the ID information may be randomly generated. Through the control strategy, data can be guaranteed to be accurate and not lost, and sent to the controlled terminal in an orderly manner.
  • the vehicle remote diagnosis device 150 can execute the vehicle remote diagnosis method applied to the control end provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the remote diagnosis method for a vehicle applied to the control terminal provided by the embodiment of the present invention can execute the vehicle remote diagnosis method applied to the control end provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 16 is a schematic diagram of a remote diagnosis device for a vehicle according to another embodiment of the present invention.
  • Another embodiment of the present invention provides a vehicle remote diagnosis device applied to a server, which can be executed by the remote diagnosis server 30 of FIG.
  • a server for example, a traditional server or a cloud server.
  • the apparatus includes:
  • connection establishing unit 161 is configured to establish a connection with the controlled end and the control end respectively.
  • connection request forwarding unit 162 is configured to receive a connection request sent by the controlled terminal, and forward the connection request to the control end.
  • the response connection request forwarding unit 163 is configured to receive the response connection request sent by the control terminal according to the connection request, and forward the response connection request to the controlled terminal.
  • connection request forwarding unit 162 relays the connection request and the response connection request forwarding unit 163 transfers the response connection request to implement remote connection between the controlled end and the control end.
  • the protocol data forwarding unit 164 is configured to receive protocol data sent by the controlled terminal, and forward the protocol data to the control terminal.
  • the action data forwarding unit 165 is configured to receive action data sent by the control terminal, and forward the action data to the controlled end.
  • the protocol data forwarding unit 164 transfers the protocol data and the action data forwarding unit 165 to transfer the action data, so that a local diagnosis function is added on the control end, and the remote diagnosis function is implemented accordingly, so that the diagnosis has good scalability.
  • the device further includes:
  • the heartbeat data forwarding unit 166 is configured to receive heartbeat data sent by the control terminal, and forward the heartbeat data to the controlled end;
  • the heartbeat response data forwarding unit 167 is configured to receive the heartbeat response data sent by the controlled terminal according to the heartbeat data, and forward the heartbeat response data to the control terminal.
  • the heartbeat data forwarding unit 166 relays the heartbeat data and the heartbeat response data forwarding unit 167 to transfer the heartbeat response data to monitor whether the controlled terminal and the control terminal are online.
  • the forwarding unit 168 is configured to receive data that is sent by the controlled end and that includes ID information, and forward the data that includes the ID information to the control end;
  • the response information forwarding unit 169 is configured to receive the ID response information sent by the control terminal according to the data that includes the ID information, and forward the ID response information to the controlled end.
  • the vehicle remote diagnosis device 160 can execute the vehicle remote diagnosis method applied to the server provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the vehicle remote diagnosis method applied to the server provided by the embodiment of the present invention can execute the vehicle remote diagnosis method applied to the server provided by the embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 17, the mobile terminal 170 includes:
  • processors 171 and memory 172 one processor 171 is taken as an example in FIG.
  • the processor 171 and the memory 172 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 172 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as embodied in a remote diagnosis method for a vehicle controlled by the present invention.
  • Program instruction/unit for example, the first connection unit 131, the second connection unit 132, the identifiable data generation unit 133, the processing unit 134, the execution unit 135, the diagnosis result information receiving unit 136, and the diagnosis result shown in FIG.
  • the processor 171 performs various functional applications and data processing of the mobile terminal by executing non-volatile software programs, instructions, and units stored in the memory 172, that is, implementing the vehicle remote diagnosis method of the method embodiment.
  • the memory 172 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the mobile terminal, and the like. Further, the memory 172 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the memory 172 can optionally include a memory remotely located relative to the processor 171 that can be connected to the mobile terminal over a network. Embodiments of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the one or more units are stored in the memory 172, and when executed by the one or more processors 171, performing a remote diagnosis method for a vehicle provided by the embodiment of the present invention, for example, performing the above
  • the method steps 401 to 405 in FIG. 4, or the method steps 501 to 510 in FIG. 5, implement the functions of the units 121-125 in FIG. 12, or the functions of the units 131-1310 in FIG.
  • the mobile terminal can execute the vehicle remote diagnosis method applied to the controlled end provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • a remote diagnosis method for a vehicle applied to a controlled end according to an embodiment of the present invention.
  • An embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is When the mobile terminal is executed, the mobile terminal is configured to perform a remote diagnosis method for a vehicle applied to the controlled terminal provided by the embodiment of the present invention. For example, performing the method steps 401 to 405 in FIG. 4 described above, or the method steps 501 to 510 in FIG. 5, implementing the functions of the units 121-125 in FIG. 12, or the units 131-1310 in FIG. The function.
  • the embodiment of the present invention provides a non-transitory computer-readable storage medium, where the computer-readable storage medium is stored with computer-executable instructions for causing a terminal to execute an application provided by an embodiment of the present invention.
  • Vehicle remote diagnosis method at the controlled end For example, performing the method steps 401 to 405 in FIG. 4 described above, or the method steps 501 to 510 in FIG. 5, implementing the functions of the units 121-125 in FIG. 12, or the units 131-1310 in FIG. The function.
  • the mobile terminal of the embodiment of the present application may exist in various forms, including but not limited to:
  • Mobile communication equipment This type of equipment is characterized by its compact size and portability. It can be installed with multiple applications and implement various functions through the application program, such as remote diagnosis of the vehicle.
  • Such terminals may include: smart phones, multimedia phones, functional phones, and the like.
  • Ultra-mobile personal computer devices These devices belong to the category of personal computers, and screens can be installed with various applications even larger than mobile phones.
  • Such terminals include: PDAs, MIDs, and UMPC devices.
  • FIG. 18 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention. As shown in FIG. 18, the electronic device 180 includes:
  • One or more processors 181 and memory 182, one processor 181 is taken as an example in FIG.
  • the processor 181 and the memory 182 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 182 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a vehicle remote diagnosis method applied to a control terminal provided by the implementation of the present invention.
  • Corresponding program instructions/units for example, the third connection unit 151, the protocol data receiving unit 152, the interface generation unit 153, the action data transmitting unit 154, the heartbeat data transmitting unit 155, and the heartbeat response data receiving unit 156 shown in FIG. And a second preset unit 157).
  • the processor 181 performs various functional applications and data processing of the electronic device by executing non-volatile software programs, instructions, and units stored in the memory 182, that is, implementing the vehicle remote diagnosis method of the method embodiment.
  • the memory 182 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like. Further, the memory 182 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 182 can optionally include memory remotely located relative to processor 181, which can be connected to the electronic device over a network. Embodiments of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the one or more units are stored in the memory 182, and when executed by the one or more processors 181, the remote diagnosis method for the vehicle applied to the control end provided by the embodiment of the present invention is performed, for example, the above description is performed.
  • the method steps 801 to 804 in FIG. 8, or the method steps 901 to 907 in FIG. 9, implement the functions of the units 141-144 in FIG. 13, or the functions of the units 151-157 in FIG.
  • the electronic device can execute the remote diagnosis method for a vehicle applied to the control end provided by the embodiment of the present invention, and has a function module and a beneficial effect corresponding to the execution method.
  • a technical detail that is not described in detail in the embodiment of the electronic device, reference may be made to the method for remote diagnosis of a vehicle applied to the control terminal provided by the embodiment of the present invention.
  • An embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is When the electronic device is executed, the electronic device is configured to perform a remote diagnosis method for a vehicle applied to the control terminal provided by the embodiment of the present invention. For example, performing the method steps 801 to 804 in FIG. 8 described above, or the method steps 901 to 907 in FIG. 9, implementing the functions of the units 141-144 in FIG. 13, or the units 151-157 in FIG. The function.
  • the embodiment of the present invention provides a non-transitory computer-readable storage medium, where the computer-readable storage medium is stored with computer-executable instructions for causing a terminal to execute an application provided by an embodiment of the present invention.
  • Vehicle remote diagnosis method on the control side For example, performing the method steps 801 to 804 in FIG. 8 described above, or the method steps 901 to 907 in FIG. 9, implementing the functions of the units 141-144 in FIG. 13, or the units 151-157 in FIG. The function.
  • the electronic device of the embodiment of the present application may exist in various forms, including but not limited to:
  • Mobile communication equipment This type of equipment is characterized by its compact size and portability. It can be installed with multiple applications and implement various functions through the application program, such as remote diagnosis of the vehicle.
  • Such terminals may include: smart phones, multimedia phones, functional phones, and the like.
  • Ultra-mobile personal computer devices These devices belong to the category of personal computers, and screens can be installed with various applications even larger than mobile phones.
  • Such terminals include: PDAs, MIDs, and UMPC devices.
  • FIG. 19 is a schematic structural diagram of a server hardware according to an embodiment of the present invention. As shown in FIG. 19, the server 190 includes:
  • processors 191 and memory 192, one processor 191 is taken as an example in FIG.
  • the processor 191 and the memory 192 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 192 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a vehicle remote diagnosis method applied to a server provided by the implementation of the present invention.
  • Corresponding program instructions/units for example, the connection establishing unit 161, the connection request forwarding unit 162, the response connection request forwarding unit 163, the protocol data forwarding unit 164, the action data forwarding unit 165, and the heartbeat data forwarding unit 166 shown in FIG.
  • the heartbeat response data forwarding unit 167, the forwarding unit 168, and the response information forwarding unit 169 The processor 191 performs various functional applications of the server and data processing by executing non-volatile software programs, instructions, and units stored in the memory 192, that is, implementing the vehicle remote diagnosis method of the method embodiment.
  • the memory 192 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to server usage, and the like. Further, the memory 192 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 182 can optionally include memory remotely located relative to processor 191, which can be connected to the server over a network. Embodiments of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the one or more units are stored in the memory 192, and when executed by the one or more processors 191, perform a remote diagnosis method for a vehicle applied to a server provided by an embodiment of the present invention, for example, performing the above description.
  • the method steps 111 to 119 in Fig. 11 implement the functions of the units 161-169 in Fig. 16.
  • the server can execute the vehicle remote diagnosis method applied to the server provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • a remote diagnosis method for a vehicle applied to a server according to an embodiment of the present invention for a technical detail that is not described in detail in the server embodiment, reference may be made to a remote diagnosis method for a vehicle applied to a server according to an embodiment of the present invention.
  • An embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is When the server is executed, the server is caused to execute the vehicle remote diagnosis method applied to the server provided by the embodiment of the present invention. For example, performing the method steps 111 to 119 in Fig. 11 described above, the functions of the units 161-169 in Fig. 16 are implemented.
  • the embodiment of the present invention provides a non-transitory computer-readable storage medium, where the computer-readable storage medium is stored with computer-executable instructions for causing a terminal to execute an application provided by an embodiment of the present invention.
  • Remote diagnosis method for the car of the server For example, performing the method steps 111 to 119 in Fig. 11 described above, the functions of the units 161-169 in Fig. 16 are implemented.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical. Units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware.
  • One of ordinary skill in the art can understand that all or part of the process of implementing the embodiment method can be completed by computer program related hardware, the program can be stored in a computer readable storage medium, and the program is executed.
  • the flow of an embodiment of the methods as described may be included.
  • the storage medium may be a read-only memory (ROM) or a random access memory (RAM).

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

一种汽车远程诊断方法和装置、移动终端、电子设备及服务器(30),汽车远程诊断的受控端(20)可以自动生成协议数据并发送给控制端(40);或者,汽车远程诊断的控制端(40)可以解析协议数据,并生成与受控端(20)的用户界面相关联的界面,然后接收界面操作指令,并根据界面操作指令,生成动作数据并发送给受控端(20);从而实现在控制端(40)添加一个本地诊断功能,就相应地实现远程诊断功能,具有良好的扩展性。

Description

汽车远程诊断方法和装置、移动终端、电子设备及服务器
本申请要求于2017年09月25日提交中国专利局、申请号为201710876993.2、申请名称为“汽车远程诊断方法和装置、移动终端、电子设备及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及汽车诊断技术领域,尤其涉及一种汽车远程诊断方法和装置、移动终端、电子设备及服务器。
背景技术
汽车诊断技术随着汽车诞生就开始存在,但是随着汽车技术发展越来越快、汽车配置高端化复杂化程度逐渐攀升,对汽车维修和故障诊断技术人员的专业技术要求越来越高,汽车诊断仪器更加复杂、专业化更强。这不仅对维修资金要求甚高,对从业人员专业素养的要求越来越高,高标准的4S店、连锁维修店、高级车会无法高密度普及,而良莠不齐的小型维修店又不足以提供高质量高水准的维护修理工作,解决这一困境的有效方式就是进行汽车远程诊断,通过远程求助于该行业的技术专家,对不定点的故障现场进行诊断和处理。
目前汽车远程诊断中各个界面和动作控制,大部分都是基于预先已定义好的一套协议数据。此种技术的缺点在于,如果添加新的功能,在开发完界面后,还需要重新定义协议数据,定义各个字段的意义,控制端和受控端都需要重新处理收发数据,重新解析数据,并运行相应的逻辑。从而使得汽车远程诊断的诊断功能单一,只能进行简单的同步和控制,不能把所有的动作从控制端同步到受控端,扩展性差。
发明内容
本发明的主要目的在于提供一种扩展性良好的汽车远程诊断方法和装置、移动终端、电子设备及服务器。
本发明实施例公开了如下技术方案:
第一方面,本发明实施例提供了一种汽车远程诊断方法,应用于受控端,所述方法包括:
发送连接请求,以建立与控制端的远程连接;
建立与待诊断设备之间的通信连接;
根据待诊断设备的信息生成可识别数据;
根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端;
接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执 行与所述动作数据相对应的诊断动作,以完成对所述待诊断设备的诊断。
在一些实施例中,所述发送连接请求,以建立与所述控制端的远程连接,包括:
发送远程诊断请求至控制端;
接收所述控制端根据所述远程诊断请求发送的远程诊断响应数据;
根据所述远程诊断响应数据,建立与所述控制端的远程连接。
在一些实施例中,所述诊断动作包括诊断参数的选择动作和诊断事件的执行动作;当所述诊断动作为诊断参数的选择动作时,在所述用户界面上选择相应的诊断参数或选项;当所述诊断动作为诊断事件的执行动作时,将诊断事件的执行动作对应的诊断指令发送至待诊断设备。
在一些实施例中,所述方法还包括:
接收待诊断设备根据所述诊断指令而返回的诊断结果信息;
在用户界面上显示所述诊断结果信息。
在一些实施例中,所述待诊断设备的信息包括诊断请求数据;
所述根据待诊断设备的信息生成可识别数据,包括:
根据所述诊断请求数据,发送读故障码指令至待诊断设备,读取并翻译故障码,生成可识别数据。
在一些实施例中,所述方法还包括:
接收来自所述控制端发送的心跳数据;
根据所述心跳数据,发送心跳响应数据至所述控制端。
在一些实施例中,所述方法还包括:
预设与所述控制端的控制策略,所述控制策略包括:
发送包含有ID信息的数据至所述控制端,如果接收到来自所述控制端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述控制端。
第二方面,本发明实施例提供了一种汽车远程诊断方法,应用于控制端,所述方法包括:
响应连接请求,以建立与受控端的远程连接;
接收来自所述控制端发送的协议数据;
解析所述协议数据,并生成与所述受控端的用户界面相关联的界面;
接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。
在一些实施例中,所述响应连接请求,以建立与所述控制端的远程连接,包括:
接收来自所述受控端发送的远程诊断请求;
根据所述远程诊断请求,发送远程诊断响应数据至所述受控端;
根据所述远程诊断响应数据,建立与所述受控端的远程连接。
在一些实施例中,所述方法还包括:
发送心跳数据至所述受控端;
接收来自所述受控端根据所述心跳数据发送的心跳响应数据,以判断所述受控端的在线状态。
在一些实施例中,所述方法还包括:
预设与所述受控端的控制策略,所述控制策略包括:
发送包含有ID信息的数据至所述受控端,如果接收到来自所述受控端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述受控端。
第三方面,本发明实施例提供了一种汽车远程诊断方法,所述方法包括:
分别与受控端及控制端建立连接;
接收所述受控端发送的连接请求,将所述连接请求转发至所述控制端;
接收所述控制端根据所述连接请求发送的响应连接请求,将所述响应连接请求转发至所述受控端;
接收所述受控端发送的协议数据,将所述协议数据转发至所述控制端;
接收所述控制端发送的动作数据,将所述动作数据转发至所述受控端。
在一些实施例中,所述方法还包括:
接收所述控制端发送的心跳数据,将所述心跳数据转发至所述受控端;
接收所述受控端根据所述心跳数据发送的心跳响应数据,将所述心跳响应数据转发至所述控制端。
在一些实施例中,所述方法还包括:
接收所述受控端发送的包含有ID信息的数据,将所述包含有ID信息的数据转发至所述控制端;
接收所述控制端根据所述包含有ID信息的数据发送的ID响应信息,将所述ID响应信息转发至所述受控端。
第四方面,本发明实施例提供了一种汽车远程诊断装置,应用于受控端,所述装置包括:
第一连接单元,用于发送连接请求,以建立与控制端的远程连接;
第二连接单元,用于建立与待诊断设备之间的通信连接;
可识别数据生成单元,用于根据待诊断设备的信息生成可识别数据;
处理单元,用于根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端;
执行单元,用于接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执行与所述动作数据相对应的诊断动作,以完成对所述待诊断设 备的诊断。
在一些实施例中,所述第一连接单元具体用于:
发送远程诊断请求至控制端;
接收所述控制端根据所述远程诊断请求发送的远程诊断响应数据;
根据所述远程诊断响应数据,建立与所述控制端的远程连接。
在一些实施例中,所述诊断动作包括诊断参数的选择动作和诊断事件的执行动作;
所述执行单元还用于:
当所述诊断动作为诊断参数的选择动作时,在所述用户界面上选择相应的诊断参数或选项;
当所述诊断动作为诊断事件的执行动作时,将诊断事件的执行动作对应的诊断指令发送至待诊断设备。
在一些实施例中,所述装置还包括:
诊断结果信息接收单元,用于接收待诊断设备根据所述诊断指令而返回的诊断结果信息;
诊断结果信息显示单元,用于在用户界面上显示所述诊断结果信息。
在一些实施例中,所述待诊断设备的信息包括诊断请求数据;
所述可识别数据生成单元具体用于:
根据所述诊断请求数据,发送读故障码指令至待诊断设备,读取并翻译故障码,生成可识别数据。
在一些实施例中,所述装置还包括:
心跳数据接收单元,用于接收来自所述控制端发送的心跳数据;
心跳响应数据发送单元,用于根据所述心跳数据,发送心跳响应数据至所述控制端。
在一些实施例中,所述装置还包括:
第一预设单元,用于预设与所述控制端的控制策略,所述控制策略包括:
发送包含有ID信息的数据至所述控制端,如果接收到来自所述控制端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述控制端。
第五方面,本发明实施例提供了一种汽车远程诊断装置,应用于控制端,所述装置包括:
第三连接单元,用于响应连接请求,以建立与受控端的远程连接;
协议数据接收单元,用于接收来自所述控制端发送的协议数据;
界面生成单元,用于解析所述协议数据,并生成与所述受控端的用户界面相关联的界面;
动作数据发送单元,用于接收界面操作指令,并根据所述界面操作指令, 生成动作数据,并将所述动作数据发送至所述受控端。
在一些实施例中,所述第三连接单元具体用于:
接收来自所述受控端发送的远程诊断请求;
根据所述远程诊断请求,发送远程诊断响应数据至所述受控端;
根据所述远程诊断响应数据,建立与所述受控端的远程连接。
在一些实施例中,所述装置还包括:
心跳数据发送单元,用于发送心跳数据至所述受控端;
心跳响应数据接收单元,用于接收来自所述受控端根据所述心跳数据发送的心跳响应数据,以判断所述受控端的在线状态。
在一些实施例中,所述装置还包括:
第二预设单元,用于预设与所述受控端的控制策略,所述控制策略包括:
发送包含有ID信息的数据至所述受控端,如果接收到来自所述受控端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述受控端。
第五方面,本发明实施例提供了一种汽车远程诊断装置,所述装置包括:
连接建立单元,用于与受控端及控制端分别建立连接;
连接请求转发单元,用于接收所述受控端发送的连接请求,将所述连接请求转发至所述控制端;
响应连接请求转发单元,用于接收所述控制端根据所述连接请求发送的响应连接请求,将所述响应连接请求转发至所述受控端;
协议数据转发单元,用于接收所述受控端发送的协议数据,将所述协议数据转发至所述控制端;
动作数据转发单元,用于接收所述控制端发送的动作数据,将所述动作数据转发至所述受控端。
在一些实施例中,所述装置还包括:
心跳数据转发单元,用于接收所述控制端发送的心跳数据,将所述心跳数据转发至所述受控端;
心跳响应数据转发单元,用于接收所述受控端根据所述心跳数据发送的心跳响应数据,将所述心跳响应数据转发至所述控制端。
在一些实施例中,所述装置还包括:
转发单元,用于接收所述受控端发送的包含有ID信息的数据,将所述包含有ID信息的数据转发至所述控制端;
响应信息转发单元,用于接收所述控制端根据所述包含有ID信息的数据发送的ID响应信息,将所述ID响应信息转发至所述受控端。
第七方面,本发明实施例提供了一种移动终端,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的汽车远程诊断方法。
第八方面,本发明实施例提供了一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的汽车远程诊断方法。
第九方面,本发明实施例提供了一种服务器,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的汽车远程诊断方法。
第十方面,本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令被移动终端执行时,使所述移动终端执行如上所述的汽车远程诊断方法。
第十一方面,本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令被电子设备执行时,使所述电子设备执行如上所述的汽车远程诊断方法。
第十二方面,本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令被服务器执行时,使所述服务器执行如上所述的汽车远程诊断方法。
第十三方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被移动终端执行时,使所述移动终端执行如上所述的汽车远程诊断方法。
第十四方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被电子设备执行时,使所述电子设备执行如上所述的汽车远程诊断方法。
第十五方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被服务器执行时,使所述服务器执行如上所述的汽车远程诊断方法。
本发明实施例的有益效果是:与现有技术相比较,本发明实施例受控端可以自动生成协议数据并发送给控制端;或者,控制端可以解析所述协议数据,并生成与所述受控端的用户界面相关联的界面,然后接收界面操作指令,并根据所述界面操作指令,生成动作数据并发送给受控端;从而实现在控制端添加一个本地诊断功能,就相应地实现远程诊断功能,具有良好的扩展性。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是本发明实施例提供的汽车远程诊断方法的应用环境的示意图;
图2是本发明实施例提供的汽车远程诊断方法的应用的实现原理的示意图;
图3是本发明实施例提供的远程诊断命令同步流程图;
图4是本发明其中一实施例提供的一种汽车远程诊断方法的流程示意图;
图5是本发明另一实施例提供的一种汽车远程诊断方法的流程示意图;
图6是本发明实施例提供的双向心跳时序示意图;
图7是本发明实施例提供的受控端发送数据响应时序示意图;
图8是本发明另一实施例提供的一种汽车远程诊断方法的流程示意图;
图9是本发明另一实施例提供的一种汽车远程诊断方法的流程示意图;
图10是本发明实施例提供的控制端发送数据响应时序示意图;
图11是本发明另一实施例提供的一种汽车远程诊断方法的流程示意图;
图12是本发明其中一实施例提供的一种汽车远程诊断装置的示意图;
图13是本发明另一实施例提供的一种汽车远程诊断装置的示意图;
图14是本发明另一实施例提供的一种汽车远程诊断装置的示意图;
图15是本发明另一实施例提供的一种汽车远程诊断装置的示意图;
图16是本发明另一实施例提供的一种汽车远程诊断装置的示意图;
图17是本发明实施例提供的移动终端硬件结构示意图;
图18是本发明实施例提供的电子设备硬件结构示意图;
图19是本发明实施例提供的服务器硬件结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。
本发明实施例提供了一种汽车远程诊断方法和装置、移动终端及电子设备,所述汽车远程诊断方法和装置、移动终端及电子设备可以实现在控制端添加一个本地诊断功能,就相应地实现远程诊断功能,具有良好的扩展性。以下举例说明上述方法的应用环境。
请参阅图1,为本发明实施例提供的汽车远程诊断方法的应用环境的示意图。其中,应用场景中包括:待诊断设备10、受控端20、远程诊断服务器30及控制端40。所述受控端20是指在远程诊断过程中,与待诊断设备10连接(如与汽车连接),被控制端40控制的设备;所述控制端40是指在远程诊断过程中,实施控制和指引具体如何操作的设备。待诊断设备10与所述受控端20连接,受控端20、服务器30及控制端40之间通过网络连接,并且,所述受控端20与所述控制端40为远程连接。所述受控端20可读取及解析所述待诊断设备10中的故障信息,并将解析后的信息通过所述远程诊断服务器30发送给所述控制端40,所述控制端40生成诊断动作信息并通过所述远程诊断服务器30发送给所述受控端20,所述受控端20便执行与所述诊断动作信息相应的诊断动作,对所述待诊断设备10进行诊断。在一些实施例中,所述远程诊断服务器30主要用于信息的转发及数据的存储。
其中,所述受控端20包括:设备应用软件、诊断协议包及下位机模块。所述下位机模块是指连接所述待诊断设备10的一个中间设备,如车辆通讯接口设备(VCI设备),用于从所述待诊断设备10读取数据及对所述待诊断设备10进行诊断;所述诊断协议包是一套控制命令,用于解析读取的故障信息, 并生成设备应用软件可识别的数据,以及根据可识别的数据生成协议数据;受控端设备应用软件显示诊断数据界面,向所述控制端40发送数据及响应所述控制端40的动作。
请参阅图2,为本发明实施例提供的汽车远程诊断方法的应用的实现原理的示意图。所述实现原理主要包括:
1、通过所述受控端20发送连接请求,以及所述控制端40响应连接请求,建立所述受控端20与所述控制端40的远程连接。建立远程连接的过程具体可以包括:所述受控端20发送远程诊断请求;所述远程诊断请求经过所述远程诊断服务器30的中转,发送至所述控制端40;所述控制端40根据所述远程诊断请求,发送远程诊断响应数据,所述远程诊断响应数据经过所述远程诊断服务器30的中转,发送至所述受控端20。由此,所述受控端20与所述控制端40实现远程连接。
2、所述受控端20读取所述待诊断设备10中的故障码,并生成可识别数据。具体的,所述受控端20的下位机模块接收来自待诊断设备10发送的诊断请求数据,所述下位机模块根据所述诊断请求数据,发送读故障码指令至所述待诊断设备10以及读取故障码,并将所述读取故障码发送给所述受控端20的诊断软件协议包,所述诊断软件协议包解析故障码,并生成可识别的数据。所述故障码是指汽车的电子控制单元ECU(Electronic Control Unit)里面针对每种故障定义的一种编码。所述可识别数据为上层软件(如设备应用软件)可以识别的数据。其中,所述发送读故障码指令以及读取故障码可以通过所述下位机模块与车载诊断***OBD(On-Board Diagnostic)接口通信实现。并且,所述下位机模块与所述诊断软件协议包通过有线通信或无线通信实现连接及通信,如USB连接或者蓝牙连接。
3、根据所述可识别数据,所述受控端20生成用户界面及协议数据,并将所述协议数据通过所述远程诊断服务器30转发至所述控制端40。所述协议数据可以为JSON(Java Script Object Notation)协议数据。Json为基于互联网传输的一种数据格式。JSON是一种轻量级的数据交换格式。它基于ECMAScript(w3c制定的js规范)的一个子集,采用完全独立于编程语言的文本格式来存储和表示数据。由于JSON简洁和清晰的层次结构,使得JSON成为理想的数据交换语言。JSON易于被人阅读和编写,同时也易于被机器解析和生成,并有效地提升网络传输效率。生成用户界面及JSON协议数据的具体过程为所述诊断协议包根据所述可识别数据,生成用户界面,便于直观的为用户展示;同时自动生成JSON软件框架,生成JSON协议数据。并且,所述受控端20通过和所述远程诊断服务器30建立TCP/IP连接,将JSON协议数据发送到所述远程诊断服务器30。
4、所述远程诊断服务器30接收来自所述受控端20发送的JSON协议数据, 并将JSON协议数据发送至所述控制端40。为了数据的备份,所述远程诊断服务器30还可以将JSON协议数据进行储存。所述远程诊断服务器30可以为C++开发,其速度响应快、业务处理能力强、具有存储及转发数据、设备管理等功能。所述远程诊断服务器30通过和控制端40建立TCP/IP连接,将JSON协议数据发送到所述控制端40。
5、所述控制端40接收并解析所述协议数据,并生成与所述受控端的用户界面相关联的界面。具体的,所述控制端40收到JSON协议数据后,通过JSON软件框架,自动解析,并通过反射技术生成与所述受控端的用户界面相关联的同步的界面。反射技术为程序语言中的一个技术,知道文件和函数名称,就可以运行相应的逻辑。因此,通过反射技术可以生产同步的界面。
6、所述控制端40接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端20。具体的,通过用户操作所述控制端40的界面,所述控制端40接收界面操作指令,并根据所述界面操作指令,生成JSON动作数据,并将生成JSON动作数据通过所述远程诊断服务器30发送至所述受控端。
7、所述受控端20接收动作数据,并根据所述动作数据,发送诊断命令至所述待诊断设备10,在所述受控端20的用户界面上执行与所述动作数据相对应的诊断动作,对所述待诊断设备10进行诊断。具体的,所述受控端20收到JSON动作数据后,执行对应文件,对应的函数,并通过诊断命令执行相应的诊断动作对所述待诊断设备10进行诊断。这实现了所述控制端40的诊断动作在所述受控端20的同步操作。其中,所述诊断动作包括诊断参数的选择动作和诊断事件的执行动作;当所述诊断动作为诊断参数的选择动作时,在所述用户界面上选择相应的诊断参数或选项;当所述诊断动作为诊断事件的执行动作时,将诊断事件的执行动作对应的诊断指令发送至待诊断设备。
8、所述受控端20接收待诊断设备10根据所述诊断指令而返回的诊断结果信息,并在用户界面上显示所述诊断结果信息,以便直观的展示诊断结果。
在本发明实施例中,所述控制端40收到JSON协议数据后,通过JSON软件框架,自动解析,并通过反射技术生成相应的同步界面;当所述控制端40接收界面操作指令,并根据所述界面操作指令,生成JSON动作数据,并将生成JSON动作数据通过所述远程诊断服务器30发送至所述受控端20;所述受控端20接收JSON动作数据后,通过反射技术,执行对应文件,对应的函数。从而能够稳定达到界面同步、动作同步的效果。同时,通过反射技术提高扩展性,以下通过命令同步流程图进行详细说明。
请参阅图3,为远程诊断命令同步流程图。远程诊断命令同步流程主要包括:受控端20发送连接请求,经远程诊断服务器30中转,控制端40收到连接请求后响应连接请求,再经远程诊断服务器30中转,受控端20收到控制端 40的响应连接请求,以建立与控制端的远程连接。建立远程连接后,受控端20进入用户界面的选车界面以便用户选择当前诊断的车系,确定车系后进入被控制的用户界面,JSON界面数据通过远程诊断服务器30中转发送给控制端40。这时候控制权全权交给控制端40。控制端40生成与受控端20完全一样的界面。控制端40如单击读取故障码,会通过远程诊断服务器30中转把单击事件发送给受控端20,受控端20执行相应的逻辑,通过下位机模块从待诊断设备10中读取故障码,故障码经由诊断协议包解析,受控端20的设备应用软件再生成JSON页面数据,通过远程诊断服务器30中转发送给控制端40,这样控制端40就会看到详细的故障码列表,对受控端20给出维修建议和/或下一步的诊断功能。
需要说明的是,在本发明实施例中,所述待诊断设备10可以为汽车,例如,乘用车、商用车等;所述受控端20包括诊断主机和下位机模块,下位机可以是独立的装置,也可以集成在诊断主机中。诊断主机可以为各种移动终端,例如,汽车诊断仪、手提电脑、平板电脑、智能手机等;下位机可以是J2534ECU、OBD接头、汽车蓝牙连接盒等车辆通讯接口设备;所述远程诊断服务器30可以为传统服务器或云服务器等;所述控制端40可以为电子设备,例如,汽车诊断仪、台式计算机、手提电脑、平板电脑、智能手机等。
还需要说明的是,在一些其它实施例中,诊断软件协议包可以在控制端40,受控端20也可以无诊断协议包,受控端20从待诊断设备10中读取的故障码直接传给控制端40,控制端40对故障码进行处理。
在本发明实施例中,受控端20可以自动生成协议数据并发送给控制端40;控制端40可以解析所述协议数据,并生成与所述受控端20的用户界面相关联的界面,然后接收界面操作指令,并根据所述界面操作指令,生成动作数据并发送给受控端20。从而实现在控制端40添加一个本地诊断功能,就相应地实现远程诊断功能,达到界面同步、动作同步的效果,并且具有良好的扩展性。
图4为本发明其中一实施例提供的一种汽车远程诊断方法的流程示意图。本发明其中一实施例提供的一种汽车远程诊断方法应用于受控端,可由图1中的受控端20执行。例如,汽车诊断仪、手提电脑、平板电脑、智能手机等。
参照图4,所述方法包括:
401:发送连接请求,以建立与控制端的远程连接。
在本发明实施例中,受控端发送连接请求,以建立与控制端的远程连接。远程连接是指所述受控端与所述控制端通过网络连接在一起,例如,通过因特网或局域网。通过建立远程连接,所述控制端可以控制所述受控端,控制端可以实时的操作受控端。
402:建立与待诊断设备之间的通信连接。
在本发明实施例中,受控端可以通过OBD接口与待诊断设备建立通信连接。
403:根据待诊断设备的信息生成可识别数据。
在本发明实施例中,受控端根据待诊断设备的信息生成可识别数据。所述可识别数据是指上层软件可以识别的数据。从软件开发的角度来看,软件可以包括上层软件和底层软件。上层软件(界面、应用等)主要提供人机交互和技术支持,下层软件(嵌入式、驱动等)主要提供执行功能和反馈功能。其中,所述待诊断设备可以为汽车等,所述待诊断设备的信息包括车型、车系、车辆识别码(Vehicle Identification Number,VIN)等,也包括待诊断设备发送的诊断请求数据及诊断结果数据。所述待诊断设备的信息可以是待诊断设备发送至所述受控端的,也可以是受控端用户手动输入的信息,如车系、车型信息等。
404:根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。
在本发明实施例中,受控端根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。协议是网络协议的简称,网络协议是通信计算机双方必须共同遵从的一组约定。例如,怎么样建立连接、怎么样互相识别等。只有遵守这个约定,计算机之间才能相互通信交流。为了使数据在网络上从源到达目的,网络通信的参与方必须遵循相同的规则,这套规则称为协议,它最终体现为在网络上传输的数据包的格式,也即协议数据。所述协议数据可以为JSON协议数据。JSON为互联网传输的一种轻量级的数据格式,具有易于被人阅读和编写、易于被机器解析和生成、提升网络传输效率的特点。生成用户界面及JSON协议数据的具体过程为所述受控端根据所述可识别数据,生成用户界面,便于直观的为用户展示;同时自动生成JSON软件框架,生成JSON协议数据。并且,JSON协议数据通过所述远程诊断服务器中转,发送至控制端。
405:接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执行与所述动作数据相对应的诊断动作,以完成对所述待诊断设备的诊断。
在本发明实施例中,受控端接收动作数据,其中,所述动作数据是指根据动作生成的数据,所述动作数据可以是JSON动作数据。并通过反射技术,执行对应文件,对应的函数,并通过诊断命令执行相应的诊断动作对所述待诊断设备进行诊断。所述反射技术是指程序语言中的一个技术,知道文件和函数名称,就可以运行相应的逻辑。通过反射技术可以保证所述受控端和所述控制端的界面及动作的同步。例如,控制端在进行“勾选”动作,受控端也在同步“勾选”,控制端点击“读故障码”,受控端也同步点击“读故障码”,并向待诊断 设备发送“读故障码”命令。
需要说明的是,本发明实施例中所述步骤401-405中未详尽描述的技术细节,可参考上述实施例的具体描述。
本发明实施例提供的汽车远程诊断方法应用于受控端,受控端可以自动生成协议数据并发送给控制端,如果添加新的功能,在开发完界面后,无需重新定义协议数据,定义各个字段的意义,受控端无需重新处理收发数据,重新解析数据,能达到界面同步、动作同步的效果,并且具有良好的扩展性。
图5为本发明另一实施例提供的一种汽车远程诊断方法的流程示意图。本发明另一实施例提供的一种汽车远程诊断方法应用于受控端,可由图1中的受控端20执行。例如,汽车诊断仪、手提电脑、平板电脑、智能手机等。
参照图5,所述方法包括:
501:发送连接请求,以建立与控制端的远程连接。
在本发明实施例中,受控端发送连接请求,以建立与控制端的远程连接。具体包括:发送远程诊断请求至控制端;接收所述控制端根据所述远程诊断请求发送的远程诊断响应数据;根据所述远程诊断响应数据,建立与所述控制端的远程连接。
502:建立与待诊断设备之间的通信连接。
503:根据待诊断设备的信息生成可识别数据。
在本发明实施例中,受控端根据待诊断设备的信息生成可识别数据。所述待诊断设备的信息包括诊断请求数据。具体包括:根据所述诊断请求数据,发送读故障码指令至待诊断设备,读取并翻译故障码,生成可识别数据。
504:根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。
在本发明实施例中,受控端根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。所述协议数据可以为JSON协议数据。生成用户界面及JSON协议数据的具体过程为所述受控端根据所述可识别数据,生成用户界面,便于直观的为用户展示;同时自动生成JSON软件框架,生成JSON协议数据。并且,JSON协议数据通过所述远程诊断服务器中转,发送至控制端。
505:接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执行与所述动作数据相对应的诊断动作,以完成对所述待诊断设备的诊断。
在本发明实施例中,受控端接收动作数据,其中,所述动作数据是指根据动作生成的数据,所述动作数据可以是JSON动作数据。并通过反射技术,执行对应文件,对应的函数,并通过诊断命令执行相应的诊断动作对所述待诊断 设备进行诊断。所述反射技术是指程序语言中的一个技术,知道文件和函数名称,就可以运行相应的逻辑。通过反射技术可以保证所述受控端和所述控制端的界面及动作的同步。其中,所述诊断动作包括诊断参数的选择动作和诊断事件的执行动作;当所述诊断动作为诊断参数的选择动作时,在所述用户界面上选择相应的诊断参数或选项;当所述诊断动作为诊断事件的执行动作时,将诊断事件的执行动作对应的诊断指令发送至待诊断设备。
在本发明实施例中,所述汽车远程诊断方法还包括:
506;接收待诊断设备根据所述诊断指令而返回的诊断结果信息。
507:在用户界面上显示所述诊断结果信息。
在本发明实施例中,在所述受控端的用户界面上显示所述诊断结果信息,以便直观的展示诊断的结果。
508:接收来自所述控制端发送的心跳数据。
在本发明实施例中,受控端接收来自所述控制端发送的心跳数据。所述心跳数据是每隔一段时间向互联的另一方发送一个很小的数据包,通过对方回复情况判断互联的双方之间的通讯链路是否已经断开。
509:根据所述心跳数据,发送心跳响应数据至所述控制端。
在本发明实施例中,受控端根据所述心跳数据,发送心跳响应数据至所述控制端。
通过接收心跳数据及发送心跳响应数据,可以随时监控受控端和控制端是否在线。以下通过双向心跳时序示意图进行详细说明。
请参考图6,为双向心跳时序示意图。控制端发送心跳数据00A到远程诊断服务器,如果远程诊断服务器返回数据00B,则代表控制端在线中;远程诊断服务器将心跳数据00A转发给受控端,受控端返回心跳响应数据00C给控制端,如果控制端收到心跳响应数据00C,则代表受控端也在线。从而使得可以随时监控受控端和控制端是否在线,如果存在不在线可及时提示并重新连接,继续远程诊断。
需要说明的是,在一些其它实施例中,受控端和控制端在双向心跳中发送及接收的数据可以为交换,也即受控端发送心跳数据00A到远程诊断服务器,如果远程诊断服务器返回数据00B,则代表受控端在线中;远程诊断服务器将心跳数据00A转发给控制端,控制端返回心跳响应数据00C给受控端,如果受控端收到心跳响应数据00C,则代表控制端也在线。
510:预设与所述控制端的控制策略。
在本发明实施例中,受控端可以预设与所述控制端的控制策略。所述控制策略包括:发送包含有ID信息的数据至所述控制端,如果接收到来自所述控制端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述控制端。其中,所述ID信息可以为随机生成的。通过所述控制策略,可以保证数据准 确不丢失,有序发给控制端。以下通过受控端发送数据响应时序示意图进行详细说明。
请参考图7,为受控端发送数据响应时序示意图。受控端发送JSON协议数据,其中JSON协议数据中包含ID信息,如ID=100001,经由服务器转发至控制端,如果受控端接收到经远程诊断服务器中转的来自所述控制端发送的ID响应信息,如ID=+100001,则发送下一条包含有ID信息的数据,如ID=100002;如果受控端未接收到ID响应信息,说明发送本条数据失败或超时,重复发送本条数据,直至接收到ID响应信息。
可以理解的是,在一些其它实施例中,所述步骤506-510在不同的实施例中,可以不是必选步骤,另外,本领域普通技术人员,根据本发明实施例的描述可以理解,在不同实施例中,所述步骤501-510可以有不同的执行顺序。
还需要说明的是,本发明实施例中所述步骤501-510中未详尽描述的技术细节,可参考上述实施例的具体描述。
本发明实施例提供的汽车远程诊断方法应用于受控端,受控端可以自动生成协议数据并发送给控制端,如果添加新的功能,在开发完界面后,无需重新定义协议数据,定义各个字段的意义,受控端无需重新处理收发数据,重新解析数据,能达到界面同步、动作同步的效果,具有良好的扩展性。并且,通过接收心跳数据及发送心跳响应数据,以及在发送的每条数据中都携带有ID,能够随时监控受控端或控制端的在线状态,保证数据准确发送给控制端,不丢失数据,保证汽车远程诊断的安全性,避免汽车诊断安全事故。
图8为本发明另一实施例提供的一种汽车远程诊断方法的流程示意图。本发明另一实施例的一种汽车远程诊断方法应用于控制端,可由图1中的控制端40执行。例如,汽车诊断仪、台式计算机、手提电脑、平板电脑、智能手机等。
参照图8,所述方法包括:
801:响应连接请求,以建立与受控端的远程连接。
在本发明实施例中,控制端响应连接请求,以建立与受控端的远程连接。受控端与所述控制端通过网络连接在一起。通过建立远程连接,所述控制端可以控制所述受控端,控制端可以实时的操作受控端。
802:接收来自所述控制端发送的协议数据。
在本发明实施例中,控制端接收来自所述控制端发送的协议数据。所述协议数据可以为JSON协议数据。JSON为互联网传输的一种轻量级的数据格式,具有易于人阅读和编写、易于机器解析和生成、提升网络传输效率的特点。
803:解析所述协议数据,并生成与所述受控端的用户界面相关联的界面。
在本发明实施例中,控制端解析所述协议数据,并生成与所述受控端的用 户界面相关联的界面。具体的,控制端接收JSON协议数据后,通过JSON软件框架,自动解析,并通过反射技术生成与所述受控端的用户界面相关联的界面。
804:接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。
在本发明实施例中,控制端接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。具体的,通过用户操作所述控制端的界面,所述控制端接收界面操作指令,并根据所述界面操作指令,生成JSON动作数据,并将生成JSON动作数据通过所述远程诊断服务器发送至所述受控端。
还需要说明的是,本发明实施例中所述步骤801-804中未详尽描述的技术细节,可参考上述实施例的具体描述。
本发明实施例提供的汽车远程诊断方法应用于控制端,控制端可以解析所述协议数据,并生成与所述受控端的用户界面相关联的界面,然后接收界面操作指令,并根据所述界面操作指令,生成动作数据并发送给受控端。从而实现在控制端添加一个本地诊断功能,就相应地实现远程诊断功能,达到界面同步、动作同步的效果,并且具有良好的扩展性。
图9为本发明实施例提供的一种汽车远程诊断方法的流程示意图。本发明实施例的一种汽车远程诊断方法应用于控制端,可由图1中的控制端40执行。例如,汽车诊断仪、台式计算机、手提电脑、平板电脑、智能手机等。
参照图9,所述方法包括:
901:响应连接请求,以建立与受控端的远程连接。
在本发明实施例中,控制端响应连接请求,以建立与受控端的远程连接。具体包括:接收来自所述受控端发送的远程诊断请求;根据所述远程诊断请求,发送远程诊断响应数据至所述受控端;根据所述远程诊断响应数据,建立与所述受控端的远程连接。
902:接收来自所述控制端发送的协议数据。
在本发明实施例中,控制端接收来自所述控制端发送的协议数据。所述协议数据可以为JSON协议数据。
903:解析所述协议数据,并生成与所述受控端的用户界面相关联的界面。
904:接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。
在本发明实施例中,控制端接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。具体的,通过用户操作所述控制端的界面,所述控制端接收界面操作指令,并根据所述界面操作指令,生成JSON动作数据,并将生成JSON动作数据通过所述远程诊断服务器发送至 所述受控端。
在本发明实施例中,所述汽车远程诊断方法还包括:
905:发送心跳数据至所述受控端。
在本发明实施例中,控制端发送心跳数据至所述受控端。所述心跳数据是每隔一段时间向互联的另一方发送一个很小的数据包,通过对方回复情况判断互联的双方之间的通讯链路是否已经断开。
906:接收来自所述受控端根据所述心跳数据发送的心跳响应数据,以判断所述受控端的在线状态。
在本发明实施例中,控制端接收来自所述受控端根据所述心跳数据发送的心跳响应数据,以判断所述受控端的在线状态。
请复参考图6,受控端通过发送心跳数据及接收心跳响应数据,以便随时监控受控端和控制端是否在线。
需要说明的是,在一些其它实施例中,受控端和控制端在双向心跳中发送及接收的数据可以为交换,也即受控端发送心跳数据00A到远程诊断服务器,如果远程诊断服务器返回数据00B,则代表受控端在线中;远程诊断服务器将心跳数据00A转发给控制端,控制端返回心跳响应数据00C给受控端,如果受控端收到心跳响应数据00C,则代表控制端也在线。
907:预设与所述受控端的控制策略。
在本发明实施例中,控制端可以预设与所述受控端的控制策略。所述控制策略包括:发送包含有ID信息的数据至所述受控端,如果接收到来自所述受控端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述受控端。其中,所述ID信息可以为随机生成的。通过所述控制策略,可以保证数据准确不丢失,有序发给受控端。以下通过控制端发送数据响应时序示意图进行详细说明。
请参考图10,为控制端发送数据响应时序示意图。控制端发送JSON动作数据,其中JSON协议数据中包含ID信息,如ID=500001,经由服务器转发至受控端,如果控制端接收到经远程诊断服务器中转的来自所述受控端发送的ID响应信息,如ID=+500001,则发送下一条包含有ID信息的数据,如ID=500002;如果控制端未接收到ID响应信息,说明发送本条数据失败或超时,重复发送本条数据,直至接收到ID响应信息。
可以理解的是,在一些其它实施例中,所述步骤905-907在不同的实施例中,可以不是必选步骤,另外,本领域普通技术人员,根据本发明实施例的描述可以理解,在不同实施例中,所述步骤901-907可以有不同的执行顺序。
还需要说明的是,本发明实施例中所述步骤901-907中未详尽描述的技术细节,可参考上述实施例的具体描述。
本发明实施例提供的汽车远程诊断方法应用于控制端,控制端可以解析所 述协议数据,并生成与所述受控端的用户界面相关联的界面,然后接收界面操作指令,并根据所述界面操作指令,生成动作数据并发送给受控端。从而实现在控制端添加一个本地诊断功能,就相应地实现远程诊断功能,达到界面同步、动作同步的效果,并且具有良好的扩展性。并且,通过发送心跳数据及接收心跳响应数据,以及在发送的每条数据中携带都随机生成ID,能够随时监控受控端或控制端的在线状态,保证数据准确发送给受控端,不丢失数据,保证汽车远程诊断的安全性,避免汽车诊断安全事故。
图11是本发明另一实施例提供的一种汽车远程诊断方法的流程示意图。本发明其中一实施例提供的一种汽车远程诊断方法应用于服务器,可由图1中的远程诊断服务器30执行。例如,传统服务器或云服务器等。
参照图11,所述方法包括:
111:分别与受控端及控制端建立连接。
在本发明实施例中,服务器与受控端及控制端建立通信连接,以实现数据的中转。
112;接收所述受控端发送的连接请求,将所述连接请求转发至所述控制端。
113:接收所述控制端根据所述连接请求发送的响应连接请求,将所述响应连接请求转发至所述受控端。
通过服务器中转所述连接请求及响应连接请求,以实现受控端与控制端的远程连接。
114:接收所述受控端发送的协议数据,将所述协议数据转发至所述控制端。
115:接收所述控制端发送的动作数据,将所述动作数据转发至所述受控端。
通过服务器中转所述协议数据及动作数据,从而实现在控制端添加一个本地诊断功能,就相应地实现远程诊断功能,使得诊断具有良好的扩展性。
所述方法还包括:
116:接收所述控制端发送的心跳数据,将所述心跳数据转发至所述受控端;
117:接收所述受控端根据所述心跳数据发送的心跳响应数据,将所述心跳响应数据转发至所述控制端。
通过服务器中转所述心跳数据及所述心跳响应数据,以监控所述受控端及所述控制端是否在线。
118:接收所述受控端发送的包含有ID信息的数据,将所述包含有ID信息的数据转发至所述控制端;
119:接收所述控制端根据所述包含有ID信息的数据发送的ID响应信息,将所述ID响应信息转发至所述受控端。
通过服务器中转所述包含有ID信息的数据及所述ID响应信息,以保证数据准确的由受控端发送至控制端或由控制端发送至受控端,不丢失数据,保证汽车诊断的安全性,避免汽车诊断安全事故。
需要说明的是,本发明实施例中所述步骤111-119中未详尽描述的技术细节,可参考上述实施例的具体描述。
在本发明实施例中,通过服务器中转所述协议数据及动作数据,从而实现在控制端添加一个本地诊断功能,就相应地实现远程诊断功能,使得诊断具有良好的扩展性。
图12为本发明其中一实施例提供的一种汽车远程诊断装置的示意图。本发明其中一实施例提供的一种汽车远程诊断装置应用于受控端,可由图1中的受控端20执行。例如,所述受控端可为汽车诊断仪、手提电脑、平板电脑、智能手机等。
参照图12,所述装置120包括:
第一连接单元121,用于发送连接请求,以建立与控制端的远程连接。
第二连接单元122,用于建立与待诊断设备之间的通信连接.
可识别数据生成单元123,用于根据待诊断设备的信息生成可识别数据。
在本发明实施例中,可识别数据生成单元123根据待诊断设备的信息生成可识别数据。所述可识别数据是指上层软件可以识别的数据。从软件开发的角度来看,软件可以包括上层软件和底层软件。上层软件(界面、应用等)主要提供人机交互和技术支持,下层软件(嵌入式、驱动等)主要提供执行功能和反馈功能。
处理单元124,用于根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。
在本发明实施例中,处理单元124根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。所述协议数据可以为JSON协议数据。JSON为互联网传输的一种轻量级的数据格式,具有易于人阅读和编写、易于机器解析和生成、提升网络传输效率的特点。处理单元124生成用户界面,便于直观的为用户展示;同时处理单元124自动生成JSON软件框架,生成JSON协议数据。并且,处理单元124将JSON协议数据通过所述远程诊断服务器中转,发送至控制端。
执行单元125,用于接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执行与所述动作数据相对应的诊断动作,以完成对所述待诊断设备的诊断。
在本发明实施例中,执行单元125接收动作数据,其中,所述动作数据是指根据动作生成的数据,所述动作数据可以是JSON动作数据。并通过反射技术,执行对应文件,对应的函数,并通过诊断命令执行相应的诊断动作对所述待诊断设备进行诊断。所述反射技术是指程序语言中的一个技术,知道文件和函数名称,就可以运行相应的逻辑。通过反射技术可以保证所述受控端和所述控制端的界面及动作的同步。
需要说明的是,在本发明实施例中,所述汽车远程诊断装置120可执行本发明实施例提供的应用于受控端的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在汽车远程诊断装置120的实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于受控端的汽车远程诊断方法。
图13为本发明另一实施例提供的一种汽车远程诊断装置的示意图。本发明另一实施例提供的一种汽车远程诊断装置应用于受控端,可由图1中的受控端20执行。例如,所述受控端可为汽车诊断仪、手提电脑、平板电脑、智能手机等。
参照图13,所述装置130包括:
第一连接单元131,用于发送连接请求,以建立与控制端的远程连接。
在本发明实施例中,所述第一连接单元131具体用于:发送远程诊断请求至控制端;接收所述控制端根据所述远程诊断请求发送的远程诊断响应数据;根据所述远程诊断响应数据,建立与所述控制端的远程连接。
第二连接单元132,用于建立与待诊断设备之间的通信连接。
可识别数据生成单元133,用于根据待诊断设备的信息生成可识别数据。
在本发明实施例中,可识别数据生成单元133根据待诊断设备的信息生成可识别数据。所述待诊断设备的信息包括诊断请求数据。可识别数据生成单元133具体用于:根据所述诊断请求数据,发送读故障码指令至待诊断设备,读取并翻译故障码,生成可识别数据。
处理单元134,用于根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。
在本发明实施例中,处理单元134根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端。所述协议数据可以为JSON协议数据。处理单元134生成用户界面,便于直观的为用户展示;同时处理单元134自动生成JSON软件框架,生成JSON协议数据。并且,JSON协议数据通过所述远程诊断服务器中转,发送至控制端。
执行单元135,用于接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执行与所述动作数据相对应的诊断动作,以完成对所述待诊断设备的诊断。
在本发明实施例中,执行单元135接收动作数据,其中,所述动作数据是指根据动作生成的数据,所述动作数据可以是JSON动作数据。并通过反射技术,执行对应文件,对应的函数,并通过诊断命令执行相应的诊断动作对所述待诊断设备进行诊断。所述反射技术是指程序语言中的一个技术,知道文件和函数名称,就可以运行相应的逻辑。通过反射技术可以保证所述受控端和所述控制端的界面及动作的同步。其中,所述诊断动作包括诊断参数的选择动作和诊断事件的执行动作。所述执行单元135还用于:当所述诊断动作为诊断参数的选择动作时,在所述用户界面上选择相应的诊断参数或选项;当所述诊断动作为诊断事件的执行动作时,将诊断事件的执行动作对应的诊断指令发送至待诊断设备。
在本发明实施例中,所述汽车远程诊断装置130还包括:
诊断结果信息接收单元136,用于接收待诊断设备根据所述诊断指令而返回的诊断结果信息。
诊断结果信息显示单元137,用于在用户界面上显示所述诊断结果信息。
心跳数据接收单元138,用于接收来自所述控制端发送的心跳数据。
在本发明实施例中,心跳数据接收单元138接收来自所述控制端发送的心跳数据。所述心跳数据是每隔一段时间向互联的另一方发送一个很小的数据包,通过对方回复情况判断互联的双方之间的通讯链路是否已经断开。
心跳响应数据发送单元139,用于根据所述心跳数据,发送心跳响应数据至所述控制端。
在本发明实施例中,心跳响应数据发送单元139根据所述心跳数据,发送心跳响应数据至所述控制端。
通过心跳数据接收单元138接收心跳数据,以及心跳响应数据发送单元139发送心跳响应数据,可以随时监控受控端和控制端是否在线,如不在线可及时提醒以便重新连接,继续远程诊断。
第一预设单元1310,用于预设与所述控制端的控制策略。
在本发明实施例中,第一预设单元1310可以预设与所述控制端的控制策略。所述控制策略包括:发送包含有ID信息的数据至所述控制端,如果接收到来自所述控制端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述控制端。其中,所述ID信息可以随机生成的。通过所述控制策略,可以保证数据准确不丢失,有序发给控制端。
需要说明的是,在本发明实施例中,所述汽车远程诊断装置130可执行本发明实施例提供的应用于受控端的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在汽车远程诊断装置130的实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于受控端的汽车远程诊断方法。
图14为本发明另一实施例提供的一种汽车远程诊断装置的示意图。本发明另一实施例提供的一种汽车远程诊断装置应用于控制端,可由图1中的控制端40执行。例如,所述控制端可为汽车诊断仪、台式计算机、手提电脑、平板电脑、智能手机等。
参照图14,所述装置140包括:
第三连接单元141,用于响应连接请求,以建立与受控端的远程连接。
协议数据接收单元142,用于接收来自所述控制端发送的协议数据。
在本发明实施例中,协议数据接收单元142接收来自所述控制端发送的协议数据。所述协议数据可以为JSON协议数据。JSON为互联网传输的一种轻量级的数据格式,具有易于人阅读和编写、易于机器解析和生成、提升网络传输效率的特点。
界面生成单元143,用于解析所述协议数据,并生成与所述受控端的用户界面相关联的界面。
在本发明实施例中,界面生成单元143解析所述协议数据,并生成与所述受控端的用户界面相关联的界面。具体的,接收JSON协议数据后,界面生成单元143通过JSON软件框架,自动解析,并通过反射技术生成与所述受控端的用户界面相关联的界面。
动作数据发送单元144,用于接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。
在本发明实施例中,动作数据发送单元144接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。具体的,通过用户操作所述控制端的界面,所述动作数据发送单元144接收界面操作指令,并根据所述界面操作指令,生成JSON动作数据,并将生成JSON动作数据通过所述远程诊断服务器发送至所述受控端。
需要说明的是,在本发明实施例中,所述汽车远程诊断装置140可执行本发明实施例提供的应用于控制端的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在汽车远程诊断装置140的实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于控制端的汽车远程诊断方法。
图15为本发明另一实施例提供的一种汽车远程诊断装置的示意图。本发明另一实施例提供的一种汽车远程诊断装置应用于控制端,可由图1中的控制端40执行。例如,所述控制端可为汽车诊断仪、台式计算机、手提电脑、平板电脑、智能手机等。
参照图15,所述装置150包括:
第三连接单元151,用于响应连接请求,以建立与受控端的远程连接。
在本发明实施例中,所述第二连接单元151具体用于:接收来自所述受控 端发送的远程诊断请求;根据所述远程诊断请求,发送远程诊断响应数据至所述受控端;根据所述远程诊断响应数据,建立与所述受控端的远程连接。
协议数据接收单元152,用于接收来自所述控制端发送的协议数据。
在本发明实施例中,协议数据接收单元152接收来自所述控制端发送的协议数据。所述协议数据可以为JSON协议数据。
界面生成单元153,用于解析所述协议数据,并生成与所述受控端的用户界面相关联的界面。
动作数据发送单元154,用于接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。
在本发明实施例中,动作数据发送单元154接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。具体的,通过用户操作所述控制端的界面,所述动作数据发送单元154接收界面操作指令,并根据所述界面操作指令,生成JSON动作数据,并将生成JSON动作数据通过所述远程诊断服务器发送至所述受控端。
在本发明实施例中,所述装置150还包括:
心跳数据发送单元155,用于发送心跳数据至所述受控端。
在本发明实施例中,心跳数据发送单元155发送心跳数据至所述受控端。所述心跳数据是每隔一段时间向互联的另一方发送一个很小的数据包,通过对方回复情况判断互联的双方之间的通讯链路是否已经断开。
心跳响应数据接收单元156,用于接收来自所述受控端根据所述心跳数据发送的心跳响应数据,以判断所述受控端的在线状态。
在本发明实施例中,通过心跳数据发送单元155发送心跳数据,及心跳响应数据接收单元156接收心跳响应数据,可以随时监控受控端和控制端是否在线,如果不在线可及时提醒以便重新连接,继续远程诊断。
第二预设单元157,用于预设与所述受控端的控制策略。
在本发明实施例中,第二预设单元157可以预设与所述受控端的控制策略。所述控制策略包括:发送包含有ID信息的数据至所述受控端,如果接收到来自所述受控端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述受控端。所述ID信息可以为随机生成的。通过所述控制策略,可以保证数据准确不丢失,有序发给受控端。
需要说明的是,在本发明实施例中,所述汽车远程诊断装置150可执行本发明实施例提供的应用于控制端的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在汽车远程诊断装置150的实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于控制端的汽车远程诊断方法。
图16为本发明另一实施例提供的一种汽车远程诊断装置的示意图。本发 明另一实施例提供的一种汽车远程诊断装置应用于服务器,可由图1中的远程诊断服务器30执行。例如,传统服务器或云服务器等。
参照图16,所述装置包括:
连接建立单元161,用于与受控端及控制端分别建立连接。
连接请求转发单元162,用于接收所述受控端发送的连接请求,将所述连接请求转发至所述控制端。
响应连接请求转发单元163,用于接收所述控制端根据所述连接请求发送的响应连接请求,将所述响应连接请求转发至所述受控端。
通过连接请求转发单元162中转所述连接请求及响应连接请求转发单元163中转所述响应连接请求,以实现受控端与控制端的远程连接。
协议数据转发单元164,用于接收所述受控端发送的协议数据,将所述协议数据转发至所述控制端。
动作数据转发单元165,用于接收所述控制端发送的动作数据,将所述动作数据转发至所述受控端。
通过协议数据转发单元164中转所述协议数据及动作数据转发单元165中转动作数据,从而实现在控制端添加一个本地诊断功能,就相应地实现远程诊断功能,使得诊断具有良好的扩展性。
在本发明实施例,所述装置还包括:
心跳数据转发单元166,用于接收所述控制端发送的心跳数据,将所述心跳数据转发至所述受控端;
心跳响应数据转发单元167,用于接收所述受控端根据所述心跳数据发送的心跳响应数据,将所述心跳响应数据转发至所述控制端。
通过心跳数据转发单元166中转所述心跳数据及心跳响应数据转发单元167中转所述心跳响应数据,以监控所述受控端及所述控制端是否在线。
转发单元168,用于接收所述受控端发送的包含有ID信息的数据,将所述包含有ID信息的数据转发至所述控制端;
响应信息转发单元169,用于接收所述控制端根据所述包含有ID信息的数据发送的ID响应信息,将所述ID响应信息转发至所述受控端。
通过转发单元168中转所述包含有ID信息的数据及响应信息转发单元169中转所述ID响应信息,以保证数据准确的由受控端发送至控制端或由控制端发送至受控端,不丢失数据,保证汽车诊断的安全性,避免汽车诊断安全事故。
需要说明的是,在本发明实施例中,所述汽车远程诊断装置160可执行本发明实施例提供的应用于服务器的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在汽车远程诊断装置160的实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于服务器的汽车远程诊断方法。
图17为本发明实施例提供的移动终端硬件结构示意图,如图17所示,所述移动终端170包括:
一个或多个处理器171以及存储器172,图17中以一个处理器171为例。
处理器171和存储器172可以通过总线或者其他方式连接,图17中以通过总线连接为例。
存储器172作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施应用于受控端的汽车远程诊断方法对应的程序指令/单元(例如,附图13所示的第一连接单元131、第二连接单元132、可识别数据生成单元133、处理单元134、执行单元135、诊断结果信息接收单元136、诊断结果信息显示单元137、心跳数据接收单元138、心跳响应数据发送单元139以及第一预设单元1310)。处理器171通过运行存储在存储器172中的非易失性软件程序、指令以及单元,从而执行移动终端的各种功能应用以及数据处理,即实现所述方法实施例的汽车远程诊断方法。
存储器172可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储根据移动终端使用所创建的数据等。此外,存储器172可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器172可选包括相对于处理器171远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。所述网络的实施例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述一个或者多个单元存储在所述存储器172中,当被所述一个或者多个处理器171执行时,执行本发明实施例提供的应用于受控端的汽车远程诊断方法,例如,执行以上描述的图4中的方法步骤401至步骤405,或图5中的方法步骤501至步骤510,实现图12中的单元121-125的功能,或图13中的单元131-1310的功能。
所述移动终端可执行本发明实施例提供的应用于受控端的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在移动终端实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于受控端的汽车远程诊断方法。
本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被所述移动终端执行时,使所述移动终端执行本发明实施例提供的应用于受控端的汽车远程诊断方法。例如,执行以上描述的图4中的方法步骤401至步骤405,或图5中的方法步骤501至步骤510,实现图12 中的单元121-125的功能,或图13中的单元131-1310的功能。
本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使终端执行本发明实施例提供的应用于受控端的汽车远程诊断方法。例如,执行以上描述的图4中的方法步骤401至步骤405,或图5中的方法步骤501至步骤510,实现图12中的单元121-125的功能,或图13中的单元131-1310的功能。
本申请实施例的移动终端可以以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是小巧、携带方便,可安装多个应用程序,通过应用程序实现各种功能,如实现汽车远程诊断功能。这类终端可以包括:智能手机、多媒体手机、功能性手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,屏幕比手机大也可以安装各种应用程序。这类终端包括:PDA、MID和UMPC设备等。
(3)其它具有汽车远程诊断功能的移动终端,如手提电脑等。
图18为本发明实施例提供的电子设备硬件结构示意图,如图18所示,所述电子设备180包括:
一个或多个处理器181以及存储器182,图18中以一个处理器181为例。
处理器181和存储器182可以通过总线或者其他方式连接,图18中以通过总线连接为例。
存储器182作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施提供的应用于控制端的汽车远程诊断方法对应的程序指令/单元(例如,附图15所示的第三连接单元151、协议数据接收单元152、界面生成单元153、动作数据发送单元154、心跳数据发送单元155、心跳响应数据接收单元156以及第二预设单元157)。处理器181通过运行存储在存储器182中的非易失性软件程序、指令以及单元,从而执行电子设备的各种功能应用以及数据处理,即实现所述方法实施例的汽车远程诊断方法。
存储器182可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备使用所创建的数据等。此外,存储器182可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器182可选包括相对于处理器181远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。所述网络的实施例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述一个或者多个单元存储在所述存储器182中,当被所述一个或者多个处理器181执行时,执行本发明实施例提供的应用于控制端的汽车远程诊断方 法,例如,执行以上描述的图8中的方法步骤801至步骤804,或图9中的方法步骤901至步骤907,实现图13中的单元141-144的功能,或图14中的单元151-157的功能。
所述电子设备可执行本发明实施例提供的应用于控制端的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在电子设备实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于控制端的汽车远程诊断方法。
本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被所述电子设备执行时,使所述电子设备执行本发明实施例提供的应用于控制端的汽车远程诊断方法。例如,执行以上描述的图8中的方法步骤801至步骤804,或图9中的方法步骤901至步骤907,实现图13中的单元141-144的功能,或图14中的单元151-157的功能。
本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使终端执行本发明实施例提供的应用于控制端的汽车远程诊断方法。例如,执行以上描述的图8中的方法步骤801至步骤804,或图9中的方法步骤901至步骤907,实现图13中的单元141-144的功能,或图14中的单元151-157的功能。
本申请实施例的电子设备可以以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是小巧、携带方便,可安装多个应用程序,通过应用程序实现各种功能,如实现汽车远程诊断功能。这类终端可以包括:智能手机、多媒体手机、功能性手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,屏幕比手机大也可以安装各种应用程序。这类终端包括:PDA、MID和UMPC设备等。
(3)其它具有汽车远程诊断功能的电子设备,如台式计算机、手提电脑等。
图19为本发明实施例提供的服务器硬件结构示意图,如图19所示,所述服务器190包括:
一个或多个处理器191以及存储器192,图19中以一个处理器191为例。
处理器191和存储器192可以通过总线或者其他方式连接,图19中以通过总线连接为例。
存储器192作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施提供的应用于服务器的汽车远程诊断方法对应的程序指令/单元(例如,附图16所示的连接建立单元161、连接请求转发单元162、响应连接请求转发单元163、协议数据转发单元164、动作数据转发单元165、心跳数据转发单元166、心跳响应 数据转发单元167、转发单元168及响应信息转发单元169)。处理器191通过运行存储在存储器192中的非易失性软件程序、指令以及单元,从而执行服务器的各种功能应用以及数据处理,即实现所述方法实施例的汽车远程诊断方法。
存储器192可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储根据服务器使用所创建的数据等。此外,存储器192可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器182可选包括相对于处理器191远程设置的存储器,这些远程存储器可以通过网络连接至服务器。所述网络的实施例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述一个或者多个单元存储在所述存储器192中,当被所述一个或者多个处理器191执行时,执行本发明实施例提供的应用于服务器的汽车远程诊断方法,例如,执行以上描述的图11中的方法步骤111至步骤119,实现图16中的单元161-169的功能。
所述服务器可执行本发明实施例提供的应用于服务器的汽车远程诊断方法,具备执行方法相应的功能模块和有益效果。未在服务器实施例中详尽描述的技术细节,可参见本发明实施例提供的应用于服务器的汽车远程诊断方法。
本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被所述服务器执行时,使所述服务器执行本发明实施例提供的应用于服务器的汽车远程诊断方法。例如,执行以上描述的图11中的方法步骤111至步骤119,实现图16中的单元161-169的功能。
本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使终端执行本发明实施例提供的应用于服务器的汽车远程诊断方法。例如,执行以上描述的图11中的方法步骤111至步骤119,实现图16中的单元161-169的功能。
需要说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现所述实施例方法中的全部或部分流程是可以通过计 算机程序指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如所述各方法的实施例的流程。其中,所述的存储介质可为只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (31)

  1. 一种汽车远程诊断方法,应用于受控端,其特征在于,所述方法包括:
    发送连接请求,以建立与控制端的远程连接;
    建立与待诊断设备之间的通信连接;
    根据待诊断设备的信息生成可识别数据;
    根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端;
    接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执行与所述动作数据相对应的诊断动作,以完成对所述待诊断设备的诊断。
  2. 根据权利要求1所述的方法,其特征在于,所述发送连接请求,以建立与所述控制端的远程连接,包括:
    发送远程诊断请求至控制端;
    接收所述控制端根据所述远程诊断请求发送的远程诊断响应数据;
    根据所述远程诊断响应数据,建立与所述控制端的远程连接。
  3. 根据权利要求1所述的方法,其特征在于,所述诊断动作包括诊断参数的选择动作和诊断事件的执行动作;当所述诊断动作为诊断参数的选择动作时,在所述用户界面上选择相应的诊断参数或选项;当所述诊断动作为诊断事件的执行动作时,将诊断事件的执行动作对应的诊断指令发送至待诊断设备。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    接收待诊断设备根据所述诊断指令而返回的诊断结果信息;
    在用户界面上显示所述诊断结果信息。
  5. 根据权利要求1所述的方法,其特征在于,所述待诊断设备的信息包括诊断请求数据;
    所述根据待诊断设备的信息生成可识别数据,包括:
    根据所述诊断请求数据,发送读故障码指令至待诊断设备,读取并翻译故障码,生成可识别数据。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    接收来自所述控制端发送的心跳数据;
    根据所述心跳数据,发送心跳响应数据至所述控制端。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    预设与所述控制端的控制策略,所述控制策略包括:
    发送包含有ID信息的数据至所述控制端,如果接收到来自所述控制端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述控制端。
  8. 一种汽车远程诊断方法,应用于控制端,其特征在于,所述方法包括:
    响应连接请求,以建立与受控端的远程连接;
    接收来自所述控制端发送的协议数据;
    解析所述协议数据,并生成与所述受控端的用户界面相关联的界面;
    接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。
  9. 根据权利要求8所述的方法,其特征在于,所述响应连接请求,以建立与所述控制端的远程连接,包括:
    接收来自所述受控端发送的远程诊断请求;
    根据所述远程诊断请求,发送远程诊断响应数据至所述受控端;
    根据所述远程诊断响应数据,建立与所述受控端的远程连接。
  10. 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:
    发送心跳数据至所述受控端;
    接收来自所述受控端根据所述心跳数据发送的心跳响应数据,以判断所述受控端的在线状态。
  11. 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:
    预设与所述受控端的控制策略,所述控制策略包括:
    发送包含有ID信息的数据至所述受控端,如果接收到来自所述受控端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述受控端。
  12. 一种汽车远程诊断方法,其特征在于,所述方法包括:
    分别与受控端及控制端建立连接;
    接收所述受控端发送的连接请求,将所述连接请求转发至所述控制端;
    接收所述控制端根据所述连接请求发送的响应连接请求,将所述响应连接 请求转发至所述受控端;
    接收所述受控端发送的协议数据,将所述协议数据转发至所述控制端;
    接收所述控制端发送的动作数据,将所述动作数据转发至所述受控端。
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    接收所述控制端发送的心跳数据,将所述心跳数据转发至所述受控端;
    接收所述受控端根据所述心跳数据发送的心跳响应数据,将所述心跳响应数据转发至所述控制端。
  14. 根据权利要求12或13所述的方法,其特征在于,所述方法还包括:
    接收所述受控端发送的包含有ID信息的数据,将所述包含有ID信息的数据转发至所述控制端;
    接收所述控制端根据所述包含有ID信息的数据发送的ID响应信息,将所述ID响应信息转发至所述受控端。
  15. 一种汽车远程诊断装置,应用于受控端,其特征在于,所述装置包括:
    第一连接单元,用于发送连接请求,以建立与控制端的远程连接;
    第二连接单元,用于建立与待诊断设备之间的通信连接;
    可识别数据生成单元,用于根据待诊断设备的信息生成可识别数据;
    处理单元,用于根据所述可识别数据,生成用户界面及协议数据,并发送所述协议数据至所述控制端;
    执行单元,用于接收所述控制端根据所述协议数据发送的动作数据,在所述用户界面上执行与所述动作数据相对应的诊断动作,以完成对所述待诊断设备的诊断。
  16. 根据权利要求15所述的装置,其特征在于,所述第一连接单元具体用于:
    发送远程诊断请求至控制端;
    接收所述控制端根据所述远程诊断请求发送的远程诊断响应数据;
    根据所述远程诊断响应数据,建立与所述控制端的远程连接。
  17. 根据权利要求15所述的装置,其特征在于,所述诊断动作包括诊断参数的选择动作和诊断事件的执行动作;
    所述执行单元还用于:
    当所述诊断动作为诊断参数的选择动作时,在所述用户界面上选择相应的诊断参数或选项;
    当所述诊断动作为诊断事件的执行动作时,将诊断事件的执行动作对应的诊断指令发送至待诊断设备。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:
    诊断结果信息接收单元,用于接收待诊断设备根据所述诊断指令而返回的诊断结果信息;
    诊断结果信息显示单元,用于在用户界面上显示所述诊断结果信息。
  19. 根据权利要求15所述的装置,其特征在于,所述待诊断设备的信息包括诊断请求数据;
    所述可识别数据生成单元具体用于:
    根据所述诊断请求数据,发送读故障码指令至待诊断设备,读取并翻译故障码,生成可识别数据。
  20. 根据权利要求15-19任一项所述的装置,其特征在于,所述装置还包括:
    心跳数据接收单元,用于接收来自所述控制端发送的心跳数据;
    心跳响应数据发送单元,用于根据所述心跳数据,发送心跳响应数据至所述控制端。
  21. 根据权利要求15-19任一项所述的装置,其特征在于,所述装置还包括:
    第一预设单元,用于预设与所述控制端的控制策略,所述控制策略包括:
    发送包含有ID信息的数据至所述控制端,如果接收到来自所述控制端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述控制端。
  22. 一种汽车远程诊断装置,应用于控制端,其特征在于,所述装置包括:
    第三连接单元,用于响应连接请求,以建立与受控端的远程连接;
    协议数据接收单元,用于接收来自所述控制端发送的协议数据;
    界面生成单元,用于解析所述协议数据,并生成与所述受控端的用户界面相关联的界面;
    动作数据发送单元,用于接收界面操作指令,并根据所述界面操作指令,生成动作数据,并将所述动作数据发送至所述受控端。
  23. 根据权利要求22所述的装置,其特征在于,所述第三连接单元具体用于:
    接收来自所述受控端发送的远程诊断请求;
    根据所述远程诊断请求,发送远程诊断响应数据至所述受控端;
    根据所述远程诊断响应数据,建立与所述受控端的远程连接。
  24. 根据权利要求22或23所述的装置,其特征在于,所述装置还包括:
    心跳数据发送单元,用于发送心跳数据至所述受控端;
    心跳响应数据接收单元,用于接收来自所述受控端根据所述心跳数据发送的心跳响应数据,以判断所述受控端的在线状态。
  25. 根据权利要求22或23所述的装置,其特征在于,所述装置还包括:
    第二预设单元,用于预设与所述受控端的控制策略,所述控制策略包括:
    发送包含有ID信息的数据至所述受控端,如果接收到来自所述受控端发送的ID响应信息,则发送下一条包含有ID信息的数据至所述受控端。
  26. 一种汽车远程诊断装置,其特征在于,所述装置包括:
    连接建立单元,用于与受控端及控制端分别建立连接;
    连接请求转发单元,用于接收所述受控端发送的连接请求,将所述连接请 求转发至所述控制端;
    响应连接请求转发单元,用于接收所述控制端根据所述连接请求发送的响应连接请求,将所述响应连接请求转发至所述受控端;
    协议数据转发单元,用于接收所述受控端发送的协议数据,将所述协议数据转发至所述控制端;
    动作数据转发单元,用于接收所述控制端发送的动作数据,将所述动作数据转发至所述受控端。
  27. 根据权利要求26所述的装置,其特征在于,所述装置还包括:
    心跳数据转发单元,用于接收所述控制端发送的心跳数据,将所述心跳数据转发至所述受控端;
    心跳响应数据转发单元,用于接收所述受控端根据所述心跳数据发送的心跳响应数据,将所述心跳响应数据转发至所述控制端。
  28. 根据权利要求26或27所述的装置,其特征在于,所述装置还包括:
    转发单元,用于接收所述受控端发送的包含有ID信息的数据,将所述包含有ID信息的数据转发至所述控制端;
    响应信息转发单元,用于接收所述控制端根据所述包含有ID信息的数据发送的ID响应信息,将所述ID响应信息转发至所述受控端。
  29. 一种移动终端,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7的任一项所述的方法。
  30. 一种电子设备,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求8-11的任一项所述的方法。
  31. 一种服务器,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求12-14的任一项所述的方法。
PCT/CN2018/107232 2017-09-25 2018-09-25 汽车远程诊断方法和装置、移动终端、电子设备及服务器 WO2019057188A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18858440.3A EP3690579A4 (en) 2017-09-25 2018-09-25 REMOTE DIAGNOSTIC METHOD AND DEVICE FOR VEHICLE, MOBILE TERMINAL, ELECTRONIC DEVICE AND SERVER
US16/829,559 US11615651B2 (en) 2017-09-25 2020-03-25 Remote automobile diagnostic method and apparatus, mobile terminal, electronic device and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710876993.2 2017-09-25
CN201710876993.2A CN107608337B (zh) 2017-09-25 2017-09-25 汽车远程诊断方法和装置、移动终端、电子设备及服务器

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/829,559 Continuation-In-Part US11615651B2 (en) 2017-09-25 2020-03-25 Remote automobile diagnostic method and apparatus, mobile terminal, electronic device and server

Publications (1)

Publication Number Publication Date
WO2019057188A1 true WO2019057188A1 (zh) 2019-03-28

Family

ID=61057615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/107232 WO2019057188A1 (zh) 2017-09-25 2018-09-25 汽车远程诊断方法和装置、移动终端、电子设备及服务器

Country Status (4)

Country Link
US (1) US11615651B2 (zh)
EP (1) EP3690579A4 (zh)
CN (1) CN107608337B (zh)
WO (1) WO2019057188A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492546A (zh) * 2020-12-01 2021-03-12 广州优胜汽车科技有限公司 汽车控制方法、***及可读存储介质
CN113325830A (zh) * 2021-06-16 2021-08-31 江铃汽车股份有限公司 汽车诊断仪远程诊断方法
CN113835729A (zh) * 2021-09-23 2021-12-24 深圳市元征科技股份有限公司 升级方法、装置、终端设备及计算机可读存储介质

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608337B (zh) * 2017-09-25 2020-03-20 深圳市道通科技股份有限公司 汽车远程诊断方法和装置、移动终端、电子设备及服务器
CN108427392B (zh) * 2018-01-27 2021-11-09 深圳市元征科技股份有限公司 一种界面控制方法及诊断设备
CN108415410B (zh) * 2018-03-19 2020-10-02 商丘师范学院 一种汽车故障诊断***和诊断方法
CN108521459A (zh) * 2018-04-04 2018-09-11 深圳市道通科技股份有限公司 交通工具的诊断方法、相关设备和***
CN108632379A (zh) * 2018-05-11 2018-10-09 厦门柏讯信息科技有限公司 一种基于全景vr直播的汽车远程诊断与维修***
CN108717292B (zh) * 2018-05-29 2021-04-30 深圳市元征科技股份有限公司 车辆远程诊断方法及装置
CN108924219B (zh) * 2018-06-29 2021-04-30 深圳臻迪信息技术有限公司 远程操作终端的方法、装置及***
CN108982118A (zh) * 2018-07-25 2018-12-11 安徽江淮汽车集团股份有限公司 汽车诊断装置与vci设备自动连接方法及***
CN110933530A (zh) * 2018-09-20 2020-03-27 中兴通讯股份有限公司 一种远程协助方法、装置、设备及计算机可读介质
CN109413612A (zh) * 2018-10-22 2019-03-01 深圳市元征科技股份有限公司 一种通讯连接建立方法及设备
CN109819052B (zh) * 2019-03-11 2022-11-22 华自科技股份有限公司 远程诊断方法、装置、计算机设备和存储介质
CN113347135B (zh) * 2020-02-18 2024-02-06 北京沃东天骏信息技术有限公司 电子数据交换的方法和***
CN111741074B (zh) * 2020-05-28 2023-06-30 深圳市元征科技股份有限公司 车辆远程诊断方法、***、车辆连接器及设备连接器
CN112034819B (zh) * 2020-08-14 2022-06-14 深圳市元征科技股份有限公司 一种车辆诊断方法、车辆诊断装置及诊断设备
CN112087346B (zh) * 2020-08-20 2022-05-10 深圳市元征科技股份有限公司 诊断转换盒状态确定方法、上位机及存储介质
CN112945571B (zh) * 2021-01-26 2023-07-07 深圳市道通科技股份有限公司 同屏显示方法、装置及车辆测量***
CN113359663A (zh) * 2021-05-24 2021-09-07 陕西天行健车联网信息技术有限公司 一种卡车远程故障诊断***
CN113406946B (zh) * 2021-05-28 2022-08-02 深圳市道通科技股份有限公司 汽车诊断方法及装置、汽车诊断设备
US11861530B2 (en) * 2021-08-16 2024-01-02 GM Global Technology Operations LLC System, and methods for implementing a server architecture for an On-Demand Autonomy (ODA) service
CN113625695B (zh) * 2021-08-30 2023-07-04 重庆长安汽车股份有限公司 一种基于安卓服务的车辆实车车控功能诊断方法及***
CN115437338A (zh) * 2021-12-31 2022-12-06 北京罗克维尔斯科技有限公司 远程诊断方法及装置、电子设备和存储介质
CN114627573A (zh) * 2022-03-23 2022-06-14 深圳市元征科技股份有限公司 一种远程诊断方法、装置、电子设备及存储介质
CN114690747B (zh) * 2022-05-31 2022-08-26 深圳市星卡软件技术开发有限公司 一种排查诊断设备问题的方法、装置、设备以及存储介质
DE102022124470B3 (de) 2022-09-23 2023-07-27 Bayerische Motoren Werke Aktiengesellschaft Verfahren zur Steuerung einer Diagnosesession eines Fahrzeugs, Computerprogram, Vorrichtung und Fahrzeug
FR3141830A1 (fr) 2022-11-09 2024-05-10 Actia Group Diagnostic de vehicule a distance a l’aide d’applications de diagnostic standardisees non modifiees

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10225784A1 (de) * 2002-06-10 2003-12-18 Bosch Gmbh Robert Verfahren und Vorrichtungen zum Aufbau einer Kommunikationsverbindung zwischen einer Zentrale und einem Endgerät
JP2004299473A (ja) * 2003-03-28 2004-10-28 Mazda Motor Corp 遠隔故障診断システム及びその制御方法、並びに車両
CN103676659A (zh) * 2012-09-07 2014-03-26 深圳市车博仕电子科技有限公司 一种具智能记录的诊断仪及其记录方法
CN105843920A (zh) * 2016-03-25 2016-08-10 深圳市道通科技股份有限公司 一种应用于汽车诊断仪的信息显示的方法和装置
CN206363155U (zh) * 2016-12-23 2017-07-28 北京一雄信息科技有限公司 汽车故障远程诊断***
CN107608337A (zh) * 2017-09-25 2018-01-19 深圳市道通科技股份有限公司 汽车远程诊断方法和装置、移动终端、电子设备及服务器

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263268B1 (en) * 1997-08-26 2001-07-17 Transcontech Corporation System and method for providing mobile automotive telemetry
US8171134B2 (en) * 2009-03-18 2012-05-01 At&T Intellectual Property I, L.P. Methods and apparatus to characterize and predict network health status
DE102011076638A1 (de) * 2011-05-27 2012-11-29 Stephan Kaufmann Verfahren zur Fahrzeugkommunikation über ein fahrzeugimplementiertes Fahrzeugdiagnosesystem, Schnittstellenmodul sowie Fahrzeugdiagnose-Schnittstelle und Diagnose- und Steuerungsnetz für eine Vielzahl von Fahrzeugen
US9275503B2 (en) * 2012-04-18 2016-03-01 Aeris Communications, Inc. Method and apparatus for remotely communicating vehicle information to the cloud
US8744668B2 (en) * 2012-05-09 2014-06-03 Bosch Automotive Service Solutions Llc Automotive diagnostic server
CN103546512A (zh) * 2012-07-13 2014-01-29 上海博泰悦臻电子设备制造有限公司 车辆无线诊断方法及***
US9014908B2 (en) * 2013-01-04 2015-04-21 Innova Electronics, Inc. Multi-stage diagnostic system and method
DE102013004917A1 (de) * 2013-03-22 2014-09-25 Deutsche Telekom Ag Verfahren und System zur Fernauslesung von Daten eines Fahrzeugs zur Unterstützung der Wartung und/oder der Reparatur des Fahrzeugs, Telekommunikationsendgerät, Computerprogramm und Computerprogrammprodukt
CA2868573C (en) * 2013-10-24 2017-09-12 Alldata Llc Vehicle diagnostic systems and methods
CN107111858B (zh) * 2013-12-23 2020-12-15 罗伯特·博世有限公司 用于汽车诊断工具数据收集和分析的***以及方法
CN105404617B (zh) * 2014-09-15 2018-12-14 华为技术有限公司 一种远程桌面的控制方法、受控端及控制***
KR101580568B1 (ko) * 2014-11-12 2015-12-28 주식회사 유라코퍼레이션 차량용 진단 통신 장치 및 방법
CN105119947A (zh) * 2015-06-17 2015-12-02 深圳市美贝壳科技有限公司 一种用于家庭网络设备的远程监控方法
JP2017168994A (ja) * 2016-03-15 2017-09-21 本田技研工業株式会社 通信装置及び通信システム

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10225784A1 (de) * 2002-06-10 2003-12-18 Bosch Gmbh Robert Verfahren und Vorrichtungen zum Aufbau einer Kommunikationsverbindung zwischen einer Zentrale und einem Endgerät
JP2004299473A (ja) * 2003-03-28 2004-10-28 Mazda Motor Corp 遠隔故障診断システム及びその制御方法、並びに車両
CN103676659A (zh) * 2012-09-07 2014-03-26 深圳市车博仕电子科技有限公司 一种具智能记录的诊断仪及其记录方法
CN105843920A (zh) * 2016-03-25 2016-08-10 深圳市道通科技股份有限公司 一种应用于汽车诊断仪的信息显示的方法和装置
CN206363155U (zh) * 2016-12-23 2017-07-28 北京一雄信息科技有限公司 汽车故障远程诊断***
CN107608337A (zh) * 2017-09-25 2018-01-19 深圳市道通科技股份有限公司 汽车远程诊断方法和装置、移动终端、电子设备及服务器

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492546A (zh) * 2020-12-01 2021-03-12 广州优胜汽车科技有限公司 汽车控制方法、***及可读存储介质
CN113325830A (zh) * 2021-06-16 2021-08-31 江铃汽车股份有限公司 汽车诊断仪远程诊断方法
CN113835729A (zh) * 2021-09-23 2021-12-24 深圳市元征科技股份有限公司 升级方法、装置、终端设备及计算机可读存储介质
CN113835729B (zh) * 2021-09-23 2024-01-05 深圳市元征科技股份有限公司 升级方法、装置、终端设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN107608337B (zh) 2020-03-20
US20200226852A1 (en) 2020-07-16
EP3690579A4 (en) 2021-06-30
EP3690579A1 (en) 2020-08-05
CN107608337A (zh) 2018-01-19
US11615651B2 (en) 2023-03-28

Similar Documents

Publication Publication Date Title
WO2019057188A1 (zh) 汽车远程诊断方法和装置、移动终端、电子设备及服务器
CN106775434B (zh) 一种NVMe网络化存储的实现方法、终端、服务器及***
CN107592238B (zh) 接口的自动测试方法及***、服务终端、存储器
CN114253740A (zh) 基于Linux内核的协议栈数据传输方法及装置
EP3805886B1 (en) Data transmission method in vehicle communication interface apparatus, and vehicle communication interface apparatus
EP3217279A1 (en) Module system, module-based robot system, and update method for module system
CN104967585A (zh) 一种远程调试移动终端的方法和装置
CN204759403U (zh) 一种基于数据透传实现设备内部模块升级的***
CN107509051A (zh) 远程控制方法、装置、终端及计算机可读存储介质
WO2023125591A1 (zh) 远程诊断方法及装置、***、电子设备和存储介质
CN109116832A (zh) 车辆诊断数据无线通讯方法
EP3982268B1 (en) Chassis simulation method and apparatus, server, storage medium and program product
CN114064091A (zh) Ota升级控制方法、装置、电子设备及自动驾驶车辆
JP6138577B2 (ja) Flexrayゲートウェイ及びFlexrayゲートウェイを操作するための方法
CN109286689B (zh) 一种信息发送方法、装置及车载人车交互终端
JP2022044756A (ja) 運転訓練を補助するための移動デバイス、方法、電子デバイス、記憶媒体、及びプログラム
CN116300780A (zh) 零部件配置方法、装置、电子设备及存储介质
CN104253727A (zh) 车辆lin网络的诊断方法及其***
CN114003018A (zh) 一种车辆诊断方法及相关装置
CN113126590A (zh) 车辆诊断通信方法、装置、计算机设备和存储介质
CN106933755B (zh) 一种基于cpci背板的轮询通信方法
CN114503041B (zh) 车辆诊断方法、诊断连接器及诊断设备
WO2023050546A1 (zh) 投屏处理方法、***、电子设备和存储介质
CN103458011A (zh) 远程控制中多网卡计算机间的网卡绑定方法
JP2014197346A (ja) コントローラおよびプログラム

Legal Events

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

Ref document number: 18858440

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018858440

Country of ref document: EP

Effective date: 20200428