CN115826855A - Processing method and device for storage space of vehicle-mounted machine system and related equipment - Google Patents

Processing method and device for storage space of vehicle-mounted machine system and related equipment Download PDF

Info

Publication number
CN115826855A
CN115826855A CN202211400625.8A CN202211400625A CN115826855A CN 115826855 A CN115826855 A CN 115826855A CN 202211400625 A CN202211400625 A CN 202211400625A CN 115826855 A CN115826855 A CN 115826855A
Authority
CN
China
Prior art keywords
storage space
vehicle
operation file
written
file
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
CN202211400625.8A
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.)
Hozon New Energy Automobile Co Ltd
Original Assignee
Hozon New Energy Automobile 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 Hozon New Energy Automobile Co Ltd filed Critical Hozon New Energy Automobile Co Ltd
Priority to CN202211400625.8A priority Critical patent/CN115826855A/en
Publication of CN115826855A publication Critical patent/CN115826855A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for processing a storage space of a vehicle-mounted computer system and related equipment. The method comprises the steps of monitoring the state of a vehicle storage space based on preset time; when the storage space of the vehicle is smaller than the first preset storage space, allowing the first operation file to be written into the storage space of the vehicle and limiting the second operation file to be written into the storage space of the vehicle; and when detecting that the storage space of the vehicle machine is larger than the first preset storage space and smaller than the second preset storage space, allowing the third operation file to be written into the storage space of the vehicle machine and limiting the fourth operation file to be written into the storage space of the vehicle machine. According to the method, the writing of the file is limited when the storage space of the vehicle machine is insufficient by monitoring the storage space of the vehicle machine, the storage space of the vehicle machine is not fully written, and the problems of jamming and cycle restarting of a vehicle machine system caused by the insufficient storage space of the vehicle machine are avoided.

Description

