CN115328325A - Starting control method and system for instrument display system, electric power assisted vehicle and storage medium - Google Patents

Starting control method and system for instrument display system, electric power assisted vehicle and storage medium Download PDF

Info

Publication number
CN115328325A
CN115328325A CN202210955229.5A CN202210955229A CN115328325A CN 115328325 A CN115328325 A CN 115328325A CN 202210955229 A CN202210955229 A CN 202210955229A CN 115328325 A CN115328325 A CN 115328325A
Authority
CN
China
Prior art keywords
key
input signal
selected area
signal
key input
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.)
Granted
Application number
CN202210955229.5A
Other languages
Chinese (zh)
Other versions
CN115328325B (en
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.)
Nanjing Dmhc Science&technology Co ltd
Original Assignee
Nanjing Dmhc Science&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 Nanjing Dmhc Science&technology Co ltd filed Critical Nanjing Dmhc Science&technology Co ltd
Priority to CN202210955229.5A priority Critical patent/CN115328325B/en
Publication of CN115328325A publication Critical patent/CN115328325A/en
Application granted granted Critical
Publication of CN115328325B publication Critical patent/CN115328325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

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

Abstract

The application provides a method and a system for controlling starting of an instrument display system, an electric power assisted vehicle and a storage medium, wherein the method comprises the following steps: the key unit receives key input signals in sequence, determines a selected area, changes the state of the selected area into an editable state, changes the editable state of the selected area into a locked state after inputting numbers in the editable state, repeats the process until all the numbers are input after completing one-digit input or modification, enters password comparison through the confirmed area, and realizes system startup when the passwords are consistent. The display unit is provided with a plurality of input areas and confirmation areas, the input areas are provided with different colors in a selected mode and an unselected mode, the states of the areas in the selected mode comprise editable and locked states with different display colors, the states and the modes of the input areas are mutually independent, and each password can be independently input and modified, so that the problem that all passwords need to be cleared and input again when the password is input mistakenly is solved.

Description

Starting control method and system for instrument display system, electric power assisted vehicle and storage medium
Technical Field
The application relates to the technical field of electric power-assisted vehicles, in particular to a method and a system for controlling starting of an instrument display system, an electric power-assisted vehicle and a storage medium.
Background
The electric power-assisted vehicle is a vehicle with high popularity, and because the instrument display system and the unlocking device of the electric power-assisted vehicle are mostly exposed outside the vehicle body, the safety and privacy problems of the electric power-assisted vehicle also become important concerns of people.
Most of switches of the conventional electric power-assisted vehicle and instrument display system are realized by independent keys, and the technology of starting the instrument device of the electric power-assisted vehicle by adopting a password also appears.
However, in the current technology implementation, a key is easy to lose, and other people can easily open and check the driving information of the vehicle, so that the anti-theft performance of the vehicle or the safety privacy of the vehicle owner is reduced to a certain extent.
Disclosure of Invention
An object of the present application is to provide a method and a system for controlling starting of an instrument display system, an electric power assisted vehicle, and a storage medium, so as to solve the problem of poor convenience caused by a password modification method in the prior art.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for controlling starting of an instrument display system, which is applied to an instrument display system of an electric power assisted vehicle, where the instrument display system includes a key unit, a key signal analysis unit, a call execution unit, a storage unit, and a display unit, the display unit includes an input area and a confirmation area, the input area includes an unselected area and a selected area, and the method includes:
the key unit receives a first key input signal, a second key input signal, a third key input signal and a fourth key input signal in sequence;
the key signal analysis unit sequentially analyzes the attribute of each key input signal, wherein the attribute of each key input signal comprises: the source of the signal, the number of signal triggers;
the calling execution unit determines a selected area in the plurality of input areas according to the attribute of the first key input signal, calls the color array stored in the storage unit, and displays corresponding colors on the selected area and the unselected area of the display unit;
the calling execution unit determines the state of the selected area according to the attribute of the second key input signal, and the state of the selected area comprises: an editable state or a locked state;
if the state of the selected area is the editable state, the calling execution unit determines the number of the input number in the selected area according to the attribute of the third key input signal, calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area;
the calling execution unit changes the state of the selected area from an editable state to a locked state according to the fourth key input signal, calls the color array stored in the storage unit, and displays the color corresponding to the locked state on the selected area of the display unit;
and repeating the steps until the currently received key input signal indicates that the key input signal enters the confirmation area of the display unit, combining the numbers input in the input area into an input password, comparing the input password with a preset password by the calling execution unit, and starting the instrument display system if the comparison result is consistent.
Optionally, the invoking execution unit determines a selected area of the plurality of input areas according to an attribute of the first key input signal, invokes the color array stored in the storage unit, and displays a corresponding first color on the selected area and the unselected area of the display unit, including:
the calling execution unit judges the source of the first key input signal, if the source of the first key input signal is plus key or minus key, the selected area is determined according to the signal triggering times of the first key input signal, the color array stored in the storage unit is called, and corresponding first colors are displayed in the selected area and the unselected area of the display unit.
Optionally, the determining the selected area according to the number of signal triggers of the first key input signal includes:
if the source of the first key input signal is the additional key, calculating the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal;
and if the source of the first key input signal is a reduction key, calculating the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal.
Optionally, the calling the color array stored in the storage unit, and displaying corresponding colors on the selected area and the unselected area of the display unit, includes:
calling the color array, and reading a first color corresponding to a selected area and a second color corresponding to an unselected area from the color array;
displaying the first color on the selected region of the display unit and displaying the second color on an unselected region of the display unit.
Optionally, the invoking execution unit determines, according to the attribute of the third key input signal, the number of the input number in the selected area, invokes the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area, including:
the calling execution unit judges the source of the third key input signal, determines the number of input numbers in the selected area according to the signal triggering times of the third key input signal if the source of the third key input signal is an additional key or a subtractive key, calls the number array and the color array stored in the storage unit, and displays the input numbers and the colors corresponding to the editable state in the selected area.
Optionally, the determining the number of the input number in the selected area according to the number of signal triggers of the third key input signal includes:
if the source of the third key input signal is the additional key, calculating the sum of the number of the current input number of the selected area and the signal triggering times of the third key input signal, and determining the number of the input number in the selected area according to the sum of the number of the input number and the signal triggering times of the third key input signal;
and if the source of the third key input signal is a reduction key, calculating the difference between the number of the current input number of the selected area and the signal triggering frequency of the third key input signal, and determining the number of the input number in the selected area according to the difference between the number of the input number and the signal triggering frequency of the third key input signal.
Optionally, the calling the number array and the color array stored in the storage unit, and displaying the input number and the color corresponding to the editable state in the selected area, includes:
calling the digital array, reading the value of a target item from the digital array, and taking the value of the target item as the input number, wherein the number of the target item is the number of the input number;
calling the color array, and reading the color corresponding to the editable state from the color array;
and displaying the input number and the color corresponding to the editable state in the selected area of the display unit.
In a second aspect, another embodiment of the present application provides a meter display system, which includes a key unit, a key signal analysis unit, a call execution unit, a storage unit, and a display unit, where the display unit includes a plurality of input areas and a confirmation area;
the key unit is used for: sequentially receiving a first key input signal, a second key input signal, a third key input signal and a fourth key input signal;
the key signal analysis unit is used for: analyzing the attribute of each key input signal in sequence, wherein the attribute of each key input signal comprises: the source of the signal, the number of signal triggers;
the call execution unit is used for: determining a selected area in the plurality of input areas according to the attribute of the first key input signal, calling a color array stored in the storage unit, and displaying corresponding colors on the selected area and unselected areas of the display unit;
the call execution unit is further configured to: determining the state of the selected area according to the attribute of the second key input signal, wherein the state of the selected area comprises: an editable state or a locked state;
if the state of the selected area is the editable state, the calling execution unit determines the number of the input number in the selected area according to the attribute of the third key input signal, calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area;
the call execution unit is further configured to: and the currently received key input signal indicates to enter a confirmation area of the display unit, the numbers input in the input area are combined into an input password, the input password is compared with a preset password by the calling execution unit, and if the comparison result is consistent, the instrument display system is started.
Optionally, the call execution unit is further configured to:
and judging the source of the first key input signal, if the source of the first key input signal is an additional key or a subtractive key, determining the selected area according to the signal triggering times of the first key input signal, calling the color array stored in the storage unit, and displaying corresponding colors on the selected area and the unselected area of the display unit.
Optionally, the call execution unit is further configured to:
if the source of the first key input signal is the additional key, calculating the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal;
and if the source of the first key input signal is a reduction key, calculating the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal.
Optionally, the call execution unit is further configured to:
calling the color array, and reading a first color corresponding to a selected area and a second color corresponding to an unselected area from the color array;
displaying the first color on the selected region of the display unit and displaying the second color on an unselected region of the display unit.
Optionally, the call execution unit is further configured to:
and judging the source of the third key input signal, if the source of the third key input signal is an additional key or a subtractive key, determining the number of the input number in the selected area according to the signal triggering times of the third key input signal, calling the number array and the color array stored in the storage unit, and displaying the input number and the color corresponding to the editable state in the selected area.
Optionally, the call execution unit is further configured to:
if the source of the third key input signal is the additional key, calculating the sum of the number of the current input number of the selected area and the signal triggering times of the third key input signal, and determining the number of the input number in the selected area according to the sum of the number of the input number and the signal triggering times of the third key input signal;
and if the source of the third key input signal is a reduction key, calculating the difference between the number of the current input number of the selected area and the signal triggering frequency of the third key input signal, and determining the number of the input number in the selected area according to the difference between the number of the input number and the signal triggering frequency of the third key input signal.
Optionally, the call execution unit is further configured to:
calling the digital array, reading the value of a target item from the digital array, and taking the value of the target item as the input number, wherein the number of the target item is the number of the input number;
calling the color array, and reading the color corresponding to the editable state from the color array;
and displaying the input number and the color corresponding to the editable state in the selected area of the display unit.
In a third aspect, another embodiment of the present application provides an electric power assisted vehicle including the meter display system of the second aspect.
In a fourth aspect, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the above-mentioned instrument display system startup control method.
The beneficial effect of this application is:
in the embodiment of the application, the key unit sequentially receives key input signals, determines a selected area, changes the state of the selected area into an editable state, changes the editable state of the selected area into a locked state after numbers are input in the editable state, repeats the process until all the numbers are input after one-digit input or modification is completed, enters a password comparison stage through the confirmed area, and realizes system startup when the passwords are consistent. The display unit is provided with a plurality of input areas and confirmation areas, the input areas are provided with different colors in a selected mode and an unselected mode, the states of the areas in the selected mode comprise an editable state and a locked state, and the display colors in different states are different, so that the states and the modes of the input areas are independent from each other, each password can be independently input and modified, and the problem that all passwords need to be cleared and input again when the password is input mistakenly is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic structural diagram of a meter display system provided by an embodiment of the present application;
FIG. 2 is a flow chart of a method for controlling the starting of a meter display system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a display unit provided in an embodiment of the present application;
fig. 4 shows a structural diagram of a key unit provided in an embodiment of the present application;
FIG. 5 is a flow chart of another method for controlling the starting of a meter display system according to an embodiment of the present application;
FIG. 6 is a flow chart illustrating a process for determining a selected region according to an embodiment of the present disclosure;
FIG. 7 is a flow chart illustrating a color display area provided by an embodiment of the present application;
FIG. 8 is a flow chart illustrating a process for determining an input number according to an embodiment of the present application;
FIG. 9 is a flow chart illustrating a process of determining display numbers and colors of a selected area according to an embodiment of the present application;
fig. 10 is a block diagram illustrating a key circuit according to an embodiment of the present disclosure;
FIG. 11 is a block diagram of a meter display system according to an embodiment of the present disclosure;
fig. 12 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, 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 should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
Although the conventional electric moped and instrument display system is started by adopting a password, the password input area in the conventional password unlocking method is integrated and one digit cannot be independently modified, so that the requirement on inputting the password by a user is high, the system can be started and the electric moped can be unlocked only by inputting the correct password once, however, when the user inputs the password, the user inputs the wrong digit, and the user needs to input the password again after deleting all the passwords, so that the convenience for the user to start the system is greatly reduced.
Based on the above problems, the present application provides a starting control method for an instrument display system, which is applied to an instrument display system of an electric power assisted vehicle, as shown in fig. 1, the instrument display system includes a key device 101, an instrument device 102, and a controller 103, where the key device 101 includes a key Unit and a key circuit, the instrument device 102 includes a first power supply circuit, a second power supply circuit, a power-on circuit, an instrument display Unit, and an instrument micro-control Unit (MCU), and the controller 103 includes a controller micro-control Unit and a third power supply circuit, where the power-on circuit is respectively connected to the first power supply circuit, the second power supply circuit, the third power supply circuit, and the MCU, the first power supply circuit is connected to the instrument display Unit, the second power supply circuit is connected to the key circuit, and the third power supply circuit is connected to the controller MCU, and is used to respectively supply power to a screen, a key, a controller, and the instrument MCU after the instrument is started, the instrument MCU is unlocked, and the instrument MCU is connected to the controller MCU through a communication interface, and the controller MCU receives a communication message that is successfully input from the instrument.
The key signal analysis unit, the calling execution unit and the storage unit can be arranged in an instrument MCU of the instrument display system, the key unit receives the key signal, the key signal analysis unit analyzes the signal, the calling execution unit calls the corresponding array in the storage unit, and finally, a calling result is displayed on the display unit. The input area and the confirmation area are arranged for the password input area, the editable state and the locking state are arranged in the selected area of the input area, so that the key signals trigger different key instructions in different areas and states, and the areas are independent from each other, so that each password can be independently input and modified, and the problem that all passwords need to be cleared and input again when the password is input mistakenly is solved.
Next, a description will be given of the above-described meter display system activation control method, which can be applied to a meter display system of an electric power assisted vehicle, as shown in fig. 2, and which includes:
s201: the key unit receives a first key input signal, a second key input signal, a third key input signal and a fourth key input signal in sequence.
Optionally, the key unit may be disposed on a key device built in the instrument, the user may trigger each key to generate a corresponding key signal by pressing the key unit, and the key input signal may be a key signal generated by the user pressing the key unit.
Optionally, the meter display system may include a plurality of key units, and a user may trigger a key input signal corresponding to each key unit by pressing a different key unit.
Optionally, the key input signal may include an identifier of a key unit corresponding thereto, and after the instrument display system receives the key input signal, the source of the key signal may be identified by the identifier corresponding to the key unit.
For example, the key unit may include three keys, which are an "add" key, a "power" key, and a "subtract" key from left to right, as shown in fig. 3, and the corresponding key signals may be three, that is, the key signal corresponding to the "add" key, the key signal corresponding to the "power" key, and the key signal corresponding to the "subtract" key.
Optionally, the key unit sequentially receives a first key input signal, a second key input signal, a third key input signal, and a fourth key input signal, which are input by a user through the key unit, where the first key input signal and the third key input signal may be triggered by an "add" key or a "subtract" key in fig. 3, for example, where the first key input signal may be used to determine a selected region, the third key input signal may be used to determine a display number of the selected region and a color of the display unit, and the second key input signal and the fourth key input signal may be triggered by a "power" key in fig. 3, for example, to change a state of the selected region.
S202: the key signal analysis unit analyzes the attribute of each key input signal in sequence, wherein the attribute of each key input signal comprises: the source of the signal, the number of signal triggers.
Optionally, the key signal analysis unit may be configured to analyze an attribute of the key signal, so as to identify a triggering operation performed on each key by a user.
Optionally, the number of times of occurrence of the signal may be the number of times of occurrence of the key input signal from the same source, and the source of the signal may indicate the key unit corresponding to the input signal.
Optionally, the attribute of the key input signal may further include a signal duration, the signal duration may be divided into "long press", "short press", "continuous double-click", and "invalid" according to the time length of the key trigger or press, and the input password is valid only when the key is pressed for "short time"; for example, the invalid operation may be regarded as an invalid operation when the pressing duration <20ms, the short-press operation when 20ms < pressing duration <300ms, and the long-press operation when the pressing duration >1s, for example, may be regarded as a power-on operation.
S203: the calling execution unit determines a selected area in the plurality of input areas according to the attribute of the first key input signal, calls the color array stored in the storage unit, and displays corresponding colors on the selected area and the unselected area of the display unit.
Optionally, the display unit may be a password input interface, and the display unit may include a plurality of password input areas, for example, the interface of the display unit may be as shown in fig. 3, where the password input areas are: area 1, area 2, area 3, and area 4, and area 5 is a confirmation area.
Optionally, a color array may be stored in the storage unit, and the color array may include, for example, a foreground color and a background color, where the foreground color and the background color of the selected region may be yellow and white, respectively, and the foreground color and the background color of the unselected region may be blue and black, respectively, which is only an example here, and the specific color setting is not limited herein.
Exemplarily, after determining that the selected region is the region 1 according to the attribute of the first key input signal, the call execution unit may set the foreground color and the background color of the region 1 to black and white, respectively, set the foreground color and the background color of the regions 2, 3, and 4 to blue and gray, and set different colors for the selected region and the unselected region, so that the user may recognize the current selected region more conveniently, thereby improving the convenience of the user operation.
Optionally, the input area of the display unit may include an unselected area and a selected area, the selected area may be an area where a user inputs or modifies numbers, and the unselected area may be an area where the user has completed inputting or has not input, where the user may determine any input area as the selected area through the key unit, and when the area is the selected area, other areas automatically become unselected areas.
S204: the calling execution unit determines the state of the selected area according to the attribute of the second key input signal, and the state of the selected area comprises the following steps: an editable state or a locked state;
optionally, the default initial state of the selected area may be a locked state, and after the user inputs the second key input signal through the key unit, the call execution unit may change the locked state to an editable state according to an attribute of the second key input signal.
Alternatively, the state of the selected region may include an editable state in which the user can change the input number in the display region and a locked state in which the user cannot change the input number in the display region, and the editable state and the locked state may be displayed in different colors.
S205: if the state of the selected area is an editable state, the calling execution unit determines the number of the input number in the selected area according to the attribute of the third key input signal, calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area.
Optionally, when the state of the selected area is an editable state, the user may continue to input the third key input signal through the key unit, and call the execution unit to determine the number of the input number in the selected area according to the attribute of the third key input signal, and call the number array and the color array stored in the storage unit, and display the input number and the color corresponding to the editable state in the selected area.
Optionally, a number array may be stored in the storage unit, where the storage of the numbers in the number array may be sequential storage or out-of-order storage, for example, the array a may be arranged in an order of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, or in an order of 9, 2, 1, 4, 3, 5, 7, 6, 0, 8, and when the number of the input number is 3, the input number determined in the first sequential array is 2, and the input number determined in the second out-of-order array is 1.
Optionally, foreground colors corresponding to the editable state and the locked state may also be stored in the color array, and for example, assuming that the foreground colors corresponding to the editable state and the locked area are yellow and black, respectively, after the state of the selected area is determined to be the editable state, the call execution unit may change the foreground color of the selected area from black to yellow.
S206: and the calling execution unit changes the state of the selected area from an editable state to a locked state according to the fourth key input signal, calls the color array stored in the storage unit, and displays the color corresponding to the locked state on the selected area of the display unit.
Optionally, after inputting the number in the currently selected area is completed, the user may input a fourth key input signal through the key unit, invoke the execution unit to execute the fourth key input signal, and changing the state of the selected area from an editable state to a locked state, wherein the user can not change the input number of the currently selected area any more after the state of the selected area is changed to the locked state.
Optionally, when the state of the selected area is changed from the editable state to the locked state, the calling execution unit may call the color array stored in the storage unit, and display the color corresponding to the locked state on the selected area of the display unit.
S207: and repeating the steps until the currently received key input signal indicates that the key input signal enters the confirmation area of the display unit, combining the numbers input in the input area into an input password, calling the execution unit to compare the input password with a preset password, and starting the instrument display system if the comparison result is consistent.
Optionally, the user may repeat the steps S201 to S204 in the password input stage until all numbers are input, in the password input stage, the user may input all correct numbers at one time, or repeat the above steps to modify any one or more of the numbers after the input is completed, until the user enters the confirmation area through the key unit, and the input password may be a combination of numbers formed by all numbers input in the input area when the user enters the confirmation area.
Optionally, the user may select to enter the password input area of the display unit through the key unit, and after inputting the password, the user may enter the confirmation area of the display unit through the key unit, where the manner of entering the confirmation area may be the same as the method of switching the input area in the password input area, or a special key unit combination may be used as the key input signal to enter the confirmation area.
Optionally, the calling execution unit may call a preset password in the storage unit, compare the preset password with the input password, and start the instrument display system when the passwords are consistent, where the preset password may be stored in the storage unit, and the calling execution unit may compare the input password with the preset password bit by bit after the password is input, so as to obtain a comparison result at each position.
For example, the first digit from the left of the input password may be compared with the first digit from the left of the preset password, and then the second digit, the third digit, and the like are sequentially compared to obtain the comparison result of each position.
If the comparison results of all the positions are correct, the input password is completely the same as the preset password, the comparison result can be determined to be consistent, and the message communication with the consistent result is transmitted to the controller MCU, so that the starting of the instrument display system and the unlocking of the electric power assisted vehicle are realized.
If at least one position in the comparison results of the positions is different, the input password is different from the preset password, the comparison result is determined to be inconsistent, the calling execution unit can call an emptying instruction to empty the password, and the calling execution unit returns to the password input interface and outputs prompt information to remind the user to input the password again.
Referring to fig. 5, a user may trigger a first key input signal by adding or subtracting a key in the key unit shown in fig. 4, first determine a selected region from a plurality of input regions, and display a color of the selected region and a color of an unselected region on the display unit, respectively, then trigger a second key input signal by a power key, change the state of the selected region to an editable state, and change the color of the selected region to a color corresponding to the editable state, so as to prompt the user to input a number, in the editable state, the user may trigger a third key input signal by adding or subtracting a key to input a number, after the number of the currently selected region is input, the user may trigger a fourth key input signal by the power key, change the editable state of the selected region to a locked state, and change the color of the region to a color corresponding to the locked state.
In the embodiment of the application, the key unit sequentially receives the key signals, the key signal analysis unit analyzes the signals, the calling execution unit calls the corresponding number array and color array in the storage unit, and finally the calling result is displayed on the display unit. The input area and the confirmation area are arranged for the password input area on the display unit, the input area comprises the selected area and the unselected area, the selected area comprises the editable state and the locked state, the states of the areas are mutually independent, and each password can be independently input and modified, so that the problem that all passwords need to be emptied and input again when one password is input in error is solved.
Next, a description will be given of a step in S203 in which the call execution unit determines a selected region of the plurality of input regions according to the attribute of the first key input signal, calls the color array stored in the storage unit, and displays corresponding colors on the selected region and the unselected region of the display unit, where the step S203 includes:
and calling the execution unit to judge the source of the first key input signal, if the source of the first key input signal is an additional key or a subtractive key, determining a selected area according to the signal triggering times of the first key input signal, calling the color array stored in the storage unit, and displaying corresponding colors on the selected area and the unselected area of the display unit.
Optionally, the calling execution unit may determine a signal source according to the signal identifier, and when the signal identifier indicates that the signal source is an add key or a subtract key, the calling execution unit may determine a selected region in the display region according to the signal trigger frequency of the first key input signal, call the color array in the storage unit, and display corresponding colors in the selected region and an unselected region of the display unit.
For example, the foreground color and the background color of the selected region may be yellow and white, the foreground color and the background color of the unselected region may be blue and black, respectively, after the user confirms that the region 1 is the selected region, the calling execution unit may call the foreground color and the background color of the selected region and the unselected region in the color array, the foreground color and the background color displayed in the region 1 are yellow and white, respectively, and the foreground color and the background color displayed in the unselected regions, i.e., the regions 2, 3, and 4, are blue and black, respectively.
Then, for the number of signal triggering times according to the first key input signal, the step of determining the selected region is illustrated, and as shown in fig. 6, the step includes:
s601: if the source of the first key input signal is the additional key, calculating the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal.
Optionally, if the source of the first key input signal is a plus key, the sum of the serial number of the currently selected area and the signal triggering frequency of the first key input signal is calculated, and if the sum does not exceed the maximum serial number of the area, the sum may be used as the serial number of the selected area, for example, as shown in fig. 4, the currently selected area is area 1, and if the "plus" key signal occurs 2 times at this time, the sum is judged to not exceed the serial number of the maximum area (area 4), so that the selected area may be moved from area 1 to area 3.
Optionally, if the sum exceeds the maximum sequence number of the area, that is, the number of times the additional key appears exceeds the difference value between the sequence numbers of the current area and the last area, the area with the maximum sequence number may be used as the selected area.
Illustratively, referring to fig. 3, the password input area is divided into: the method comprises the following steps of 1, 2, 3 and 4, wherein the 3 is a selected area, if an 'adding' key signal appears for 2 times, the difference value of the serial numbers of the current area (the 3 rd area) and the last area (the 4 th area) is exceeded (the difference value of the 3 rd area and the 4 th area is 1) after judgment, therefore, when the 'adding' signal appears for the first time, the selected area is moved from the 3 right side to the 4 th area, in the process, the background color of a storage unit is called, for example, the background color of the 3 can be replaced by gray, and the background color of the 4 can be replaced by white; and for the 2 nd occurrence of the 'adding' signal, the background color execution call of the color storage unit is not performed any more.
S602: and if the source of the first key input signal is a reduction key, calculating the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal.
Optionally, if the source of the first key input signal is a minus key, calculating a difference between the sequence number of the currently selected region and the signal triggering frequency of the first key input signal, and if the difference is not less than the minimum sequence number of the region, taking the difference as the sequence number of the selected region, for example, referring to fig. 4, the currently selected region is region 4, and if the "plus" key signal occurs 2 times at this time, the difference is determined to be not less than the sequence number of the minimum region (region 1), so that the selected region can be moved from region 4 to region 2.
Optionally, if the difference is smaller than the minimum sequence number of the region, that is, the number of times the subtraction key appears exceeds the difference between the sequence numbers of the current region and the first region, the region with the minimum sequence number may be used as the selected region.
Illustratively, referring to fig. 3, the password input area is divided into: the method comprises the following steps that 1, 2, 3 and 4, wherein 2 is a selected region, if a subtracting key signal appears for 2 times, the difference value of the serial numbers of the current region (2 nd region) and the first region (1 st region) is exceeded by judgment, so that when the subtracting key signal appears for the first time, the selected region is moved to the region 1 from the region 2 to the left, and in the process, the background color stored in a color array is called, for example, the background color of the 2 is replaced by gray, and the background color of the 1 is replaced by white; and for the 2 nd occurrence of the minus signal, the background color of the color array is not called any more.
Next, a description will be given of a step of calling the color array stored in the storage unit and displaying corresponding colors on the selected area and the unselected area of the display unit, as shown in fig. 7, where the step includes:
s701: calling the color array, and reading a first color corresponding to the selected area and a second color corresponding to the unselected area from the color array.
Optionally, the plus key and the minus key may trigger an execution call instruction for switching the background color in the color array, and trigger a display instruction for changing the background color on the display unit, so that the movement of the "selected region" may be observed on the display unit.
Optionally, after the execution call instruction for switching the background color is triggered by the color array, the call execution unit may call the color array, and read the first color corresponding to the selected region and the second color corresponding to the unselected region from the color array.
Optionally, the first color and the second color may include a foreground color and a background color. For example, the foreground color and the background color corresponding to the selected region may be black and white, respectively, and the foreground color and the background color corresponding to the unselected region may be blue and gray, respectively.
S702: the first color is displayed on a selected region of the display unit and the second color is displayed on an unselected region of the display unit.
Optionally, the calling execution unit may display the foreground color and the background color of the selected region and the unselected region read from the color array on the display unit respectively according to a display instruction of changing the background color triggered by the plus key and the minus key.
In the embodiment of the application, a user triggers the key input signal by adding and subtracting keys, and after the key analysis unit analyzes the attribute of the key input signal, the call execution unit can call a corresponding instruction according to an analysis result, so that the switching of the selected area is realized.
Next, a description will be given of a step in which the call execution unit determines the number of the input number in the selected area based on the attribute of the third key input signal, calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area, wherein the step S205 includes:
and calling the execution unit to judge the source of the third key input signal, if the source of the third key input signal is an additional key or a subtractive key, determining the number of the input number in the selected area according to the signal triggering times of the third key input signal, calling the number array and the color array stored in the storage unit, and displaying the input number and the color corresponding to the editable state in the selected area.
Optionally, after the selected area is confirmed and the state of the selected area is changed from the locked state to the editable state, the user may trigger the third key input signal through the key unit to implement the digital input of the selected area.
Optionally, if the source of the third key input signal is an add key or a subtract key, the call execution unit may determine, according to the number of signal triggers of the third key input signal, the number of the input number in the selected area, trigger an execution call instruction for switching color in the color array, trigger an execution call instruction for switching number in the number array, trigger a display instruction on the display unit, call the number array and the color array stored in the storage unit, and display the input number and the color corresponding to the editable state in the selected area.
Next, referring to fig. 8, a description will be given of a procedure for determining the number of input digits in a selected area based on the number of signal triggers of the third key input signal, where the procedure includes:
s801: and if the source of the third key input signal is the additional key, calculating the sum of the number of the current input number in the selected area and the signal triggering times of the third key input signal, and determining the number of the input number in the selected area according to the sum of the number of the input number and the signal triggering times of the third key input signal.
Optionally, the execution call instruction of "advance one bit/shift one bit to the right" may be triggered by the additional key in the number array, the display instruction of the number is triggered on the display unit according to the arrangement sequence of the numbers in the number array from left to right and the numbers in the number array from small to large, and the display instruction of the number is triggered on the display unit, so that the change of the password number can be observed on the display unit.
Optionally, if the sum of the number of the currently input number in the selected area and the number of signal triggering times of the third key input signal does not exceed the maximum number in the number array, the number corresponding to the same number may be used as the input number, for example, the number array is arranged according to the sequence of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, assuming that the currently input number is 2 and the number in the number array is 3, if the "add" key signal appears 2 times at this time, the sum after the addition does not exceed the maximum number of the number array after the judgment, so the number with the number of 5, that is, 4, may be used as the input number.
Alternatively, if the sum exceeds the maximum number of the digits in the array, i.e. the number of times the additional key appears exceeds the difference between the current digit and the last digit in the array, the most numbered digit may be taken as the input digit.
Illustratively, when the array is arranged by random numbers of 9, 2, 1, 4, 3, 5, 7, 6, 0, 8, assuming that the currently input number is 9, which is numbered 1, if the "add" key has appeared more than 10 times, for example 11 times, the 10 th digit 8 in the array is displayed in the current area.
S802: if the source of the third key input signal is a reduction key, calculating the difference between the number of the current input number in the selected area and the signal triggering frequency of the third key input signal, and determining the number of the input number in the selected area according to the difference between the number of the input number and the signal triggering frequency of the third key input signal.
Optionally, the decrement key may trigger an execution call instruction of "back one bit/left shift one bit" in the number array, and according to an arrangement order of the numbers in the number array from left to right and the numbers in the number array from small to large, the number of the number corresponding to "back one bit/left shift one bit" is decremented, and a display instruction of the number is triggered on the display unit, so that a change in the password number can be observed on the display unit.
Optionally, if the difference between the number of the currently input number in the selected area and the number of times of signal triggering of the third key input signal is greater than the minimum number in the number array, the number corresponding to the number with the same difference may be used as the input number, for example, the number array is arranged according to the sequence of 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, assuming that the currently input number is 7 and the number in the number array is 8, if the "minus" key signal appears 2 times at this time, the difference is smaller than the minimum number of the number array after judgment, and therefore, the number with the number of 6, that is, 7, may be used as the input number.
Alternatively, if the difference is less than the minimum number of the digits in the array, i.e., the number of occurrences of the minus key exceeds the difference between the current digit and the number of occurrences of the leading digit in the array, the least numbered digit may be used as the input digit.
Illustratively, when the array is arranged by random numbers of 9, 2, 1, 4, 3, 5, 7, 6, 0, 8, assuming that the currently input number is 3, its number is 5, if the "minus" key appears 11 times at this time, the 1 st digit 9 in the array is displayed in the current area.
Next, a description will be given of a procedure of calling the number array and the color array stored in the storage unit, and displaying the input number and the color corresponding to the editable state in the selected area, as shown in fig. 9, where the procedure includes:
s901: calling the digital array, reading the value of the target item from the digital array, and taking the value of the target item as an input number, wherein the number of the target item is the number of the input number.
Alternatively, the target entry may be an entry in a number array whose number satisfies the call instruction.
Optionally, the calling execution unit may call the number array, read a number corresponding to the designated indicated number from the number array, and use the number as an input number.
Illustratively, a call instruction in the array of numbers indicates that the number 4 needs to be read, assuming that the numbers in the array are arranged as: 4. 1, 2, 5, 8, 7, 9, 6, 3, 0, the number 5, numbered 4, can be determined as the input number.
S902: and calling the color array, and reading the color corresponding to the editable state from the color array.
Optionally, when the digital array triggers the instruction to call the number, the call execution unit may further trigger the instruction to call the color array according to the call result, and read the color corresponding to the editable state from the color array, for example, the foreground color of the input area in the editable state may be yellow, and when the number is not input yet in the editable state, a yellow cursor may be displayed first to remind the user that the selected area currently operated is in the editable state.
S903: and displaying the input number and the color corresponding to the editable state in the selected area of the display unit.
Optionally, the calling execution unit may call a number in the number array according to the number array call instruction and the color call instruction, call a color of the editable state in the color array, and display the input number and the color corresponding to the editable state in the selected area of the display unit according to the display instruction triggered at the same time.
For example, if the number called in the number array is 7, and the foreground color of the editable state called in the color array is yellow, the number 7 of the selected area changed from the yellow cursor to yellow in the editable state can be observed in the display unit.
In the embodiment of the application, the corresponding numbers and the colors corresponding to the editable states are called in the number array and the color array, so that a user can more intuitively recognize the position of the selected area and the input numbers in the current operation on the display unit, and the interactivity with the user is improved.
Next, the key signal analyzing unit is further described, and the key signal analyzing unit may further include a timer and a counter, where:
the signal duration is obtained based on the timer analysis, and the timer can be arranged in a key signal analysis unit of the instrument MCU and used for calculating the signal duration according to the time length of key triggering or pressing.
The counter may be disposed in a key signal analysis unit of the instrument MCU, and configured to count the number of occurrences of the signal from the same source.
The signal source is obtained based on the identification of the key input signal, for example, the key signal analysis unit may determine the signal source according to the key circuit, which may be, for example, as shown in fig. 10, the key 1 may be an "add" key, the key 2 represents a "power" key, and the key 3 represents a "subtract" key. The key 1, the key 2, and the key 3 are respectively connected to corresponding pins in the instrument MCU to obtain level changes at the pins of the key 1, the key 2, and the key 3, for example, when the corresponding pin is at a low level, it indicates that the key has been triggered or pressed, and the signal source may be determined according to the position of the pin, for example, when the pin at the key 1 is at a low level, it indicates that the "add" key has been triggered or pressed at this time.
In the embodiment of the application, the timer and the counter are arranged in the key analysis unit, whether pressing or triggering operation of a user is effective or not can be judged firstly, and then instruction execution is carried out according to the judged effective key input signal, so that the condition that password input is inaccurate due to false triggering of the user can be avoided, and the experience of the user is improved.
Based on the same inventive concept, the embodiment of the present application further provides an instrument display system corresponding to the method for controlling the starting of the instrument display system, and because the principle of solving the problem of the device in the embodiment of the present application is similar to the method for controlling the starting of the instrument display system in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and repeated details are omitted.
Referring to fig. 11, the schematic diagram of a meter display system provided in an embodiment of the present application includes a key unit 1101, a key signal analysis unit 1102, a call execution unit 1103, a storage unit 1104, and a display unit 1105, where the display unit 1105 includes an input area and a confirmation area, and the input area includes an unselected area and a selected area;
the key unit 1101 is configured to: sequentially receiving a first key input signal, a second key input signal, a third key input signal and a fourth key input signal;
the key signal analysis unit 1102 is configured to: analyzing the attribute of each key input signal in sequence, wherein the attribute of each key input signal comprises: the source of the signal, the number of signal triggers;
the call execution unit 1103 is configured to: determining a selected region of the plurality of input regions according to the attribute of the first key input signal, calling a color array stored in the storage unit 1104, and displaying corresponding colors on the selected region and unselected regions of the display unit 1105;
the call execution unit 1103 is further configured to: determining the state of the selected area according to the attribute of the second key input signal, wherein the state of the selected area comprises the following steps: an editable state or a locked state;
if the state of the selected area is an editable state, the calling execution unit 1103 determines the number of the input number in the selected area according to the attribute of the third key input signal, calls the number array and the color array stored in the storage unit 1104, and displays the input number and the color corresponding to the editable state in the selected area;
the call execution unit 1103 is further configured to: the currently received key input signal indicates to enter the confirmation area of the display unit 1105, combines the numbers input in the input area into an input password, calls the execution unit to compare the input password with a preset password, and if the comparison result is consistent, starts the instrument display system.
Optionally, the call execution unit 1103 is further configured to:
the source of the first key input signal is determined, if the source of the first key input signal is an add key or a subtract key, the selected region is determined according to the signal triggering times of the first key input signal, the color array stored in the storage unit 1104 is called, and corresponding colors are displayed in the selected region and the unselected region of the display unit 1105.
Optionally, the call execution unit 1103 is further configured to:
if the source of the first key input signal is the additional key, calculating the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal;
and if the source of the first key input signal is a reduction key, calculating the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal.
Optionally, the call execution unit 1103 is further configured to:
calling a color array, and reading a first color corresponding to the selected area and a second color corresponding to the unselected area from the color array;
the first color is displayed on the selected area of the display unit 1105 and the second color is displayed on the unselected area of the display unit 1105.
Optionally, the call execution unit 1103 is further configured to:
and judging the source of the third key input signal, if the source of the third key input signal is an additional key or a subtractive key, determining the number of the input number in the selected area according to the signal triggering times of the third key input signal, calling the number array and the color array stored in the storage unit 1104, and displaying the input number and the color corresponding to the editable state in the selected area.
Optionally, the call execution unit 1103 is further configured to:
if the source of the third key input signal is the additional key, calculating the sum of the number of the current input number in the selected area and the signal triggering times of the third key input signal, and determining the number of the input number in the selected area according to the sum of the number of the input number and the signal triggering times of the third key input signal;
and if the source of the third key input signal is a reduction key, calculating the difference between the number of the current input number in the selected area and the signal triggering frequency of the third key input signal, and determining the number of the input number in the selected area according to the difference between the number of the input number and the signal triggering frequency of the third key input signal.
Optionally, the call execution unit 1103 is further configured to:
calling a digital array, reading the value of a target item from the digital array, and taking the value of the target item as an input number, wherein the number of the target item is the number of the input number;
calling a color array, and reading a color corresponding to the editable state from the color array;
the input number and the color corresponding to the editable state are displayed in the selected area of the display unit 1105.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
In the embodiment of the application, the key unit receives the key signal firstly, the key signal analysis unit analyzes the signal, the calling execution unit calls the corresponding number array and color array in the storage unit, and finally the calling result is displayed on the display unit. Through setting up input area and affirmation region at the display element to each region is independent mutually, makes each password can both be independently input and modify, thereby has avoided the problem that need clear up whole passwords when the input password makes mistakes and input the password again, through the different colours of calling different states, can make things convenient for the user to discern the state of current operation region, has improved the convenience that the user used.
An embodiment of the present application further provides an electronic device, as shown in fig. 12, which is a schematic structural diagram of the electronic device provided in the embodiment of the present application, and the electronic device includes: a processor 1201, a memory 1202, and a bus. The memory 1202 stores machine-readable instructions (for example, execution instructions corresponding to the key unit, the key signal analysis unit, the call execution unit, the storage unit, and the display unit in fig. 11) executable by the processor 1201, when the computer device is running, the processor 1201 and the memory 1202 communicate via the bus, and the machine-readable instructions are executed by the processor 1201 to perform the process of the above-mentioned meter display system start control method.
The embodiment of the application also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the starting control method of the instrument display system are executed.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system and the apparatus described above may refer to the corresponding process in the method embodiment, and is not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (10)

