CN109508197A - A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal - Google Patents

A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal Download PDF

Info

Publication number
CN109508197A
CN109508197A CN201811312129.0A CN201811312129A CN109508197A CN 109508197 A CN109508197 A CN 109508197A CN 201811312129 A CN201811312129 A CN 201811312129A CN 109508197 A CN109508197 A CN 109508197A
Authority
CN
China
Prior art keywords
car
program
chinese ink
brush dipped
mounted terminal
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
CN201811312129.0A
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.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle 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 Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201811312129.0A priority Critical patent/CN109508197A/en
Publication of CN109508197A publication Critical patent/CN109508197A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of control method for writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminals, it is related to writing with a brush dipped in Chinese ink the technical field of program, the described method includes: sending the first request of the memory maximum value for obtaining car-mounted terminal for cache flash program to car-mounted terminal when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition;Receive the memory maximum value that the car-mounted terminal that car-mounted terminal is sent is used for cache flash program;The memory footprint of director demon is compared with memory maximum value;When the memory footprint of director demon is less than or equal to memory maximum value, director demon is sent to car-mounted terminal.The present invention passes through before sending director demon to car-mounted terminal, to the memory footprint of director demon compared with memory maximum value, issue write with a brush dipped in Chinese ink task when, can prevent by car-mounted terminal storage chip institute can cache it is insufficient, the problem of easily causing vehicle that can not travel the crash of electric car brush.

Description

