CN114579222A - Screen control method, automobile data recorder and storage medium - Google Patents

Screen control method, automobile data recorder and storage medium Download PDF

Info

Publication number
CN114579222A
CN114579222A CN202011390142.5A CN202011390142A CN114579222A CN 114579222 A CN114579222 A CN 114579222A CN 202011390142 A CN202011390142 A CN 202011390142A CN 114579222 A CN114579222 A CN 114579222A
Authority
CN
China
Prior art keywords
screen
data recorder
automobile data
interface
data corresponding
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
CN202011390142.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.)
Shenzhen Qihu Intelligent Technology Co ltd
Original Assignee
Shenzhen Qihu Intelligent Technology 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 Shenzhen Qihu Intelligent Technology Co ltd filed Critical Shenzhen Qihu Intelligent Technology Co ltd
Priority to CN202011390142.5A priority Critical patent/CN114579222A/en
Publication of CN114579222A publication Critical patent/CN114579222A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/451Execution arrangements for user interfaces
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a screen control method, a vehicle event data recorder and a storage medium, wherein the method comprises the following steps: receiving a screen control instruction; switching a system for controlling the screen from the first system to the second system in response to the screen control instruction; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder. The screen control method solves the problem that information cannot be dynamically loaded and displayed in real time when the dual-system control automobile data recorder screen is used, and improves user experience.

Description

