CN113963458A - Management method of vehicle-mounted log - Google Patents
Management method of vehicle-mounted log Download PDFInfo
- Publication number
- CN113963458A CN113963458A CN202111360790.0A CN202111360790A CN113963458A CN 113963458 A CN113963458 A CN 113963458A CN 202111360790 A CN202111360790 A CN 202111360790A CN 113963458 A CN113963458 A CN 113963458A
- Authority
- CN
- China
- Prior art keywords
- log
- vehicle
- cloud server
- compressed packets
- compressed
- 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.)
- Granted
Links
- 238000007726 management method Methods 0.000 title claims abstract description 9
- 238000000034 method Methods 0.000 claims abstract description 10
- 239000000284 extract Substances 0.000 claims abstract description 9
- 239000000463 material Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering or indicating the working of vehicles
- G07C5/008—Registering or indicating the working of vehicles communicating information to a remotely located station
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention provides a management method of a vehicle-mounted log, which comprises the following steps: s1, configuring a unique identification code for the vehicle machine, and identifying the identity of the vehicle machine by the cloud server through the unique identification code; s2, dividing each log into a plurality of compressed packets by the car machine, and sending the compressed packets to the mobile terminal through Bluetooth successively by the car machine for storage; s3, the cloud server screens out and extracts corresponding compressed packets from the mobile terminal by using the log date and the unique identification code, and the car machine sends the rest compressed packets to the cloud server; and S4, decompressing all the compressed packets by the cloud server. According to the management method of the vehicle-mounted log, the vehicle-mounted log is divided into a plurality of compressed packets and is gradually transmitted to the mobile terminal for storage, a small amount of log data is stored in the vehicle, and the cloud server extracts the compressed packets from the mobile terminal and/or the vehicle when the log is needed, so that the vehicle-mounted log is not only guaranteed to be lost in storage, but also the integrity of the data in the unloading process can be guaranteed.
Description
Technical Field
The invention relates to the technical field of vehicle-mounted software management, in particular to a management method of a vehicle-mounted log.
Background
The onboard software is equipped with a logging system but can only be stored locally. When a customer encounters a problem, the after-market 4S store must go to a staff member to export the log to a host provider for investigation. However, due to the limited storage capacity of the logs or the fact that the customer is far away from the 4S store for a short time and cannot go to the 4S store to export the logs, the log export may find the problem log to be lost, the vendor cannot find out the problem in the software, and the customer complains about the complaint in the long term.
If the log is directly uploaded to the cloud end through the internet, the log is a safe mode, but most automobiles are limited by network quality even if the automobiles are connected to the internet at present, and data uploading cannot be guaranteed.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: in order to solve the problem of vehicle-mounted log loss in the prior art, the invention provides a vehicle-mounted log management method to solve the problem.
The technical scheme adopted by the invention for solving the technical problems is as follows: a management method of a vehicle-mounted log comprises the following steps:
s1, configuring a unique identification code for the vehicle machine, and identifying the identity of the vehicle machine by the cloud server through the unique identification code;
s2, dividing each log into a plurality of compressed packets by the car machine, and sending the compressed packets to the mobile terminal through Bluetooth successively by the car machine for storage; the vehicle machine sends the unique identification code to the mobile terminal through Bluetooth and stores the unique identification code;
s3, the vehicle machine sends a log uploading request to a cloud server through the Internet, the log uploading request comprises a log date and a unique identification code, the cloud server screens out and extracts corresponding compressed packets from the mobile terminal by using the log date and the unique identification code, and the vehicle machine sends the rest compressed packets to the cloud server;
and S4, decompressing all the compressed packets by the cloud server.
Preferably, the plurality of compressed packets include a first compressed packet having log data and an arithmetic expression, a second compressed packet having log data and an arithmetic parameter, and a third compressed packet having log data and an arithmetic result, and the other compressed packets have log data and arithmetic data;
and the cloud server decompresses all the compressed packets, extracts the operation formula, the operation parameters, the operation data and the operation result, substitutes the operation parameters and the operation data into the operation formula for calculation, compares the calculation result with the operation result, and judges whether the compressed packets obtained by the cloud server are complete or not.
Preferably, the mobile terminal backs up the compressed packets, each of the compressed packets has a unique code corresponding to an operation formula, an operation parameter, operation data or an operation result, and when the cloud server judges that the operation cannot be performed or the operation result is incorrect due to lack of the operation formula, the operation parameter, the operation data or the operation result, the corresponding compressed packet is found from the backup according to the lack of the content.
Preferably, the backup of the compressed packet is cleared according to a preset period.
The vehicle-mounted log management method has the advantages that the vehicle-mounted log is divided into a plurality of compressed packets and is gradually transmitted to the mobile terminal for storage, a small amount of log data is stored in the vehicle, and the cloud server extracts the compressed packets from the mobile terminal and/or the vehicle when the log needs to be used, so that the vehicle-mounted log is guaranteed to be lost in storage, and the integrity of data in the unloading process can also be guaranteed.
Drawings
The invention is further illustrated with reference to the following figures and examples.
Fig. 1 is a flowchart of a preferred embodiment of a method for managing a vehicle log according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "axial", "radial", "circumferential", and the like, indicate orientations and positional relationships based on the orientations and positional relationships shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be considered as limiting the present invention.
Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "connected" and "connected" are to be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
As shown in fig. 1, the present invention provides a method for managing a vehicle-mounted log, comprising the following steps:
s1, configuring a unique identification code for the vehicle machine, and identifying the identity of the vehicle machine by the cloud server through the unique identification code;
s2, dividing each log into a plurality of compressed packets by the car machine, and sending the compressed packets to the mobile terminal by the car machine through Bluetooth successively and storing the compressed packets; the vehicle machine sends the unique identification code to the mobile terminal through the Bluetooth and stores the unique identification code; the car machine has a certain storage space, so that all the compressed packets are not required to be transmitted to the mobile terminal at one time, and all the compressed packets are not required to be transmitted to the mobile terminal. The intelligent equipment such as a smart phone and a tablet personal computer which are indicated by the mobile terminal and have the Bluetooth transmission function.
S3, the car machine sends a log uploading request to the cloud server through the Internet, the log uploading request comprises a log date and a unique identification code, the cloud server screens out and extracts corresponding compressed packets from the mobile terminal by using the log date and the unique identification code, and the car machine sends the rest compressed packets to the cloud server;
and S4, decompressing all the compressed packets by the cloud server, and extracting data in the compressed packets.
In order to further ensure the integrity of the data, the plurality of compressed packets comprise a first compressed packet, a second compressed packet and a third compressed packet, wherein the first compressed packet has log data and an operation formula, the second compressed packet has log data and an operation parameter, the third compressed packet has the log data and an operation result, and the other compressed packets have the log data and the operation data; the operation formula, the operation parameter, the operation data, and the operation result may be determined according to the number of the compressed packets, and for a simple example, assuming that there are 5 compressed packets, the operation formula may adopt aA + bB = C, where a =1, B =2, which are the operation parameters, a =5, B =8, which are the operation data, and C =21, which are the operation result.
The cloud server decompresses all the compressed packets, extracts the operation formula, the operation parameters, the operation data and the operation result, substitutes the operation parameters and the operation data into the operation formula for calculation, compares the calculation result with the operation result, and judges whether the compressed packets obtained by the cloud server are complete or not.
The mobile terminal backs up the compressed packets, each of the backups of the compressed packets has a unique code corresponding to an operation formula, an operation parameter, operation data or an operation result, the unique codes for the operation data and the parameter can be in the form of a date addition formula, for example, the unique code 20211015ka for the parameter a, wherein k is a preset constant, and for the operation formula, the unique code can be represented by a date plus a special character. When the cloud server judges that the operation cannot be carried out or the operation result is incorrect due to the lack of the operation formula, the operation parameter, the operation data or the operation result, the corresponding compression packet is found from the backup according to the lack of the content.
And the backup of the compressed packet is cleared according to a preset period so as to prevent the backup from occupying the storage space for a long time.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic representation of the term does not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.
Claims (4)
1. A management method of vehicle-mounted logs is characterized by comprising the following steps:
s1, configuring a unique identification code for the vehicle machine, and identifying the identity of the vehicle machine by the cloud server through the unique identification code;
s2, dividing each log into a plurality of compressed packets by the car machine, and sending the compressed packets to the mobile terminal through Bluetooth successively by the car machine for storage; the vehicle machine sends the unique identification code to the mobile terminal through Bluetooth and stores the unique identification code;
s3, the vehicle machine sends a log uploading request to a cloud server through the Internet, the log uploading request comprises a log date and a unique identification code, the cloud server screens out and extracts corresponding compressed packets from the mobile terminal by using the log date and the unique identification code, and the vehicle machine sends the rest compressed packets to the cloud server;
and S4, decompressing all the compressed packets by the cloud server.
2. The method for managing the vehicle-mounted log according to claim 1, characterized in that: the plurality of compressed packets include a first compressed packet having log data and an arithmetic expression, a second compressed packet having log data and an arithmetic parameter, and a third compressed packet having log data and an arithmetic result, and the other compressed packets having log data and arithmetic data;
and the cloud server decompresses all the compressed packets, extracts the operation formula, the operation parameters, the operation data and the operation result, substitutes the operation parameters and the operation data into the operation formula for calculation, compares the calculation result with the operation result, and judges whether the compressed packets obtained by the cloud server are complete or not.
3. The method for managing the vehicle-mounted log according to claim 2, characterized in that: the mobile terminal backs up the compressed packets, the backup of each compressed packet has a unique code corresponding to the operation formula, the operation parameter, the operation data or the operation result, and when the cloud server judges that the operation cannot be performed or the operation result is incorrect due to the lack of the operation formula, the operation parameter, the operation data or the operation result, the corresponding compressed packet is found from the backup according to the lack of the content.
4. A method for managing a vehicle log according to claim 3, characterized in that: and clearing the backup of the compressed packet according to a preset period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111360790.0A CN113963458B (en) | 2021-11-17 | 2021-11-17 | Vehicle-mounted log management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111360790.0A CN113963458B (en) | 2021-11-17 | 2021-11-17 | Vehicle-mounted log management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113963458A true CN113963458A (en) | 2022-01-21 |
CN113963458B CN113963458B (en) | 2023-11-21 |
Family
ID=79470845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111360790.0A Active CN113963458B (en) | 2021-11-17 | 2021-11-17 | Vehicle-mounted log management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113963458B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115021975A (en) * | 2022-05-17 | 2022-09-06 | 蔚来汽车科技(安徽)有限公司 | Vehicle machine system, mobile terminal, server, log recording method and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180067978A1 (en) * | 2016-09-07 | 2018-03-08 | Fujitsu Limited | Log management method, log management device, and recording medium |
CN108011966A (en) * | 2017-12-14 | 2018-05-08 | 广东金赋科技股份有限公司 | The optimization method that a kind of self-aided terminal log compression uploads |
CN110546958A (en) * | 2017-05-18 | 2019-12-06 | 利弗有限公司 | Apparatus, system and method for wireless multilink vehicle communication |
CN110995836A (en) * | 2019-11-29 | 2020-04-10 | 安徽江淮汽车集团股份有限公司 | Log management method, device, storage medium and device based on Internet of vehicles platform |
CN111538706A (en) * | 2020-04-21 | 2020-08-14 | 惠州Tcl移动通信有限公司 | Data compression method and device, storage medium and mobile terminal |
-
2021
- 2021-11-17 CN CN202111360790.0A patent/CN113963458B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180067978A1 (en) * | 2016-09-07 | 2018-03-08 | Fujitsu Limited | Log management method, log management device, and recording medium |
CN110546958A (en) * | 2017-05-18 | 2019-12-06 | 利弗有限公司 | Apparatus, system and method for wireless multilink vehicle communication |
CN108011966A (en) * | 2017-12-14 | 2018-05-08 | 广东金赋科技股份有限公司 | The optimization method that a kind of self-aided terminal log compression uploads |
CN110995836A (en) * | 2019-11-29 | 2020-04-10 | 安徽江淮汽车集团股份有限公司 | Log management method, device, storage medium and device based on Internet of vehicles platform |
CN111538706A (en) * | 2020-04-21 | 2020-08-14 | 惠州Tcl移动通信有限公司 | Data compression method and device, storage medium and mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115021975A (en) * | 2022-05-17 | 2022-09-06 | 蔚来汽车科技(安徽)有限公司 | Vehicle machine system, mobile terminal, server, log recording method and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113963458B (en) | 2023-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110995836A (en) | Log management method, device, storage medium and device based on Internet of vehicles platform | |
DE102011079875A1 (en) | PROVISION OF DATA TO A VEHICLE INFOTAINMENT DATA PROCESSING SYSTEM | |
CN102546766B (en) | Method for automatic data maintenance | |
US20140107886A1 (en) | System to View Automobile Diagnostic Information | |
JP2007148590A (en) | Charging stand information providing server, system, method and program | |
CN104977170A (en) | Vehicle fault remote diagnosis system and control method thereof | |
CN103034673A (en) | Object data allocation method, object data allocation system and server apparatus, client device and program thereof | |
DE102012109620A1 (en) | Method and device for expanding a smartphone-oriented vehicle infotainment system by means of vehicle WiFi / DSRC | |
CN111521408A (en) | Diagnosis request processing method, device, system, equipment and readable storage medium | |
CN109050248B (en) | Vehicle carbon emission monitoring method and related equipment | |
CN112199266B (en) | Log transmission method and system for vehicle-mounted machine system, vehicle and storage medium | |
CN103198164A (en) | Automobile fault file server, management system and management method | |
CN113963458B (en) | Vehicle-mounted log management method | |
CN111262822A (en) | File storage method, device, block link point and system | |
CN100395978C (en) | Unloading method and terminal | |
CN109542971A (en) | Vehicle data processing method, device and readable storage medium storing program for executing | |
CN111369186B (en) | Logistics pushing method, device, server and readable storage medium | |
CN105824653A (en) | Automobile CAN bus data brush-writing method and device | |
CN107861836A (en) | Drive recorder data back up method and device | |
CN111930695A (en) | Method and device for storing running logs of microprocessor of vehicle-mounted terminal | |
CN103685411A (en) | Data sharing method and device in heterogeneous network | |
JP7108963B2 (en) | In-vehicle device and vehicle information collection system | |
CN104104568A (en) | Method, device and system for acquiring data from communication bus | |
CN113377812A (en) | Order duplication eliminating method and device for big data | |
JP2009051345A (en) | Vehicle information collection system and its method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |