CN105530291A - Method, device and system for obtaining diagnostic equipment state - Google Patents

Method, device and system for obtaining diagnostic equipment state Download PDF

Info

Publication number
CN105530291A
CN105530291A CN201510860431.XA CN201510860431A CN105530291A CN 105530291 A CN105530291 A CN 105530291A CN 201510860431 A CN201510860431 A CN 201510860431A CN 105530291 A CN105530291 A CN 105530291A
Authority
CN
China
Prior art keywords
diagnostic device
server
state
heartbeat message
lost contact
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510860431.XA
Other languages
Chinese (zh)
Inventor
刘均
申舍林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Software Co Ltd
Original Assignee
Shenzhen Launch Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Software Co Ltd filed Critical Shenzhen Launch Software Co Ltd
Priority to CN201510860431.XA priority Critical patent/CN105530291A/en
Publication of CN105530291A publication Critical patent/CN105530291A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • 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/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention discloses a method for obtaining a diagnostic equipment state. The method comprises the following steps: receiving a login message of diagnostic equipment by a server, and establishing a link with the diagnostic equipment; receiving a short connection heartbeat message sent by the diagnostic equipment and closing the connection with the diagnostic equipment; and setting the state of the diagnostic equipment as not out of contact according to the short connection heartbeat message. The invention further discloses a device for obtaining the diagnostic equipment state and a system for obtaining the diagnostic equipment state. By adopting the method, the device and the system disclosed by the invention, the diagnostic equipment state is obtained, meanwhile, the traffic consumed by the interaction of the diagnostic equipment and the server is reduced, the power consumption of the diagnostic equipment is reduced, the automobile feed risk is avoided and the user experience is improved.

Description