1. A starting control method of an instrument display system is characterized in that the instrument display system is applied to an instrument display system of an electric power assisted vehicle, the instrument display system comprises a key unit, a key signal analysis unit, a calling execution unit, a storage unit and a display unit, the display unit comprises a plurality of input areas and confirmation areas, and the method comprises the following steps:
the key unit receives a first key input signal, a second key input signal, a third key input signal and a fourth key input signal in sequence;
the key signal analysis unit sequentially analyzes the attribute of each key input signal, wherein the attribute of each key input signal comprises: the source of the signal, the number of signal triggers;
the calling execution unit determines a selected area in the input areas according to the attribute of the first key input signal, calls the color array stored in the storage unit, and displays corresponding colors on the selected area and unselected areas of the display unit;
the calling execution unit determines the state of the selected area according to the attribute of the second key input signal, and the state of the selected area comprises: an editable state or a locked state;
if the state of the selected area is the editable state, the calling execution unit determines the number of the input number in the selected area according to the attribute of the third key input signal, calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area;
the calling execution unit changes the state of the selected area from an editable state to a locked state according to the fourth key input signal, calls the color array stored in the storage unit, and displays the color corresponding to the locked state on the selected area of the display unit;
and repeating the steps until the currently received key input signal indicates that the key input signal enters the confirmation area of the display unit, combining the numbers input in the input area into an input password, comparing the input password with a preset password by the calling execution unit, and starting the instrument display system if the comparison result is consistent.
2. The method according to claim 1, wherein the calling execution unit determines a selected region of the plurality of input regions according to an attribute of the first key input signal, calls the color array stored in the storage unit, and displays corresponding colors on the selected region and unselected regions of the display unit, including:
the calling execution unit judges the source of the first key input signal, if the source of the first key input signal is an additional key or a subtractive key, the selected area is determined according to the signal triggering times of the first key input signal, the color array stored in the storage unit is called, and corresponding colors are displayed in the selected area and the unselected area of the display unit.
3. The method of claim 2, wherein determining the selected region according to the number of signal triggers of the first key input signal comprises:
if the source of the first key input signal is the additional key, calculating the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal;
and if the source of the first key input signal is a reduction key, calculating the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal, and determining the selected area according to the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal.
4. The method according to claim 2, wherein the calling the color array stored in the storage unit and displaying the corresponding colors on the selected area and the unselected area of the display unit comprises:
calling the color array, and reading a first color corresponding to a selected area and a second color corresponding to an unselected area from the color array;
displaying the first color on the selected region of the display unit and displaying the second color on an unselected region of the display unit.
5. The method according to any one of claims 1 to 4, wherein the calling execution unit determines the number of the input number in the selected area according to the attribute of the third key input signal, and calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area, including:
the calling execution unit judges the source of the third key input signal, determines the number of the input number in the selected area according to the signal triggering times of the third key input signal if the source of the third key input signal is plus key or minus key, calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area.
6. The method according to claim 5, wherein said determining the number of the input number in the selected area according to the number of signal triggers of the third key input signal comprises:
if the source of the third key input signal is the additional key, calculating the sum of the number of the current input number of the selected area and the signal triggering times of the third key input signal, and determining the number of the input number in the selected area according to the sum of the number of the input number and the signal triggering times of the third key input signal;
and if the source of the third key input signal is a reduction key, calculating the difference between the number of the current input number of the selected area and the signal triggering frequency of the third key input signal, and determining the number of the input number in the selected area according to the difference between the number of the input number and the signal triggering frequency of the third key input signal.
7. The method according to claim 5, wherein the calling the number array and the color array stored in the storage unit, and displaying the input number and the color corresponding to the editable state in the selected area comprises:
calling the digital array, reading the value of a target item from the digital array, and taking the value of the target item as the input number, wherein the number of the target item is the number of the input number;
calling the color array, and reading the color corresponding to the editable state from the color array;
and displaying the input number and the color corresponding to the editable state in the selected area of the display unit.
8. The instrument display system is characterized by comprising a key unit, a key signal analysis unit, a calling execution unit, a storage unit and a display unit, wherein the display unit comprises a plurality of input areas and confirmation areas;
the key unit is used for: sequentially receiving a first key input signal, a second key input signal, a third key input signal and a fourth key input signal;
the key signal analysis unit is used for: analyzing the attribute of each key input signal in sequence, wherein the attribute of each key input signal comprises: the source of the signal, the number of signal triggers;
the call execution unit is used for: determining a selected area in the plurality of input areas according to the attribute of the first key input signal, calling a color array stored in the storage unit, and displaying corresponding colors on the selected area and unselected areas of the display unit;
the call execution unit is further configured to: determining the state of the selected area according to the attribute of the second key input signal, wherein the state of the selected area comprises: an editable state or a locked state;
if the state of the selected area is the editable state, the calling execution unit determines the number of the input number in the selected area according to the attribute of the third key input signal, calls the number array and the color array stored in the storage unit, and displays the input number and the color corresponding to the editable state in the selected area;
the call execution unit is further configured to: and the currently received key input signal indicates to enter a confirmation area of the display unit, the numbers input in the input area are combined into an input password, the input password is compared with a preset password by the calling execution unit, and if the comparison result is consistent, the instrument display system is started.
9. An electric power assisted vehicle, comprising: comprising the meter display system of claim 8.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the meter display system start control method according to any one of claims 1 to 7.
CN202210955229.5A 2022-08-10 2022-08-10 Method and system for controlling starting of instrument display system, electric bicycle and storage medium Active CN115328325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210955229.5A CN115328325B (en) 2022-08-10 2022-08-10 Method and system for controlling starting of instrument display system, electric bicycle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210955229.5A CN115328325B (en) 2022-08-10 2022-08-10 Method and system for controlling starting of instrument display system, electric bicycle and storage medium