Processing method and device for storage space of vehicle-mounted machine system and related equipment
Technical Field
The invention relates to the technical field of vehicle control, in particular to a vehicle machine system storage space processing method and device, electronic equipment and a computer storage medium.
Background
In the related art, when the storage space of the vehicle-mounted machine system is insufficient, only a user can be prompted, the application file can be continuously written into the storage space of the vehicle-mounted machine system, the storage space of the vehicle-mounted machine system is insufficient, and then the system is jammed and restarted in a circulating mode. Therefore, how to better realize the processing of the storage space of the car machine system becomes an urgent problem to be solved.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
Therefore, a first objective of the present invention is to provide a method for processing a storage space of a vehicle device system, which realizes limiting file writing when the storage space of the vehicle device is insufficient, ensures that the storage space of the vehicle device is not fully written, and avoids the problems of vehicle device system jamming and cycle restart caused by the insufficient storage space of the vehicle device.
The second objective of the present invention is to provide a device for processing storage space of a vehicle system.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a computer-readable storage medium.
In order to achieve the above object, an embodiment of the first aspect of the present invention provides a storage space method for a vehicle-mounted device system, including: monitoring the state of the storage space of the vehicle machine based on preset time; when the fact that the vehicle-mounted device storage space is smaller than a first preset storage space is detected, allowing a first operation file to be written into the vehicle-mounted device storage space and limiting a second operation file to be written into the vehicle-mounted device storage space; and when detecting that the car machine storage space is larger than a first preset storage space and smaller than a second preset storage space, allowing a third operation file to be written in the car machine storage space and limiting a fourth operation file to be written in the car machine storage space.
According to the processing method for the storage space of the car machine system, the state of the car machine storage space is monitored based on the preset time, then when the storage space of the car machine is detected to be smaller than the first preset storage space, the first operation file is allowed to be written into the car machine storage space, the second operation file is limited to be written into the car machine storage space, and when the storage space of the car machine is detected to be larger than the first preset storage space and smaller than the second preset storage space, the third operation file is allowed to be written into the car machine storage space, and the fourth operation file is limited to be written into the car machine storage space. According to the method, the writing of the file is limited when the storage space of the vehicle machine is insufficient by monitoring the storage space of the vehicle machine, the storage space of the vehicle machine is not fully written, and the problems of jamming and cycle restarting of a vehicle machine system caused by the insufficient storage space of the vehicle machine are avoided.
According to an embodiment of the present invention, the first operation file is a vehicle-mounted device system application file, and the second operation file is a non-vehicle-mounted device system application file; the third operation file is a system core application file, and the fourth operation file is a non-system core application file.
According to an embodiment of the present invention, further comprising: receiving the first operation file, the second operation file, the third operation file and/or the fourth operation file, and storing the first operation file, the second operation file, the third operation file and/or the fourth operation file in a cache pool; and then detecting whether the storage space of the vehicle machine is smaller than the first preset storage space and/or the second preset storage space.
According to an embodiment of the present invention, when it is detected that the in-vehicle storage space is smaller than a first preset storage space, allowing a first operation file to be written into the in-vehicle storage space and restricting a second operation file to be written into the in-vehicle storage space includes: and when detecting that the car machine storage space is smaller than a first preset storage space, limiting the writing of the second operation file into the car machine storage space, and prompting that the car machine storage space needs to be cleaned.
According to an embodiment of the present invention, when detecting that the in-vehicle storage space is greater than a first preset storage space and smaller than a second preset storage space, allowing a third operation file to be written in the in-vehicle storage space and limiting a fourth operation file to be written in the in-vehicle storage space includes: and detecting that the car machine storage space is larger than a first preset storage space and smaller than a second preset storage space, limiting the fourth operation file to be written into the car machine storage space, and prompting that the car machine storage space is insufficient.
According to an embodiment of the present invention, further comprising: and allowing the third operation file to be written into the car machine storage space, limiting the fourth operation file to be written into the car machine storage space, and simultaneously informing the application process corresponding to the started system core application file that the car machine storage space is insufficient.
According to an embodiment of the present invention, further comprising: and determining whether the current vehicle is powered on or not before monitoring the state of the storage space of the vehicle machine based on the preset time.
In order to achieve the above object, an embodiment of the storage space processing device for a vehicle-mounted device in a second aspect of the present invention provides a device, where the device includes: the monitoring module is used for monitoring the state of the storage space of the vehicle machine based on preset time; the first execution module is used for allowing a first operation file to be written into the car machine storage space and limiting a second operation file to be written into the car machine storage space when detecting that the car machine storage space is smaller than a first preset storage space; and the second execution module is used for allowing a third operation file to be written into the vehicle machine storage space and limiting a fourth operation file to be written into the vehicle machine storage space when detecting that the vehicle machine storage space is larger than the first preset storage space and smaller than the second preset storage space.
In order to achieve the above object, an electronic device according to a third aspect of the present invention includes: the storage device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the storage space processing method of the car machine system is realized.
In order to achieve the above object, in a computer-readable storage medium provided in an embodiment of a fourth aspect of the present invention, when being executed by a processor, the computer program implements the in-vehicle system storage space processing method according to the embodiment of the first aspect of the present invention.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a storage space processing method of a car machine system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a storage space processing method of a vehicle-mounted computer system according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a method and apparatus for processing storage space of a vehicle system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the 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 and intended to explain the present invention and should not be construed as limiting the present invention.
With the continuous development of intelligent automobiles, various sensors and peripherals are connected into a vehicle machine system, and therefore the vehicle machine application function has more space. Along with the expansion of the functions of the vehicle-mounted computer system, the longer the user stays in the vehicle, and the more and more occupied storage space of the vehicle-mounted computer system by the applications such as music, videos, maps, upgrading, a vehicle traveling data recorder and inner shooting. For example, a large file may be written to the in-vehicle system in some cases where the user does not actively trigger. For example, a vehicle body sensor monitors that a vehicle collides, wakes up a vehicle machine, starts a vehicle event data recorder, stores the vehicle event data recorder in an emergency synchronization mode, and then automatically synchronizes the vehicle event data recorder to a mobile phone of a user through a cloud. The method is a video file recording triggered by non-users actively, and the storage space of a vehicle-mounted machine system can be exhausted. Once the storage space of the car machine system is full, the system can be restarted in a stuck cycle, and a user can not enter the system to clear the storage space. At this time, the car machine can only solve the above problems by re-flashing, which requires disassembling the host machine, flashing by a specific tool and possibly clearing the data related to the user in the car machine.
In the related art, the solution of the car machine system is to start the service of the equipment storage monitoring system, check the system storage space once every minute, and when the system storage space is smaller than the minimum value of 5% of the system storage space and 500M, notify the column to prompt that the storage space is insufficient. And when the system storage space is less than 1M, the notification bar prompts that the storage space is full. When the storage space of the vehicle-mounted machine system is insufficient, a user can only be prompted, the application file can be continuously written into the storage space of the vehicle-mounted machine system, the storage space of the vehicle-mounted machine system is insufficient, and then the system is jammed and restarted in a circulating mode. Therefore, how to better realize the processing of the storage space of the car machine system becomes an urgent problem to be solved.
Therefore, the invention provides a processing method and device for a storage space of a vehicle-mounted computer system, an electronic device and a storage medium.
Specifically, a method and an apparatus for processing a storage space of a vehicle-mounted device system, an electronic device, and a storage medium according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a storage space processing method of a car machine system according to an embodiment of the present invention. It should be noted that the in-vehicle system storage space processing method according to the embodiment of the present invention may be applied to the in-vehicle system storage space processing apparatus according to the embodiment of the present invention, and the apparatus may be configured on an electronic device or may be configured in a server. The electronic device may be a PC or a mobile terminal. The embodiment of the present invention is not limited thereto.
As shown in fig. 1, a method for processing a storage space of a car-in-car system includes:
and S110, monitoring the vehicle storage space state based on preset time.
In the embodiment of the invention, the vehicle storage space state is monitored based on the preset time, whether the current vehicle is powered on or not needs to be determined before, and if yes, the vehicle storage space state is monitored based on the preset time.
The implementation manner of determining the current vehicle power-on can be implemented by referring to the following manners: judging that the main driving is unmanned, and determining that the current vehicle is powered on when the main driving door is opened from closing; when the current vehicle is in a power-off state and a key is placed in the vehicle and a brake pedal is stepped on, the current vehicle can be determined to be powered on.
And S120, when the fact that the storage space of the vehicle is smaller than the first preset storage space is detected, allowing the first operation file to be written into the storage space of the vehicle and limiting the second operation file to be written into the storage space of the vehicle.
The first operation file is a vehicle machine system application file, and the second operation file is a non-vehicle machine system application file.
It should be noted that, the size of the first preset storage space may be based on the cloud dynamic configuration, and other values may also be selected according to the vehicle type. The present invention does not limit the value of the first predetermined storage space. For example, the size of the first preset storage space is 400M of the first preset storage space or the minimum value between 2% of the total system storage space, and if the 400M of the first preset storage space is the minimum value, the 400M of the first preset storage space is adopted as the size of the first preset storage space; and if the total storage space of the system is 2% minimum, adopting the total storage space of the system to be 2% as the size of the first preset storage space.
In the embodiment of the invention, the first operation file and the second operation file are received and stored in the cache pool, and then whether the storage space of the vehicle is smaller than the first preset storage space or not is detected, if so, the first operation file is allowed to be written into the storage space of the vehicle and the second operation file is limited to be written into the storage space of the vehicle. That is to say, allow car machine system application file to write into car machine storage space, restrict non-car machine system application file write into car machine storage space.
S130, when the fact that the storage space of the car machine is larger than the first preset storage space and smaller than the second preset storage space is detected, allowing the third operation file to be written into the storage space of the car machine and limiting the fourth operation file to be written into the storage space of the car machine.
The third operation file is a system core application file, and the fourth operation file is a non-system core application file.
It should be noted that the size of the second preset storage space may be dynamically configured based on the cloud end, and other values may also be selected according to the vehicle type. The present invention does not limit the value of the second predetermined storage space. The size of the second preset storage space is the minimum value between 800M of the second preset storage space or 5% of the total storage space of the system, and if the size of the second preset storage space is 800M, the size of the second preset storage space is 800M of the second preset storage space; and if the total storage space of the system is 5% minimum, taking the total storage space of the system as the size of the second preset storage space by 5%.
In the embodiment of the invention, the third operation file and the fourth operation file are received and stored in the cache pool, and then whether the storage space of the vehicle is larger than the first preset storage space and smaller than the second preset storage space or not is detected, if yes, the third operation file is allowed to be written into the storage space of the vehicle and the fourth operation file is limited to be written into the storage space of the vehicle. That is to say, the writing of the non-system core application file into the in-vehicle machine storage space is limited, and the writing of the system core application file into the in-vehicle machine storage space is allowed.
According to the processing method for the storage space of the car machine system, the state of the car machine storage space is monitored based on the preset time, then when the storage space of the car machine is detected to be smaller than the first preset storage space, the first operation file is allowed to be written into the car machine storage space, the second operation file is limited to be written into the car machine storage space, and when the storage space of the car machine is detected to be larger than the first preset storage space and smaller than the second preset storage space, the third operation file is allowed to be written into the car machine storage space, and the fourth operation file is limited to be written into the car machine storage space. According to the method, the writing of the file is limited when the storage space of the vehicle machine is insufficient by monitoring the storage space of the vehicle machine, the storage space of the vehicle machine is not fully written, and the problems of jamming and cycle restarting of a vehicle machine system caused by the insufficient storage space of the vehicle machine are avoided.
In order to make the present invention more easily understood by those skilled in the art, fig. 2 is a flowchart of a storage space processing method of a car machine system according to an embodiment of the present invention. As shown in fig. 2, the method for processing the storage space of the in-vehicle system includes:
and S210, monitoring the state of the storage space of the vehicle machine based on preset time.
In the embodiment of the invention, when the current vehicle is determined to be powered on, the state of the storage space of the vehicle machine can be monitored once every minute. And the state of the storage space of the vehicle machine can be monitored in real time.
And S220, determining the size of the storage space of the car machine.
In the embodiment of the invention, the size of the storage space of the car machine can be determined based on monitoring the state of the storage space of the car machine.
And S230, when the fact that the storage space of the vehicle is smaller than the first preset storage space is detected, allowing the first operation file to be written into the storage space of the vehicle and limiting the second operation file to be written into the storage space of the vehicle.
In order to avoid the shortage of the storage space of the car machine, in the embodiment of the present invention, the first operation file and the second operation file may be received, and the first operation file and the second operation file may be stored in the cache pool.
Based on the fact that the first operation file and the second operation file are stored in the cache pool, whether the storage space of the vehicle machine is smaller than a first preset storage space or not is detected, if yes, the first operation file is allowed to be written into the storage space of the vehicle machine, and the second operation file is limited to be written into the storage space of the vehicle machine. That is to say, allow car machine system application file to write into car machine storage space, restrict non-car machine system application file write into car machine storage space.
For example, the in-vehicle system application files include, but are not limited to, files for application operations including, but not limited to, system services, system UIs, settings, desktops, file management, maps, voice, and the like.
The non-vehicle machine system application files include, but are not limited to, files operated by three-party applications including, but not limited to, application a, application B, application C, and the like, and applications that may occupy a large storage space.
In an embodiment of the present invention, when it is detected that the in-vehicle storage space is smaller than the first preset storage space, the second operation file is limited to be written into the in-vehicle storage space, and the in-vehicle storage space is prompted to be cleaned.
For example, a "memory space needs to be cleared" may be displayed by a popup; and the storage space needs to be cleaned can be prompted through voice.
S240, when detecting that the storage space of the vehicle is larger than the first preset storage space and smaller than the second preset storage space, allowing the third operation file to be written into the storage space of the vehicle and limiting the fourth operation file to be written into the storage space of the vehicle.
In order to avoid the fact that the storage space of the car machine is full, in the embodiment of the present invention, the third operation file and the fourth operation file may be received and stored in the cache pool.
Based on the fact that the third operation file and the fourth operation file are stored in the cache pool, when the fact that the storage space of the vehicle machine is larger than the first preset storage space and smaller than the second preset storage space is detected, the third operation file is allowed to be written into the storage space of the vehicle machine, and the fourth operation file is limited to be written into the storage space of the vehicle machine. That is to say, the non-system core application file is limited to be written into the in-vehicle machine storage space, and the system core application file is allowed to be written into the in-vehicle machine storage space.
For example, a system core application file may be understood as an application file that maintains only the system runnable state, such as a file that includes, but is not limited to, system services, system UIs, file management, etc. application operations.
Non-system core application files include, but are not limited to, files for application A, voice, maps, etc. application operations.
In an embodiment of the present invention, when it is detected that the in-vehicle storage space is greater than the first preset storage space and less than the second preset storage space, the fourth operation file is limited from being written into the in-vehicle storage space, and it is prompted that the in-vehicle storage space is insufficient.
For example, "insufficient storage space" may be displayed by pop-up; the 'insufficient storage space' can also be prompted by voice.
In an embodiment of the present invention, the third operation file is allowed to be written into the in-vehicle storage space, the fourth operation file is limited from being written into the in-vehicle storage space, and meanwhile, the application process corresponding to the started system core application file is notified that the in-vehicle storage space is insufficient. And after receiving the notification, the application process corresponding to the system core application file does not write the file to the vehicle machine storage space.
According to the processing method for the storage space of the vehicle-mounted machine system, disclosed by the embodiment of the invention, by monitoring the storage space of the vehicle-mounted machine, the writing of files is limited when the storage space of the vehicle-mounted machine is insufficient, the storage space of the vehicle-mounted machine is ensured not to be fully written, and the problems of vehicle-mounted machine system jamming and cycle restarting caused by the insufficient storage space of the vehicle-mounted machine are avoided.
Corresponding to the storage space processing methods of the car machine system provided in the foregoing embodiments, an embodiment of the present invention further provides a storage space processing device of the car machine system, and since the storage space processing device of the car machine system provided in the embodiment of the present invention corresponds to the storage space processing methods of the car machine system provided in the foregoing embodiments, the implementation manner of the storage space processing method of the car machine system is also applicable to the storage space processing device of the car machine system provided in the present embodiment, and will not be described in detail in the present embodiment. Fig. 3 is a schematic structural diagram of a storage space processing device of a car machine system according to an embodiment of the present invention.
As shown in fig. 3, the in-vehicle machine system storage space processing apparatus includes: a monitoring module 310, a first execution module 320, and a second execution module 330, wherein,
the monitoring module 310 is used for monitoring the on-board unit storage space state based on preset time;
the first execution module 320 is configured to allow a first operation file to be written into the in-vehicle storage space and limit a second operation file to be written into the in-vehicle storage space when detecting that the in-vehicle storage space is smaller than a first preset storage space;
the second executing module 330 is configured to allow a third operation file to be written in the in-vehicle storage space and limit a fourth operation file to be written in the in-vehicle storage space when detecting that the in-vehicle storage space is greater than the first preset storage space and smaller than the second preset storage space.
According to the storage space processing device of the car machine system, the state of the car machine storage space is monitored based on the preset time, then when the storage space of the car machine is detected to be smaller than the first preset storage space, the first operation file is allowed to be written into the car machine storage space, the second operation file is limited to be written into the car machine storage space, when the storage space of the car machine is detected to be larger than the first preset storage space and smaller than the second preset storage space, the third operation file is allowed to be written into the car machine storage space, and the fourth operation file is limited to be written into the car machine storage space. Therefore, by monitoring the storage space of the vehicle machine, the writing-in of files is limited when the storage space of the vehicle machine is insufficient, the storage space of the vehicle machine is not fully written, and the problems of jamming and cyclic restarting of a vehicle machine system caused by the insufficient storage space of the vehicle machine are avoided.
In an embodiment of the present invention, the first operation file is a vehicle machine system application file, and the second operation file is a non-vehicle machine system application file; the third operation file is a system core application file, and the fourth operation file is a non-system core application file.
In an embodiment of the present invention, the apparatus further includes a receiving module, configured to receive the first operation file, the second operation file, the third operation file, and/or a fourth operation file, and store the first operation file, the second operation file, the third operation file, and/or the fourth operation file in a cache pool; and then detecting whether the storage space of the car machine is smaller than the first preset storage space and/or the second preset storage space.
In an embodiment of the present invention, the first executing module 320 is specifically configured to, when detecting that the in-vehicle storage space is smaller than a first preset storage space, limit the second operation file to be written into the in-vehicle storage space, and prompt the in-vehicle storage space to need to be cleaned.
In an embodiment of the present invention, the second executing module 330 is specifically configured to, when detecting that the in-vehicle storage space is greater than a first preset storage space and smaller than a second preset storage space, limit the fourth operation file to be written into the in-vehicle storage space, and prompt that the in-vehicle storage space is insufficient.
In one embodiment of the present invention, further comprising: and the notification module is used for allowing the third operation file to be written into the vehicle storage space, limiting the fourth operation file to be written into the vehicle storage space, and simultaneously notifying an application process corresponding to the started system core application file that the vehicle storage space is insufficient.
In one embodiment of the present invention, further comprising: and the determining module is used for determining whether the current vehicle is powered on before monitoring the vehicle storage space state based on the preset time.
An apparatus according to an embodiment of the present invention, reference is made to fig. 4, which shows a schematic structural diagram of an electronic device (e.g., the terminal device or the server in fig. 1) 400 suitable for implementing an embodiment of the present invention. The electronic devices in the embodiments of the present invention may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM402, and the RAM 403 are connected to each other by a bus 504. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, an embodiment of the invention includes a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. Which when executed by the processing means 401 performs the functions defined above in the methods of embodiments of the invention.
It should be noted that the computer readable medium of the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: monitoring the vehicle storage space state based on preset time; when the fact that the vehicle-mounted device storage space is smaller than a first preset storage space is detected, allowing a first operation file to be written into the vehicle-mounted device storage space and limiting a second operation file to be written into the vehicle-mounted device storage space; and when detecting that the car machine storage space is larger than a first preset storage space and smaller than a second preset storage space, allowing a third operation file to be written in the car machine storage space and limiting a fourth operation file to be written in the car machine storage space.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: monitoring the state of the storage space of the vehicle machine based on preset time; when the fact that the vehicle-mounted device storage space is smaller than a first preset storage space is detected, allowing a first operation file to be written into the vehicle-mounted device storage space and limiting a second operation file to be written into the vehicle-mounted device storage space; and when detecting that the car machine storage space is larger than a first preset storage space and smaller than a second preset storage space, allowing a third operation file to be written in the car machine storage space and limiting a fourth operation file to be written in the car machine storage space.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents is encompassed without departing from the spirit of the disclosure. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the invention. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method for processing a storage space of a vehicle-mounted machine system is characterized by comprising the following steps:
monitoring the state of the storage space of the vehicle machine based on preset time;
when the fact that the vehicle-mounted device storage space is smaller than a first preset storage space is detected, allowing a first operation file to be written into the vehicle-mounted device storage space and limiting a second operation file to be written into the vehicle-mounted device storage space;
and when detecting that the car machine storage space is larger than a first preset storage space and smaller than a second preset storage space, allowing a third operation file to be written in the car machine storage space and limiting a fourth operation file to be written in the car machine storage space.
2. The in-vehicle machine system storage space processing method according to claim 1, wherein the first operation file is an in-vehicle machine system application file, and the second operation file is a non-in-vehicle machine system application file; the third operating file is a system core application file, and the fourth operating file is a non-system core application file.
3. The in-vehicle machine system storage space processing method according to claim 1, further comprising: receiving the first operation file, the second operation file, the third operation file and/or the fourth operation file, and storing the first operation file, the second operation file, the third operation file and/or the fourth operation file in a cache pool; and then detecting whether the storage space of the vehicle machine is smaller than the first preset storage space and/or the second preset storage space.
4. The in-vehicle machine system storage space processing method according to claim 1, wherein when it is detected that the in-vehicle machine storage space is smaller than a first preset storage space, allowing a first operation file to be written in the in-vehicle machine storage space and limiting a second operation file to be written in the in-vehicle machine storage space includes:
and when detecting that the vehicle machine storage space is smaller than a first preset storage space, limiting the writing of the second operation file into the vehicle machine storage space, and prompting that the vehicle machine storage space needs to be cleaned.
5. The in-vehicle machine system storage space processing method according to claim 1, wherein when it is detected that the in-vehicle machine storage space is greater than a first preset storage space and smaller than a second preset storage space, allowing a third operation file to be written in the in-vehicle machine storage space and limiting a fourth operation file to be written in the in-vehicle machine storage space includes:
and detecting that the vehicle machine storage space is larger than a first preset storage space and smaller than a second preset storage space, limiting the fourth operation file to be written into the vehicle machine storage space, and prompting that the vehicle machine storage space is insufficient.
6. The in-vehicle machine system storage space processing method according to claim 5, further comprising: and allowing the third operation file to be written into the car machine storage space, limiting the fourth operation file to be written into the car machine storage space, and simultaneously informing the application process corresponding to the started system core application file that the car machine storage space is insufficient.
7. The in-vehicle machine system storage space processing method according to claim 1, further comprising: and determining whether the current vehicle is powered on or not before monitoring the state of the storage space of the vehicle machine based on the preset time.
8. The utility model provides a car machine system memory space processing apparatus which characterized in that, the device includes:
the monitoring module is used for monitoring the state of the storage space of the vehicle machine based on preset time;
the first execution module is used for allowing a first operation file to be written into the car machine storage space and limiting a second operation file to be written into the car machine storage space when detecting that the car machine storage space is smaller than a first preset storage space;
and the second execution module is used for allowing a third operation file to be written into the vehicle machine storage space and limiting a fourth operation file to be written into the vehicle machine storage space when detecting that the vehicle machine storage space is larger than the first preset storage space and smaller than the second preset storage space.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the in-vehicle system memory space processing method of any one of claims 1-7.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the in-vehicle system storage processing method according to any one of claims 1 to 7.
CN202211400625.8A 2022-11-09 2022-11-09 Processing method and device for storage space of vehicle-mounted machine system and related equipment Pending CN115826855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211400625.8A CN115826855A (en) 2022-11-09 2022-11-09 Processing method and device for storage space of vehicle-mounted machine system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211400625.8A CN115826855A (en) 2022-11-09 2022-11-09 Processing method and device for storage space of vehicle-mounted machine system and related equipment