A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal
Technical field
The present invention relates to the technical fields for writing with a brush dipped in Chinese ink program, and in particular to a kind of control method for writing with a brush dipped in Chinese ink program, device, monitoring Equipment and car-mounted terminal.
Background technique
With the development of electric car, gradually obtained by the function that operation monitoring device carries out refurbishing procedure to electric car To application.However, constraint of the program internal memory size that can be cached by the chip in car-mounted terminal by technology and cost, electricity The generally existing director demon memory size write with a brush dipped in Chinese ink, which is higher than car-mounted terminal storage chip, on electrical automobile can cache program The phenomenon that maximum value, and monitoring function equipment and car-mounted terminal can not memory identifications to this phenomenon at present.When operation equipment and When Client handset application program writes with a brush dipped in Chinese ink electric car, the controller memory if desired write with a brush dipped in Chinese ink is greater than car-mounted terminal institute The program internal memory maximum value that can be cached, then it is car-mounted terminal institute that operation equipment, which is issued to the program internal memory size of car-mounted terminal, The program internal memory maximum value that can be cached, so that car-mounted terminal can be according to the program internal memory maximum value that it can be cached to electric car The required components write with a brush dipped in Chinese ink are write with a brush dipped in Chinese ink.After the completion of writing with a brush dipped in Chinese ink task, it can prompt to write with a brush dipped in Chinese ink into equipment and application program of mobile phone Function, and the director demon actually write with a brush dipped in Chinese ink is not write with a brush dipped in Chinese ink all into controller, will lead to crash on electric car brush at this time, Some failures can be reported on vehicular meter, can not go up high pressure, cause vehicle that can not travel.
Therefore, a kind of control method for writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal are needed, is able to solve logical Monitoring device is crossed to issue when writing with a brush dipped in Chinese ink task, by car-mounted terminal storage chip institute can cache it is insufficient, easily by electric car brush The problem of crash causes vehicle that can not travel.
Summary of the invention
The embodiment of the invention provides a kind of control method for writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal, to Solve issued by monitoring device write with a brush dipped in Chinese ink task when, by car-mounted terminal storage chip institute can cache deficiency, easily will be electric The problem of crash of electrical automobile brush causes vehicle that can not travel.
In order to solve the above technical problems, being applied to prison the embodiment of the invention provides a kind of control method for writing with a brush dipped in Chinese ink program Control equipment, comprising:
When getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, sent to car-mounted terminal described in obtaining First request of the car-mounted terminal for the memory maximum value of cache flash program;
Receive the memory maximum value that the car-mounted terminal that the car-mounted terminal is sent is used for cache flash program;
The memory footprint of the director demon is compared with the memory maximum value;
When the memory footprint of the director demon is less than or equal to the memory maximum value, to the vehicle-mounted end End sends the director demon.
Preferably, the method also includes:
When the memory footprint of the director demon is greater than the memory maximum value, task is write with a brush dipped in Chinese ink in end.
Preferably, described when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, to vehicle-mounted end Before end sends the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program, the method is also wrapped It includes:
Obtain director demon to be write with a brush dipped in Chinese ink;
According to the director demon, task is write with a brush dipped in Chinese ink in creation;
Task is write with a brush dipped in Chinese ink according to described, whether detection vehicle is in ON grades;
When the vehicle is in ON grades, determine that vehicle satisfaction writes with a brush dipped in Chinese ink condition.
Preferably, described when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, to vehicle-mounted end Before end sends the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program, the method is also wrapped It includes:
When the vehicle is not in ON grades, task is write with a brush dipped in Chinese ink in end.
Preferably, when the memory footprint of the director demon is less than or equal to the memory maximum value, to institute After stating the car-mounted terminal transmission director demon, the method also includes:
The second request that Vehicular system upgrades is sent to mobile terminal;
The program writing for allowing Vehicular system to upgrade that the mobile terminal is sent is received to instruct;
The program writing that sending to the car-mounted terminal allows Vehicular system to upgrade instructs;
Receive the program writing status information that the car-mounted terminal is sent.
The embodiment of the invention also provides a kind of control methods for writing with a brush dipped in Chinese ink program, are applied to car-mounted terminal, comprising:
Receive the first request that the acquisition that monitoring device is sent is used for the memory maximum value of cache flash program;
According to first request, Xiang Suoshu monitoring device sends the memory maximum value for being used for cache flash program;
The monitoring device is received when the memory footprint of director demon is less than or equal to the memory maximum value The director demon of transmission.
Preferably, it is less than or equal in the reception monitoring device in the memory footprint of the director demon After the director demon sent when the memory maximum value, the method also includes:
The program writing for allowing Vehicular system to upgrade that the monitoring device is sent is received to instruct;
Instruction is write with a brush dipped in Chinese ink according to described program, the director demon is write with a brush dipped in Chinese ink, and program writing status information is sent out It send to the monitoring device.
The embodiment of the invention also provides a kind of control devices for writing with a brush dipped in Chinese ink program, are applied to monitoring device, comprising:
First request module, for when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, to vehicle Mounted terminal sends the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program;
First receiving module is used for cache flash program for receiving the car-mounted terminal that the car-mounted terminal is sent Memory maximum value;
Comparison module is compared for the memory footprint to the director demon with the memory maximum value;
It is maximum to be less than or equal to the memory for the memory footprint in the director demon for first sending module When value, Xiang Suoshu car-mounted terminal sends the director demon.
The embodiment of the invention also provides a kind of control devices for writing with a brush dipped in Chinese ink program, are applied to car-mounted terminal, comprising:
4th receiving module, the acquisition for receiving monitoring device transmission are used for the memory maximum value of cache flash program First request;
Third sending module, for according to first request, Xiang Suoshu monitoring device, which is sent, to be used for cache flash program Memory maximum value;
5th receiving module is less than or equal to for receiving the monitoring device in the memory footprint of director demon The director demon sent when the memory maximum value.
The embodiment of the invention also provides a kind of monitoring devices, comprising: memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor realize application as described above when executing the computer program Step in the control method for writing with a brush dipped in Chinese ink program of monitoring device.
The embodiment of the invention also provides a kind of car-mounted terminals, comprising: memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor realize application as described above when executing the computer program Step in the control method for writing with a brush dipped in Chinese ink program of car-mounted terminal.
Compared with prior art, a kind of control method for writing with a brush dipped in Chinese ink program provided in an embodiment of the present invention, device, monitoring device And car-mounted terminal, at least have the advantages that
By sending and obtaining to car-mounted terminal when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition First request of the car-mounted terminal for the memory maximum value of cache flash program, receives the described of the car-mounted terminal transmission Car-mounted terminal be used for cache flash program memory maximum value, and to the memory footprint of the director demon with it is described interior Maximum value is deposited to be compared, when the memory footprint of the director demon is less than or equal to the memory maximum value, to The car-mounted terminal sends the process of the director demon, issued by monitoring device write with a brush dipped in Chinese ink task when, can prevent by In car-mounted terminal storage chip institute can cache it is insufficient, the problem of easily causing vehicle that can not travel the crash of electric car brush.
Detailed description of the invention
Fig. 1 is the flow chart of control method provided in an embodiment of the present invention;
Fig. 2 is the specific flow chart of control method provided in an embodiment of the present invention;
Fig. 3 is the specific flow chart of control method provided in an embodiment of the present invention;
Fig. 4 is the specific flow chart of control method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of control method provided in an embodiment of the present invention;
Fig. 6 is the specific flow chart of control method provided in an embodiment of the present invention;
Fig. 7 is the structural block diagram of control device provided in an embodiment of the present invention;
Fig. 8 is the structural block diagram of control device provided in an embodiment of the present invention;
Fig. 9 is the structural block diagram of control device provided in an embodiment of the present invention;
Figure 10 is the structural block diagram of control device provided in an embodiment of the present invention;
Description of symbols:
The first request module of 1-, the first receiving module of 2-, 3- comparison module, the first sending module of 4-, 5- first terminate mould Block, 6- acquisition module, 7- creation module, 8- detection module, 9- determination module, the second ending module of 10-, 11- second ask modulus Block, the second receiving module of 12-, the second sending module of 13-, 14- third receiving module, the 4th receiving module of 15-, 16- third hair Send module, the 5th receiving module of 17-, the 6th receiving module of 18-, the 4th sending module of 19-.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.In the following description, such as specific configuration is provided and the specific detail of component is only In order to help comprehensive understanding the embodiment of the present invention.It therefore, it will be apparent to those skilled in the art that can be to reality described herein Example is applied to make various changes and modifications without departing from scope and spirit of the present invention.In addition, for clarity and brevity, it is omitted pair The description of known function and construction.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be appreciated that the size of the serial number of following each processes is not meant to execute suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
The embodiment of the invention provides a kind of control methods for writing with a brush dipped in Chinese ink program, are applied to monitoring device, as shown in Figure 1, institute The method of stating includes:
Step S11 is sent when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition to car-mounted terminal Obtain first request of the car-mounted terminal for the memory maximum value of cache flash program;
Step S12 receives the memory maximum that the car-mounted terminal that the car-mounted terminal is sent is used for cache flash program Value;
Step S13 is compared the memory footprint of the director demon with the memory maximum value;
Step S14, when the memory footprint of the director demon is less than or equal to the memory maximum value, to institute It states car-mounted terminal and sends the director demon.
The above embodiment of the present invention, by get director demon to be write with a brush dipped in Chinese ink and vehicle satisfaction write with a brush dipped in Chinese ink condition When, the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program is sent to car-mounted terminal, is received The car-mounted terminal that the car-mounted terminal is sent is used for the memory maximum value of cache flash program, and to the director demon Memory footprint be compared with the memory maximum value, be less than or wait in the memory footprint of the director demon When the memory maximum value, Xiang Suoshu car-mounted terminal sends the process of the director demon, issues by monitoring device When writing with a brush dipped in Chinese ink task, it can prevent from easily leading the crash of electric car brush since car-mounted terminal storage chip institute energy cache is insufficient The problem of causing vehicle that can not travel.In the step S13, when the memory footprint of the director demon is less than or equal to When the memory maximum value, S14 is entered step;When the memory footprint of the director demon is greater than the memory maximum value When, enter step S15.Wherein, meet and write with a brush dipped in Chinese ink condition are as follows: the director demon is the code key that the monitoring device can be read The program of file format and/or upgrade file format.The memory maximum value are as follows: car-mounted terminal is deposited for cache flash program Store up the memory maximum value of chip.Illustrate the specific implementation process of above scheme below with reference to detailed process:
After the step S13, as shown in Fig. 2, the method also includes:
Step S15, when the memory footprint of the director demon is greater than the memory maximum value, end, which is write with a brush dipped in Chinese ink, appoints Business.At this point it is possible to prompt car-mounted terminal low memory in the monitoring device, the information such as mission failure are write with a brush dipped in Chinese ink.
Before the step S11, as shown in figure 3, the method also includes:
Step S1 obtains director demon to be write with a brush dipped in Chinese ink;Wherein it is possible to by being loaded into controller journey in Android upgrade package Sequence, and the program for generating code key file format and/or upgrade file format that the monitoring device can be read is (i.e. to be write with a brush dipped in Chinese ink Director demon).
Step S2, according to the director demon, task is write with a brush dipped in Chinese ink in creation;The director demon to be write with a brush dipped in Chinese ink is uploaded to The monitoring device, the monitoring device creation write with a brush dipped in Chinese ink task, and start operation execute creation write with a brush dipped in Chinese ink task.
Step S3 writes with a brush dipped in Chinese ink task according to described, and whether detection vehicle is in ON grades;When the vehicle is in ON grades, then Enter step S4;When the vehicle is not in ON grades, then S5 is entered step.Wherein, when start operation execute creation write with a brush dipped in Chinese ink When task, detection vehicle whether vehicle and ON grades of wake-up states.
Step S4 determines that vehicle satisfaction writes with a brush dipped in Chinese ink condition when the vehicle is in ON grades.Wherein, ON grades are in vehicle When, the monitoring device and the car-mounted terminal are completed to communicate, at this point, the monitoring device can be carried out with the car-mounted terminal Information exchange.
Before the step S11, as shown in figure 3, the method also includes:
Step S5, when the vehicle is not in ON grades, task is write with a brush dipped in Chinese ink in end.At this point, vehicle is in non-wake-up states, institute Information exchange can not be carried out with the car-mounted terminal by stating monitor supervision platform.It, can be in the monitoring if vehicle is in OFF grades of states Display writes with a brush dipped in Chinese ink file and is in the information such as state to be issued in equipment.
After the step S14, as shown in figure 4, the method also includes:
Step S15 sends the second request that Vehicular system upgrades to mobile terminal;Wherein, complete to the car-mounted terminal After mission dispatching, the monitoring device can have upgrading task and Upgrade Consideration by short message prompt user, work as user When opening application program of mobile phone, the prompt of Vehicular system upgrading can be shown at this time.
Step S16 receives the program writing for allowing Vehicular system to upgrade that the mobile terminal is sent and instructs;Wherein, when When user allows Vehicular system upgrading (can click the option for agreeing to Vehicular system upgrading in application program), the movement is eventually End can send the program writing for allowing Vehicular system to upgrade to the monitoring device and instruct.
Step S17, Xiang Suoshu car-mounted terminal sends the program writing for allowing Vehicular system to upgrade and instructs;
Step S18 receives the program writing status information that the car-mounted terminal is sent.Program writing status information can be Program writing progress or the information for writing with a brush dipped in Chinese ink task completion, program writing status information can be shown in the monitoring device And/or on mobile terminal (i.e. application program of mobile phone).
After the monitoring device and the car-mounted terminal complete communication, the monitoring device is sent to the car-mounted terminal 3 frame messages: 6F01,6F02 and 6F03 (message name can be changed according to network protocol), process are as follows:
Monitoring device sends 6F01 message to the storage core bottom of the car-mounted terminal, and the 6F01 message content is monitoring Equipment and the storage core bottom of the car-mounted terminal are communicated, and 6F01 message shows meaning are as follows:
0X0: initial value;0X1: it has sent;0X3: invalid value.
When the monitoring device receives the 0X1 in the 7F01 message of car-mounted terminal transmission within a preset time, the prison It controls equipment and sends 6F02 message to the storage core of the car-mounted terminal, the 6F02 message content is that monitoring device reads the vehicle Mounted terminal storage core institute can cache flash program memory maximum value, wherein the preset time be monitoring device receive If the limit value of 7F01 message can send the 6F02 receive the 0X1 content of the 7F01 message within a preset time Message;If when preset time were not received by the 0X1 content of the 7F01 message or received 0X2 content, the prison It controls equipment to stop sending the 6F01 message, the monitoring device and the communication of car-mounted terminal storage chip bottom terminate, described Preset time can be 3 seconds, can also set other numerical value;6F02 message shows meaning are as follows:
0X0: initial value;0X1: it has sent;0X3: invalid value.
When the monitoring device receives 0X2 0X3 in the 7F02 message of car-mounted terminal transmission, 6F03 report is not sent Text;When the monitoring device receives the 0X1 in the 7F02 message of car-mounted terminal transmission, the monitoring device is to the controller The memory footprint of program is compared with the memory maximum value, is less than in the memory footprint of the director demon Or when being equal to the memory maximum value, the storage core of Xiang Suoshu car-mounted terminal sends the 0X1 in 6F03 message;In the controller When the memory footprint of program is greater than the memory maximum value, the storage core of Xiang Suoshu car-mounted terminal is sent in 6F03 message 0X2;Whether the 6F03 message content is monitoring device allows to issue controller journey to be write with a brush dipped in Chinese ink to car-mounted terminal transmission Sequence, 6F03 message show meaning are as follows:
0X0: initial value;0X1: send instructions under allowing;0X2: send instructions under not allowing;0X3: invalid value.
When monitoring device receives the 0X2 in the 7F03 message that the car-mounted terminal is sent, the monitoring device not under Director demon to be write with a brush dipped in Chinese ink is sent out, and can show that car-mounted terminal institute energy cache is insufficient in taskbar in issuing for file, Write with a brush dipped in Chinese ink the information such as mission failure.It, then can be with when monitoring device receives the 0X1 in the 7F03 message that the car-mounted terminal is sent Director demon to be write with a brush dipped in Chinese ink is issued, until issuing completion.
The embodiment of the invention also provides a kind of control methods for writing with a brush dipped in Chinese ink program, are applied to car-mounted terminal, as shown in figure 5, The described method includes:
Step S21 receives the first request that the acquisition that monitoring device is sent is used for the memory maximum value of cache flash program;
Step S22, according to first request, Xiang Suoshu monitoring device sends maximum for the memory of cache flash program Value;
Step S23, the memory footprint for receiving the monitoring device in director demon are less than or equal to the memory The director demon sent when maximum value.
The above embodiment of the present invention is used for the memory of cache flash program most by receiving the acquisition that monitoring device is sent The first request being worth greatly, according to first request, Xiang Suoshu monitoring device sends maximum for the memory of cache flash program Value receives monitoring device hair when the memory footprint of the director demon is less than or equal to the memory maximum value The process of the director demon sent, issued by monitoring device write with a brush dipped in Chinese ink task when, can prevent due to car-mounted terminal store core The problem of piece institute energy cache is insufficient, easily causes vehicle that can not travel the crash of electric car brush.
Illustrate the specific implementation process of above scheme below with reference to detailed process:
After the step S23, as shown in fig. 6, the method also includes:
Step S24 receives the program writing for allowing Vehicular system to upgrade that the monitoring device is sent and instructs;
Step S25 writes with a brush dipped in Chinese ink instruction according to described program, writes with a brush dipped in Chinese ink to the director demon, and by program writing shape State information is sent to the monitoring device.Program writing status information can also be sent to mobile terminal (i.e. mobile phone application journey Sequence) on;Program writing status information can for program writing progress or write with a brush dipped in Chinese ink task completion information, can be by program writing Status information is shown in the monitoring device and/or on application program of mobile phone.
When car-mounted terminal receives the 0X3 in the 6F01 message that monitoring device is sent, 7F01 message is not sent;Vehicle-mounted When terminal receives the 0X1 in the 6F01 message of monitoring device transmission, Xiang Suoshu monitoring device sends 7F01 message, the 7F01 Message content is to feed back whether monitoring device is completed to communicate with the storage core bottom of the car-mounted terminal, and 7F01 message shows meaning Are as follows:
0X0: initial value;0X1: communication is completed;0X2: invalid value.
When car-mounted terminal receives the 0X3 in the 6F02 message that monitoring device is sent, 7F02 message is not sent;Vehicle-mounted When terminal receives the 0X1 in the 6F02 message of monitoring device transmission, Xiang Suoshu monitoring device sends 7F02 message, the 7F02 Message content is whether the car-mounted terminal by memory maximum value feeds back to the monitoring device, and 7F02 message shows meaning are as follows:
0X0: initial value;0X1: it has fed back;0X2: it does not feed back;0X3: invalid value.
When car-mounted terminal receives the 0X2 in the 6F03 message that monitoring device is sent, Xiang Suoshu monitoring device is sent 0X2 in 7F03 message;When car-mounted terminal receives the 0X3 in the 6F03 message that monitoring device is sent, set to the monitoring Preparation send the 0X3 in 7F03 message;When car-mounted terminal receives the 0X1 in the 6F03 message that monitoring device is sent, Xiang Suoshu Monitoring device sends the 0X1 in 7F03 message, and whether the 7F03 message content is to feed back to allow to issue controller to be write with a brush dipped in Chinese ink Program;7F03 message shows meaning are as follows:
0X0: initial value;0X1: allow to issue;0X2: do not allow to issue;0X3: invalid value.
Wherein, 7F01,7F02 and 7F03 message name can be changed according to network protocol.
The embodiment of the invention also provides a kind of control devices for writing with a brush dipped in Chinese ink program, are applied to monitoring device, as shown in fig. 7, Described device includes:
First request module 1, for when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, to vehicle Mounted terminal sends the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program;
First receiving module 2 is used for cache flash program for receiving the car-mounted terminal that the car-mounted terminal is sent Memory maximum value;
Comparison module 3 is compared for the memory footprint to the director demon with the memory maximum value;
First sending module 4 is less than or equal to the memory most for the memory footprint in the director demon When big value, Xiang Suoshu car-mounted terminal sends the director demon.
The above embodiment of the present invention, by get director demon to be write with a brush dipped in Chinese ink and vehicle satisfaction write with a brush dipped in Chinese ink condition When, the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program is sent to car-mounted terminal, is received The car-mounted terminal that the car-mounted terminal is sent is used for the memory maximum value of cache flash program, and to the director demon Memory footprint be compared with the memory maximum value, be less than or wait in the memory footprint of the director demon When the memory maximum value, Xiang Suoshu car-mounted terminal sends the process of the director demon, issues by monitoring device When writing with a brush dipped in Chinese ink task, it can prevent from easily leading the crash of electric car brush since car-mounted terminal storage chip institute energy cache is insufficient The problem of causing vehicle that can not travel.Wherein, meet and write with a brush dipped in Chinese ink condition are as follows: the director demon is that the monitoring device can be read Code key file format and/or upgrade file format program.The memory maximum value are as follows: car-mounted terminal is used for cache flash journey The memory maximum value of the storage chip of sequence.
In a specific embodiment of the invention, as shown in fig. 7, described device further include:
First ending module 5, when being greater than the memory maximum value for the memory footprint in the director demon, Task is write with a brush dipped in Chinese ink in end.At this point it is possible to prompt car-mounted terminal low memory in the monitoring device, the information such as mission failure are write with a brush dipped in Chinese ink.
In a specific embodiment of the invention, as shown in figure 8, described device further include:
Module 6 is obtained, for obtaining director demon to be write with a brush dipped in Chinese ink;Wherein it is possible to by being loaded into control in Android upgrade package Device program processed, and generate code key file format and/or upgrade file format that the monitoring device can be read program (i.e. to The director demon write with a brush dipped in Chinese ink).
Creation module 7, for according to the director demon, task to be write with a brush dipped in Chinese ink in creation;By the controller journey to be write with a brush dipped in Chinese ink Sequence uploads to the monitoring device, the monitoring device creation write with a brush dipped in Chinese ink task, and start operation execute creation write with a brush dipped in Chinese ink task.
Detection module 8, for writing with a brush dipped in Chinese ink task according to, whether detection vehicle is in ON grades;Wherein, when start operation hold When writing with a brush dipped in Chinese ink task of row creation, detection vehicle whether vehicle and ON grades of wake-up states.
Determination module 9, for when the vehicle is in ON grades, determining that vehicle satisfaction writes with a brush dipped in Chinese ink condition.Wherein, at vehicle When ON grades, the monitoring device and the car-mounted terminal are completed to communicate, at this point, the monitoring device can be with the vehicle-mounted end End carries out information exchange.
In a specific embodiment of the invention, as shown in figure 8, described device further include:
Second ending module 10, for when the vehicle is not in ON grades, task to be write with a brush dipped in Chinese ink in end.At this point, vehicle is in Non- wake-up states, the monitor supervision platform can not carry out information exchange with the car-mounted terminal.If vehicle is in OFF grades of states, It can show that writing with a brush dipped in Chinese ink file is in the information such as state to be issued in the monitoring device.
In a specific embodiment of the invention, as shown in figure 9, described device further include:
Second request module 11, for sending the second request that Vehicular system upgrades to mobile terminal;Wherein, in Xiang Suoshu After car-mounted terminal completes mission dispatching, the monitoring device can have upgrading task and upgrading to pay attention to thing by short message prompt user , when user opens application program of mobile phone, the prompt of Vehicular system upgrading can be shown at this time.
Second receiving module 12, the program writing for receiving the permission Vehicular system upgrading that the mobile terminal is sent refer to It enables;Wherein, when user allows Vehicular system upgrading (can click the option for agreeing to that Vehicular system upgrades in application program), The mobile terminal can send the program writing for allowing Vehicular system to upgrade to the monitoring device and instruct.
Second sending module 13 is instructed for sending the program writing for allowing Vehicular system to upgrade to the car-mounted terminal;
Third receiving module 14, the program writing status information sent for receiving the car-mounted terminal.Program writing shape State information can be program writing progress or the information for writing with a brush dipped in Chinese ink task completion, program writing status information can be shown in institute State in monitoring device and/or mobile terminal (i.e. application program of mobile phone) on.
In a specific embodiment of the invention, after the monitoring device and the car-mounted terminal complete communication, the prison It controls equipment and sends 3 frame messages: 6F01,6F02 and 6F03 (message name can be changed according to network protocol) to the car-mounted terminal, Process are as follows:
Monitoring device sends 6F01 message to the storage core bottom of the car-mounted terminal, and the 6F01 message content is monitoring Equipment and the storage core bottom of the car-mounted terminal are communicated, and 6F01 message shows meaning are as follows:
0X0: initial value;0X1: it has sent;0X3: invalid value.
When the monitoring device receives the 0X1 in the 7F01 message of car-mounted terminal transmission within a preset time, the prison It controls equipment and sends 6F02 message to the storage core of the car-mounted terminal, the 6F02 message content is that monitoring device reads the vehicle Mounted terminal storage core institute can cache flash program memory maximum value, wherein the preset time be monitoring device receive If the limit value of 7F01 message can send the 6F02 receive the 0X1 content of the 7F01 message within a preset time Message;If when preset time were not received by the 0X1 content of the 7F01 message or received 0X2 content, the prison It controls equipment to stop sending the 6F01 message, the monitoring device and the communication of car-mounted terminal storage chip bottom terminate, described Preset time can be 3 seconds, can also set other numerical value;6F02 message shows meaning are as follows:
0X0: initial value;0X1: it has sent;0X3: invalid value.
When the monitoring device receives 0X2 0X3 in the 7F02 message of car-mounted terminal transmission, 6F03 report is not sent Text;When the monitoring device receives the 0X1 in the 7F02 message of car-mounted terminal transmission, the monitoring device is to the controller The memory footprint of program is compared with the memory maximum value, is less than in the memory footprint of the director demon Or when being equal to the memory maximum value, the storage core of Xiang Suoshu car-mounted terminal sends the 0X1 in 6F03 message;In the controller When the memory footprint of program is greater than the memory maximum value, the storage core of Xiang Suoshu car-mounted terminal is sent in 6F03 message 0X2;Whether the 6F03 message content is monitoring device allows to issue controller journey to be write with a brush dipped in Chinese ink to car-mounted terminal transmission Sequence, 6F03 message show meaning are as follows:
0X0: initial value;0X1: send instructions under allowing;0X2: send instructions under not allowing;0X3: invalid value.
When monitoring device receives the 0X2 in the 7F03 message that the car-mounted terminal is sent, the monitoring device not under Director demon to be write with a brush dipped in Chinese ink is sent out, and can show that car-mounted terminal institute energy cache is insufficient in taskbar in issuing for file, Write with a brush dipped in Chinese ink the information such as mission failure.It, then can be with when monitoring device receives the 0X1 in the 7F03 message that the car-mounted terminal is sent Director demon to be write with a brush dipped in Chinese ink is issued, until issuing completion.
It should be noted that the embodiment of the device is device corresponding with the embodiment of the above method, the above method Embodiment in all implementations suitable for the embodiment of the device, can also reach identical technical effect.
The embodiment of the invention also provides a kind of control devices for writing with a brush dipped in Chinese ink program, are applied to car-mounted terminal, as shown in Figure 10, Described device includes:
4th receiving module 15, the acquisition for receiving monitoring device transmission are used for the memory maximum value of cache flash program First request;
Third sending module 16, for according to first request, Xiang Suoshu monitoring device, which is sent, to be used for cache flash journey The memory maximum value of sequence;
5th receiving module 17 is less than or waits in the memory footprint of director demon for receiving the monitoring device The director demon sent when the memory maximum value.
The above embodiment of the present invention is used for the memory of cache flash program most by receiving the acquisition that monitoring device is sent The first request being worth greatly, according to first request, Xiang Suoshu monitoring device sends maximum for the memory of cache flash program Value receives monitoring device hair when the memory footprint of the director demon is less than or equal to the memory maximum value The process of the director demon sent, issued by monitoring device write with a brush dipped in Chinese ink task when, can prevent due to car-mounted terminal store core The problem of piece institute energy cache is insufficient, easily causes vehicle that can not travel the crash of electric car brush.
In a specific embodiment of the invention, as shown in Figure 10, described device further include:
6th receiving module 18, the program writing for receiving the permission Vehicular system upgrading that the monitoring device is sent refer to It enables;
4th sending module 19 is write with a brush dipped in Chinese ink the director demon, and will for writing with a brush dipped in Chinese ink instruction according to described program Program writing status information is sent to the monitoring device.Program writing status information can also be sent to mobile terminal (i.e. Application program of mobile phone) on;Program writing status information for program writing progress or can write with a brush dipped in Chinese ink the information of task completion, can be with Program writing status information is shown in the monitoring device and/or on application program of mobile phone.
When car-mounted terminal receives the 0X3 in the 6F01 message that monitoring device is sent, 7F01 message is not sent;Vehicle-mounted When terminal receives the 0X1 in the 6F01 message of monitoring device transmission, Xiang Suoshu monitoring device sends 7F01 message, the 7F01 Message content is to feed back whether monitoring device is completed to communicate with the storage core bottom of the car-mounted terminal, and 7F01 message shows meaning Are as follows:
0X0: initial value;0X1: communication is completed;0X2: invalid value.
When car-mounted terminal receives the 0X3 in the 6F02 message that monitoring device is sent, 7F02 message is not sent;Vehicle-mounted When terminal receives the 0X1 in the 6F02 message of monitoring device transmission, Xiang Suoshu monitoring device sends 7F02 message, the 7F02 Message content is whether the car-mounted terminal by memory maximum value feeds back to the monitoring device, and 7F02 message shows meaning are as follows:
0X0: initial value;0X1: it has fed back;0X2: it does not feed back;0X3: invalid value.
When car-mounted terminal receives the 0X2 in the 6F03 message that monitoring device is sent, Xiang Suoshu monitoring device is sent 0X2 in 7F03 message;When car-mounted terminal receives the 0X3 in the 6F03 message that monitoring device is sent, set to the monitoring Preparation send the 0X3 in 7F03 message;When car-mounted terminal receives the 0X1 in the 6F03 message that monitoring device is sent, Xiang Suoshu Monitoring device sends the 0X1 in 7F03 message, and whether the 7F03 message content is to feed back to allow to issue controller to be write with a brush dipped in Chinese ink Program;7F03 message shows meaning are as follows:
0X0: initial value;0X1: allow to issue;0X2: do not allow to issue;0X3: invalid value.
Wherein, 7F01,7F02 and 7F03 message name can be changed according to network protocol.
It should be noted that the embodiment of the device is device corresponding with the embodiment of the above method, the above method Embodiment in all implementations suitable for the embodiment of the device, can also reach identical technical effect.
The embodiment of the invention also provides a kind of monitoring devices, comprising: memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor realize application as described above when executing the computer program Either step in the control method for writing with a brush dipped in Chinese ink program of monitoring device.
The embodiment of the invention also provides a kind of car-mounted terminals, comprising: memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor realize application as described above when executing the computer program Either step in the control method for writing with a brush dipped in Chinese ink program of car-mounted terminal.
The embodiment of the present invention is by when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, to vehicle-mounted Terminal sends the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program, receives the vehicle-mounted end The car-mounted terminal that end is sent is used for the memory maximum value of cache flash program, and to the EMS memory occupation of the director demon Space is compared with the memory maximum value, is less than or equal to the memory in the memory footprint of the director demon When maximum value, Xiang Suoshu car-mounted terminal sends the process of the director demon, issued by monitoring device write with a brush dipped in Chinese ink task when, It can prevent from easily causing vehicle that can not go the crash of electric car brush since car-mounted terminal storage chip institute energy cache is insufficient The problem of sailing.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, several improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (11)

