CN110738755A - Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium - Google Patents

Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium Download PDF

Info

Publication number
CN110738755A
CN110738755A CN201911028289.7A CN201911028289A CN110738755A CN 110738755 A CN110738755 A CN 110738755A CN 201911028289 A CN201911028289 A CN 201911028289A CN 110738755 A CN110738755 A CN 110738755A
Authority
CN
China
Prior art keywords
vehicle
information
cloud platform
judged
operation information
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
CN201911028289.7A
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.)
Jiangxi B Energy Shangrao Coach Co Ltd
Original Assignee
Jiangxi B Energy Shangrao Coach 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 Jiangxi B Energy Shangrao Coach Co Ltd filed Critical Jiangxi B Energy Shangrao Coach Co Ltd
Priority to CN201911028289.7A priority Critical patent/CN110738755A/en
Publication of CN110738755A publication Critical patent/CN110738755A/en
Pending legal-status Critical Current

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/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides vehicle-mounted terminal data transmission methods, systems, mobile terminals and storage media, wherein the method comprises the steps of judging whether a communication link between the vehicle-mounted terminal and a cloud platform is normal, if not, storing received vehicle operation information, if so, sending login information to the cloud platform, continuously storing the vehicle operation information when judging that the cloud platform is not successfully verified, sending the vehicle operation information and heartbeat information to the cloud platform until judging that the cloud platform is successfully verified, continuously sending the vehicle operation information and the heartbeat information when judging that the cloud platform is not successfully verified, obtaining the current operation state, sending logout information to the cloud platform when judging that the current operation state meets logout conditions, and logging out dormancy after preset time.

Description

Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium
Technical Field
The invention belongs to the technical field of automobile vehicle-mounted terminals, and particularly relates to vehicle-mounted terminal data transmission methods, systems, mobile terminals and storage media.
Background
The new energy vehicles are developed very rapidly in China in recent years, and in order to ensure the running safety of the new energy vehicles, the vehicle real-time running data are uploaded to a cloud platform through a vehicle-mounted terminal, and the running vehicles are supervised at the backstage for 24 h. The interpretation and analysis of the data uploaded by the vehicle-mounted terminal can find the fault, solve the fault, predict the fault and expand other applications.
The vehicle-mounted terminal is a medium for carrying out background remote supervision and real-time running of the vehicle, and uploads the real-time running data of the vehicle to the cloud platform, wherein the data uploading logic is core content. However, in the use process of the existing vehicle-mounted terminal, real-time data uploading logics are different, so that the existing vehicle-mounted terminal only meets the national standard and does not deeply refine and optimize the data uploading logics, and the problems are frequently generated in the practical application process. The concrete embodiment is as follows: data is not saved due to abnormal communication link, so that data is lost; unsuccessful responses, no upload logic changes, leading to problems that are difficult to find.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem that data is lost due to the fact that data is not stored due to communication link abnormality in the data transmission process of the conventional vehicle-mounted terminal.
The embodiment of the invention is realized in such a way that vehicle-mounted terminal data transmission methods comprise:
judging whether a communication link between the cloud platform and the cloud platform is normal or not;
when the communication link is judged to be abnormal, storing the received vehicle running information;
when the communication link is judged to be normal, login information is sent to the cloud platform;
when the verification of the cloud platform for the login information is judged to be unsuccessful, continuously storing the vehicle operation information until the verification of the cloud platform for the login information is judged to be successful, and sending the vehicle operation information and heartbeat information to the cloud platform;
when the cloud platform is judged to be unsuccessful in checking the vehicle operation information, continuously sending the vehicle operation information;
and acquiring a current operation state, sending logout information to the cloud platform when judging that the current operation state meets a logout condition, and logging out the hibernation after preset time.
Further at , after the step of determining that the verification of the login information by the cloud platform is not successful, the method further includes:
when the fact that the check-in response of the login information is received is judged to be unsuccessful, the login information is continuously sent with the second preset time as an interval, and the login information is accumulated and counted to obtain a login count value;
and when the login count value is judged to be larger than the th count threshold value, continuously sending the login information at intervals of the third preset time.
Further , the step of continuing the transmission of the vehicle operation information and the heartbeat information includes:
when the fact that the check-in information check response is not received successfully is judged, the vehicle running information and the heartbeat information are continuously sent at intervals of the fourth preset time, and counting is accumulated to obtain a running count value;
and when the operation count value is judged to be larger than the second count threshold value, the vehicle-mounted terminal logs out.
Further to step , the method further comprises:
when the automobile is judged to have a three-level fault in the sending process of the vehicle operation information, acquiring data after the fault, and uploading the data after the fault;
and acquiring data before the fault, and sending the data before the fault by adopting a supplementary transmission mode.
Further to step , the method further comprises:
when the automobile is judged to be in a communication blind area in the sending process of the vehicle running information, the vehicle running information of the whole automobile is obtained and stored;
and when the automobile exits the communication blind area, the vehicle operation information is sent in a supplementary transmission mode.
Further to step , the method further comprises:
when the automobile is judged to be in a communication blind area in the sending process of the vehicle operation information and a three-level fault occurs in the automobile, sequentially storing data before the fault and data after the fault;
and after the automobile drives out of the communication blind area, transmitting the data before the fault and the data after the fault in a supplementary transmission mode.
Further , the step of storing the received vehicle operation information includes:
controlling -level flash memory devices to store the vehicle operation information, and overwriting the stored information when the -level flash memory devices are judged to be full;
and controlling a second-level flash memory device to periodically store the vehicle operation information according to a preset storage period.
Another objective of the embodiments of the present invention is to provide kinds of vehicle-mounted terminal data transmission systems, including:
the communication link detection module is used for judging whether a communication link between the cloud platform and the communication link detection module is normal or not; when the communication link is judged to be abnormal, storing the received vehicle running information; when the communication link is judged to be normal, login information is sent to the cloud platform;
the login information sending module is used for continuously storing the vehicle operation information when the verification of the cloud platform for the login information is judged to be unsuccessful, and sending the vehicle operation information and the heartbeat information to the cloud platform when the verification of the cloud platform for the login information is judged to be successful;
the operation information sending module is used for continuously sending the vehicle operation information when the cloud platform is judged to be unsuccessful in checking the vehicle operation information;
and the logout module is used for acquiring the current running state, sending logout information to the cloud platform when judging that the current running state meets the logout condition, and logging out the hibernation after -th preset time.
Another objective of the embodiments of the present invention is to provide kinds of mobile terminals, which include a storage device and a processor, the storage device is used for storing a computer program, and the processor runs the computer program to make the mobile terminal execute the above-mentioned vehicle-mounted terminal data transmission method.
Another object of the present invention is to provide storage media, which store computer programs used in the mobile terminal and realize the steps of the data transmission method of the vehicle-mounted terminal when the computer programs are executed by a processor.
According to the embodiment of the invention, the coping strategies are designed aiming at the conditions that the communication link is abnormal, the check of the login information is not successful and the check of the vehicle operation information is not successful, so that the vehicle operation information is accurately and reliably uploaded to the cloud platform, the integral logic of uploading the vehicle operation data by the vehicle-mounted terminal is simplified, and the vehicle operation data is efficiently, practically, accurately and reliably uploaded by the vehicle-mounted terminal.
Drawings
Fig. 1 is a flowchart of a data transmission method of a vehicle-mounted terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a data transmission method of a vehicle-mounted terminal according to a second embodiment of the invention;
FIG. 3 is a diagram illustrating steps S41-S81 shown in FIG. 2;
FIG. 4 is a diagram illustrating steps S91-S121 of FIG. 2;
fig. 5 is a schematic structural diagram of a vehicle-mounted terminal data transmission system according to a third embodiment of the present invention.
Detailed Description
For purposes of making the objects, aspects and advantages of the present invention more apparent, the present invention will be described in detail below with reference to the accompanying drawings and examples.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example
Referring to fig. 1, a flowchart of a data transmission method of a vehicle-mounted terminal according to an embodiment of the present invention includes:
step S10, judging whether the communication link between the cloud platform and the cloud platform is normal;
the vehicle-mounted terminal receives the activation signal, detects whether the communication link is normal after the self-detection is normal, and the specific communication link detection method is realized by programming a corresponding program according to a communication chip (2G/4G) adopted by the vehicle-mounted terminal;
when the step S10 determines that the communication link is abnormal, execute step S20;
step S20, storing the received vehicle operation information;
when the communication link is abnormal, the whole vehicle operation information is sent to the vehicle-mounted terminal in real time, and the vehicle-mounted terminal stores the received data;
when the step S10 determines that the communication link is normal, execute step S30;
step S30, sending login information to the cloud platform;
the login information comprises an identifier and a vehicle VIN, and does not comprise vehicle operation data information;
after the step S30 sends login information to the cloud platform, the step S40 is executed;
step S40, judging whether the verification of the cloud platform for the login information is successful;
when the step S40 determines that the verification of the login information by the cloud platform is not successful, executing step S50;
step S50, continuously storing the vehicle operation information until the vehicle operation information and the heartbeat information are sent to the cloud platform when the cloud platform is judged to be successfully verified for the login information;
the method comprises the steps that a vehicle operation information period is normally sent for 10s, heartbeat information of a vehicle-mounted terminal is sent at the same time, the heartbeat information does not contain vehicle operation data information, and the vehicle operation information period is sent for 30 s;
when the step S40 determines that the verification of the cloud platform for the login information is successful, executing step S60;
step S60, vehicle operation information and heartbeat information are sent to the cloud platform;
after the step S60 sends the vehicle operation information and the heartbeat information to the cloud platform, executing step S70;
step S70, judging whether the cloud platform successfully checks the vehicle operation information;
when the step S70 determines that the verification of the cloud platform for the vehicle operation information is successful, repeatedly executing step S60;
when it is determined at step S70 that the verification of the cloud platform for the vehicle operation information is not successful, performing step S80;
step S80, continuously transmitting the vehicle operation information and the heartbeat information;
step S90, acquiring a current running state, sending logout information to the cloud platform when judging that the current running state meets the logout condition, and logging out the hibernation after the preset time of ;
in the embodiment, the coping strategies are designed when the communication link is abnormal, the check of the login information is not successful and the check of the vehicle operation information is not successful, so that the vehicle operation information is accurately and reliably uploaded to the cloud platform, the overall logic of uploading the vehicle operation data by the vehicle-mounted terminal is simplified, and the vehicle operation data is efficiently, practically, accurately and reliably uploaded by the vehicle-mounted terminal.
Example two
Referring to fig. 2 to fig. 4, a flowchart of a data transmission method for a vehicle-mounted terminal according to a second embodiment of the present invention is shown, including the steps of:
step S11, judging whether the communication link between the cloud platform and the cloud platform is normal;
the vehicle-mounted terminal receives the activation signal, detects whether the communication link is normal after the self-detection is normal, and the specific communication link detection method is realized by programming a corresponding program according to a communication chip (2G/4G) adopted by the vehicle-mounted terminal;
when the step S11 determines that the communication link is abnormal, execute step S21;
step S21, storing the received vehicle operation information;
when the communication link is abnormal, the whole vehicle operation information is sent to the vehicle-mounted terminal in real time, the vehicle-mounted terminal stores the received data, and the step of storing the received vehicle operation information comprises the following steps:
controlling -level flash memory devices to store the vehicle operation information, and overwriting the stored information when the -level flash memory devices are judged to be full;
controlling a second-level flash memory device to periodically store the vehicle operation information according to a preset storage period;
when the step S11 determines that the communication link is normal, execute step S31;
step S31, sending login information to the cloud platform;
after the step S31 sends login information to the cloud platform, the step S41 is executed;
step S41, judging whether the verification of the cloud platform for the login information is successful;
when the step S41 determines that the verification of the cloud platform for the login information is successful, executing step S81;
when the step S41 determines that the verification of the login information by the cloud platform is not successful, executing step S51;
step S51, the login information is continuously sent at intervals of the second preset time, and the login information is accumulated to obtain a login count value. Storing the vehicle running information at intervals;
and the vehicle-mounted terminal waits for 3min, continues to send a login signal and accumulates the count. Storing the vehicle running information at intervals;
when the execution of step S51 is completed, step S41 is executed;
when the step S41 determines that the verification of the cloud platform for the login information is successful, executing step S81;
when the step S41 determines that the verification of the login information by the cloud platform is not successful, executing step S61;
step S61, judging whether the login count is larger than a count threshold value;
when the step S61 determines that the login count is not successfully greater than the count threshold, step S51 is executed in a loop;
when the step S61 determines whether the login count is greater than the count threshold, step S71 is executed;
step S71, continuously sending the login information at intervals of the third preset time. Storing the vehicle running information at intervals;
the vehicle-mounted terminal waits for 3min in a circulating mode, counts for 3 times, continues to send a login signal after waiting for 30min, and continues to store the vehicle running information within the interval time if does not successfully respond;
when the execution of step S71 is completed, step S41 is executed;
when the step S41 determines that the verification of the login information by the cloud platform is not successful, circularly executing step S51;
when the step S41 determines that the verification of the cloud platform for the login information is successful, executing step S81;
step S81, vehicle operation information and heartbeat information are sent to the cloud platform;
when the execution of step S81 is completed, step S91 is executed;
step S91, judging whether the cloud platform successfully checks the vehicle operation information;
when the step S91 determines that the verification of the cloud platform for the vehicle operation information is successful, circularly executing step S81;
when the step S91 determines that the verification of the cloud platform for the vehicle operation information is not successful, executing step S101;
and S101, continuously sending the vehicle running and heartbeat information at intervals of the fourth preset time, and accumulating and counting to obtain a running count value. Storing the vehicle running information at intervals;
and the vehicle-mounted terminal waits for 1min, continues to send vehicle running information and heartbeat information, and accumulates and counts. Storing the vehicle running information at intervals;
when the execution of step S101 is completed, step S91 is executed;
when the step S91 determines that the verification of the cloud platform for the vehicle operation information is successful, circularly executing step S81;
when the step S91 determines that the verification of the cloud platform for the vehicle operation information is not successful, executing step S111;
step S111, judging whether the running counting value is larger than a second counting threshold value;
and the vehicle-mounted terminal waits for 1min circularly and logs out after counting for 3 times. Storing the vehicle running information at intervals;
when the step S111 determines that whether the running count value is greater than the second count threshold value is unsuccessful, executing step S101 in a loop;
when the step S111 determines that whether the operation count value is greater than the second count threshold value successfully, step S121 is executed, and the vehicle-mounted terminal logs out;
step S121, acquiring a current running state, sending logout information to the cloud platform when judging that the current running state meets a logout condition, and logging out the hibernation after the preset time of ;
wherein, the vehicle-mounted terminal does not receive the hard wire activation signal and does not receive the CAN signal, and the terminal logs out of the sleep after 10 s. Sending logout information before dormancy;
the method further comprises the following steps:
when the automobile is judged to have a three-level fault in the sending process of the vehicle operation information, acquiring data after the fault, and uploading the data after the fault;
and acquiring data before the fault, and sending the data before the fault by adopting a supplementary transmission mode.
Preferably, the method further comprises:
when the automobile is judged to be in a communication blind area in the sending process of the vehicle running information, the vehicle running information of the whole automobile is obtained and stored;
and when the automobile exits the communication blind area, the vehicle operation information is sent in a supplementary transmission mode.
Furthermore, the method further comprises:
when the automobile is judged to be in a communication blind area in the sending process of the vehicle operation information and a three-level fault occurs in the automobile, sequentially storing data before the fault and data after the fault;
and after the automobile drives out of the communication blind area, transmitting the data before the fault and the data after the fault in a supplementary transmission mode.
In the embodiment, the coping strategies are designed when the communication link is abnormal, the check of the login information is not successful and the check of the vehicle operation information is not successful, so that the vehicle operation information is accurately and reliably uploaded to the cloud platform, the overall logic of uploading the vehicle operation data by the vehicle-mounted terminal is simplified, and the vehicle operation data is efficiently, practically, accurately and reliably uploaded by the vehicle-mounted terminal.
EXAMPLE III
Referring to fig. 5, a schematic structural diagram of a vehicle-mounted terminal data transmission system 100 according to a third embodiment of the present invention is shown, including: communication link detection module 10, login information sending module 11, operation information sending module 12 and logout module 13, wherein:
the communication link detection module 10 is used for judging whether a communication link between the cloud platform and the communication link detection module is normal; when the communication link is judged to be abnormal, storing the received vehicle running information; and when the communication link is judged to be normal, sending login information to the cloud platform.
The login information sending module 11 is configured to, when it is determined that the verification of the cloud platform for the login information is not successful, continuously store the vehicle operation information until it is determined that the verification of the cloud platform for the login information is successful, and send the vehicle operation information and the heartbeat information to the cloud platform.
The login information sending module 11 is further configured to control the th-level flash memory device to store the vehicle operation information, and to overwrite the stored information when it is determined that the th-level flash memory device is full, and to control the second-level flash memory device to periodically store the vehicle operation information according to a preset storage period.
And the operation information sending module 12 is configured to continuously send the vehicle operation information and the heartbeat information when it is determined that the cloud platform does not successfully verify the vehicle operation information.
And the logout module 13 is configured to acquire a current operation state, send logout information to the cloud platform when it is determined that the current operation state meets a logout condition, and logout the hibernation at after a preset time.
Preferably, the login information sending module 11 is further configured to continuously send the login information at intervals of the second preset time when it is determined that the login information verification response is not successfully received, and perform cumulative counting to obtain a login count value, and continuously send the login information at intervals of the third preset time when it is determined that the login count value is greater than the th count threshold value.
And , the operation information sending module 12 is further configured to continuously send the vehicle operation information at intervals of the fourth preset time when it is determined that the vehicle operation information check response is not successfully received, and count up to obtain an operation count value, and when it is determined that the operation count value is greater than the second count threshold value, the vehicle-mounted terminal logs out.
Further , the system 100 further includes:
the fault processing module 14 is configured to, when it is determined that a third-level fault occurs in the vehicle in the sending process of the vehicle operation information, obtain data after the fault, and upload the data after the fault; and acquiring data before the fault, and sending the data before the fault by adopting a supplementary transmission mode.
Further , the system 100 further includes:
the blind area supplementary transmission module 15 is used for acquiring and storing the vehicle running information of the whole vehicle when the vehicle is judged to be in a communication blind area in the sending process of the vehicle running information; and when the automobile exits the communication blind area, the vehicle operation information is sent in a supplementary transmission mode.
In addition, the blind area supplementary transmission module 15 is further configured to: when the automobile is judged to be in a communication blind area in the sending process of the vehicle operation information and a three-level fault occurs in the automobile, sequentially storing data before the fault and data after the fault; and after the automobile drives out of the communication blind area, transmitting the data before the fault and the data after the fault in a supplementary transmission mode.
Specifically, the vehicle-mounted terminal data transmission system 100 includes the following working steps:
step 1: and judging whether the communication link is normal or not. And the vehicle-mounted terminal receives the activation signal, and detects whether the communication link is normal or not after the self-checking is normal. The specific communication link detection method is realized by programming a corresponding program according to a communication chip (2G/4G) adopted by the vehicle-mounted terminal. And the communication link normally continues the following data uploading logic, the communication link is abnormal, the whole vehicle operation information is sent to the vehicle-mounted terminal in real time at the moment, and the vehicle-mounted terminal stores the received data.
And 2, sending login information, wherein the communication link is normal, the login information is sent, the login information comprises a marker and a vehicle VIN and does not comprise real vehicle operation data information, the cloud platform checks the response after receiving the login information, successfully responds, continues the subsequent data uploading logic, does not successfully respond, and enters the login information sending module 11, after the login information sending module 11 designs the unsuccessful response, the vehicle-mounted terminal waits for 3min, continues to send the login signal, counts up, waits for 3min in a circulating mode, counts for 3 times, continues to send the login signal after waiting for 30min, and if fails to respond, continues to circulate, and stores and receives the vehicle operation data during the waiting period.
And step 3: and transmitting the vehicle operation information. The vehicle operation information is normally sent for 10s, meanwhile, heartbeat information of the vehicle-mounted terminal is sent, the heartbeat information does not contain vehicle operation data information, the sending period is 30s, the cloud platform checks and responds after receiving the vehicle operation information, the vehicle operation information continues to be normally sent, the vehicle operation information does not successfully respond, and the vehicle operation information enters the operation information sending module 12. After the running information sending module 12 is designed to not respond successfully, the vehicle-mounted terminal waits for 1min, continues to send the running information of the vehicle, counts accumulatively, waits for 1min circularly, and logs out after counting for 3 times, and stores and receives the running data of the vehicle during the waiting period.
And sending vehicle running information, wherein the vehicle has three-level faults and enters the fault processing module 14. The fault processing module 14 is designed, when a vehicle has a three-level fault, the vehicle-mounted terminal sends data 30s before and after the fault, the sampling period of the data is not more than 1s, the data before the fault is uploaded in a complementary mode, and the complementary transmission period is 1 s. And uploading data before the fault, wherein the vehicle-mounted terminal is required to be provided with a flash memory for storing the data before the fault for 1s, the vehicle in the flash memory runs for a data storage period in real time, and the data in the flash memory for 30s is directly copied and stored into the SD card for supplementary transmission after the fault occurs. After a fault occurs, firstly uploading data after the fault, wherein the period is 1s, uploading the data after the fault is finished 30s, uploading the data before the fault in a supplementary transmission mode, the supplementary transmission utilizes normal transmission of vehicle operation information to upload in an idle mode, the period of normal transmission of the vehicle operation information by the vehicle-mounted terminal is 10s, the idle time of information transmission is 9s every time, the data can be retransmitted 9 times in the idle time, and the data of the vehicle-mounted terminal 30s before and after the fault is finished are uploaded 63 times.
And sending the vehicle running information, wherein a communication blind area appears in the period, and entering the blind area supplementary transmission module 15. The blind area supplementary transmission module 15 is designed to store the whole vehicle running data sent by the whole vehicle to the vehicle-mounted terminal when a communication blind area occurs, and send the stored data in a supplementary transmission mode after the vehicle runs out of the communication blind area, wherein the supplementary transmission data has a data period of 1 s. The data of the whole vehicle is stored and sent to the vehicle-mounted terminal, the storage period is 10s under the normal condition, if three-level faults occur in the communication blind area period, the data before the faults are stored firstly, the data are directly copied and stored from the flash memory, the data after the faults are stored later for 30s, and the storage period is 1 s. And the supplementary transmission adopts a normal transmission period of 10s for idle transmission, and a blind area supplementary transmission period of 1s is a period of completely transmitting the stored real-time data.
And 4, step 4: and sending the logout information. The vehicle-mounted terminal does not receive the hard wire activation signal and does not receive the CAN signal, and the terminal logs out of the sleep after 10 s. The logout information is sent before hibernation.
In the embodiment, the coping strategies are designed when the communication link is abnormal, the check of the login information is not successful and the check of the vehicle operation information is not successful, so that the vehicle operation information is accurately and reliably uploaded to the cloud platform, the overall logic of uploading the vehicle operation data by the vehicle-mounted terminal is simplified, and the vehicle operation data is efficiently, practically, accurately and reliably uploaded by the vehicle-mounted terminal.
The present embodiment further provides mobile terminals, which include a storage device and a processor, where the storage device is used to store a computer program, and the processor runs the computer program to make the mobile terminal execute the above-mentioned vehicle-mounted terminal data transmission method.
The present embodiment also provides storage media, on which a computer program used in the above-mentioned mobile terminal is stored, which when executed, comprises the following steps:
judging whether a communication link between the cloud platform and the cloud platform is normal or not;
when the communication link is judged to be abnormal, storing the received vehicle running information;
when the communication link is judged to be normal, login information is sent to the cloud platform;
when the verification of the cloud platform for the login information is judged to be unsuccessful, continuously storing the vehicle operation information until the verification of the cloud platform for the login information is judged to be successful, and sending the vehicle operation information and heartbeat information to the cloud platform;
when the cloud platform is judged to be unsuccessful in checking the vehicle operation information, continuously sending the vehicle operation information;
and acquiring a current operation state, sending logout information to the cloud platform when judging that the current operation state meets a logout condition, and logging out the hibernation after -th preset time.
It is to be clearly understood by those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is used as an example, and in practical applications, the above-mentioned functions may be distributed to different functional units or modules as required to complete all or part of the functions described above.
Those skilled in the art will appreciate that the constituent structure shown in fig. 5 does not constitute a limitation of the in-vehicle terminal data transmission system of the present invention, and may include more or less components than those shown, or may combine some components, or may form a different arrangement of components, and that the in-vehicle terminal data transmission method in fig. 1-2 may be implemented by using more or less components than those shown in fig. 5, or may combine some components, or may form a different arrangement of components.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1, vehicle-mounted terminal data transmission method, characterized in that, the method includes:
judging whether a communication link between the cloud platform and the cloud platform is normal or not;
when the communication link is judged to be abnormal, storing the received vehicle running information;
when the communication link is judged to be normal, login information is sent to the cloud platform;
when the verification of the cloud platform for the login information is judged to be unsuccessful, continuously storing the vehicle operation information until the verification of the cloud platform for the login information is judged to be successful, and sending the vehicle operation information and heartbeat information to the cloud platform;
when the cloud platform is judged to be unsuccessful in checking the vehicle operation information, continuously sending the vehicle operation information;
and acquiring a current operation state, sending logout information to the cloud platform when judging that the current operation state meets a logout condition, and logging out the hibernation after preset time.
2. The vehicle-mounted terminal data transmission method according to claim 1, wherein after the step of determining that the verification of the cloud platform for the login information is unsuccessful, the method further comprises:
when the fact that the check-in response of the login information is received is judged to be unsuccessful, the login information is continuously sent with the second preset time as an interval, and the login information is accumulated and counted to obtain a login count value;
and when the login count value is judged to be larger than the th count threshold value, continuously sending the login information at intervals of the third preset time.
3. The in-vehicle terminal data transmission method according to claim 1, wherein the step of continuing the transmission of the vehicle operation information and the heartbeat information includes:
when the vehicle operation information check response is judged to be unsuccessful, continuously sending the vehicle operation information and the heartbeat information at the fourth preset time interval, and accumulating the count to obtain an operation count value;
and when the operation count value is judged to be larger than the second count threshold value, the vehicle-mounted terminal logs out.
4. The in-vehicle terminal data transmission method according to claim 1, characterized in that the method further comprises:
when the automobile is judged to have a three-level fault in the sending process of the vehicle operation information, acquiring data after the fault, and uploading the data after the fault;
and acquiring data before the fault, and sending the data before the fault by adopting a supplementary transmission mode.
5. The in-vehicle terminal data transmission method according to claim 1, characterized in that the method further comprises:
when the automobile is judged to be in a communication blind area in the sending process of the vehicle running information, the vehicle running information of the whole automobile is obtained and stored;
and when the automobile exits the communication blind area, the vehicle operation information is sent in a supplementary transmission mode.
6. The in-vehicle terminal data transmission method according to claim 1, characterized in that the method further comprises:
when the automobile is judged to be in a communication blind area in the sending process of the vehicle operation information and a three-level fault occurs in the automobile, sequentially storing data before the fault and data after the fault;
and after the automobile drives out of the communication blind area, transmitting the data before the fault and the data after the fault in a supplementary transmission mode.
7. The in-vehicle terminal data transmission method according to claim 1, wherein the step of storing the received vehicle operation information includes:
controlling -level flash memory devices to store the vehicle operation information, and overwriting the stored information when the -level flash memory devices are judged to be full;
and controlling a second-level flash memory device to periodically store the vehicle operation information according to a preset storage period.
8, kinds of vehicle carried terminal data transmission system, characterized by that, the said system includes:
the communication link detection module is used for judging whether a communication link between the cloud platform and the communication link detection module is normal or not; when the communication link is judged to be abnormal, storing the received vehicle running information; when the communication link is judged to be normal, login information is sent to the cloud platform;
the login information sending module is used for continuously storing the vehicle operation information when the verification of the cloud platform for the login information is judged to be unsuccessful, and sending the vehicle operation information and the heartbeat information to the cloud platform when the verification of the cloud platform for the login information is judged to be successful;
the operation information sending module is used for continuously sending the vehicle operation information when the cloud platform is judged to be unsuccessful in checking the vehicle operation information;
and the logout module is used for acquiring the current running state, sending logout information to the cloud platform when judging that the current running state meets the logout condition, and logging out the hibernation after -th preset time.
9, kinds of mobile terminal, characterized in that, it includes a storage device for storing a computer program and a processor for running the computer program to make the mobile terminal execute the vehicle-mounted terminal data transmission method according to any of claims 1-7.
Storage medium , characterized in that it stores a computer program for use in a mobile terminal according to claim 9, which when executed by a processor implements the steps of the in-vehicle terminal data transmission method according to any of claims 1 to 7- .
CN201911028289.7A 2019-10-28 2019-10-28 Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium Pending CN110738755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911028289.7A CN110738755A (en) 2019-10-28 2019-10-28 Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911028289.7A CN110738755A (en) 2019-10-28 2019-10-28 Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN110738755A true CN110738755A (en) 2020-01-31