Diagnostic device state acquiring method, device and system
Technical field
The present invention relates to automobile diagnosis technique field, particularly relate to a kind of diagnostic device state acquiring method, device and system.
Background technology
Along with the fast development of current auto manufacturing and the progress of automobile diagnosis technique, automotive diagnostic installation receives the welcome in market due to advantages such as it is easy and simple to handle, complete functions, the failure diagnosis that increasing user brings into use automotive diagnostic installation to carry out in vehicle use procedure.
Such as, when rent-a-car company carries out fleet management, to each vehicle in fleet, diagnostic device is installed, under the state that diagnostic device is online, just can be obtained the information of vehicles such as positional information, vehicle door status, vehicle body state of each vehicle by background server.Diagnostic device is connected by keeping long with background server, communicates, remains on line states, send information of vehicles to background server with background server.If remove the diagnostic device of vehicle, then background server judges that the current state of diagnostic device is as lost contact, cannot obtain information of vehicles.
For ensureing the management to fleet, rent-a-car company needs diagnostic device to be arranged on vehicle always, keeps being connected with background server, to realize the monitoring to vehicle each in fleet.Therefore, need background server and diagnostic device to keep long always and be connected, obtain the connection status of diagnostic device, after diagnostic device off-line, notify user in time.Like this, user can know the connection status of diagnostic device in time, the reason of investigation diagnostic device lost contact.
But diagnostic device is connected to keep long with background server, fast and the network traffics of a large amount of consumption user, the waste of flow can be caused to user.And diagnostic device and background server carry out growing when being connected, and power consumption is higher, automobile can be caused to have the risk of feed, not only waste resource, and reduce Consumer's Experience.
Summary of the invention
Main purpose of the present invention is to provide a kind of diagnostic device state acquiring method, device and system, is intended to solve diagnostic device and is connected with server is long the technical problem that power consumption is high, traffic consumes is fast.
For achieving the above object, the invention provides a kind of diagnostic device state acquiring method, described diagnostic device state acquiring method comprises the following steps:
Server receives the log messages of diagnostic device, with described diagnostic device link setup;
Receive the short connection heartbeat message that described diagnostic device sends, and close the connection with described diagnostic device;
According to described short connection heartbeat message, the state arranging described diagnostic device is non-lost contact.
Preferably, described according to described short connection heartbeat message, the state arranging described diagnostic device also comprises after being the step of non-lost contact:
If do not receive the short connection heartbeat message that described diagnostic device sends within the lost contact time of presetting, then the state arranging described diagnostic device is lost contact.
Preferably, described server receives the log messages of diagnostic device, after the step of described diagnostic device link setup, also comprises:
If receive the dormancy heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is non-lost contact;
If within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that described diagnostic device sends, then the state arranging described diagnostic device is lost contact.
Preferably, described server receives the log messages of diagnostic device, after the step of described diagnostic device link setup, also comprises:
If receive the off-line heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is lost contact.
In addition, for achieving the above object, the present invention also provides a kind of diagnostic device state acquisition device, and described diagnostic device state acquisition device comprises:
Link setup module, receives the log messages of diagnostic device, with described diagnostic device link setup for server;
Communication module, for receiving the short connection heartbeat message that described diagnostic device sends, and closes the connection with described diagnostic device;
Arrange module, for according to described short connection heartbeat message, the state arranging described diagnostic device is non-lost contact.
Preferably, described arrange module also for,
If do not receive the short connection heartbeat message that described diagnostic device sends within the lost contact time of presetting, then the state arranging described diagnostic device is lost contact.
Preferably, described diagnostic device state acquisition device also comprises:
Sleep block, if for receiving the dormancy heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is non-lost contact;
Described sleep block, if also within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that described diagnostic device sends, then the state arranging described diagnostic device is lost contact.
Preferably, described diagnostic device state acquisition device also comprises:
Off-line module, if for receiving the off-line heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is lost contact.
In addition, for achieving the above object, the present invention also provides a kind of diagnostic device state obtaining system, it is characterized in that, described diagnostic device state obtaining system comprises diagnostic device and server, wherein:
Described diagnostic device, for sending log messages, with described server link setup to server; Short connection heartbeat message is sent to described server;
Described server, comprises link setup module, communication module, arranges module, sleep block and off-line module.
Preferably, described diagnostic device also for,
Dormancy heartbeat message is sent to described server;
Off-line heartbeat message is sent to described server;
Described server, also arranges the state of described diagnostic device for the dormancy heartbeat message that sends according to described diagnostic device or off-line heartbeat message.
A kind of diagnostic device state acquiring method that the present invention proposes, device and system, receive the log messages of diagnostic device, with diagnostic device link setup by server; Then, server receives the short connection heartbeat message that diagnostic device sends, and closes the connection with diagnostic device; Server is according to short connection heartbeat message, and the state arranging diagnostic device is non-lost contact.The present invention sends short connection heartbeat message by obtaining diagnostic device, makes server obtain the current state of diagnostic device; And after completing interacting message, disconnect the connection of diagnostic device and server, achieve while acquisition diagnostic device state, decrease the flow that diagnostic device and server interaction consume, reduce the power consumption of diagnostic device, avoid the risk of automobile feed, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of diagnostic device state acquiring method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of diagnostic device state acquiring method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of diagnostic device state acquiring method the 3rd embodiment of the present invention;
Fig. 4 is the schematic flow sheet of diagnostic device state acquiring method the 4th embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of diagnostic device state acquisition device first embodiment of the present invention, the second embodiment;
Fig. 6 is the high-level schematic functional block diagram of diagnostic device state acquisition device the 3rd embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of diagnostic device state acquisition device the 4th embodiment of the present invention;
Fig. 8 is the module diagram of diagnostic device state obtaining system first embodiment of the present invention;
Fig. 9 is the module diagram of diagnostic device state obtaining system second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The primary solutions of the embodiment of the present invention is: server receives the log messages of diagnostic device, with described diagnostic device link setup; Receive the short connection heartbeat message that described diagnostic device sends, and close the connection with described diagnostic device; According to described short connection heartbeat message, the state arranging described diagnostic device is non-lost contact.
Because prior art diagnostic device and server keep long connection to communicate, understand fast and a large amount of network traffics consuming user, cause the waste of flow to user.And diagnostic device and server carry out growing when being connected, and power consumption is higher, automobile can be caused to have the risk of feed, not only waste resource, and reduce Consumer's Experience.
The invention provides a solution; diagnostic device is made to be connected keep-alive with server by short; the short connection heartbeat message that server sends according to diagnostic device etc. obtain the state of diagnostic device; achieve the acquisition of diagnostic device state; decrease the consumption of network traffics simultaneously; reduce the power consumption of diagnostic device, promote Consumer's Experience.
With reference to Fig. 1, diagnostic device state acquiring method first embodiment of the present invention provides a kind of diagnostic device state acquiring method, and described diagnostic device state acquiring method comprises:
Step S10, server receive the log messages of diagnostic device, with described diagnostic device link setup.
The embodiment of the present invention is mainly used in automotive diagnostic system, the acquisition of automotive diagnostic installation connection status, certainly, also may be used for the connection status monitoring of other equipment, can flexible Application according to actual needs.
In the present embodiment, diagnostic device is comprised with automotive diagnostic system and server is illustrated.
Diagnostic device is installed on automobile, by network and server communication, can obtain the fault code indications in vehicle diagnosis data flow, and the information of vehicles such as diagnostic data, real-time geographic information, driving condition are sent to server.
Server is communicated with diagnostic device by network as backstage, obtains the information of vehicles such as diagnostic data, real-time geographic information, driving condition that diagnostic device sends, makes user or manager can check the real time information of automobile at any time.
It should be noted that, the function of diagnostic device and server in this only explanation for example, not limiting property explanation.
Concrete, as a kind of execution mode, diagnostic device is arranged on automobile, when after diagnostic device electrifying startup, sends log messages, logon server to server.It should be noted that, log messages comprises identifying information and the logging request of Current Diagnostic equipment.
After server receives the log messages of diagnostic device, confirm the identity of diagnostic device, and return acknowledge message to diagnostic device, its logging request of notice diagnostic device is accepted.
Diagnostic device sends acknowledge message to server after receiving the acknowledge message of server, represents and connects with server, can communicate.Diagnostic device Successful login server.
Thus, server and diagnostic device success link setup, can communicate with diagnostic device.
Step S20, receive the short connection heartbeat message that described diagnostic device sends, and close and the connection of described diagnostic device.
After server and diagnostic device success link setup, server obtains the heartbeat message that diagnostic device sends.
Concrete, as a kind of execution mode, after server and diagnostic device success link setup, diagnostic device initiatively sends once short connection heartbeat message to server.
Server receives the short connection heartbeat message of diagnostic device.
Server, after successfully receiving the short connection heartbeat message of diagnostic device, replys message to diagnostic device, and notice diagnostic device has received short connection heartbeat message.
Then, diagnostic device or server all can initiate the operation of connection closed, disconnect the connection of server and diagnostic device.
Initiate connection closed operation with diagnostic device to be illustrated.
First, diagnostic device sends connection closed message to server, and announcement server connects by closing, and whether inquiry server also has data to need to send.
After server receives the connection closed message of diagnostic device transmission, reply acknowledge message to diagnostic device, notice diagnostic device server has received connection closed message, asks diagnostic device waiting for server to prepare the closedown of connection.
Diagnostic device does not cut out connection, the message of waiting for server after receiving the acknowledge message of server reply.
Server sends connection closed message to diagnostic device after being ready to close and connecting, and notice diagnostic device server has prepared to close and connected.
After diagnostic device receives the connection closed message of server transmission, reply acknowledge message to server, announcement server can close connection.And continue the message of waiting for server transmission.
After server receives the acknowledge message of diagnostic device reply, close and connect.
If diagnostic device does not receive the message that server sends within the time of presetting, then confirmed service device normally cuts out connection.Then, diagnostic device cuts out and connects.
Thus, realize the short connection heartbeat message that server receives diagnostic device, and close the connection with diagnostic device.
Step S30, according to described short connection heartbeat message, the state arranging described diagnostic device is non-lost contact.
Receive the short connection heartbeat message of diagnostic device transmission at server after, server confirms the non-lost contact of Current Diagnostic equipment.
Concrete, as a kind of execution mode, the short connection heartbeat message that diagnostic device sends carries identifying information and the status command of Current Diagnostic equipment, and announcement server Current Diagnostic equipment connection state is normal, non-lost contact.It should be noted that, the identifying information of diagnostic device can be the information such as the identification code of diagnostic device, can arrange flexibly according to actual needs, can find unique corresponding diagnostic device by identifying information.
After server receives the short connection heartbeat message of diagnostic device transmission, according to short connection heartbeat message, obtain identifying information and the status command of diagnostic device, confirm that the connection status of Current Diagnostic equipment is normal, non-lost contact.
Then, server is according to the identifying information of diagnostic device, and arranging state corresponding to Current Diagnostic equipment is non-lost contact.
Thus, server obtains the state of Current Diagnostic equipment.Follow-up, user or keeper according to the state of diagnostic device, can carry out the operations such as vehicle diagnostics.
It should be noted that, server can obtain the state of multiple diagnostic device simultaneously, and distinguishes different diagnostic devices by identifying information.
In the present embodiment, the log messages of diagnostic device is received by server, with diagnostic device link setup; Then, server receives the short connection heartbeat message that diagnostic device sends, and closes the connection with diagnostic device; Server is according to short connection heartbeat message, and the state arranging diagnostic device is non-lost contact.The present embodiment sends short connection heartbeat message by obtaining diagnostic device, makes server obtain the current state of diagnostic device; And after completing interacting message, disconnect the connection of diagnostic device and server, achieve while acquisition diagnostic device state, decrease the flow that diagnostic device and server interaction consume, reduce the power consumption of diagnostic device, avoid the risk of automobile feed, improve Consumer's Experience.
Further, with reference to Fig. 2, diagnostic device state acquiring method second embodiment of the present invention provides a kind of diagnostic device state acquiring method, based on the embodiment shown in above-mentioned Fig. 1, after described step S30, also comprises:
If step S40 does not receive the short connection heartbeat message of transmission of described diagnostic device within the lost contact time of presetting, then the state arranging described diagnostic device is lost contact.
Server pre-sets the lost contact time, if within the lost contact time of presetting, server does not receive the short connection heartbeat message of diagnostic device, then the state arranging diagnostic device is lost contact.
Concrete, as a kind of execution mode, diagnostic device is arranged on automobile, and after automobile starting, diagnostic device is electrifying startup also, starts working.
Diagnostic device upon actuation, initiatively can send log messages to server.After Successful login server, diagnostic device initiatively sends short connection heartbeat message to server.After server receives short connection heartbeat message, the state that can arrange Current Diagnostic equipment is non-lost contact.
If within the time of presetting, server does not receive the short connection heartbeat message of diagnostic device, then server judges that diagnostic device does not normally work, and state is lost contact.It should be noted that, the reason of diagnostic device lost contact comprises equipment fault, people removes the diagnostic device etc. that automobile assembles.
Then, the state that Servers installed Current Diagnostic equipment is corresponding is lost contact.
It should be noted that, the lost contact time of presetting can be arranged according to actual needs flexibly, and such as, if automobile is mainly daytime carry out work, then the lost contact time that can arrange daytime period is shorter, and the lost contact time of night-time hours is longer; If automobile is mainly night and carries out work, then the lost contact time that can arrange daytime period is longer, and the lost contact time of night-time hours is shorter.By arranging the lost contact time flexibly, the condition adjudgement accuracy rate of diagnostic device effectively can be promoted.
After the state obtaining diagnostic device, user or keeper can according to the installation relations of diagnostic device and vehicle, know the diagnostic device whether lost contact of each vehicle in fleet, and then next step operation is carried out according to the state of diagnostic device, such as diagnose the lost contact reason etc. of vehicle-state, investigation vehicle diagnostic equipment.
In the present embodiment, if server does not receive the short connection heartbeat message of diagnostic device within the lost contact time of presetting, then the state arranging Current Diagnostic equipment is lost contact.The present embodiment by arranging the lost contact time flexibly, thus judges diagnostic device whether lost contact according to the lost contact time, can obtain the state of diagnostic device more accurately, avoid judging by accident.
Further, with reference to Fig. 3, diagnostic device state acquiring method the 3rd embodiment of the present invention provides a kind of diagnostic device state acquiring method, based on the embodiment (the present embodiment is for Fig. 2) shown in above-mentioned Fig. 1 or 2, after described step S10, also comprise:
If step S50 receives the dormancy heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is non-lost contact.
If server receives the dormancy heartbeat message that diagnostic device sends, then the state of Servers installed Current Diagnostic equipment is non-lost contact.
Concrete, as a kind of execution mode, for reducing the power consumption of diagnostic device, being provided with the park mode of diagnostic device, such as, after diagnostic device starts, within the time of presetting, not receiving operational order, then automatically enter park mode.
Diagnostic device is when entering park mode, and initiatively game server, with server link setup, then send dormancy heartbeat message to server, announcement server Current Diagnostic equipment is about to enter park mode.Wherein, dormancy heartbeat message carries identifying information and the dormancy notice of Current Diagnostic equipment.
After server receives the dormancy heartbeat message of diagnostic device, close the connection with diagnostic device, and judge the non-lost contact of Current Diagnostic equipment.Then, the state that Servers installed Current Diagnostic equipment is corresponding is non-lost contact.
After this, diagnostic device enters park mode.Owing to being previously provided with the dormancy awakening time of diagnostic device, diagnostic device being waken up after the dormancy awakening time arrives, sends log messages to server, with server link setup, then send short connection heartbeat message to server.
Such as, if the dormancy awakening time of presetting is 1 hour, then every 1 hour, diagnostic device is waken up, and sends log messages, with server link setup, then send short connection heartbeat message to server, carry out keep-alive to server.
After server receives the short connection heartbeat message of diagnostic device, the state arranging Current Diagnostic equipment is non-lost contact.
If step S60 is within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that described diagnostic device sends, then the state arranging described diagnostic device is lost contact.
If diagnostic device is in park mode, within the dormancy awakening time of presetting, server does not receive the short connection heartbeat message that diagnostic device sends, then the state of Servers installed diagnostic device is lost contact.
Concrete, as a kind of execution mode, owing to being previously provided with the dormancy awakening time of diagnostic device, diagnostic device is waken up after the dormancy awakening time arrives, send log messages to server, with server link setup, then send short connection heartbeat message to server.
If after diagnostic device enters park mode, server does not receive the short connection heartbeat message of diagnostic device within the dormancy awakening time of presetting, now, diagnostic device may due to break down or people for the passive off-line of reason such as removing, server judges Current Diagnostic equipment lost contact.
Then, the state that Servers installed Current Diagnostic equipment is corresponding is lost contact.
In the present embodiment, if server receives the dormancy heartbeat message that diagnostic device sends, then close the connection with diagnostic device, and the state arranging diagnostic device is non-lost contact; If within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that diagnostic device sends, then the state of Servers installed Current Diagnostic equipment is lost contact.The present embodiment is provided with the park mode of diagnostic device, effectively reduces the energy consumption of diagnostic device, and diagnostic device, when entering park mode, can not be judged to be lost contact by serviced device; If diagnostic device does not initiatively send short connection heartbeat message to server within the dormancy awakening time of presetting, then the state of Servers installed diagnostic device is lost contact.The present embodiment achieves the setting of diagnostic device various modes, is applicable to plurality of application scenes, effectively improves efficiency and the accuracy rate of the acquisition of diagnostic device state.
Further, with reference to Fig. 4, diagnostic device state acquiring method the 4th embodiment of the present invention provides a kind of diagnostic device state acquiring method, based on the embodiment shown in above-mentioned Fig. 3, after described step S10, also comprises:
If step S70 receives the off-line heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is lost contact.
If server receives the off-line heartbeat message that diagnostic device sends, then server judges diagnostic device lost contact, and the state arranging diagnostic device is lost contact.
Concrete, as a kind of execution mode, diagnostic device is when off-line, and initiatively game server, with server link setup, sends off-line heartbeat message to server.Such as parking of automobile stops working, and under diagnostic device during electricity, diagnostic device active and server link setup, send off-line heartbeat message to server.Wherein, off-line heartbeat message carries identifying information and the off-line notice of Current Diagnostic equipment.
Server receives the off-line heartbeat message that diagnostic device sends, and closes the connection with diagnostic device, and obtains identifying information and the off-line notice of Current Diagnostic equipment according to off-line heartbeat message.
Thus, server learns Current Diagnostic equipment off-line according to off-line heartbeat message, and arranging state corresponding to Current Diagnostic equipment is lost contact.
In the present embodiment, if server receives the off-line heartbeat message that diagnostic device sends, then close the connection with diagnostic device, and the state arranging diagnostic device is lost contact.The present embodiment initiatively sends off-line heartbeat message to server when arranging electricity, off-line under diagnostic device, after server receives the off-line heartbeat message of diagnostic device transmission, can know the diagnostic device of lost contact according to off-line heartbeat message, and the state arranging this diagnostic device is lost contact.The present embodiment achieves the acquisition of multiple diagnostic device state, effectively improves efficiency and the accuracy rate of the acquisition of diagnostic device state.
With reference to Fig. 5, diagnostic device state acquisition device first embodiment of the present invention provides a kind of diagnostic device state acquisition device, and described diagnostic device state acquisition device comprises:
Link setup module 100, receives the log messages of diagnostic device, with described diagnostic device link setup for server.
The embodiment of the present invention is mainly used in automotive diagnostic system, the acquisition of automotive diagnostic installation connection status, certainly, also may be used for the connection status monitoring of other equipment, can flexible Application according to actual needs.
In the present embodiment, diagnostic device is comprised with automotive diagnostic system and server is illustrated.Diagnostic device state acquisition device is positioned on server.
Diagnostic device is installed on automobile, by network and server communication, can obtain the fault code indications in vehicle diagnosis data flow, and the information of vehicles such as diagnostic data, real-time geographic information, driving condition are sent to server.
Server is communicated with diagnostic device by network as backstage, obtains the information of vehicles such as diagnostic data, real-time geographic information, driving condition that diagnostic device sends, makes user or manager can check the real time information of automobile at any time.
It should be noted that, the function of diagnostic device and server in this only explanation for example, not limiting property explanation.
Concrete, as a kind of execution mode, diagnostic device is arranged on automobile, when after diagnostic device electrifying startup, sends log messages to link setup module 100, logs in diagnostic device state acquisition device.It should be noted that, log messages comprises identifying information and the logging request of Current Diagnostic equipment.
After link setup module 100 receives the log messages of diagnostic device, confirm the identity of diagnostic device, and return acknowledge message to diagnostic device, its logging request of notice diagnostic device is accepted.
After diagnostic device receives the acknowledge message of link setup module 100, send acknowledge message to link setup module 100, represent the state that connected with link setup module 100, can communicate.Diagnostic device Successful login diagnostic device state acquisition device.
Thus, link setup module 100 and diagnostic device success link setup, can communicate with diagnostic device.
Communication module 200, for receiving the short connection heartbeat message that described diagnostic device sends, and closes the connection with described diagnostic device.
After link setup module 100 with diagnostic device success link setup, communication module 200 obtains the heartbeat message that diagnostic device sends.
Concrete, as a kind of execution mode, after link setup module 100 with diagnostic device success link setup, diagnostic device initiatively sends once short connection heartbeat message to communication module 200.
Communication module 200 receives the short connection heartbeat message of diagnostic device.
Communication module 200, after successfully receiving the short connection heartbeat message of diagnostic device, replys message to diagnostic device, and notice diagnostic device has received short connection heartbeat message.
Then, diagnostic device or communication module 200 all can initiate the operation of connection closed, disconnect.
Initiate connection closed operation with diagnostic device to be illustrated.
First, diagnostic device sends connection closed message to communication module 200, and notice communication module 200 connects by closing, and whether inquiry communication module 200 also has data to need to send.
After communication module 200 receives the connection closed message of diagnostic device transmission, reply acknowledge message to diagnostic device, notice diagnostic device communication module 200 has received connection closed message, please wait for the closedown that communication module 200 preparation connects by diagnostic device.
Diagnostic device does not cut out connection after receiving the acknowledge message of communication module 200 reply, waits for the message of communication module 200.
Communication module 200 sends connection closed message to diagnostic device after being ready to close and connecting, and notice diagnostic device communication module 200 has prepared to close and connected.
Diagnostic device replys acknowledge message to communication module 200 after receiving the connection closed message of communication module 200 transmission, and notice communication module 200 can close connection.And continue the message waiting for communication module 200 transmission.
After communication module 200 receives the acknowledge message of diagnostic device reply, close and connect.
If diagnostic device does not receive the message that communication module 200 sends within the time of presetting, then confirm that communication module 200 normally closes connection.Then, diagnostic device cuts out and connects.
Thus, realize the short connection heartbeat message that communication module 200 receives diagnostic device, and close the connection with diagnostic device.
Arrange module 300, for according to described short connection heartbeat message, the state arranging described diagnostic device is non-lost contact.
Receive the short connection heartbeat message of diagnostic device transmission in communication module 200 after, module 300 is set and confirms the non-lost contact of Current Diagnostic equipment.
Concrete, as a kind of execution mode, the short connection heartbeat message that diagnostic device sends carries identifying information and the status command of Current Diagnostic equipment, and it is normal that notice arranges module 300 Current Diagnostic equipment connection state, non-lost contact.It should be noted that, the identifying information of diagnostic device can be the information such as the identification code of diagnostic device, can arrange flexibly according to actual needs, can find unique corresponding diagnostic device by identifying information.
Arrange after module 300 receives the short connection heartbeat message that diagnostic device sends, according to short connection heartbeat message, obtain the identifying information of diagnostic device and status command, confirm that the connection status of Current Diagnostic equipment is normal, non-lost contact.
Then, arrange the identifying information of module 300 according to diagnostic device, arranging state corresponding to Current Diagnostic equipment is non-lost contact.
Thus, diagnostic device state acquisition device obtains the state of Current Diagnostic equipment.Follow-up, user or keeper according to the state of diagnostic device, can carry out the operations such as vehicle diagnostics.
It should be noted that, diagnostic device state acquisition device can obtain the state of multiple diagnostic device simultaneously, and distinguishes different diagnostic devices by identifying information.
In the present embodiment, received the log messages of diagnostic device by link setup module 100, with diagnostic device link setup; Then, communication module 200 receives the short connection heartbeat message that diagnostic device sends, and closes the connection with diagnostic device; Arrange module 300 according to short connection heartbeat message, the state arranging diagnostic device is non-lost contact.The present embodiment sends short connection heartbeat message by obtaining diagnostic device, makes diagnostic device state acquisition device obtain the current state of diagnostic device; And after completing interacting message, disconnect the connection of diagnostic device and diagnostic device state acquisition device, achieve while acquisition diagnostic device state, decrease diagnostic device and mutual the consumed flow of diagnostic device state acquisition device, reduce the power consumption of diagnostic device, avoid the risk of automobile feed, improve Consumer's Experience.
Further, with reference to Fig. 5, diagnostic device state acquisition device second embodiment of the present invention provides a kind of diagnostic device state acquisition device, based on diagnostic device state acquisition device first embodiment of the present invention shown in above-mentioned Fig. 5, described arrange module 300 also for,
If do not receive the short connection heartbeat message that described diagnostic device sends within the lost contact time of presetting, then the state arranging described diagnostic device is lost contact.
Arrange module 300 and pre-set the lost contact time, if within the lost contact time of presetting, arrange the short connection heartbeat message that module 300 does not receive diagnostic device, then the state arranging diagnostic device is lost contact.
Concrete, as a kind of execution mode, diagnostic device is arranged on automobile, and after automobile starting, diagnostic device is electrifying startup also, starts working.
Diagnostic device upon actuation, initiatively can send log messages to link setup module 100.After Successful login, diagnostic device initiatively sends short connection heartbeat message to communication module 200.After communication module 200 receives short connection heartbeat message, arranging the state that module 300 can arrange Current Diagnostic equipment is non-lost contact.
If within the time of presetting, communication module 200 does not receive the short connection heartbeat message of diagnostic device, then arrange module 300 and judge that diagnostic device does not normally work, and state is lost contact.It should be noted that, the reason of diagnostic device lost contact comprises equipment fault, people removes the diagnostic device etc. that automobile assembles.
Then, arranging module 300, to arrange state corresponding to Current Diagnostic equipment be lost contact.
It should be noted that, the lost contact time of presetting can be arranged according to actual needs flexibly, and such as, if automobile is mainly daytime carry out work, then the lost contact time that can arrange daytime period is shorter, and the lost contact time of night-time hours is longer; If automobile is mainly night and carries out work, then the lost contact time that can arrange daytime period is longer, and the lost contact time of night-time hours is shorter.By arranging the lost contact time flexibly, the condition adjudgement accuracy rate of diagnostic device effectively can be promoted.
After the state obtaining diagnostic device, user or keeper can according to the installation relations of diagnostic device and vehicle, know the diagnostic device whether lost contact of each vehicle in fleet, and then next step operation is carried out according to the state of diagnostic device, such as diagnose the lost contact reason etc. of vehicle-state, investigation vehicle diagnostic equipment.
In the present embodiment, if communication module 200 does not receive the short connection heartbeat message of diagnostic device within the lost contact time of presetting, then arranging the state that module 300 arranges Current Diagnostic equipment is lost contact.The present embodiment by arranging the lost contact time flexibly, thus judges diagnostic device whether lost contact according to the lost contact time, can obtain the state of diagnostic device more accurately, avoid judging by accident.
Further, with reference to Fig. 6, diagnostic device state acquisition device the 3rd embodiment of the present invention provides a kind of diagnostic device state acquisition device, based on diagnostic device state acquisition device first embodiment of the present invention shown in above-mentioned Fig. 5 or the second embodiment (the present embodiment is illustrated with diagnostic device state acquisition device second embodiment of the present invention), described diagnostic device state acquisition device also comprises:
Sleep block 400, if for receiving the dormancy heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is non-lost contact.
If receive the dormancy heartbeat message that diagnostic device sends, then sleep block 400 arranges the state of Current Diagnostic equipment is non-lost contact.
Concrete, as a kind of execution mode, for reducing the power consumption of diagnostic device, being provided with the park mode of diagnostic device, such as, after diagnostic device starts, within the time of presetting, not receiving operational order, then automatically enter park mode.
Diagnostic device, when entering park mode, initiatively sends log messages to link setup module 100, with link setup module 100 link setup, then sends dormancy heartbeat message to sleep block 400, and notice sleep block 400 Current Diagnostic equipment is about to enter park mode.Wherein, dormancy heartbeat message carries identifying information and the dormancy notice of Current Diagnostic equipment.
After sleep block 400 receives the dormancy heartbeat message of diagnostic device, close the connection with diagnostic device, and judge the non-lost contact of Current Diagnostic equipment.Then, sleep block 400 arranges state corresponding to Current Diagnostic equipment is non-lost contact.
After this, diagnostic device enters park mode.Owing to being previously provided with the dormancy awakening time of diagnostic device; diagnostic device is waken up after the dormancy awakening time arrives, sends log messages to link setup module 100, with link setup module 100 link setup; then send short connection heartbeat message to sleep block 400, carry out keep-alive.
Such as, if the dormancy awakening time of presetting is 1 hour, then every 1 hour, diagnostic device is waken up, and sends log messages to link setup module 100, with link setup module 100 link setup, then sends short connection heartbeat message to sleep block 400.
After receiving the short connection heartbeat message of diagnostic device, the state that sleep block 400 arranges Current Diagnostic equipment is non-lost contact.
Described sleep block 400, if also within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that described diagnostic device sends, then the state arranging described diagnostic device is lost contact.
If diagnostic device is in park mode, within the dormancy awakening time of presetting, sleep block 400 does not receive the short connection heartbeat message that diagnostic device sends, then sleep block 400 arranges the state of diagnostic device is lost contact.
Concrete, as a kind of execution mode, owing to being previously provided with the dormancy awakening time of diagnostic device, diagnostic device is waken up after the dormancy awakening time arrives, send log messages to link setup module 100, with link setup module 100 link setup, then send short connection heartbeat message to sleep block 400.
If after diagnostic device enters park mode, sleep block 400 does not receive the short connection heartbeat message of diagnostic device within the dormancy awakening time of presetting, now, diagnostic device may due to break down or people for the passive off-line of reason such as removing, sleep block 400 judges Current Diagnostic equipment lost contact.
Then, sleep block 400 arranges state corresponding to Current Diagnostic equipment is lost contact.
In the present embodiment, if sleep block 400 receives the dormancy heartbeat message that diagnostic device sends, then close the connection with diagnostic device, and the state arranging diagnostic device is non-lost contact; If within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that diagnostic device sends, then sleep block 400 arranges the state of Current Diagnostic equipment is lost contact.The present embodiment is provided with the park mode of diagnostic device, effectively reduces the energy consumption of diagnostic device, and diagnostic device, when entering park mode, can not be judged as lost contact; If diagnostic device does not initiatively send short connection heartbeat message to diagnostic device state acquisition device within the dormancy awakening time of presetting, then diagnostic device state acquisition device arranges the state of diagnostic device is lost contact.The present embodiment achieves the setting of diagnostic device various modes, is applicable to plurality of application scenes, effectively improves efficiency and the accuracy rate of the acquisition of diagnostic device state.
Further, with reference to Fig. 7, diagnostic device state acquisition device the 4th embodiment of the present invention provides a kind of diagnostic device state acquisition device, and based on the embodiment shown in above-mentioned Fig. 6, described diagnostic device state acquisition device also comprises:
Off-line module 500, if for receiving the off-line heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is lost contact.
If receive the off-line heartbeat message that diagnostic device sends, then off-line module 500 judges diagnostic device lost contact, and the state arranging diagnostic device is lost contact.
Concrete, as a kind of execution mode, diagnostic device, when off-line, initiatively sends log messages to link setup module 100, with link setup module 100 link setup, then sends off-line heartbeat message to off-line module 500.Such as parking of automobile stops working, and under diagnostic device during electricity, diagnostic device active and link setup module 100 link setup, send off-line heartbeat message to off-line module 500.Wherein, off-line heartbeat message carries identifying information and the off-line notice of Current Diagnostic equipment.
Off-line module 500 receives the off-line heartbeat message that diagnostic device sends, and obtains identifying information and the off-line notice of Current Diagnostic equipment.
Thus, off-line module 500 learns Current Diagnostic equipment off-line according to off-line heartbeat message, and arranging state corresponding to Current Diagnostic equipment is lost contact.
In the present embodiment, if off-line module 500 receives the off-line heartbeat message that diagnostic device sends, then off-line module 500 closes the connection with diagnostic device, and the state arranging diagnostic device is lost contact.The present embodiment initiatively sends off-line heartbeat message to diagnostic device state acquisition device when arranging electricity, off-line under diagnostic device, after diagnostic device state acquisition device receives the off-line heartbeat message of diagnostic device transmission, can know the diagnostic device of lost contact according to off-line heartbeat message, and the state arranging this diagnostic device is lost contact.The present embodiment achieves the acquisition of multiple diagnostic device state, effectively improves efficiency and the accuracy rate of the acquisition of diagnostic device state.
With reference to Fig. 8, diagnostic device state obtaining system first embodiment of the present invention provides a kind of diagnostic device state obtaining system, and described diagnostic device state obtaining system comprises diagnostic device A and server B, wherein:
Described diagnostic device A, for sending log messages, with described server B link setup to server B; Short connection heartbeat message is sent to described server B.
The embodiment of the present invention is mainly used in the acquisition of automotive diagnostic installation A connection status, certainly, also may be used for the connection status monitoring of other equipment, can flexible Application according to actual needs.
In the present embodiment, diagnostic device A is installed on automobile, is communicated with server B by network, can obtain the fault code indications in vehicle diagnosis data flow, and the information of vehicles such as diagnostic data, real-time geographic information, driving condition are sent to server.
Server B is communicated with diagnostic device by network as backstage, obtains the information of vehicles such as diagnostic data, real-time geographic information, driving condition that diagnostic device sends, makes user or manager can check the real time information of automobile at any time.
It should be noted that, the function of diagnostic device A and server B in this only explanation for example, not limiting property explanation.
Concrete, as a kind of execution mode, diagnostic device A is arranged on vehicle, when after diagnostic device A electrifying startup, sends log messages, logon server B to server B.It should be noted that, log messages comprises identifying information and the logging request of Current Diagnostic equipment.
Diagnostic device A sends acknowledge message to server B after receiving the acknowledge message of server B, represents and connects with server B, can communicate.Diagnostic device A Successful login server B.
Thus, diagnostic device A and server B success link setup.
Then, diagnostic device A initiatively sends once short connection heartbeat message to server B.Server B receives the short connection heartbeat message of diagnostic device A.Server B, after successfully receiving the short connection heartbeat message of diagnostic device A, replys message to diagnostic device A, and notice diagnostic device A has received short connection heartbeat message.
Then, diagnostic device A or server B all can initiate the operation of connection closed, disconnect the connection of server B and diagnostic device A.
Initiate connection closed operation with diagnostic device A to be illustrated.
First, diagnostic device A sends connection closed message to server B, and announcement server B connects by closing, and whether inquiry server B also has data to need to send.
After server B receives the connection closed message of diagnostic device A transmission, reply acknowledge message to diagnostic device A, notice diagnostic device A server B has received connection closed message, asks diagnostic device A waiting for server B to prepare the closedown of connection.
Diagnostic device A does not close connection, the message of waiting for server B after receiving the acknowledge message of server B reply.
Server B sends connection closed message to diagnostic device A after being ready to close and connecting, and notice diagnostic device A server B has prepared to close and connected.
After diagnostic device A receives the connection closed message of server B transmission, reply acknowledge message to server B, announcement server B can close connection.And continue the message of waiting for server B transmission.
After server B receives the acknowledge message of diagnostic device A reply, close and connect.
If diagnostic device A does not receive the message that server B sends within the time of presetting, then confirmed service device B normally closes connection.Then, diagnostic device A closes and connects.
Thus, complete diagnostic device A and send once short connection heartbeat message to server B.
Described server B, comprises link setup module 100, communication module 200, arranges module 300, sleep block 400 and off-line module 500.
Server B is mainly used in communicating with diagnostic device A, obtains the state of diagnostic device A, judges diagnostic device A whether lost contact.
Concrete, as a kind of execution mode, first, link setup module 100 receives the log messages of diagnostic device A, with diagnostic device A link setup.
Then, communication module 200 receives the short connection heartbeat message that diagnostic device A sends, and closes the connection with diagnostic device A;
Then, arrange module 300 according to the short connection heartbeat message received, arranging state corresponding to Current Diagnostic equipment is non-lost contact.
If within the lost contact time of presetting, communication module 200 does not receive the short connection heartbeat message that diagnostic device sends, then arranging module 300, to arrange state corresponding to Current Diagnostic equipment be lost contact.
Sleep block 400 is mainly used in arranging diagnostic device A when park mode, corresponding state.
When off-line module 500 is mainly used in arranging diagnostic device A off-line, corresponding state.
Thus, server B realizes the communication with diagnostic device A, obtains the connection status of diagnostic device A.
In the present embodiment, diagnostic device state obtaining system comprises diagnostic device A and server B, and diagnostic device A initial landing server B, with server B link setup; Then, diagnostic device A sends short connection heartbeat message to server B, after server B receives short connection heartbeat message, disconnects the connection of diagnostic device A and server B; It is non-lost contact that server B arranges state corresponding to diagnostic device A according to short connection heartbeat message.The present embodiment is mutual by the short connection message of diagnostic device and server, achieves the acquisition of diagnostic device state, effectively reduces the consumption of network traffics in reciprocal process simultaneously, save the energy consumption of diagnostic device, improve Consumer's Experience.
Further, with reference to Fig. 9, diagnostic device state obtaining system second embodiment of the present invention provides a kind of diagnostic device state obtaining system, based on the embodiment shown in above-mentioned Fig. 8, described diagnostic device A also for,
Dormancy heartbeat message is sent to described server B;
Off-line heartbeat message is sent to described server B.
Concrete, as a kind of execution mode, for reducing the power consumption of diagnostic device, diagnostic device A is provided with and puts park mode, such as, after diagnostic device A starts, does not receive operational order, then automatically enter park mode within the time of presetting.
Diagnostic device A is when entering park mode, and initiatively send dormancy heartbeat message to server B, announcement server B Current Diagnostic device A is about to enter park mode.Wherein, dormancy heartbeat message carries identifying information and the dormancy notice of Current Diagnostic device A.
After this, diagnostic device A enters park mode.Owing to being previously provided with alarm clock timing arouse machine processed, then can according to the dormancy awakening set of time timing device for alarm clock preset, diagnostic device A is waken up after the dormancy awakening time arrives, log messages is sent to server B, with server B link setup, then send short connection heartbeat message to server B.
As another kind of execution mode, diagnostic device A, when off-line, initiatively sends off-line heartbeat message to server B.Such as parking of automobile stops working, and under diagnostic device during electricity, diagnostic device A initiatively sends off-line heartbeat message to server B.Wherein, off-line heartbeat message carries identifying information and the off-line notice of Current Diagnostic device A.
Described server B, also arranges the state of described diagnostic device A for the dormancy heartbeat message that sends according to described diagnostic device A or off-line heartbeat message.
If server B receives the dormancy heartbeat message of diagnostic device A, then server B closes the connection with diagnostic device, and judges the non-lost contact of Current Diagnostic device A.Then, server B arranges state corresponding to Current Diagnostic device A is non-lost contact.
After this, diagnostic device A enters park mode.Owing to being previously provided with the dormancy awakening time of diagnostic device A, diagnostic device A being waken up after the dormancy awakening time arrives, sends log messages to server B, with server B link setup, then send short connection heartbeat message to server B.
After server B receives diagnostic device A short connection heartbeat message in the hibernation mode, the state arranging Current Diagnostic device A is non-lost contact.
If server B receives the off-line heartbeat message that diagnostic device A sends, then server B closes the connection with diagnostic device, and obtains identifying information and the off-line notice of Current Diagnostic device A according to off-line heartbeat message.
Thus, server B learns Current Diagnostic device A off-line, and arranging state corresponding to Current Diagnostic device A is lost contact.
In the present embodiment, diagnostic device A is also for sending dormancy heartbeat message, off-line heartbeat message to server B; Server B also arranges the state of diagnostic device A for the dormancy heartbeat message that sends according to diagnostic device A or off-line heartbeat message.The present embodiment achieves server for the acquisition of state under diagnostic device multiple-working mode and setting, while reducing flow that communication consumes, reducing diagnostic device power consumption, effectively improves efficiency and accuracy rate that diagnostic device state obtains.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a diagnostic device state acquiring method, is characterized in that, described diagnostic device state acquiring method comprises the following steps:
Server receives the log messages of diagnostic device, with described diagnostic device link setup;
Receive the short connection heartbeat message that described diagnostic device sends, and close the connection with described diagnostic device;
According to described short connection heartbeat message, the state arranging described diagnostic device is non-lost contact.
2. diagnostic device state acquiring method as claimed in claim 1, is characterized in that, described according to described short connection heartbeat message, and the state arranging described diagnostic device also comprises after being the step of non-lost contact:
If do not receive the short connection heartbeat message that described diagnostic device sends within the lost contact time of presetting, then the state arranging described diagnostic device is lost contact.
3. diagnostic device state acquiring method as claimed in claim 1 or 2, is characterized in that, described server receives the log messages of diagnostic device, after the step of described diagnostic device link setup, also comprises:
If receive the dormancy heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is non-lost contact;
If within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that described diagnostic device sends, then the state arranging described diagnostic device is lost contact.
4. diagnostic device state acquiring method as claimed in claim 3, is characterized in that, described server receives the log messages of diagnostic device, after the step of described diagnostic device link setup, also comprises:
If receive the off-line heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is lost contact.
5. a diagnostic device state acquisition device, is characterized in that, described diagnostic device state acquisition device comprises:
Link setup module, receives the log messages of diagnostic device, with described diagnostic device link setup for server;
Communication module, for receiving the short connection heartbeat message that described diagnostic device sends, and closes the connection with described diagnostic device;
Arrange module, for according to described short connection heartbeat message, the state arranging described diagnostic device is non-lost contact.
6. diagnostic device state acquisition device as claimed in claim 5, is characterized in that, described arrange module also for,
If do not receive the short connection heartbeat message that described diagnostic device sends within the lost contact time of presetting, then the state arranging described diagnostic device is lost contact.
7. the diagnostic device state acquisition device as described in claim 5 or 6, is characterized in that, described diagnostic device state acquisition device also comprises:
Sleep block, if for receiving the dormancy heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is non-lost contact;
Described sleep block, if also within the dormancy awakening time of presetting, do not receive the short connection heartbeat message that described diagnostic device sends, then the state arranging described diagnostic device is lost contact.
8. diagnostic device state acquisition device as claimed in claim 7, it is characterized in that, described diagnostic device state acquisition device also comprises:
Off-line module, if for receiving the off-line heartbeat message that described diagnostic device sends, then close the connection with described diagnostic device, and the state arranging described diagnostic device is lost contact.
9. a diagnostic device state obtaining system, is characterized in that, described diagnostic device state obtaining system comprises diagnostic device and server, wherein:
Described diagnostic device, for sending log messages, with described server link setup to server; Short connection heartbeat message is sent to described server;
Described server, comprises the device as described in any one of claim 5-9.
10. diagnostic device state obtaining system as claimed in claim 9, is characterized in that, described diagnostic device also for,
Dormancy heartbeat message is sent to described server;
Off-line heartbeat message is sent to described server;
Described server, also arranges the state of described diagnostic device for the dormancy heartbeat message that sends according to described diagnostic device or off-line heartbeat message.
CN201510860431.XA 2015-11-30 2015-11-30 Method, device and system for obtaining diagnostic equipment state Pending CN105530291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510860431.XA CN105530291A (en) 2015-11-30 2015-11-30 Method, device and system for obtaining diagnostic equipment state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510860431.XA CN105530291A (en) 2015-11-30 2015-11-30 Method, device and system for obtaining diagnostic equipment state