1. a kind of control method for writing with a brush dipped in Chinese ink program is applied to monitoring device characterized by comprising
When getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, sent to car-mounted terminal obtain it is described vehicle-mounted First request of the terminal for the memory maximum value of cache flash program;
Receive the memory maximum value that the car-mounted terminal that the car-mounted terminal is sent is used for cache flash program;
The memory footprint of the director demon is compared with the memory maximum value;
When the memory footprint of the director demon is less than or equal to the memory maximum value, Xiang Suoshu car-mounted terminal hair Send the director demon.
2. writing with a brush dipped in Chinese ink the control method of program as described in claim 1, which is characterized in that the method also includes:
When the memory footprint of the director demon is greater than the memory maximum value, task is write with a brush dipped in Chinese ink in end.
3. writing with a brush dipped in Chinese ink the control method of program as described in claim 1, which is characterized in that getting control to be write with a brush dipped in Chinese ink described Device program processed and vehicle satisfaction is when writing with a brush dipped in Chinese ink condition, sends to car-mounted terminal and obtains the car-mounted terminal for cache flash program Before first request of memory maximum value, the method also includes:
Obtain director demon to be write with a brush dipped in Chinese ink;
According to the director demon, task is write with a brush dipped in Chinese ink in creation;
Task is write with a brush dipped in Chinese ink according to described, whether detection vehicle is in ON grades;
When the vehicle is in ON grades, determine that vehicle satisfaction writes with a brush dipped in Chinese ink condition.
4. writing with a brush dipped in Chinese ink the control method of program as claimed in claim 3, which is characterized in that getting control to be write with a brush dipped in Chinese ink described Device program processed and vehicle satisfaction is when writing with a brush dipped in Chinese ink condition, sends to car-mounted terminal and obtains the car-mounted terminal for cache flash program Before first request of memory maximum value, the method also includes:
When the vehicle is not in ON grades, task is write with a brush dipped in Chinese ink in end.
5. writing with a brush dipped in Chinese ink the control method of program as described in claim 1, which is characterized in that accounted in the memory of the director demon When being less than or equal to the memory maximum value with space, after Xiang Suoshu car-mounted terminal sends the director demon, the side Method further include:
The second request that Vehicular system upgrades is sent to mobile terminal;
The program writing for allowing Vehicular system to upgrade that the mobile terminal is sent is received to instruct;
The program writing that sending to the car-mounted terminal allows Vehicular system to upgrade instructs;
Receive the program writing status information that the car-mounted terminal is sent.
6. a kind of control method for writing with a brush dipped in Chinese ink program is applied to car-mounted terminal characterized by comprising
Receive the first request that the acquisition that monitoring device is sent is used for the memory maximum value of cache flash program;
According to first request, Xiang Suoshu monitoring device sends the memory maximum value for being used for cache flash program;
Receive monitoring device transmission when the memory footprint of director demon is less than or equal to the memory maximum value Director demon.
7. writing with a brush dipped in Chinese ink the control method of program as claimed in claim 6, which is characterized in that exist in the reception monitoring device The memory footprint of the director demon is less than or equal to after the director demon sent when the memory maximum value, institute State method further include:
The program writing for allowing Vehicular system to upgrade that the monitoring device is sent is received to instruct;
Instruction is write with a brush dipped in Chinese ink according to described program, the director demon is write with a brush dipped in Chinese ink, and program writing status information is sent to The monitoring device.
8. a kind of control device for writing with a brush dipped in Chinese ink program is applied to monitoring device characterized by comprising
First request module, for when getting director demon wait write with a brush dipped in Chinese ink and vehicle satisfaction writes with a brush dipped in Chinese ink condition, to vehicle-mounted end End sends the first request of the memory maximum value for obtaining the car-mounted terminal for cache flash program;
First receiving module, the memory for being used for cache flash program for receiving the car-mounted terminal that the car-mounted terminal is sent Maximum value;
Comparison module is compared for the memory footprint to the director demon with the memory maximum value;
First sending module is less than or equal to the memory maximum value for the memory footprint in the director demon When, Xiang Suoshu car-mounted terminal sends the director demon.
9. a kind of control device for writing with a brush dipped in Chinese ink program is applied to car-mounted terminal characterized by comprising
4th receiving module, the acquisition for receiving monitoring device transmission are used for the first of the memory maximum value of cache flash program Request;
Third sending module, for according to first request, Xiang Suoshu monitoring device to be sent for the interior of cache flash program Deposit maximum value;
5th receiving module is less than or equal to for receiving the monitoring device in the memory footprint of director demon described The director demon sent when memory maximum value.
10. a kind of monitoring device characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation, the processor are realized as described in any one of Claims 1 to 5 when executing the computer program The step write with a brush dipped in Chinese ink in the control method of program.
11. a kind of car-mounted terminal characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation, the processor are realized as described in any one of claim 6~7 when executing the computer program The step write with a brush dipped in Chinese ink in the control method of program.
CN201811312129.0A 2018-11-06 2018-11-06 A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal Pending CN109508197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811312129.0A CN109508197A (en) 2018-11-06 2018-11-06 A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811312129.0A CN109508197A (en) 2018-11-06 2018-11-06 A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal

Publications (1)

Publication Number Publication Date
CN109508197A true CN109508197A (en) 2019-03-22

Family

ID=65747659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811312129.0A Pending CN109508197A (en) 2018-11-06 2018-11-06 A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal

Country Status (1)

Country Link
CN (1) CN109508197A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573770A (en) * 2014-10-14 2016-05-11 腾讯科技(深圳)有限公司 Application program downloading and installing method and device
CN106506649A (en) * 2016-11-14 2017-03-15 湖南小步科技有限公司 A kind of remote online upgrade method of vehicle-mounted control terminal and device
CN106682519A (en) * 2017-01-04 2017-05-17 重庆长安汽车股份有限公司 Method and system for remotely flashing vehicle controller program
US20180023973A1 (en) * 2016-07-20 2018-01-25 Harman Becker Automotive Systems Gmbh Extrapolating speed limits within road graphs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573770A (en) * 2014-10-14 2016-05-11 腾讯科技(深圳)有限公司 Application program downloading and installing method and device
US20180023973A1 (en) * 2016-07-20 2018-01-25 Harman Becker Automotive Systems Gmbh Extrapolating speed limits within road graphs
CN106506649A (en) * 2016-11-14 2017-03-15 湖南小步科技有限公司 A kind of remote online upgrade method of vehicle-mounted control terminal and device
CN106682519A (en) * 2017-01-04 2017-05-17 重庆长安汽车股份有限公司 Method and system for remotely flashing vehicle controller program