Family

ID=69271632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911028289.7A Pending CN110738755A (en) 2019-10-28 2019-10-28 Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110738755A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111769800A (en) * 2020-03-19 2020-10-13 尚特杰电力科技有限公司 Data processing mechanism of photovoltaic power station data acquisition unit under off-grid state
CN113346607A (en) * 2021-05-19 2021-09-03 上汽通用五菱汽车股份有限公司 Power supply management method of vehicle-mounted terminal, vehicle-mounted terminal and computer storage medium
CN113703686A (en) * 2021-08-31 2021-11-26 潍柴动力股份有限公司 Data storage method, device and system
CN113765742A (en) * 2021-08-05 2021-12-07 北京全路通信信号研究设计院集团有限公司 Method and system for storing vehicle-mounted data of rail vehicle
CN115328959A (en) * 2022-10-17 2022-11-11 江苏赫奕科技有限公司 Method, device and equipment for supplementing and transmitting engineering vehicle blind area data and storage medium
CN116582905A (en) * 2023-05-26 2023-08-11 成都赛力斯科技有限公司 Vehicle data transmission method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859447A (en) * 2009-04-07 2010-10-13 福特全球技术公司 Carry out the system of vehicle diagnostics
US20140032038A1 (en) * 2003-05-13 2014-01-30 Robert Bosch Gmbh Cellular phone configured with off-board device capabilities and starter/charger and battery testing capabilities
CN104217471A (en) * 2014-09-03 2014-12-17 上海大众汽车有限公司 Oil filling counting method and system
DE102013107962A1 (en) * 2013-07-25 2015-01-29 Deutsches Zentrum für Luft- und Raumfahrt e.V. Method for monitoring components of a system, cooperative driver assistance system, infrastructure and computer program
CN105915618A (en) * 2016-04-29 2016-08-31 深圳市元征科技股份有限公司 Vehicle control device, vehicle mounted terminal, vehicle diagnosing system and vehicle diagnosing system
CN106200628A (en) * 2016-09-21 2016-12-07 常州机电职业技术学院 Vehicle-mounted fault intelligent early warning and service system
CN106790367A (en) * 2016-11-15 2017-05-31 山东省科学院自动化研究所 The vehicle safety hidden danger early warning of big data treatment and accident reproduction system and method
CN107945309A (en) * 2017-11-22 2018-04-20 深圳市沃特沃德股份有限公司 The method and device of remote monitoring condition of the vehicle
CN108234599A (en) * 2017-12-06 2018-06-29 链家网(北京)科技有限公司 A kind of message repeating method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140032038A1 (en) * 2003-05-13 2014-01-30 Robert Bosch Gmbh Cellular phone configured with off-board device capabilities and starter/charger and battery testing capabilities
CN101859447A (en) * 2009-04-07 2010-10-13 福特全球技术公司 Carry out the system of vehicle diagnostics
DE102013107962A1 (en) * 2013-07-25 2015-01-29 Deutsches Zentrum für Luft- und Raumfahrt e.V. Method for monitoring components of a system, cooperative driver assistance system, infrastructure and computer program
CN104217471A (en) * 2014-09-03 2014-12-17 上海大众汽车有限公司 Oil filling counting method and system
CN105915618A (en) * 2016-04-29 2016-08-31 深圳市元征科技股份有限公司 Vehicle control device, vehicle mounted terminal, vehicle diagnosing system and vehicle diagnosing system
CN106200628A (en) * 2016-09-21 2016-12-07 常州机电职业技术学院 Vehicle-mounted fault intelligent early warning and service system
CN106790367A (en) * 2016-11-15 2017-05-31 山东省科学院自动化研究所 The vehicle safety hidden danger early warning of big data treatment and accident reproduction system and method
CN107945309A (en) * 2017-11-22 2018-04-20 深圳市沃特沃德股份有限公司 The method and device of remote monitoring condition of the vehicle
CN108234599A (en) * 2017-12-06 2018-06-29 链家网(北京)科技有限公司 A kind of message repeating method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111769800A (en) * 2020-03-19 2020-10-13 尚特杰电力科技有限公司 Data processing mechanism of photovoltaic power station data acquisition unit under off-grid state
CN111769800B (en) * 2020-03-19 2021-09-28 尚特杰电力科技有限公司 Data processing mechanism of photovoltaic power station data acquisition unit under off-grid state
CN113346607A (en) * 2021-05-19 2021-09-03 上汽通用五菱汽车股份有限公司 Power supply management method of vehicle-mounted terminal, vehicle-mounted terminal and computer storage medium
CN113765742A (en) * 2021-08-05 2021-12-07 北京全路通信信号研究设计院集团有限公司 Method and system for storing vehicle-mounted data of rail vehicle
CN113703686A (en) * 2021-08-31 2021-11-26 潍柴动力股份有限公司 Data storage method, device and system
CN115328959A (en) * 2022-10-17 2022-11-11 江苏赫奕科技有限公司 Method, device and equipment for supplementing and transmitting engineering vehicle blind area data and storage medium
CN116582905A (en) * 2023-05-26 2023-08-11 成都赛力斯科技有限公司 Vehicle data transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110738755A (en) Vehicle-mounted terminal data transmission method, system, mobile terminal and storage medium
CN111399481B (en) Automatic driving scene information collection and remote upgrading method and system
CN102122184A (en) Temperature and humidity monitoring and supervising method, terminal device and system
CN110992519A (en) New energy automobile fault data processing method and processing device
CN115145241A (en) SOA service-based remote diagnosis method for vehicle-end CAN node and storage medium
CN115442209B (en) Fault detection method and device, electronic equipment and storage medium
CN110995823B (en) Vehicle-mounted terminal offline processing method, device, storage medium and device
CN104104542A (en) Real-time intelligent debugging method based on RS485
KR102036024B1 (en) Method and system for vehicle security
CN103929732A (en) Method for managing terminal peripheral and M2M gateway
US11474889B2 (en) Log transmission controller
CN113085882B (en) Fault processing method and device, electronic equipment and storage medium
CN104201784B (en) A kind of transmission line online monitoring system and operation conditions monitoring method and apparatus thereof
CN111510352B (en) Bus system with inquiry barrier and heartbeat state report applied to large-scale parking space management
CN116719639A (en) Link dynamic adjustment and data processing method, device, computer equipment and medium
CN104158843A (en) Storage unit invalidation detecting method and device for distributed file storage system
CN116980953A (en) TBOX dormancy wakeup automatic test method, readable storage medium and device
CN116483649A (en) Process monitoring method and device for passenger parking system, vehicle and storage medium
CN110570541A (en) Vehicle-mounted data unloading method, device, equipment and storage medium
CN213958054U (en) Data management device of multi-authority escalator monitoring database
CN108037942B (en) Adaptive data recovery and update method and device for embedded equipment
CN112839075A (en) Data transmission method applied to acquisition equipment and related device
US11909755B2 (en) Log transmission controller
CN114327971B (en) Vehicle-mounted device black screen fault monitoring and positioning method and storage medium
CN114697361B (en) Method and system for solving automobile feed based on remote communication

Legal Events

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

Application publication date: 20200131