CN114064089A - HMI software system, updating method, electronic device and medium - Google Patents

HMI software system, updating method, electronic device and medium Download PDF

Info

Publication number
CN114064089A
CN114064089A CN202111462416.1A CN202111462416A CN114064089A CN 114064089 A CN114064089 A CN 114064089A CN 202111462416 A CN202111462416 A CN 202111462416A CN 114064089 A CN114064089 A CN 114064089A
Authority
CN
China
Prior art keywords
map
layer
data
software system
hmi software
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
CN202111462416.1A
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.)
CRRC Industry Institute Co Ltd
Original Assignee
CRRC Industry Institute 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 CRRC Industry Institute Co Ltd filed Critical CRRC Industry Institute Co Ltd
Priority to CN202111462416.1A priority Critical patent/CN114064089A/en
Publication of CN114064089A publication Critical patent/CN114064089A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an HMI software system and an updating method, an electronic device and a medium, which relate to the field of program development and comprise the following components: compared with the current HMI software system, the application layer, the mapping MAP layer, the driving layer, the function module layer and the service logic layer are added to the application layer and other bottom layers, the corresponding data needing to be updated in each layer can be directly called through the mapping MAP layer, all the data are stored in the mapping MAP layer after being initially compiled, reprogramming is not needed during updating, independence and program multiplexing of application layer programming and bottom layer programming are realized, programs and corresponding data of the corresponding layer can be directly inquired through the address of the mapping MAP layer, the searching mode is simplified, and the use by a user is more convenient.

Description

HMI software system, updating method, electronic device and medium
Technical Field
The present application relates to the field of program development, and in particular, to an HMI software system, an update method, an electronic device, and a medium.
Background
In recent years, with the rise of software technology and the popularization of rail vehicles such as trains and high-speed rails, the vehicle-mounted HMI software becomes a popular new technology, and the inside of a train is controlled by adopting a programmable processor and a memory.
The current HMI software system architecture is mainly composed of a hardware driving layer, a function module layer, a service logic layer and an application layer 4. The programming process mainly depends on manual input of a programmer, and basically, variables or statements are written repeatedly by the programmer, so that the writing process takes a lot of time. When the amount of programs is increased, the program logic may be in a chaotic condition, the searching is complex, the HMI software needs to be reprogrammed when used in different trains, and the code reuse rate is low, so that a large amount of programming time and debugging time are occupied.
In view of the above-mentioned technologies, a need exists for an HMI software system that can be used conveniently.
Disclosure of Invention
The application aims to provide an HMI software system to solve the problems that the code reuse rate of the current HMI software system is low, the searching is complex and the like.
In order to solve the above technical problem, the present application provides an HMI software system comprising: the application layer, the MAP layer, the hardware driving layer, the function module layer and the service logic layer:
the application layer is used for finishing a logic function according to the MAP layer data and the interrupt;
the mapping MAP layer comprises a top layer MAP and a bottom layer MAP, the top layer MAP comprises a display MAP and a to-be-displayed MAP, the bottom layer MAP comprises a state MAP and a to-be-executed MAP, the top layer MAP is used for storing data of the application layer, and the bottom layer MAP is used for storing data of the hardware driving layer, the function module layer and the service logic layer;
the MAP to be displayed is data used by a current application layer, the MAP to be displayed is data to be used by the application layer, the state MAP is data of the hardware driving layer, the function module layer and the service logic layer which are operated currently, and the MAP to be executed is data of the hardware driving layer, the function module layer and the service logic layer which are operated currently;
the hardware driving layer is used for storing data of hardware layer API of each hardware module;
the function module layer is used for storing data of the API function of the hardware layer of each hardware module;
and the service logic layer is used for storing the data of each hardware module.
Preferably, the apparatus further comprises: the first timer is used for detecting whether a first updating signal is received or not at intervals of a first preset time so as to update the top-level MAP data.
Preferably, the apparatus further comprises: a second timer, configured to detect whether a second update signal is received every second preset time so as to update the underlying MAP data.
Preferably, the display MAP and the to-be-displayed MAP, the status MAP and the to-be-executed MAP each include a global MAP, a car MAP, an interrupt MAP, and an alarm MAP.
In order to solve the above problem, the present application further provides an HMI software system updating method applied to the above HMI software system, the method including:
circularly detecting whether the display MAP is the same as the to-be-displayed MAP or not;
if not, detecting whether the state MAP is the same as the to-be-executed MAP or not;
if not, calling the state MAP corresponding to the to-be-executed MAP, updating the state MAP, and returning to the step of detecting whether the state MAP is the same as the to-be-executed MAP;
and if so, updating the display MAP to correspond to the state MAP.
Preferably the HMI software system further comprises a first timer, the method further comprising:
detecting whether a first updating signal is received every first preset time, wherein the first updating signal is used for representing whether the top-level MAP data is updated;
and if so, updating the top-level MAP data.
Preferably, the HMI software system further comprises a second timer, the method further comprising:
detecting whether a second updating signal is received every second preset time, wherein the second updating signal is used for representing whether the bottom layer MAP data is updated;
and if so, updating the bottom-layer MAP data.
To solve the above problem, the present application also provides an electronic device, including a memory for storing a computer program;
a processor for implementing the steps of the above-described HMI software system update method when executing said computer program.
To solve the above problem, the present application further provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the above update method of the HMI software system.
The HMI software system provided by the present application includes: the application layer is used for completing logic functions according to data and interrupt of a mapping MAP layer, the mapping MAP layer comprises a top layer MAP and a bottom layer MAP, the top layer MAP comprises a display MAP and a to-be-displayed MAP, the bottom layer MAP comprises a state MAP and a to-be-executed MAP, the display MAP is data used by the current application layer, the to-be-displayed MAP is data to be used by the application layer, the state MAP is data of a currently-operated hardware driving layer, a function module layer and a service logic layer, the to-be-executed MAP is data of the to-be-operated hardware driving layer, the function module layer and the service logic layer, when the to-be-displayed MAP and the to-be-executed MAP are different from the currently-operated display MAP and currently-executed MAP, namely updating is needed, corresponding data in the top layer MAP and the bottom layer MAP are directly called for updating, compared with the current HMI software system, the mapping MAP layer is added in the application layer and the other bottom layer, the corresponding data which need to be updated in each layer can be directly called through the MAP layer, all the data only need to be initially compiled and then stored in the MAP layer, reprogramming is not needed during updating, independence and program multiplexing of application layer programming and bottom layer programming are achieved, the programs and the corresponding data of the corresponding layers can be directly inquired through the addresses of the MAP layer, the searching mode is simplified, and the use by a user is more convenient.
The HMI software updating method provided by the application is applied to the HMI software system, and achieves the same result with the HMI software system through the structure in the mapping MAP layer, so the beneficial effects are the same.
The electronic equipment and the readable storage medium provided by the application correspond to the method, and the beneficial effects are the same.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a schematic structural diagram of an HMI software system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a top MAP and a bottom MAP provided in the present embodiment;
FIG. 3 is a flowchart of a method for updating an HMI software system according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide an HMI software system to solve the problems of complex search and the like of low code reuse rate of the current HMI software system.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an HMI software system according to an embodiment of the present application, where as shown in fig. 1, the system includes: application layer 1, MAP layer 2, hardware driver layer 5, function module layer 4 and service logic layer 3:
the application layer 1 is used for completing logic functions according to the data and the interrupt of the mapping MAP layer 2;
the MAP MAP layer 2 comprises a top MAP and a bottom MAP, the top MAP comprises a display MAP and a to-be-displayed MAP, the bottom MAP comprises a state MAP and a to-be-executed MAP, the top MAP is used for storing data of the application layer 1, and the bottom MAP is used for storing data of the hardware driving layer 5, the function module layer 4 and the service logic layer 3;
displaying MAP as data used by the current application layer 1, displaying MAP as data to be used by the application layer 1, displaying state MAP as data of the current running hardware drive layer 5, function module layer 4 and service logic layer 3, and displaying MAP as data of the current running hardware drive layer 5, function module layer 4 and service logic layer 3;
the hardware driving layer 5 is used for storing data of hardware layer API of each hardware module;
the function module layer 4 is used for storing data of API functions of the hardware layers of the hardware modules;
the service logic layer 3 is used for storing data of each hardware module.
Note that (HMI) "man-Machine Interface" is also called a man-Machine Interface. A human-machine interface (also called user interface or user interface) is a medium for interaction and information exchange between a system and a user, and it implements conversion between an internal form of information and a human-acceptable form. Human-machine interfaces exist in all fields participating in human-machine information exchange.
In practical application, the application layer 1 is a part directly interfacing with a user in a human-computer interaction HMI software system, in the application, an interaction part of the HMI software system, for example, a touch screen is used in a train for interaction, a hardware and software device part of the touch screen is the application layer 1 in the system, similarly, the application layer 1 also includes devices for human-computer interaction, such as keys and a mouse, and data and applications subordinate to the devices, and the like, and in the application, specific forms of software and hardware of the application layer 1 are not limited.
It can be understood that the MAP layer 2 is an intermediate layer connecting the application layer 1 and other bottom layers, the programmer of the application layer 1 corresponds data such as variables, control and interrupt addresses to the corresponding top MAP in the programming process, the programmer of other layers corresponds data such as variables, control and interrupt addresses to the corresponding bottom MAP in the programming process, the top MAP and the bottom MAP are matched with each other, so that the bottom framework and the upper application can be matched with each other, and after different vehicle types and requirements are changed, the top MAP and the bottom MAP are updated and then mapped to complete programming.
In practical application, the MAP is displayed as data currently used by the application layer 1, the MAP to be displayed is data to be used by the application layer 1, and similarly, the status MAP and the MAP to be executed are data used by other bottom layers and to be used, and the status MAP and the display MAP correspond to each other, that is, when the system needs to be updated, the updated data of the application layer 1 and the data of other bottom layers are respectively corresponding to the MAP to be displayed and the MAP to be executed, and when the MAP to be displayed and the display MAP are detected to be different, the update is started, and the status MAP is updated to the MAP same as the MAP to be executed, so as to update the display MAP corresponding to the status MAP, it should be noted that, since the data of the application layer 1 needs to be updated corresponding to other bottom layer codes, the update can not be directly performed according to the display MAP corresponding to the MAP to be displayed, and in this embodiment, the specific form of all MAPs is not limited, it is understood that the MAP may include all data on the train, such as monitoring, cars, global data, and the like.
In this embodiment, the hardware modules included in the business logic layer 3 are not limited, for example, the hardware modules may include hardware modules such as a system, a control module, an alarm module, and the like, and correspondingly, the hardware modules included in the function module layer 4 and the hardware driver layer 5 are also not limited, and it should be noted that an Application Programming Interface (API) is an Interface and a channel, is responsible for communication between a program and other software, and provides the capability of the Application program and a developer to access a set of routines based on certain software or hardware through a predefined function.
The HMI software system provided by the present embodiment includes: the application layer 1 is used for completing logic functions according to data and interrupt of the mapping MAP layer 2, the mapping MAP layer 2 comprises a top layer MAP and a bottom layer MAP, the top layer MAP comprises a display MAP and a to-be-displayed MAP, the bottom layer MAP comprises a state MAP and a to-be-executed MAP, the display MAP is data used by the current application layer 1, the to-be-displayed MAP is data to be used by the application layer 1, the state MAP is data of the currently-operated hardware driving layer 5, the function module layer 4 and the service logic layer 3, the to-be-executed MAP is data of the to-be-operated hardware driving layer 5, the function module layer 4 and the service logic layer 3, when the to-be-displayed MAP and the to-be-executed MAP are different from the currently-displayed MAP and the currently-operated MAP, namely when updating is needed, corresponding data in the top layer MAP and the bottom layer MAP are directly called for updating, compared with the current HMI software system, the MAP layer 2 is added in the application layer 1 and other bottom layers, corresponding data needing to be updated in each layer can be directly called through the MAP layer 2, all the data only need to be initially compiled and then stored in the MAP layer 2, reprogramming is not needed during updating, independence and program multiplexing of application layer 1 programming and bottom layer programming are achieved, programs and corresponding data of the corresponding layer can be directly inquired through the address of the MAP layer 2, a searching mode is simplified, a user can more conveniently consider that the application layer 1 of the HMI software system is updated due to updating of vehicle models, software, equipment and the like during use, and a preferred scheme is provided, and the device further comprises: and the first timer is used for detecting whether a first updating signal is received or not at intervals of a first preset time so as to update the top-level MAP data.
It should be noted that, in this embodiment, the first preset time is not limited, and the updating mentioned in this embodiment is to update the top MAP data, that is, the data content stored in the top MAP is written by the user and stored in the top MAP, in the above embodiment, the corresponding data content in the top MAP is called, and the data content of the MAP to be displayed is updated according to the data content of the MAP to be displayed, and the data in the MAP to be displayed originate from the data content currently stored in the top MAP, so that no new content is added, the writing by the user is not required, the two have essential differences, and the distinction needs to be made.
The first timer mentioned in this embodiment can cyclically detect whether the top MAP data needs to be updated, thereby avoiding the problem that the data of the new application layer 1 cannot be updated due to the fact that the top MAP data is not updated, and improving the convenience of the system.
Considering that the hardware driver layer 5, the service logic layer 3 and the function module layer 4 of the HMI software system are updated due to the update of the vehicle model, the code, the hardware and the like, a preferable scheme is proposed, and the device further comprises: and the second timer is used for detecting whether a second updating signal is received or not at intervals of a second preset time so as to update the bottom layer MAP data.
It should be noted that, in this embodiment, the second preset time is not limited, and the updating mentioned in this embodiment is to update the bottom MAP data, that is, the data content stored in the bottom MAP, a new content is written by the user and stored in the top MAP, in the above embodiment, the corresponding data content in the bottom MAP is called, and the data content of the state MAP is updated according to the content of the MAP to be executed, and the data in the state MAP is derived from the data content currently stored in the bottom MAP, so that no new content is added, and the writing by the user is not required, and the two have essential differences, and it needs to be distinguished.
The second timer mentioned in this embodiment can cyclically detect whether the bottom MAP data needs to be updated, thereby avoiding a problem that the data cannot be updated due to the fact that the corresponding content of the to-be-executed MAP cannot be found because the bottom MAP data is not updated, and improving convenience of the system.
Specific contents of the MAP in the above embodiment are not limited, and a preferred solution is proposed herein, and fig. 2 is a schematic structural diagram of a top MAP and a bottom MAP provided in an embodiment of the present application, and as shown in fig. 2, the display MAP and the MAP to be displayed, the status MAP and the MAP to be executed all include a global MAP, a car MAP, an interrupt MAP, and an alarm MAP.
As shown in fig. 2, the global MAP refers to an address of overall basic data on the whole train, such as a floor code corresponding to a train model, basic data of train operation, and the like, the car MAP refers to different data corresponding to different cars on the train, for example, the difference between data of a dining car and data of a passenger car, and the like, and may include video and audio information of different cars, the interrupt MAP refers to different interrupt data, such as a program, a code, and the like, the alarm MAP corresponds to an alarm device of the train, and generally records thresholds of some data, such as a temperature of the train, a power supply amount of the car, and the like. 00-xx refers to data addresses, and each 00-xx address corresponds to different types of data, for example, the data address of the vehicle A is 00-01, the data address of the vehicle B is 00-02, when the entire HMI software system is applied to the vehicle B by the vehicle A, the MAP to be displayed and the MAP to be executed of the top layer MAP and the bottom layer MAP are input to be 00-02, and therefore when the currently displayed MAP and the state MAP are detected to be different from the MAP to be displayed and the MAP to be executed, the updating mode mentioned in the embodiment is executed, and therefore the operation scheme of the entire HMI software system framework of the vehicle A is converted into the HMI software system framework of the vehicle B.
It should be noted that, in this embodiment, the specific form of the MAP is defined, and the main data content in the train is included by using a smaller data address, so that the complexity of the data is reduced, and thus the operation and query efficiency of the HMI software system is improved.
Fig. 3 is a flowchart of an HMI software system updating method according to an embodiment of the present application, which is applied to the HMI software system described above, and as shown in fig. 3, the method includes:
s10: detecting whether the displayed MAP is the same as the MAP to be displayed, if so, re-performing S10, otherwise, entering S11;
it is understood that, in this embodiment, whether the display MAP and the MAP to be displayed are the same or not is detected in a cycle, the time of the cycle is not specifically limited herein, and the cycle detection may be performed by counting the time by a timer, or may be performed by interrupting the cycle, or by a user sending an instruction, and is not limited herein.
S11: detecting whether the state MAP is the same as the MAP to be executed, if not, entering S12, and if so, entering S13;
s12: calling a state MAP corresponding to the MAP to be executed, updating the state MAP, and returning to S11;
s13: the display MAP is updated to correspond to the status MAP.
In practical application, the MAP to be displayed is data currently used by the application layer, the MAP to be displayed is data to be used by the application layer, similarly, the status MAP and the MAP to be executed are data used by other bottom layers and to be used by other bottom layers, the status MAP and the display MAP correspond to each other, that is, when the system needs to be updated, the updated data of the application layer and the data of other bottom layers are respectively corresponding to the MAP to be displayed and the MAP to be executed, when it is detected that the MAP to be displayed and the display MAP are different, the update is started, and the status MAP is updated to the MAP which is the same as the MAP to be executed, so as to update the display MAP corresponding to the status MAP, it should be noted that, since the data of the application layer needs to be updated after corresponding to other bottom layer codes, the update cannot be directly performed according to the display MAP corresponding to the MAP to be displayed, in this embodiment, the specific form of all MAPs is not limited, and it can be understood that, the MAP may include all data on the train, e.g., monitoring, cars, global data, etc.
The HMI software system updating method provided by the application is applied to the HMI software system, and the HMI software system comprises the following steps: the application layer is used for completing logic functions according to data and interrupt of a mapping MAP layer, the mapping MAP layer comprises a top layer MAP and a bottom layer MAP, the top layer MAP comprises a display MAP and a to-be-displayed MAP, the bottom layer MAP comprises a state MAP and a to-be-executed MAP, the display MAP is data used by the current application layer, the to-be-displayed MAP is data to be used by the application layer, the state MAP is data of a currently-operated hardware driving layer, a function module layer and a service logic layer, the to-be-executed MAP is data of the to-be-operated hardware driving layer, the function module layer and the service logic layer, when the to-be-displayed MAP and the to-be-executed MAP are different from the currently-operated display MAP and currently-executed MAP, namely updating is needed, corresponding data in the top layer MAP and the bottom layer MAP are directly called for updating, compared with the current HMI software system, the mapping MAP layer is added in the application layer and the other bottom layer, the corresponding data which need to be updated in each layer can be directly called through the MAP layer, all the data only need to be initially compiled and then stored in the MAP layer, reprogramming is not needed during updating, independence and program multiplexing of application layer programming and bottom layer programming are achieved, the programs and the corresponding data of the corresponding layers can be directly inquired through the addresses of the MAP layer, the searching mode is simplified, and the use by a user is more convenient.
Preferably, the HMI software system further comprises a first timer, the method further comprising:
detecting whether a first updating signal is received every first preset time, wherein the first updating signal is used for representing whether top-level MAP data is updated;
and if so, updating the top-level MAP data.
In this embodiment, through the first timer, whether top-level MAP data needs to be updated or not can be cyclically detected, so that the problem that data cannot be updated due to the fact that corresponding contents of the to-be-executed MAP cannot be found due to the fact that the top-level MAP data is not updated is solved, and convenience of the system is improved.
Preferably, the HMI software system further comprises a second timer, the method further comprising:
detecting whether a second updating signal is received every second preset time, wherein the second updating signal is used for representing whether the bottom layer MAP data is updated;
and if so, updating the bottom layer MAP data.
In this embodiment, through the second timer, whether the bottom MAP data needs to be updated or not can be cyclically detected, so that the problem that the data cannot be updated due to the fact that the corresponding content of the to-be-executed MAP cannot be found because the bottom MAP data is not updated is solved, and convenience of the system is improved.
Fig. 4 is a block diagram of an electronic device according to another embodiment of the present application, and as shown in fig. 4, the electronic device includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the HMI software system updating method as mentioned in the above embodiments when executing the computer program.
The electronic device provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the HMI software system updating method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. The data 203 may include, but is not limited to, data related to HMI software system update methods, and the like.
In some embodiments, the electronic device may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is not intended to be limiting of electronic devices and may include more or fewer components than those shown.
The electronic device provided by the embodiment of the application comprises a memory and a processor, and when the processor executes a program stored in the memory, the following method can be realized: the HMI system update method mentioned in the above embodiments.
The electronic device provided by the application corresponds to the method, and the embodiment is shown in the method part, and the beneficial effects are also equal to the method part, and are not described again.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The storage medium provided by the application corresponds to the method, and the embodiment is shown in the method part, and the beneficial effects are also equal to the method part, and are not described again.
The HMI software system, the updating method, the electronic device, and the medium provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. An HMI software system comprising: the application layer, the MAP layer, the hardware driving layer, the function module layer and the service logic layer:
the application layer is used for finishing a logic function according to the MAP layer data and the interrupt;
the mapping MAP layer comprises a top layer MAP and a bottom layer MAP, the top layer MAP comprises a display MAP and a to-be-displayed MAP, the bottom layer MAP comprises a state MAP and a to-be-executed MAP, the top layer MAP is used for storing data of the application layer, and the bottom layer MAP is used for storing data of the hardware driving layer, the function module layer and the service logic layer;
the MAP to be displayed is data used by a current application layer, the MAP to be displayed is data to be used by the application layer, the state MAP is data of the hardware driving layer, the function module layer and the service logic layer which are operated currently, and the MAP to be executed is data of the hardware driving layer, the function module layer and the service logic layer which are operated currently;
the hardware driving layer is used for storing data of hardware layer API of each hardware module;
the function module layer is used for storing data of the API function of the hardware layer of each hardware module;
and the service logic layer is used for storing the data of each hardware module.
2. The HMI software system according to claim 1, further comprising: the first timer is used for detecting whether a first updating signal is received or not at intervals of a first preset time so as to update the top-level MAP data.
3. The HMI software system according to claim 1, further comprising: a second timer, configured to detect whether a second update signal is received every second preset time so as to update the underlying MAP data.
4. The HMI software system of claim 3, wherein the display MAP and the to-display MAP, the status MAP and the to-execute MAP each include a global MAP, a car MAP, an interrupt MAP, and an alert MAP.
5. An HMI software system update method, wherein the HMI software system of claim 1 is applied, the method comprising:
circularly detecting whether the display MAP is the same as the to-be-displayed MAP or not;
if not, detecting whether the state MAP is the same as the to-be-executed MAP or not;
if not, calling the state MAP corresponding to the to-be-executed MAP, updating the state MAP, and returning to the step of detecting whether the state MAP is the same as the to-be-executed MAP;
and if so, updating the display MAP to correspond to the state MAP.
6. The HMI software system update method of claim 5, wherein the HMI software system further comprises a first timer, the method further comprising:
detecting whether a first updating signal is received every first preset time, wherein the first updating signal is used for representing whether the top-level MAP data is updated;
and if so, updating the top-level MAP data.
7. The HMI software system update method of claim 5, wherein the HMI software system further comprises a second timer, the method further comprising:
detecting whether a second updating signal is received every second preset time, wherein the second updating signal is used for representing whether the bottom layer MAP data is updated;
and if so, updating the bottom-layer MAP data.
8. An electronic device, comprising a memory for storing a computer program;
a processor for implementing the steps of the HMI software system updating method according to any of claims 5 to 7 when executing said computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the HMI software system update method according to one of the claims 5 to 7.
CN202111462416.1A 2021-12-02 2021-12-02 HMI software system, updating method, electronic device and medium Pending CN114064089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111462416.1A CN114064089A (en) 2021-12-02 2021-12-02 HMI software system, updating method, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111462416.1A CN114064089A (en) 2021-12-02 2021-12-02 HMI software system, updating method, electronic device and medium