Screen control method, automobile data recorder and storage medium
Technical Field
The application relates to the technical field of embedded system development, in particular to a screen control method, a vehicle event data recorder and a storage medium.
Background
The automobile data recorder is an instrument for recording relevant information such as influence and sound during the running of a vehicle, and the automobile data recorder is installed in the vehicle more and more owners. Therefore, it is very necessary to develop more functions of the automobile data recorder and optimize the existing functions. The existing automobile data recorder is developed based on a real-time system, and the main functions of the existing automobile data recorder comprise basic functions of parking monitoring, time-shrinking video recording, setting, upgrading and the like. For the existing automobile data recorder with the intelligent multimedia function, when the functions are used, the screen interface of the automobile data recorder cannot dynamically load and display information in real time, and the user experience is reduced.
Disclosure of Invention
The embodiment of the application provides a screen control method, an automobile data recorder and a storage medium, solves the problem that a screen of the automobile data recorder cannot dynamically load information and display the information in real time, and improves user experience.
In order to solve the technical problems, the application comprises the following technical scheme:
in a first aspect, an embodiment of the present application provides a screen control method, where the method includes:
receiving a screen control instruction;
switching a system for controlling the screen from the first system to the second system in response to the screen control instruction; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
According to the screen control method, the screen is controlled by the double systems, one system can be used for actively acquiring data, and the two systems can be switched with each other, so that the problem that information cannot be dynamically loaded and displayed in real time when a system for passively acquiring information is used is solved.
In a possible implementation manner, the first system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the second system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In the embodiment of the application, if the first system is used for actively acquiring the data corresponding to the interface currently displayed by the automobile data recorder, the second system is used for passively acquiring the data corresponding to the interface currently displayed by the automobile data recorder. Switching from a system for actively acquiring information to a system for passively acquiring information is achieved.
In a possible implementation manner, the second system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the first system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In the embodiment of the application, if the first system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder, the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder. Switching from a system for passively acquiring information to a system for actively acquiring information is achieved.
In a possible implementation manner, after the system for controlling the screen is switched from the first system to the second system, the method further includes:
acquiring data corresponding to a currently displayed interface of the automobile data recorder;
and displaying the data.
In the embodiment of the application, after the system for controlling the screen is switched from the first system to the second system, the data corresponding to the interface currently displayed by the automobile data recorder are obtained, the data are displayed on the screen of the automobile data recorder, the effect of system switching is embodied, and the data corresponding to the interface of the automobile data recorder during the control of the second system can be displayed after the system is switched.
In a possible implementation manner, before the receiving the screen control instruction, the method further includes:
receiving a screen starting instruction;
and responding to the screen starting instruction, and starting the screen of the automobile data recorder.
In the embodiment of the application, before the automobile data recorder receives the screen control instruction, the screen of the automobile data recorder needs to be started, so that the normal and orderly operation of subsequent control screens, system switching and the like is ensured.
In a possible implementation manner, before switching the system for controlling the screen from the first system to the second system, the method further includes:
and storing data corresponding to the interface currently displayed by the automobile data recorder under the control of the first system.
In the embodiment of the application, if the system for controlling the screen is switched from the first system to the second system, the data corresponding to the interface currently displayed by the automobile data recorder when the system is controlled by the first system is stored before the system is switched, so that the interface displayed by the first system before switching can be returned and the data corresponding to the interface can be displayed when the second system is switched back to the first system subsequently, and the problem of data loss in the switching process is solved.
In a possible implementation manner, after responding to the screen control instruction, the method further includes:
determining data corresponding to an interface to be displayed;
and displaying data corresponding to the interface to be displayed when the second system controls the screen of the automobile data recorder.
In the embodiment of the application, after the automobile data recorder responds to the screen switching instruction, data corresponding to the interface to be displayed is determined firstly, and then data corresponding to the interface of the automobile data recorder when the switched system is used for controlling is displayed. Based on the processing mode, the system switching can be successfully realized, and meanwhile, the smooth system switching is effectively ensured through the clear data information after the switching.
In one possible implementation, the switching the system controlling the screen from the first system to the second system in response to the screen control instruction includes:
acquiring a device file, wherein the device file is associated with the second system;
the device file is run to switch the system controlling the screen from the first system to the second system.
In the process of switching the system for controlling the screen from the first system to the second system, the second system acquires and runs the equipment file, and the control of the second system on the screen is ensured to be smoothly realized.
In a second aspect, an embodiment of the present application provides an automobile data recorder, where the automobile data recorder includes:
the first receiving module is used for receiving a screen control instruction;
the switching module is used for responding to the screen control instruction and switching the system for controlling the screen from a first system to a second system; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
In a possible implementation manner, the first system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the second system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In a possible implementation manner, the second system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the first system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In one possible implementation, the vehicle event data recorder further includes:
the acquisition module is used for acquiring data corresponding to the currently displayed interface of the automobile data recorder after the switching module switches the system of the control screen from the first system to the second system;
and the first display module is used for displaying the data.
In one possible implementation, the vehicle event data recorder further includes:
the second receiving module is used for receiving a screen starting instruction before the receiving module receives the screen control instruction;
and the starting module is used for responding to the screen starting instruction and starting the screen of the automobile data recorder.
In one possible implementation, the vehicle event data recorder further includes:
and the storage module is used for storing data corresponding to the interface currently displayed by the automobile data recorder when the system of the control screen is controlled by the first system before the switching module switches the system from the first system to the second system.
In one possible implementation, the vehicle event data recorder further includes:
the determining module is used for determining data corresponding to the interface to be displayed after the switching module responds to the screen control instruction;
and the second display module is used for displaying data corresponding to the interface to be displayed when the second system controls the screen of the automobile data recorder.
In one possible implementation, the switching module includes:
an obtaining unit, configured to obtain a device file, where the device file is associated with the second system;
and the operation unit is used for operating the equipment file so as to switch the system of the control screen from the first system to the second system.
In a third aspect, an embodiment of the present application provides a vehicle event data recorder, where the vehicle event data recorder includes a processor, a memory, and a communication interface:
the processor is connected with the memory and the communication interface;
the memory for storing executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing:
receiving a screen control instruction;
switching a system for controlling the screen from the first system to the second system in response to the screen control instruction; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
In a possible implementation manner, the first system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the second system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In a possible implementation manner, the second system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the first system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In a possible implementation manner, after the processor switches the system of the control screen from the first system to the second system, the processor is further configured to perform:
acquiring data corresponding to a currently displayed interface of the automobile data recorder;
and displaying the data.
In a possible implementation manner, before receiving the screen control instruction, the processor is further configured to perform:
receiving a screen starting instruction;
and responding to the screen starting instruction, and starting the screen of the automobile data recorder.
In a possible implementation manner, before the processor switches the system of the control screen from the first system to the second system, the processor is further configured to perform:
and storing data corresponding to the interface currently displayed by the automobile data recorder under the control of the first system.
In one possible implementation manner, after responding to the screen control instruction, the processor is further configured to perform:
determining data corresponding to an interface to be displayed;
and displaying data corresponding to the interface to be displayed when the second system controls the screen of the automobile data recorder.
In a possible implementation manner, when the processor switches the system for controlling the screen from the first system to the second system in response to the screen control instruction, the following specific steps are performed:
acquiring a device file, wherein the device file is associated with the second system;
and operating the equipment file to switch the system for controlling the screen from the first system to the second system.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is configured to implement the screen control method according to the first aspect when executed by a processor.
It is to be understood that the tachograph provided by the second aspect, the tachograph provided by the third aspect, and the computer-readable storage medium provided by the fourth aspect are all used for executing the screen control method provided by the first aspect. Therefore, the beneficial effects achieved by the method can refer to the beneficial effects in the screen control method provided by the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative work.
Fig. 1 is a schematic position and structure diagram of a vehicle event data recorder provided in an embodiment of the present application;
FIG. 2 is a flowchart illustrating a screen control method according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a screen control process provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of another screen control process provided by an embodiment of the present application;
FIG. 5 is a flow chart illustrating another screen control method provided in an embodiment of the present application;
FIG. 6 is a diagram of another screen control process provided by an embodiment of the present application;
fig. 7 is a schematic structural diagram of a vehicle event data recorder provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of another automobile data recorder provided in the embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of a position and a structure of a car event data recorder according to an embodiment of the present disclosure. As shown at 100, the tachograph 10 may be mounted centrally on the front windshield of the vehicle as shown. The tachograph 10 may include a screen 101, shown as 110. The screen 101 may be controlled by any one of the first system 102 and the second system 103.
The drive recorder 10 is an apparatus for recording information related to images and sounds during the running of a vehicle. The tachograph 10 comprises a screen 101, a first system 102 and a second system 103. The automobile data recorder 10 can be divided into a portable automobile data recorder and a rear loader integrated DVD automobile data recorder. The portable automobile data recorder is divided into a rearview mirror automobile data recorder and a data automobile data recorder, and the rear car loader integrated DVD automobile data recorder is generally special for a special car. The functions of the car recorder 10 provided in the embodiment of the present application may include, but are not limited to, intelligent multimedia functions such as listening to music, listening to radio, connecting to bluetooth, chatting, and watching live broadcast, in addition to the functions that the car recorder itself should have, such as parking monitoring, time-lapse video recording, setting, and upgrading. In addition, the automobile data recorder 10 provided by the embodiment of the application comprises two systems, namely a first system 102 and a second system 103, wherein the two systems can control the screen 101 of the automobile data recorder from different layers. The embodiment of the present application does not limit the function of the automobile data recorder 10.
The screen 101 is an electronic device for displaying images and colors, and may include: a CRT Display screen (CRT Display), an LCD Liquid Crystal Display (LCD Display), an LED screen (Light Emitting Diode Display), a projection screen, and a 3D Display screen. In the embodiment of the present application, the screen 101 may be controlled by the first system 102 and also by the second system 103. The screen 101 may display screen interfaces corresponding to different functions according to the functions of the automobile data recorder used by the user. For example, the screen 101 may display interfaces such as monitoring video of a vehicle, parking or backing, setting or upgrading, and a multimedia function page, such as a music interface, a chat interface, an intelligent voice interface, and a live broadcast interface. The interface displayed on the screen 101 is not limited to the above.
The first system 102 may be a uotron system, i.e., a real-time operating system. The initial is a reduced-scale Industrial Real-Time operating System center (initial-Time Operation System kernel) designed for a small-scale embedded System with limited hardware resources, and has a standard Real-Time kernel. The utiron defines a highly flexible, open computer architecture specifically designed for embedded system applications, giving consideration to both upward and downward compatibility, and there is some flexibility in implementing functions based on the system. In the embodiment of the present application, the real-time operating system is used for passively acquiring information, and the real-time operating system may be used for controlling basic functions of the camera and the automobile data recorder 10, which may include but are not limited to parking monitoring, time-shrinking video recording, setting, upgrading, and the like. The first system 102 and the second system 103 may communicate with each other in a shared memory manner, and the communication content may include, but is not limited to, data transmission, sending or receiving instructions to each other, the control screen 101, and the like. Here, the functions controlled by the first system 102 are not limited to the above-mentioned functions.
The second system 103 may be a Linux operating system, which is a UNIX-like operating system that is free to use and self-propagating. The Linux Operating System is a multi-user, multi-task, multi-thread and multi-CPU supporting Operating System based on a Portable Operating System Interface (POSIX) and Unix. It can run major Unix tool software, applications, and network protocols. It supports 32-bit and 64-bit hardware. In the embodiment of the present application, the Linux operating system is used to actively acquire information, and the Linux operating system may be used to run a music player, chat software, intelligent voice, live broadcast, voice driver, communication network driver, communication module with a background, and a Linux graphical User Interface (MiniGUI) support system. The second system 103 and the first system 102 may communicate with each other in a shared memory manner, and the communication content may include, but is not limited to, data transmission, mutual sending or receiving of instructions, control screen 101, and the like. Among them, the functions controlled by the second system 103 are not limited to the above-mentioned functions.
In this embodiment, if the first system 102 is a uotron system, the second system 103 is a Linux operating system, and if the first system 102 is a Linux operating system, the second system 103 is a uotron system.
Next, a screen control method provided in an embodiment of the present application will be described in conjunction with the screen control system shown in fig. 1.
Referring to fig. 2, fig. 2 is a schematic flowchart of a screen control method in an embodiment of the present application, where the method includes:
s201, receiving a screen control instruction.
Specifically, a user clicks any one of function options on a screen of the automobile data recorder, and the screen control instruction can be sent to the automobile data recorder, and the automobile data recorder receives the screen control instruction from the user. Before that, if a user wants to use the automobile data recorder, the automobile data recorder is started firstly, the user can press the start button, the screen of the automobile data recorder receives a screen starting instruction when the automobile data recorder is started, and then the screen of the automobile data recorder is started in response to the screen starting instruction.
Further, the system for controlling the screen after the automobile data recorder is started each time is controlled by a preset system, and can also be controlled by the system for controlling the screen at the last time when the automobile data recorder is shut down. If the vehicle event data is controlled by a preset system, for example, the default of the screen after startup is controlled by a system for passively acquiring data corresponding to the interface currently displayed by the vehicle event data recorder, such as the uotron system mentioned above, at this time, after the vehicle event data recorder is started up again, the screen of the vehicle event data recorder is controlled by the uotron system which is preset. If the system for controlling the screen at the last shutdown time is used for controlling, for example, the system for actively acquiring the data corresponding to the currently displayed interface of the automobile data recorder at the last shutdown time is used for controlling, such as the Linux operating system mentioned above, at this time, after the automobile data recorder is restarted, the screen of the automobile data recorder is controlled by the Linux operating system. It should be noted that the system for controlling the screen after the automobile data recorder is started up each time can be set by a developer, and the application does not limit the system.
S202, responding to the screen control instruction, and switching a system for controlling the screen from a first system to a second system; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
Specifically, after the automobile data recorder receives a screen control instruction from a user, the system of the control screen of the automobile data recorder is switched from the first system to the second system in response to the screen control instruction. In the embodiment of the application, one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
Further, in a certain screen control process, if the first system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, the second system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder. And if the first system is used for passively acquiring the data corresponding to the interface currently displayed by the automobile data recorder, the second system is used for actively acquiring the data corresponding to the interface currently displayed by the automobile data recorder.
As shown in fig. 3, there is a conventional automobile data recorder, and the system of the automobile data recorder preset on-off control screen is the utiron system. After the user starts the automobile data recorder, the driving monitoring video of the current vehicle is displayed on the left side of the screen of the automobile data recorder, the function homepage of the automobile data recorder is displayed on the right side of the screen of the automobile data recorder, as shown in 301, and the screen at the moment is controlled by the uITRON system. If the user wants to listen to the song, the user can click the music icon, at the moment, the screen of the automobile data recorder can close the currently displayed automobile monitoring video picture, and the automobile monitoring video picture runs in the background, namely, the pictures such as the automobile monitoring video picture and the like are captured in real time and displayed in the background. The current automobile data recorder's screen is switched into the homepage of music by the function homepage, and the user can click the song that wants to listen, opens the music broadcast. The system of the control screen at this time is switched from the uotron system to the Linux operating system, that is, the current music function page is controlled by the Linux operating system. The above is a process of completely switching the system of the control screen from the uotron system to the Linux operating system.
Alternatively, as shown in fig. 4, fig. 4 is a schematic diagram illustrating a change of a screen when the system for controlling the screen is switched from the Linux operating system to the utiron system. As shown in 401, when the user is listening to music using the music function, the screen of the drive recorder is controlled by the Linux operating system. If the user wants to open the monitoring video to watch the current driving monitoring video, the user can click a return key at the upper left corner of the screen, as shown in 401a in the figure, the screen picture is switched to a function homepage, and the user can watch the current driving monitoring picture of the vehicle on the function homepage. After the automobile data recorder receives a click instruction of a user, the system for controlling the screen is switched from the Linux operating system to the utiron system, and the screen at the moment is also switched to the picture of the automobile monitoring video as shown in 402 in the figure. The above is a process of completely switching the system of the control screen from the Linux operating system to the utiron system.
Further, before the automobile data recorder switches the system of the control screen from the first system to the second system, the data corresponding to the interface currently displayed by the automobile data recorder under the control of the first system can be stored. After the automobile data recorder responds to the screen control instruction, data corresponding to the interface to be displayed is determined, when the system for controlling the screen is switched from the first system to the second system, the interface to be displayed is the interface controlled by the second system, and then the automobile data recorder obtains the data corresponding to the current interface when the interface is controlled by the second system and displays the data on the screen of the automobile data recorder.
Illustratively, as shown in FIG. 4 above, the tachograph first stays at the music interface, while the screen is controlled by the Linux operating system. When a user clicks a monitoring video icon 401a shown in the drawing 401, the driving recorder firstly stores data corresponding to a screen interface currently controlled by the Linux operating system. And after the automobile data recorder receives the screen control instruction and responds to the instruction, determining the interface information of the automobile monitoring video to be displayed and acquiring the interface information, and when the system for controlling the screen is switched from a Linux operating system to a uITRON system, displaying the acquired interface information of the automobile monitoring on the screen by the automobile data recorder.
Further, the automobile data recorder responds to the screen control instruction, after the system for controlling the screen is switched from the first system to the second system, the device file is obtained, and the device file is operated by the second system, so that the system for controlling the screen is switched from the first system to the second system. The device file can be a file carrying frame buffer, each pixel point on the screen can be mapped into a section of linear memory space by running the device file, and the color of a certain point on the screen can be changed by changing the value of each section of memory space by the related program.
According to the screen control method, the screen is controlled by the double systems, one system can be used for actively acquiring data, and the two systems can be switched with each other, so that the problem that information cannot be dynamically loaded and displayed in real time when a system for passively acquiring information is used is solved.
Referring to fig. 5, fig. 5 is a flow chart illustrating another screen control method in an embodiment of the present application, where the method includes:
s501, the automobile data recorder receives a starting instruction of a user, and responds to the starting instruction, and the automobile data recorder is started.
Specifically, the user clicks a start button on the automobile data recorder. The automobile data recorder receives a starting instruction of a user and responds to the starting instruction, the automobile data recorder is started, at the moment, the left side of the screen displays a current driving monitoring interface, and the right side of the screen displays a function homepage of the automobile data recorder. As shown in 601 in fig. 6, after the automobile data recorder is started, the system of the control screen may be set as a default uotron system, and after the automobile data recorder is started this time, the interface displayed on the screen is controlled by the uotron system.
S502, the automobile data recorder receives touch operation input by a user aiming at the music icon, and the automobile data recorder screen displays a music playing interface in response to the touch operation.
Specifically, if the user wants to listen to music, the user can click a music icon on the screen of the automobile data recorder to enter a music playing interface. The interface corresponding to the music function is controlled by a Linux operating system, and at the moment, the system for controlling the screen is switched from the uITRON system during starting to the Linux operating system.
As shown in 601 and 602 in the schematic diagram shown in fig. 6, the utiron system shares a memory with the Linux operating system and maps a related driver to the Linux operating system, and the screen control right is handed over to the Linux operating system, so that the driving monitoring and function homepage of the data of the screen interface of the automobile data recorder controlled by the utiron system is switched to the music playing interface controlled by the Linux operating system.
S503, the automobile data recorder receives touch operation input by a user aiming at the monitoring video icon, responds to the touch operation, and stores data corresponding to a music playing interface currently displayed by the automobile data recorder under the control of the Linux operating system.
Specifically, if the user wants to watch the current driving monitoring while listening to music, the user may click a return key at the top left corner of the music interface, as shown in 401a in fig. 4. The automobile data recorder receives touch control operation from a user, stores data corresponding to a music playing interface displayed on a current screen, and the current screen of the music playing interface is controlled by a Linux operating system.
And S504, the automobile data recorder determines and acquires data corresponding to the monitoring video interface to be displayed when the monitoring video interface is controlled by the uITRON system.
Specifically, the automobile data recorder determines data corresponding to a monitoring video interface clicked by a user and controlled by the uotron system, and acquires the data.
And S505, the automobile data recorder acquires and runs the equipment file associated with the uITRON system.
Specifically, the automobile data recorder acquires a device file, and the device file is operated by the uotron system after being acquired. For detailed description of the device file, reference may be made to the above embodiments, which are not repeated in this embodiment.
S506, the automobile data recorder switches the system of the control screen from a Linux operating system to a uITRON system and displays data corresponding to an automobile monitoring picture interface when the uITRON system controls the screen.
Specifically, the automobile data recorder runs the equipment file, and the system of the current control screen is switched from a Linux operating system to an utiron system. At the moment, the screen interface of the automobile data recorder is also switched into the driving monitoring interface from the music interface. As shown in fig. 6, in contrast to the above-mentioned switching of the system of the control screen from the uotron system to the Linux operating system, the system of the current control screen is switched from the Linux operating system to the uotron system at this time. Similarly, the Linux operating system and the uostron system share a memory, the device file and the related driver are mapped to the uostron system, and the uostron system runs the related device file to switch the system of the control screen from the Linux operating system to the uostron system.
According to the screen control method, the automobile data recorder determines and obtains the data corresponding to the interface to be displayed by receiving the screen control instruction of the user, and the equipment file is operated, so that the system for controlling the screen is switched from the first system to the second system, the problem of the control right of the double systems to the screen of the automobile data recorder is solved, and meanwhile, the mutual switching between the data corresponding to different interfaces under the control of the double systems can be realized.
Referring to fig. 7, based on the screen control method, fig. 7 is a schematic structural diagram of a car event data recorder provided in an embodiment of the present application, including:
a first receiving module 701, configured to receive a screen control instruction.
A switching module 702, configured to switch, in response to the screen control instruction, a system controlling a screen from a first system to a second system; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
In some embodiments, the first system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the second system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In some embodiments, the second system is configured to actively acquire data corresponding to an interface currently displayed by the automobile data recorder, and the first system is configured to passively acquire data corresponding to the interface currently displayed by the automobile data recorder.
In some embodiments, the vehicle event recorder further comprises:
the acquiring module is used for acquiring data corresponding to the currently displayed interface of the automobile data recorder after the switching module 702 switches the system of the control screen from the first system to the second system;
and the first display module is used for displaying the data.
In some embodiments, the vehicle event recorder further comprises:
a second receiving module, configured to receive a screen starting instruction before the receiving module 701 receives the screen control instruction;
and the starting module is used for responding to the screen starting instruction and starting the screen of the automobile data recorder.
In some embodiments, the vehicle event recorder further comprises:
a saving module, configured to save data corresponding to an interface currently displayed by the automobile data recorder when the system of the control screen is controlled by the first system before the switching module 702 switches the first system to the second system.
In some embodiments, the vehicle event recorder further comprises:
a determining module, configured to determine, after the switching module 702 responds to the screen control instruction, data corresponding to an interface to be displayed;
and the second display module is used for displaying data corresponding to the interface to be displayed when the second system controls the screen of the automobile data recorder.
In some embodiments, the switching module 702 comprises:
an obtaining unit, configured to obtain a device file, where the device file is associated with the second system;
and the operation unit is used for operating the equipment file so as to switch the system of the control screen from the first system to the second system.
Please refer to fig. 8, which illustrates a structure of another vehicle event data recorder 800 provided in the embodiment of the present application. The event data recorder 800 may include at least: at least one processor 801, e.g., a CPU, at least one network interface 804, a user interface 803, a memory 805, at least one communication bus 802. Wherein a communication bus 802 is used to enable connective communication between these components. The user interface 803 may include, but is not limited to, a camera, a display, a touch screen, a keyboard, a mouse, a joystick, and the like. The network interface 804 may optionally include a standard wired interface, a wireless interface (e.g., a WIFI interface), and a communication connection may be established with the server through the network interface 804. The memory 802 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). As shown in fig. 8, memory 805, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
It should be noted that the network interface 804 may be connected to an acquirer, a transmitter or other communication module, and the other communication module may include, but is not limited to, a WiFi module, an operator network communication module, and the like.
The processor 801 may be configured to call program instructions stored in the memory 805, and may perform the following steps:
receiving a screen control instruction;
switching a system for controlling a screen from a first system to a second system in response to the screen control instruction; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
Possibly, the first system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the second system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
Possibly, the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the first system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
Possibly, after the processor 801 switches the system for controlling the screen from the first system to the second system, the processor is further configured to:
acquiring data corresponding to an interface currently displayed by the automobile data recorder;
and displaying the data.
Possibly, before the processor 801 receives the screen control instruction, the processor 801 is further configured to:
receiving a screen starting instruction;
and responding to the screen starting instruction, and starting the screen of the automobile data recorder.
Possibly, before the processor 801 switches the system for controlling the screen from the first system to the second system, the processor is further configured to:
and storing data corresponding to the interface currently displayed by the automobile data recorder under the control of the first system.
Possibly, the processor 801 is further configured to, after responding to the screen control instruction:
determining data corresponding to an interface to be displayed;
and displaying data corresponding to the interface to be displayed when the second system controls the screen of the automobile data recorder.
Possibly, the processor 801, in response to the screen control instruction, switches the system controlling the screen from the first system to the second system, and specifically performs:
acquiring a device file, wherein the device file is associated with the second system;
the device file is run to switch the system controlling the screen from the first system to the second system.
Embodiments of the present application also provide a computer-readable storage medium having stored therein instructions, which when executed on a computer or processor, cause the computer or processor to perform one or more steps of any one of the methods described above. The above-mentioned components of the automobile data recorder may be stored in the computer-readable storage medium if they are implemented in the form of software functional units and sold or used as independent products.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), etc.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. And the aforementioned storage medium includes: Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program codes. The technical features in the present examples and embodiments may be arbitrarily combined without conflict.
The above-described embodiments are merely preferred embodiments of the present application, and are not intended to limit the scope of the present application, and various modifications and improvements made to the technical solutions of the present application by those skilled in the art without departing from the design spirit of the present application should fall within the protection scope defined by the claims of the present application.