Publications (1)

Publication Number Publication Date
CN115826855A true CN115826855A (en) 2023-03-21

Family

ID=85527442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211400625.8A Pending CN115826855A (en) 2022-11-09 2022-11-09 Processing method and device for storage space of vehicle-mounted machine system and related equipment

Country Status (1)

Country Link
CN (1) CN115826855A (en)

Similar Documents

Publication Publication Date Title
US9374407B2 (en) Mobile device application streaming
CN110502357B (en) Stack backtracking method, device, medium and equipment
CN111488185B (en) Page data processing method, device, electronic equipment and readable medium
CN113301157A (en) Cloud mobile phone group control method, equipment and storage medium based on android system
CN111198777A (en) Data processing method, device, terminal and storage medium
CN110633433B (en) Page caching method and device, electronic equipment and storage medium
CN112767565B (en) Method and device for OBU issuing and activating based on vehicle machine and electronic equipment
CN111522645A (en) Object processing method and device, electronic equipment and computer-readable storage medium
CN111309406A (en) Event processing method and device of application program and electronic equipment
CN115826855A (en) Processing method and device for storage space of vehicle-mounted machine system and related equipment
CN111857915B (en) Application page display method and device
CN111625326B (en) Task pipeline execution method and device and electronic equipment
CN114741686A (en) Method and device for detecting program white list and related equipment
CN114872551A (en) Power-on and power-off control method and device for electric automobile and related equipment
CN110377362B (en) Method, device, terminal and storage medium for cleaning application program
CN110704782A (en) Page response method and device, electronic equipment and storage medium
CN117155994B (en) Service registration management method, device, equipment and readable storage medium
WO2023116522A1 (en) Process management method and apparatus, and storage medium and electronic device
CN111258777B (en) Method, device, system, equipment and storage medium for transmitting voice data
CN111324512B (en) Method, apparatus, electronic device, and computer-readable medium for generating text
CN112241322A (en) Memory management method and device and mobile device
CN115953863A (en) Sharing method and device based on Bluetooth key and related equipment
CN116319932A (en) Training method, device, equipment and storage medium of content push model
CN115840577A (en) Upgrading method and system of intelligent central control system and related equipment
CN116405737A (en) Interaction method, interaction device, electronic equipment and storage medium

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