Publications (2)

Publication Number Publication Date
CN115328325A true CN115328325A (en) 2022-11-11
CN115328325B CN115328325B (en) 2024-07-02

Family

ID=83921900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210955229.5A Active CN115328325B (en) 2022-08-10 2022-08-10 Method and system for controlling starting of instrument display system, electric bicycle and storage medium

Country Status (1)

Country Link
CN (1) CN115328325B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002025038A2 (en) * 2000-09-22 2002-03-28 Kim, Won-Chol Electronic locking apparatus and control method thereof
CN102831354A (en) * 2012-08-23 2012-12-19 屈国栋 Password input panel and password input control method
CN103991428A (en) * 2014-06-10 2014-08-20 陈万兴 Electric vehicle intelligent lock control system and control method thereof
CN107251105A (en) * 2014-10-19 2017-10-13 阿赫塔尔·哈利勒 Motor vehicle security protection and vehicle security system
US20220017042A1 (en) * 2020-07-14 2022-01-20 Nine Intelligent (Changzhou) Tech Co.,Ltd. Method, apparatus and device for activating vehicle, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002025038A2 (en) * 2000-09-22 2002-03-28 Kim, Won-Chol Electronic locking apparatus and control method thereof
CN102831354A (en) * 2012-08-23 2012-12-19 屈国栋 Password input panel and password input control method
CN103991428A (en) * 2014-06-10 2014-08-20 陈万兴 Electric vehicle intelligent lock control system and control method thereof
CN107251105A (en) * 2014-10-19 2017-10-13 阿赫塔尔·哈利勒 Motor vehicle security protection and vehicle security system
US20220017042A1 (en) * 2020-07-14 2022-01-20 Nine Intelligent (Changzhou) Tech Co.,Ltd. Method, apparatus and device for activating vehicle, and storage medium