Similar Documents

Publication Publication Date Title
CN105094932B (en) A method of electric vehicle in house software is upgraded by charging equipment
CN106774255A (en) A kind of remote reflash method and system based on VIN verifications
CN103955382A (en) Remote writing equipment of OBD (On-Board Device)
CN112230624B (en) Control system and method for vehicle door lock
CN105818762B (en) Intelligent central control system and its startup method for automobile
CN113401000B (en) Intelligent battery replacement control method and system for electric truck
CN106453629B (en) A kind of automobile electronic system remote update system and its method based on mobile network
CN105882438A (en) Vehicle charging method and system, and charging pile
CN109685924B (en) Intelligent vehicle-mounted electronic tag and issuing method thereof
CN108762781A (en) A kind of new-energy automobile control software remote upgrade method
CN110597546B (en) Method for upgrading vehicle-mounted controller program and vehicle
CN109017399A (en) The intelligent charging system and method for electric car
CN105824653A (en) Automobile CAN bus data brush-writing method and device
CN109508197A (en) A kind of control method that writing with a brush dipped in Chinese ink program, device, monitoring device and car-mounted terminal
JPH0512000A (en) Terminal software version changing method
CN112767565A (en) OBU issuing and activating method and device based on vehicle machine and electronic equipment
CN109614127A (en) The software updating apparatus and method of Vehicle Controller
CN113423093B (en) Bluetooth communication method and system based on vehicle-mounted terminal
KR101471617B1 (en) Charging server, charging method and charging system for electric vehicle
KR20140058864A (en) Charging server, charging method and charging system for electric vehicle
CN108172010A (en) Vehicles management method, system and storage medium
CN114356760A (en) CANFD controller software remote upgrade test method and system based on L3 whole vehicle architecture
CN109697840A (en) Automatic frequency aligning method and device
CN111757304A (en) Electric vehicle battery replacement method and system based on Internet of things
EP3533663A1 (en) Method and electronic device for managing power supply devices

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: 20190322