CN116661895A - Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium - Google Patents

Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN116661895A
CN116661895A CN202310642160.5A CN202310642160A CN116661895A CN 116661895 A CN116661895 A CN 116661895A CN 202310642160 A CN202310642160 A CN 202310642160A CN 116661895 A CN116661895 A CN 116661895A
Authority
CN
China
Prior art keywords
vehicle
equipment
mounted equipment
mode
started
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
CN202310642160.5A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310642160.5A priority Critical patent/CN116661895A/en
Publication of CN116661895A publication Critical patent/CN116661895A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a control method and device of vehicle-mounted equipment, electronic equipment and a readable storage medium, and belongs to the technical field of automobiles. The method comprises the following steps: receiving a first input to start the vehicle-mounted device; in response to the first input, initiating a start-up of the vehicle equipment; under the condition that the abnormal mode starting of the vehicle-mounted equipment is detected to be started last time, controlling the vehicle-mounted equipment to enter a safety mode; wherein in the safe mode, the number of programs running is less than the number of programs running in the normal mode.

Description

Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of automobiles, and particularly relates to a control method and device of automobile machine equipment, electronic equipment and a readable storage medium.
Background
In a vehicle, a vehicle-mounted device is installed, in which a plurality of programs can be run. For example, in a vehicle device, a program may be run that displays the travel speed of the vehicle for reference by the user.
Generally, the service life of the vehicle is long, and as the vehicle is consumed in the years, some jamming and other phenomena can occur in the vehicle equipment. For example, when the vehicle equipment is started, the vehicle equipment is often stuck, dead, and black screen after being used for a long time, so that the vehicle equipment cannot be started.
Disclosure of Invention
The embodiment of the application aims to provide a control method of vehicle equipment, which can solve the problem that the vehicle equipment can be frequently blocked, dead, black screen and the like after being used for a long time, so that the vehicle equipment cannot be started.
In a first aspect, an embodiment of the present application provides a method for controlling a vehicle device, where the method includes: receiving a first input to start the vehicle-mounted device; in response to the first input, initiating a start-up of the vehicle equipment; under the condition that the abnormal mode starting of the vehicle-mounted equipment is detected to be started last time, controlling the vehicle-mounted equipment to enter a safety mode; wherein in the safe mode, the number of programs running is less than the number of programs running in the normal mode.
In a second aspect, an embodiment of the present application provides a control apparatus for a vehicle device, including: the receiving module is used for receiving a first input for starting the vehicle machine equipment; a starting module for starting to start the vehicle equipment in response to the first input; the control module is used for controlling the vehicle-mounted equipment to enter a safety mode under the condition that the abnormal mode starting of the vehicle-mounted equipment is detected to be started last time; wherein in the safe mode, the number of programs running is less than the number of programs running in the normal mode.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
Thus, in an embodiment of the present application, a first input to activate the vehicle equipment is received, and in response to the first input, the vehicle equipment is started. In the process of starting the vehicle-mounted equipment, detecting whether the vehicle-mounted equipment is started in an abnormal mode or not when the vehicle-mounted equipment is started last time, if so, indicating that the vehicle-mounted equipment cannot be started successfully in the normal mode, and controlling the vehicle-mounted equipment to enter a safe mode, and starting the vehicle-mounted equipment in the safe mode. In the safety mode, the number of programs running in the vehicle device is obviously smaller than that of programs running in the normal mode. Therefore, in the embodiment of the application, when the vehicle equipment is in a normal mode due to longer service life and the like, the phenomenon of blocking, dead halt, screen blacking and the like occurs, and the vehicle equipment cannot be started, the starting can be completed in a relatively simple safety mode when the vehicle equipment is restarted, so that the vehicle equipment can be started and operated, and the use experience of a user is improved.
Drawings
FIG. 1 is one of flowcharts of a control method of a vehicle-mounted device according to an embodiment of the present application;
FIG. 2 is a second flowchart of a control method of a vehicle device according to an embodiment of the present application;
FIG. 3 is a block diagram of a control apparatus of a vehicle-mounted device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 5 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the accompanying drawings of the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The execution main body of the control method of the vehicle equipment provided by the embodiment of the application can be the control device of the vehicle equipment provided by the embodiment of the application or the electronic equipment integrated with the control device of the vehicle equipment, wherein the control device of the vehicle equipment can be realized in a hardware or software mode.
The control method of the vehicle-mounted device provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a control method of a vehicle device according to an embodiment of the present application, where the method is applied to the vehicle device for example, and the method includes:
step 110: a first input to activate the vehicle equipment is received.
The first input includes a touch input made by a user on a screen, and is not limited to click, slide, drag, and other inputs. The first input may also be a blank input of the user, such as a gesture action, a facial action, etc., and further includes an input of the user to a physical key on the device, not limited to a press, etc. Moreover, the first input comprises one or more inputs, wherein the plurality of inputs may be continuous or time-spaced.
In this step, the first input is used to activate the vehicle equipment.
Alternatively, the first input may be accomplished by pressing a button disposed in the vehicle, with the in-vehicle device located in the vehicle.
For example, the user presses a start button of the car machine device for a long time.
Wherein the first input is received with the user actively launching the vehicle, ensuring that the vehicle is powered on.
Step 120: in response to the first input, starting the vehicle equipment.
In this step, the respective stages of starting the vehicle-mounted device are started to complete the starting of the vehicle-mounted device.
Step 130: and under the condition that the abnormal mode starting of the vehicle-mounted equipment started last time is detected, controlling the vehicle-mounted equipment to enter a safety mode.
Wherein, in the safe mode, the number of programs running is less than the number of programs running in the normal mode.
Optionally, in the secure mode, only part of the functions, such as the basic functions of the vehicle-mounted device, are loaded, so that only the simplified code logic is operated, and the conventional service process is not loaded, so that the basic functions can be used normally. For example, the basic functions include a "vehicle speed display" function, a "bluetooth" function, and the like.
It should be noted that, because the functions and data loaded by the vehicle-mounted device are less in the safety mode, the vehicle-mounted device cannot be started, and only in the normal mode, the functions and data loaded by the vehicle-mounted device are more in the safety mode, the vehicle-mounted device cannot be started.
Optionally, the abnormal mode starting includes two cases, in one case, the vehicle-mounted equipment is controlled to enter the normal mode, but based on the problems of blocking and the like, the vehicle-mounted equipment does not successfully enter the normal mode, namely the starting fails; in another case, the vehicle equipment is controlled to enter a safe mode, and the starting is successful, but the vehicle equipment is started in an abnormal mode.
If the application scene is that the vehicle equipment is started through the first input by the user, the vehicle equipment cannot be started for a long time, the user restarts the vehicle equipment through the first input, and responds to the first input, when the last starting of the vehicle equipment is detected in the process of starting the vehicle equipment, the vehicle equipment is not successfully started, and then the vehicle equipment is controlled to enter a safe mode when the vehicle equipment is started.
Optionally, in the above application scenario, if there is no restart button in the vehicle and no input mode of restarting, that is, only the first input of the vehicle-mounted device is supported, before restarting the vehicle-mounted device, the vehicle needs to be powered off and then powered on again, so as to receive the first input of the vehicle-mounted device under the condition of ensuring that the vehicle is powered on.
Further, if a restart key or a restart input method is provided in the vehicle, the first input may include an input of the restart key or the restart input method in addition to an input of starting the vehicle-mounted device.
In another example of an application scenario, a user starts the vehicle-mounted device through a first input, the vehicle-mounted device is controlled to enter a safe mode and is started successfully, and further, after the user reaches a designated position, the vehicle-mounted device is closed and then extinguished. When the user starts the vehicle again and starts the vehicle equipment through the first input, responding to the first input, and when the vehicle equipment is detected to be started last time in the process of starting the vehicle equipment, the vehicle equipment is started in a safety mode, and then the vehicle equipment is controlled to continuously enter the safety mode when the vehicle equipment is started this time.
Alternatively, in a one-touch vehicle, the first input is used to launch the vehicle in addition to the vehicle equipment, both of which are synchronously responsive.
Thus, in an embodiment of the present application, a first input to activate the vehicle equipment is received, and in response to the first input, the vehicle equipment is started. In the process of starting the vehicle-mounted equipment, detecting whether the vehicle-mounted equipment is started in an abnormal mode or not when the vehicle-mounted equipment is started last time, if so, indicating that the vehicle-mounted equipment cannot be started successfully in the normal mode, and controlling the vehicle-mounted equipment to enter a safe mode, and starting the vehicle-mounted equipment in the safe mode. In the safety mode, the number of programs running in the vehicle device is obviously smaller than that of programs running in the normal mode. Therefore, in the embodiment of the application, when the vehicle equipment is in a normal mode due to longer service life and the like, the phenomenon of blocking, dead halt, screen blacking and the like occurs, and the vehicle equipment cannot be started, the starting can be completed in a relatively simple safety mode when the vehicle equipment is restarted, so that the vehicle equipment can be started and operated, and the use experience of a user is improved.
In the flow of the control method of the vehicle device according to another embodiment of the present application, step 130 includes:
substep A1: and controlling the vehicle-mounted equipment to enter a safety mode under the condition that the target information written by the vehicle-mounted equipment at the last time is detected to comprise the first numerical value.
Wherein the first value is used to indicate that the device is operating abnormally.
In general, in the process of starting the vehicle-mounted device, two stages, namely a first stage and a second stage, are sequentially included, and the phenomena of blocking, dead halt, screen blacking and the like of the vehicle-mounted device generally occur after the first stage is ended and before the second stage is started, so that the second stage cannot be completed, and the starting is failed finally.
Based on this, in the present embodiment, optionally, target information including the first numerical value is written at the first stage in each process of starting the vehicle-mounted device.
Wherein the first value is a fixed parameter. For example, the first value is "1".
Therefore, if the target information always includes the first numerical value and is not replaced when the vehicle-mounted equipment is started at one time, the default is that the system is abnormal in operation and the abnormal mode is started.
In this embodiment, in the process of starting the vehicle-mounted device, a link of writing target information including the first numerical value is designed, if the first numerical value is always present in the whole starting process, it is determined that the system is always running abnormally in the starting process, and the system is started in an abnormal mode, so that when the vehicle-mounted device is restarted, whether the starting process needs to enter a safe mode or not can be judged according to whether the target information written in the previous starting process includes the first numerical value, and further, the control method of the vehicle-mounted device can be realized through simple logic judgment.
In the flow of the control method of the vehicle-mounted device according to another embodiment of the present application, the method further includes:
step B1: and under the condition that the vehicle-mounted equipment is successfully started in the normal mode, replacing the first value written in the target information by the starting vehicle-mounted equipment.
In this step, if the vehicle-mounted device is controlled to enter the normal mode and is successfully started in the normal mode, the first value in the target information written this time is replaced with the second value.
Wherein the second value is a fixed parameter. For example, the second value is "0".
Further, when the vehicle equipment is started again, the target information written in the previous starting is acquired, if the target information does not comprise the first numerical value but comprises the second numerical value, the vehicle equipment is controlled to enter the normal mode before the vehicle equipment is started successfully in the normal mode, so that the vehicle equipment is caused to enter the normal mode successfully, and the vehicle equipment is started successfully.
In the normal mode, the loaded functions are more, not only basic functions, but also more functions for users, so that the users have more use experience.
Optionally, in the case of completing the second stage, and in the second stage, the vehicle device successfully enters the normal mode, the normal mode is completed to start the vehicle device, so as to generate the indication information.
Optionally, the related interface sends indication information to the control center, so that the control center replaces the first value written into the target information by the starting vehicle machine equipment when starting with the second value according to the indication information.
Optionally, in the case that the vehicle device runs the android system, the indication information is a "boot_complete" broadcast.
In this embodiment, if the vehicle device is controlled to enter the normal mode and is successfully started, the first value in the target information written in the starting process may be replaced by the second value, so that the system is normally operated by default that the vehicle device is started this time, and when the vehicle device is started again, the vehicle device is continuously controlled to enter the normal mode with reference to the condition that the system is normally operated when the vehicle device is started before. Therefore, according to the actual situation of the vehicle-mounted device, the embodiment not only can provide smooth starting experience for the user in the scene with limited conditions, but also can provide more service experience for the user in the scene with allowed conditions.
In the control method of the vehicle-mounted device according to another embodiment of the present application, the target information is node information; alternatively, the target information is non-Volatile memory (NV) information.
Correspondingly, the first value and the second value are node values; alternatively, the first value and the second value are both NV values.
By way of reference, the first value and the second value are used to represent different properties, i.e. to represent abnormal operation of the system and normal operation of the system, respectively, the first value may be the property "1" and the second value may be the property "0".
Correspondingly, the method for writing the target information comprising the first numerical value comprises the following steps: writing "1"; the method for replacing the first value in the target information with the second value comprises the following steps: put back to "0".
In this embodiment, either the node or the nonvolatile memory is used to store the first value or the second value to ensure that the first value is entered during the start of the vehicle equipment and to ensure that the first value is replaced with the second value.
In the control method of the vehicle-mounted device, the vehicle-mounted device runs an android system.
Referring to fig. 2, the first phase is divided into, in sequence: three sub-stages of "Init", "zygate", "SystemServer".
Optionally, the "System Server" sub-phase writes the target information including the first value.
Further, the second stage includes two sub-stages, when entering the "host" sub-stage, the vehicle-mounted device is controlled to enter a normal mode, and after the normal start is COMPLETED, a "boot_complete" broadcast is sent. In another case, when another sub-stage is entered, the vehicle-mounted device is controlled to enter a secure mode, and no "BOOT_complete" broadcast is sent.
The method comprises the steps of judging attributes between a first stage and a second stage, namely judging whether target information at the last starting time comprises 0 or 1, and entering a Launcher sub-stage if the target information is 0; otherwise, if "1" another sub-phase is entered.
In this embodiment, the abnormal value of the system operation or the normal value of the system operation is obtained before the second stage is entered, so that after the second stage is entered, which logic can be quickly selected, and further, the vehicle equipment can be directly controlled to enter a safety mode on the premise of the known abnormal system operation, that is, the function of the normal mode is not loaded, various data stored in the normal mode is not read, only the basic function required by the safety mode is loaded, and further, the starting of the vehicle equipment can be ensured.
In the flow of the control method of the vehicle device according to another embodiment of the present application, step 130 includes:
substep C1: and under the condition that the carrier where the vehicle-mounted equipment is located is in the electrified state, if the vehicle-mounted equipment cannot be started in a normal mode within a preset time period, controlling to restart the vehicle-mounted equipment.
Optionally, the carrier is a vehicle.
After the vehicle equipment is started through the first input, the vehicle equipment cannot enter a normal mode for a long time, so that the vehicle is restarted after a series of operations of stopping, flameout and power off are performed by the user, and under the condition that the power on of the vehicle is ensured, the vehicle equipment is restarted through the first input. In this embodiment, if the vehicle device can not enter the safety mode for a long time under the condition that the vehicle is detected to be in the power-on state, that is, if a long-time blocking phenomenon occurs, the vehicle device automatically controls to end the starting process and enter the restarting process so as to restart the vehicle device.
Optionally, the preset duration is one minute. The preset duration is a duration threshold and can be determined by referring to the duration of the startup waiting time acceptable to most users.
Optionally, judging whether the vehicle equipment is started or not at all, if the vehicle equipment is started, the carrier where the vehicle equipment is located is in an electrified state.
In this embodiment, when the vehicle equipment cannot be started in the normal mode due to the phenomena of jamming, dead halt and the like of the vehicle equipment, a function of automatically restarting the vehicle equipment is provided, and after restarting, the vehicle equipment is automatically controlled to enter a safe mode so as to ensure that the vehicle equipment can be successfully started, so that the user experience can be further improved based on the automatic control method.
In the control method of the vehicle equipment according to the other embodiment of the application, if the vehicle equipment is in the safety mode in the starting-up state of the vehicle equipment, the user can manually exit the safety mode, so that the vehicle equipment can be controlled to enter the normal mode when restarting the vehicle equipment based on the manual operation of the user.
Alternatively, the first value in the target information written by the current boot-strap vehicle-mounted device may be replaced with the second value based on the user's input to manually exit the secure mode.
In the application, the safety mode is set to reduce the system functions, keep the basic functions of the system to run normally, increase the safety, and can be applied to various terminal devices.
In summary, the functions of the vehicle equipment are more and more abundant nowadays, the load of the equipment system can be increased while the functions are increased, the equipment system becomes stuck after long-term use, and even the problems such as black screen, dead halt and the like are very serious. In the starting-up stage of the vehicle-mounted equipment, the application automatically detects whether the equipment is started up for the first time to judge whether the equipment enters a normal mode or a safe mode, so that the problems can be avoided, the non-basic functions of a shielding equipment system are reserved, only the basic functions of the vehicle-mounted equipment are reserved, the basic functions of the vehicle-mounted equipment can be used normally, the running speed of a vehicle is displayed normally, and the running safety of the vehicle and the like can be ensured to a great extent.
According to the control method for the vehicle-mounted equipment, the execution main body can be the control device for the vehicle-mounted equipment. In the embodiment of the application, a control device of a vehicle-mounted device executes a control method of the vehicle-mounted device as an example, and the control device of the vehicle-mounted device provided by the embodiment of the application is described.
Fig. 3 shows a block diagram of a control apparatus of a vehicle-mounted device according to an embodiment of the present application, the apparatus including:
a receiving module 10 for receiving a first input to start the vehicle equipment;
a start module 20 for starting the vehicle equipment in response to the first input;
the control module 30 is configured to control the vehicle-mounted device to enter a safe mode when an abnormal mode start of the vehicle-mounted device is detected last time;
wherein, in the safe mode, the number of programs running is less than the number of programs running in the normal mode.
Thus, in an embodiment of the present application, a first input to activate the vehicle equipment is received, and in response to the first input, the vehicle equipment is started. In the process of starting the vehicle-mounted equipment, detecting whether the vehicle-mounted equipment is started in an abnormal mode or not when the vehicle-mounted equipment is started last time, if so, indicating that the vehicle-mounted equipment cannot be started successfully in the normal mode, and controlling the vehicle-mounted equipment to enter a safe mode, and starting the vehicle-mounted equipment in the safe mode. In the safety mode, the number of programs running in the vehicle device is obviously smaller than that of programs running in the normal mode. Therefore, in the embodiment of the application, when the vehicle equipment is in a normal mode due to longer service life and the like, the phenomenon of blocking, dead halt, screen blacking and the like occurs, and the vehicle equipment cannot be started, the starting can be completed in a relatively simple safety mode when the vehicle equipment is restarted, so that the vehicle equipment can be started and operated, and the use experience of a user is improved.
Optionally, the control module 30 is further configured to:
controlling the vehicle-mounted equipment to enter a safety mode under the condition that the target information written by the vehicle-mounted equipment started last time comprises a first numerical value;
wherein the first value is used to indicate that the device is operating abnormally.
Optionally, the apparatus further comprises:
and the replacing module is used for replacing the first numerical value written into the target information by the vehicle-mounted equipment to be started with the second numerical value under the condition that the vehicle-mounted equipment is successfully started in the normal mode.
Optionally, the control module 30 is further configured to:
and under the condition that the carrier where the vehicle-mounted equipment is located is detected to be in the electrified state, if the vehicle-mounted equipment cannot be started in a normal mode within a preset time period, the vehicle-mounted equipment is controlled to be restarted.
The control device of the vehicle-mounted device in the embodiment of the application can be electronic equipment or a component in the electronic equipment, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The control device of the vehicle-mounted device in the embodiment of the application can be a device with an action system. The action system may be an Android (Android) action system, an ios action system, or other possible action systems, and the embodiment of the application is not limited specifically.
The control device for the vehicle-mounted device provided by the embodiment of the application can realize each process realized by the embodiment of the method, and in order to avoid repetition, the description is omitted.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 100, including a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and capable of running on the processor 101, where the program or the instruction implements each step of the control method embodiment of any one of the vehicle device when executed by the processor 101, and the steps can achieve the same technical effect, so that repetition is avoided and no further description is given here.
The electronic device of the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 5 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, camera 1011, and the like.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 1007 is configured to receive a first input for starting the vehicle-mounted device; a processor 1010 for initiating activation of the in-vehicle device in response to the first input; under the condition that the abnormal mode starting of the vehicle-mounted equipment is detected to be started last time, controlling the vehicle-mounted equipment to enter a safety mode; wherein in the safe mode, the number of programs running is less than the number of programs running in the normal mode.
Thus, in an embodiment of the present application, a first input to activate the vehicle equipment is received, and in response to the first input, the vehicle equipment is started. In the process of starting the vehicle-mounted equipment, detecting whether the vehicle-mounted equipment is started in an abnormal mode or not when the vehicle-mounted equipment is started last time, if so, indicating that the vehicle-mounted equipment cannot be started successfully in the normal mode, and controlling the vehicle-mounted equipment to enter a safe mode, and starting the vehicle-mounted equipment in the safe mode. In the safety mode, the number of programs running in the vehicle device is obviously smaller than that of programs running in the normal mode. Therefore, in the embodiment of the application, when the vehicle equipment is in a normal mode due to longer service life and the like, the phenomenon of blocking, dead halt, screen blacking and the like occurs, and the vehicle equipment cannot be started, the starting can be completed in a relatively simple safety mode when the vehicle equipment is restarted, so that the vehicle equipment can be started and operated, and the use experience of a user is improved.
Optionally, the processor 1010 is further configured to control the vehicle device to enter a security mode if it is detected that the target information written by the vehicle device last time the vehicle device was started includes a first value; wherein the first value is used to represent an equipment operation anomaly.
Optionally, the processor 1010 is further configured to replace the first value for starting the vehicle device to write the target information with the second value if the vehicle device is started successfully in the normal mode.
Optionally, the processor 1010 is further configured to, if it is detected that the carrier on which the vehicle device is located is in an electrified state, control restarting the vehicle device if the vehicle device cannot be started in a normal mode within a preset duration.
In summary, the functions of the vehicle equipment are more and more abundant nowadays, the load of the equipment system can be increased while the functions are increased, the equipment system becomes stuck after long-term use, and even the problems such as black screen, dead halt and the like are very serious. In the starting-up stage of the vehicle-mounted equipment, the application automatically detects whether the equipment is started up for the first time to judge whether the equipment enters a normal mode or a safe mode, so that the problems can be avoided, the non-basic functions of a shielding equipment system are reserved, only the basic functions of the vehicle-mounted equipment are reserved, the basic functions of the vehicle-mounted equipment can be used normally, the running speed of a vehicle is displayed normally, and the running safety of the vehicle and the like can be ensured to a great extent.
It should be appreciated that in an embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or video images obtained by an image capturing device (e.g., a camera) in a video image capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an action system. The processor 1010 may integrate an application processor that primarily processes an action system, user pages, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, wherein the readable storage medium stores a program or an instruction, and the program or the instruction realizes each process of the control method embodiment of the vehicle-mounted device when being executed by a processor, and can achieve the same technical effect, so that repetition is avoided and redundant description is omitted.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the control method embodiment of the vehicle-mounted device can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
An embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement each process of the control method embodiment of the vehicle device, and achieve the same technical effects, so that repetition is avoided, and a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. A control method of a vehicle-mounted device, the method comprising:
receiving a first input to start the vehicle-mounted device;
in response to the first input, initiating a start-up of the vehicle equipment;
under the condition that the abnormal mode starting of the vehicle-mounted equipment is detected to be started last time, controlling the vehicle-mounted equipment to enter a safety mode;
wherein in the safe mode, the number of programs running is less than the number of programs running in the normal mode.
2. The method according to claim 1, wherein controlling the vehicle device to enter a safe mode in the case that the abnormal mode start of the vehicle device last time was detected, comprises:
controlling the vehicle-mounted equipment to enter a safety mode under the condition that the target information written by the vehicle-mounted equipment started last time comprises a first numerical value;
wherein the first value is used to represent an equipment operation anomaly.
3. The method according to claim 1, wherein the method further comprises:
and under the condition that the vehicle-mounted equipment is successfully started in the normal mode, replacing the first numerical value for starting the vehicle-mounted equipment to write the target information with the second numerical value.
4. The method of claim 1, wherein the method further comprises, prior to controlling the vehicle device to enter the safe mode in the event that the last activation of the vehicle device in the abnormal mode is detected:
and under the condition that the carrier where the vehicle-mounted equipment is located is detected to be in the electrified state, if the vehicle-mounted equipment cannot be started in a normal mode within a preset duration, controlling to restart the vehicle-mounted equipment.
5. A control device of a vehicle-mounted device, the device comprising:
the receiving module is used for receiving a first input for starting the vehicle machine equipment;
a starting module for starting to start the vehicle equipment in response to the first input;
the control module is used for controlling the vehicle-mounted equipment to enter a safety mode under the condition that the abnormal mode starting of the vehicle-mounted equipment is detected to be started last time;
wherein in the safe mode, the number of programs running is less than the number of programs running in the normal mode.
6. The apparatus of claim 5, wherein the control module is further configured to:
controlling the vehicle-mounted equipment to enter a safety mode under the condition that the target information written by the vehicle-mounted equipment started last time comprises a first numerical value;
wherein the first value is used to represent an equipment operation anomaly.
7. The apparatus of claim 5, wherein the apparatus further comprises:
and the replacing module is used for replacing the first numerical value written into the target information by the vehicle-mounted equipment when the vehicle-mounted equipment is started successfully in the normal mode.
8. The apparatus of claim 5, wherein the control module is further configured to:
and under the condition that the carrier where the vehicle-mounted equipment is located is detected to be in the electrified state, if the vehicle-mounted equipment cannot be started in a normal mode within a preset duration, controlling to restart the vehicle-mounted equipment.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of controlling an in-vehicle device of any one of claims 1 to 4.
10. A readable storage medium, wherein a program or instructions are stored on the readable storage medium, which when executed by a processor, implement the steps of the control method of a vehicle-mounted device according to any one of claims 1 to 4.
CN202310642160.5A 2023-05-31 2023-05-31 Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium Pending CN116661895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310642160.5A CN116661895A (en) 2023-05-31 2023-05-31 Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310642160.5A CN116661895A (en) 2023-05-31 2023-05-31 Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116661895A true CN116661895A (en) 2023-08-29