Also Published As

Publication number Publication date
CN115328325B (en) 2024-07-02

Similar Documents

Publication Publication Date Title
CN106406904B (en) Information processing method, electronic equipment and information processing device
US10721196B2 (en) Method and device for message reading
EP3185160B1 (en) Screen unlocking method and apparatus, terminal
WO2022068723A1 (en) Payment interface display method and apparatus, and electronic device
CN106326711A (en) Mobile terminal control method and device
CN105335686B (en) Electronic device with fingerprint sensing function and calling method of application program thereof
KR20150048087A (en) Method for unlocking electronic device, and apparatus therefor
US9703479B2 (en) Input method and device using same
CN105825114B (en) Mobile terminal unlocking method and mobile terminal
TW201732679A (en) Information image display method and apparatus
CN106020637A (en) An application start method and a mobile terminal
CN111414115A (en) Key control method, computer readable storage medium and terminal thereof
CN112286378A (en) Electronic equipment control method and electronic equipment
WO2014207553A2 (en) Method and device for performing a lock operation on a screen of a touch screen device
CN105022528A (en) Mobile terminal provided with assistant touch screen and assistant display screen and control method for mobile terminal
CN112733106A (en) Screen unlocking method and device, storage medium and electronic equipment
CN113254921A (en) Vehicle starting method and device and storage medium
CN115328325A (en) Starting control method and system for instrument display system, electric power assisted vehicle and storage medium
CN107621967A (en) The implementation method and device of a kind of system user interface
KR101949440B1 (en) Apparatus and method recognizing user pattern in terminal
WO2023083090A1 (en) Information display method and apparatus, electronic device, and readable storage medium
CN108089810B (en) Key unlocking method and touch display terminal
CN107958146B (en) Fingerprint verification method and device, storage medium and electronic equipment
CN111124701B (en) Message processing method, device and terminal
WO2018201767A1 (en) Operating method for entering guest mode and mobile terminal

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
GR01 Patent grant