Claims (10)

1. A screen control method is applied to a vehicle event data recorder, the vehicle event data recorder comprises a screen, and the method is characterized by comprising the following steps:
receiving a screen control instruction;
switching a system for controlling the screen from the first system to the second system in response to the screen control instruction; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
2. The method of claim 1, wherein the first system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the second system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
3. The method of claim 1, wherein the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the first system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
4. The method according to any one of claims 1 to 3,
after the system for controlling the screen is switched from the first system to the second system, the method further comprises:
acquiring data corresponding to a currently displayed interface of the automobile data recorder;
and displaying the data.
5. The method of any of claims 1-3, wherein prior to switching the system of control screens from the first system to the second system, further comprising:
and storing data corresponding to the interface currently displayed by the automobile data recorder under the control of the first system.
6. The method of claim 1, wherein after responding to the screen control instruction, further comprising:
determining data corresponding to an interface to be displayed;
and displaying data corresponding to the interface to be displayed when the second system controls the screen of the automobile data recorder.
7. The method of any of claims 1-3, wherein switching the system controlling the screen from a first system to a second system in response to the screen control instruction comprises:
acquiring a device file, wherein the device file is associated with the second system;
the device file is run to switch the system controlling the screen from the first system to the second system.
8. The utility model provides a vehicle event data recorder, vehicle event data recorder includes the screen, its characterized in that, vehicle event data recorder includes:
the first receiving module is used for receiving a screen control instruction;
the switching module is used for responding to the screen control instruction and switching the system for controlling the screen from a first system to a second system; any one of the first system and the second system is used for actively acquiring data corresponding to the interface currently displayed by the automobile data recorder, and the other system is used for passively acquiring data corresponding to the interface currently displayed by the automobile data recorder.
9. A tachograph, comprising a processor, a memory, and a communication interface:
the processor is connected with the memory and the communication interface;
the memory for storing executable program code;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for executing the screen control method of any one of claims 1 to 7.
10. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the screen control method according to any one of claims 1 to 7.
CN202011390142.5A 2020-12-01 2020-12-01 Screen control method, automobile data recorder and storage medium Pending CN114579222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011390142.5A CN114579222A (en) 2020-12-01 2020-12-01 Screen control method, automobile data recorder and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011390142.5A CN114579222A (en) 2020-12-01 2020-12-01 Screen control method, automobile data recorder and storage medium