Family

ID=87721997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310642160.5A Pending CN116661895A (en) 2023-05-31 2023-05-31 Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116661895A (en)

Similar Documents

Publication Publication Date Title
CN110995929B (en) Terminal control method, device, terminal and storage medium
CN104765623A (en) Data processing method of multiple operating systems and terminal equipment
CN110096329B (en) Display content control method, electronic device and computer readable storage medium
CN112947829B (en) Misoperation processing method and device, electronic equipment and readable storage medium
CN112148163A (en) Screen recording method and device and electronic equipment
CN114116040A (en) Method for accelerating application starting, electronic equipment and computer storage medium
CN112416172A (en) Electronic equipment control method and device and electronic equipment
CN112667067A (en) Payment method and device and electronic equipment
CN116661895A (en) Control method and device of vehicle-mounted equipment, electronic equipment and readable storage medium
CN111913773A (en) NFC card control method, NFC card control device and electronic equipment
CN111880701A (en) Page switching method and device and electronic equipment
WO2023130866A1 (en) Method and apparatus for switching operating system, and electronic device and storage medium
CN113312662B (en) Message processing method and device and electronic equipment
CN111880691B (en) Screen display method and device and electronic equipment
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN115344357A (en) Application program processing method and device and storage medium
CN113806000A (en) Display method and device and electronic equipment
CN111782494A (en) Application software control method and device, computer equipment and storage medium
CN113296849B (en) Application loading optimization method and device and electronic equipment
CN112416202B (en) Message notification method and device and electronic equipment
CN113347076B (en) Session information deleting method and device
CN115033307A (en) Application starting method and device, storage medium and electronic equipment
CN115242991A (en) Standby method and device of smart television, smart television and computer medium
CN116088989A (en) Application display method and application display device
CN117009044A (en) Task processing method, device, electronic equipment, storage medium and product

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