Publications (1)

Publication Number Publication Date
CN105530291A true CN105530291A (en) 2016-04-27

Family

ID=55772267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510860431.XA Pending CN105530291A (en) 2015-11-30 2015-11-30 Method, device and system for obtaining diagnostic equipment state

Country Status (1)

Country Link
CN (1) CN105530291A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102350A (en) * 2017-06-20 2018-12-28 宁波轩悦行电动汽车服务有限公司 A kind of electric car lease monitoring system and O&M method
CN109102349A (en) * 2017-06-20 2018-12-28 宁波轩悦行电动汽车服务有限公司 A kind of electric car lease management system and management method
CN110488799A (en) * 2019-09-11 2019-11-22 重庆长安汽车股份有限公司 A kind of automotive networking suspend mode diagnostic system and method
CN111857103A (en) * 2020-07-31 2020-10-30 深圳市元征科技股份有限公司 Vehicle diagnosis method, device, equipment and storage medium
CN112511615A (en) * 2020-11-23 2021-03-16 东风汽车集团有限公司 Gateway control method for monitoring whole vehicle network dormancy state in real time
CN112597022A (en) * 2020-12-24 2021-04-02 Oppo(重庆)智能科技有限公司 Remote diagnosis method, device, storage medium and electronic equipment
CN112949869A (en) * 2021-02-08 2021-06-11 上海钧正网络科技有限公司 Vehicle loss of contact prediction method, system, medium and server
CN113835977A (en) * 2021-09-23 2021-12-24 深圳Tcl新技术有限公司 State prompting method and device, computer equipment and computer readable storage medium
CN113992737A (en) * 2020-07-09 2022-01-28 青岛海信宽带多媒体技术有限公司 Internet of things connection method, gateway server and gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100290335A1 (en) * 2009-05-13 2010-11-18 Avaya Inc. Method and apparatus for locally implementing port selection via synchronized port state databases maintained by the forwarding plane of a network element
CN103795554A (en) * 2012-10-29 2014-05-14 华为技术有限公司 Terminal state managing method, device and system
CN104408956A (en) * 2014-11-06 2015-03-11 深圳市广和通无线通信软件有限公司 Vehicle state monitoring method and system
CN104754003A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Data transmission method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100290335A1 (en) * 2009-05-13 2010-11-18 Avaya Inc. Method and apparatus for locally implementing port selection via synchronized port state databases maintained by the forwarding plane of a network element
CN103795554A (en) * 2012-10-29 2014-05-14 华为技术有限公司 Terminal state managing method, device and system
CN104754003A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Data transmission method and system
CN104408956A (en) * 2014-11-06 2015-03-11 深圳市广和通无线通信软件有限公司 Vehicle state monitoring method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102350A (en) * 2017-06-20 2018-12-28 宁波轩悦行电动汽车服务有限公司 A kind of electric car lease monitoring system and O&M method
CN109102349A (en) * 2017-06-20 2018-12-28 宁波轩悦行电动汽车服务有限公司 A kind of electric car lease management system and management method
CN110488799A (en) * 2019-09-11 2019-11-22 重庆长安汽车股份有限公司 A kind of automotive networking suspend mode diagnostic system and method
CN113992737A (en) * 2020-07-09 2022-01-28 青岛海信宽带多媒体技术有限公司 Internet of things connection method, gateway server and gateway
CN111857103A (en) * 2020-07-31 2020-10-30 深圳市元征科技股份有限公司 Vehicle diagnosis method, device, equipment and storage medium
CN111857103B (en) * 2020-07-31 2022-04-19 深圳市元征科技股份有限公司 Vehicle diagnosis method, device, equipment and storage medium
CN112511615A (en) * 2020-11-23 2021-03-16 东风汽车集团有限公司 Gateway control method for monitoring whole vehicle network dormancy state in real time
CN112597022A (en) * 2020-12-24 2021-04-02 Oppo(重庆)智能科技有限公司 Remote diagnosis method, device, storage medium and electronic equipment
CN112949869A (en) * 2021-02-08 2021-06-11 上海钧正网络科技有限公司 Vehicle loss of contact prediction method, system, medium and server
CN112949869B (en) * 2021-02-08 2023-07-04 上海钧正网络科技有限公司 Vehicle disconnection prediction method, system, medium and server
CN113835977A (en) * 2021-09-23 2021-12-24 深圳Tcl新技术有限公司 State prompting method and device, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN105530291A (en) Method, device and system for obtaining diagnostic equipment state
CN109861388B (en) Remote monitoring method of vehicle-mounted intelligent terminal
CN103728971A (en) Automobile fault diagnosis system and method
CN101408758B (en) Automobile tail gas monitoring system
KR101439050B1 (en) Method for dark current inspection of vehicle
CN113093687B (en) Fault diagnosis system and method based on domain controller
CN111885687A (en) Power consumption management module of embedded equipment of thing networking
CN110602771A (en) Power consumption control method and device and vehicle networking terminal
CN110995823B (en) Vehicle-mounted terminal offline processing method, device, storage medium and device
CN202979030U (en) Vehicle fault and alarm information notification system
CN107195030B (en) A kind of shared bicycle lock control system and method based on GNSS positioning
CN112398661B (en) Equipment dormancy processing method and device, ioT equipment and storage medium
CN109067560B (en) Self-description terminal plug and play method based on open communication
CN105635211A (en) Vehicle-mounted real-time information communication method based on multifunctional vehicle bus
CN107342789B (en) Networking communication method of cable anti-theft monitoring system
CN106487897B (en) Automobile remote communication control method and system
CN109039427B (en) Ship monitoring management device
CN109177800A (en) A kind of electric car charging intelligent interconnection method and system
CN201477735U (en) Vehicle-mounted real-time wireless sensor monitoring system
CN111315000A (en) Vehicle data transmission method, device, equipment and storage medium
CN114710522A (en) Android platform-based vehicle-mounted network architecture system and method
CN112242916B (en) Automobile network communication system and implementation method
CN114675620A (en) Wake-up monitoring method and device
CN204537439U (en) A kind of locomotive electronic ID security protection system
CN114167846A (en) Remote fault diagnosis system and method for new energy automobile

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160427

RJ01 Rejection of invention patent application after publication