Publications (1)

Publication Number Publication Date
CN114579222A true CN114579222A (en) 2022-06-03

Family

ID=81766878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011390142.5A Pending CN114579222A (en) 2020-12-01 2020-12-01 Screen control method, automobile data recorder and storage medium

Country Status (1)

Country Link
CN (1) CN114579222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115841711A (en) * 2022-11-22 2023-03-24 深圳市京华信息技术有限公司 Control method and device of automobile data recorder, automobile data recorder and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115841711A (en) * 2022-11-22 2023-03-24 深圳市京华信息技术有限公司 Control method and device of automobile data recorder, automobile data recorder and medium
CN115841711B (en) * 2022-11-22 2024-06-04 深圳市京华信息技术有限公司 Control method and device of automobile data recorder, automobile data recorder and medium

Similar Documents

Publication Publication Date Title
CN111913628B (en) Sharing method and device and electronic equipment
US9696888B2 (en) Application-launching interface for multiple modes
US10956008B2 (en) Automatic home screen determination based on display device
EP2447834B1 (en) Mobile terminal and controlling method thereof
US20090198809A1 (en) Communication device, method, and computer program product
CN109508128B (en) Search control display method, device and equipment and computer readable storage medium
CN103038743A (en) Method and apparatus for dynamically switching between scalable graphical user interfaces for mobile devices
CN109753332B (en) Method and device for displaying information
EP3680765A1 (en) Navigation bar control method and device
KR20160035396A (en) Computer system
CN113301157A (en) Cloud mobile phone group control method, equipment and storage medium based on android system
CN115185408A (en) Vehicle-mounted entertainment information display method, device, equipment and medium
CN114579222A (en) Screen control method, automobile data recorder and storage medium
KR20080009978A (en) Mobile terminal and Method for making of Menu Screen in thereof
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
CN114084162B (en) Display method, device, equipment and storage medium
CN112653788B (en) User interface display method, mobile terminal and storage medium
CN114217754A (en) Screen projection control method and device, electronic equipment and storage medium
CN114475469B (en) Reversing video quick display method, reversing video quick display system and central control vehicle machine
JP2013211736A (en) On-vehicle device
CN113453079B (en) Control method for returning double-system-size double-screen application and display equipment
CN112492381B (en) Information display method and device and electronic equipment
CN117032538A (en) Display method of vehicle-mounted system media playing interface and storage medium
CN116954738A (en) Display system configuration method and device, electronic equipment and storage medium
CN117369930A (en) Interface control method and device, electronic equipment and readable 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