Publications (1)

Publication Number Publication Date
CN114064089A true CN114064089A (en) 2022-02-18

Family

ID=80228348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111462416.1A Pending CN114064089A (en) 2021-12-02 2021-12-02 HMI software system, updating method, electronic device and medium

Country Status (1)

Country Link
CN (1) CN114064089A (en)

Similar Documents

Publication Publication Date Title
WO2018127063A1 (en) Application data processing method and apparatus, and storage medium
CN112764872B (en) Computer device, virtualization acceleration device, remote control method, and storage medium
CN109902255B (en) Page mixed browsing record generation method, device, equipment and storage medium
DE202017103671U1 (en) Automatic generation of a graphical user interface from notification data
CN110417988A (en) A kind of interface display method, device and equipment
US20070074181A1 (en) Method and system for parent/child application integration
KR950703762A (en) Computer system
CN105528217A (en) Partial refreshing method and device based on display list
CN110415315B (en) Method, device, terminal and storage medium for touch drawing map area
CN110795071A (en) User interface design and code separation method supporting real-time data dynamic binding
CN102262434A (en) Method and apparatus for modifying a transition to an altered power state of an electronic device based on accelerometer output
CN103383620A (en) Method for displaying help information on mobile terminal and mobile terminal
CN103077067A (en) Method, device and equipment for detecting system time of virtual machine
CN115484299A (en) Whole vehicle global configuration method, device, equipment and medium
EP3407186B1 (en) Interface refresh synchronization method and apparatus, terminal, and storage medium
JP2015095219A (en) Information processor, information processing method and storage medium
CN107025040B (en) Display setting method and system based on OLED screen and graphical user interface
CN112612468A (en) Implementation method and implementation device of global floating window, terminal and storage medium
CN114064089A (en) HMI software system, updating method, electronic device and medium
CN109254943B (en) Framework of universal DMI driver man-machine interface operation screen
CN104112056A (en) Method and system for detecting data processing faults
CN114115673B (en) Control method of vehicle-mounted screen
CN115562736A (en) Display processing method, display processing device, electronic device, and medium
CN113780975B (en) Intelligent schedule information reminding method, equipment, storage medium and software program product
CN109933435A (en) Control method, device and computer equipment

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