CN115328325B - Method and system for controlling starting of instrument display system, electric bicycle and storage medium - Google Patents
Method and system for controlling starting of instrument display system, electric bicycle and storage medium Download PDFInfo
- Publication number
- CN115328325B CN115328325B CN202210955229.5A CN202210955229A CN115328325B CN 115328325 B CN115328325 B CN 115328325B CN 202210955229 A CN202210955229 A CN 202210955229A CN 115328325 B CN115328325 B CN 115328325B
- Authority
- CN
- China
- Prior art keywords
- key
- selected area
- input signal
- key input
- signal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 239000003086 colorant Substances 0.000 claims abstract description 30
- 238000012790 confirmation Methods 0.000 claims abstract description 23
- 238000004458 analytical method Methods 0.000 claims description 27
- 230000001960 triggered effect Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 abstract description 2
- 238000012986 modification Methods 0.000 abstract description 2
- 230000008859 change Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002715 modification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction 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
Description
技术领域Technical Field
本申请涉及电助力车技术领域,具体而言,涉及一种仪表显示系统启动控制方法、系统、电助力车及存储介质。The present application relates to the technical field of electric assisted vehicles, and in particular to an instrument display system startup control method, system, electric assisted vehicle and storage medium.
背景技术Background technique
电助力车是一种普及率很高的交通工具,由于电助力车的仪表显示系统和开锁装置大都暴露在车体外部,因此电助力车的安全隐私问题也成为了人们关心的重点。Electric assisted bicycles are a widely used means of transportation. Since the instrument display system and unlocking device of electric assisted bicycles are mostly exposed on the outside of the vehicle body, the safety and privacy issues of electric assisted bicycles have also become a focus of people's concern.
目前的电助力车及仪表显示系统的开关大部分还是通过单独的钥匙实现,也出现了采用密码启动电助力车仪表装置的技术。Currently, most of the switches of electric assisted bicycles and instrument display systems are still realized by separate keys, and there is also a technology that uses a password to start the instrument device of the electric assisted bicycle.
但是目前的技术实现中,钥匙容易丢失,他人很容易轻易开启查看车辆的行车信息,在一定程度上降低了车辆防盗性能或者车主的安全隐私性,另外,在现有密码启动仪表显示系统的技术中,一旦输入密码出错,就需删除全部的密码后再重新输入密码,也会给车主带来不便。However, in the current technical implementation, the key is easy to lose, and it is easy for others to open the vehicle and view the driving information of the vehicle, which to a certain extent reduces the vehicle's anti-theft performance or the safety and privacy of the owner. In addition, in the existing technology of password-activated instrument display system, once the password is entered incorrectly, all passwords need to be deleted and then re-entered, which will also cause inconvenience to the owner.
发明内容Summary of the invention
本申请的目的在于,针对上述现有技术中的不足,提供一种仪表显示系统启动控制方法、系统、电助力车及存储介质,以解决现有技术中密码修改方法造成的便捷性差的问题。The purpose of the present application is to provide an instrument display system startup control method, system, electric assisted vehicle and storage medium to address the shortcomings of the above-mentioned prior art, so as to solve the problem of poor convenience caused by the password modification method in the prior art.
为实现上述目的,本申请实施例采用的技术方案如下:To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
第一方面,本申请一实施例提供了一种仪表显示系统启动控制方法,应用于电助力车的仪表显示系统,所述仪表显示系统包括按键单元、按键信号分析单元、调用执行单元、存储单元以及显示单元,所述显示单元包括输入区域和确认区域,所述输入区域包括未选中区域和选中区域,所述方法包括:In a first aspect, an embodiment of the present application provides an instrument display system startup control method, which is applied to an instrument display system of an electric power-assisted bicycle, wherein the instrument display system includes a key unit, a key signal analysis unit, a call execution unit, a storage unit, and a display unit, wherein the display unit includes an input area and a confirmation area, wherein the input area includes an unselected area and a selected area, and the method includes:
所述按键单元依次接收第一按键输入信号、第二按键输入信号、第三按键输入信号以及第四按键输入信号;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;
所述按键信号分析单元依次分析各按键输入信号的属性,其中,各按键输入信号的属性包括:信号的来源、信号触发次数;The key signal analysis unit analyzes the attributes of each key input signal in sequence, wherein the attributes of each key input signal include: the source of the signal, the number of times the signal is triggered;
所述调用执行单元根据所述第一按键输入信号的属性,确定所述多个输入区域中的选中区域,并调用所述存储单元中存储的颜色数组,在所述显示单元的所述选中区域以及未选中区域上显示对应的颜色;The calling execution unit determines a selected area among the multiple input areas according to the attribute of the first key input signal, and calls the color array stored in the storage unit to display 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 includes: editable state or 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, and calls the number array and color array stored in the storage unit to display 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 the editable state to the locked state according to the fourth key input signal, and calls the color array stored in the storage unit to display the color corresponding to the locked state on the selected area of the display unit;
重复上述步骤,直至当前接收的按键输入信号指示进入所述显示单元的确认区域,将所述输入区域中已输入的数字组合为输入密码,所述调用执行单元将所述输入密码与预设密码进行比较,若比较结果一致,则启动所述仪表显示系统。Repeat the above steps until the currently received key input signal indicates entering the confirmation area of the display unit, combine the numbers entered in the input area into an input password, and the calling execution unit compares the input password with the preset password. If the comparison result is consistent, the instrument display system is started.
可选的,所述调用执行单元根据所述第一按键输入信号的属性,确定所述多个输入区域中的选中区域,并调用所述存储单元中存储的颜色数组,在所述显示单元的所述选中区域以及未选中区域上显示对应的第一颜色,包括:Optionally, the calling execution unit determines a selected area among the multiple input areas according to an attribute of the first key input signal, and calls a color array stored in the storage unit to display a corresponding first color on the selected area and an unselected area of the display unit, including:
所述调用执行单元判断所述第一按键输入信号的来源,若所述第一按键输入信号的来源为加键或减键,则根据所述第一按键输入信号的信号触发次数,确定所述选中区域,并调用所述存储单元中存储的颜色数组,在所述显示单元的所述选中区域以及未选中区域上显示对应的第一颜色。The calling execution unit determines the source of the first key input signal. If the source of the first key input signal is the plus key or the minus key, the selected area is determined according to the number of signal triggering of the first key input signal, and the color array stored in the storage unit is called to display the corresponding first color on the selected area and the unselected area of the display unit.
可选的,所述根据所述第一按键输入信号的信号触发次数,确定所述选中区域,包括:Optionally, determining the selected area according to the number of signal triggering times of the first key input signal includes:
若所述第一按键输入信号的来源为加键,则计算当前已选中区域的序号与所述第一按键输入信号的信号触发次数的和,根据当前已选中区域的序号与所述第一按键输入信号的信号触发次数的和确定所述选中区域;If the source of the first key input signal is the add key, then calculating the sum of the sequence number of the currently selected area and the number of signal triggering times of the first key input signal, and determining the selected area according to the sum of the sequence number of the currently selected area and the number of signal triggering times of the first key input signal;
若所述第一按键输入信号的来源为减键,则计算当前已选中区域的序号与所述第一按键输入信号的信号触发次数的差,根据当前已选中区域的序号与所述第一按键输入信号的信号触发次数的差确定所述选中区域。If the source of the first key input signal is the minus key, the difference between the serial number of the currently selected area and the number of signal triggering times of the first key input signal is calculated, and the selected area is determined based on the difference between the serial number of the currently selected area and the number of signal triggering times of the first key input signal.
可选的,所述调用所述存储单元中存储的颜色数组,在所述显示单元的所述选中区域以及未选中区域上显示对应的颜色,包括:Optionally, calling the color array stored in the storage unit to display 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;
在所述显示单元的所述选中区域上显示所述第一颜色,并在所述显示单元的未选中区域上显示所述第二颜色。The first color is displayed on the selected area of the display unit, and the second color is displayed on the unselected area of the display unit.
可选的,所述调用执行单元根据所述第三按键输入信号的属性,确定所述选中区域中的输入数字的编号,并调用所述存储单元中存储的数字数组和颜色数组,在所述选中区域显示所述输入数字以及所述可编辑状态对应的颜色,包括:Optionally, 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 color array stored in the storage unit to display the input number and the color corresponding to the editable state in the selected area, including:
所述调用执行单元判断所述第三按键输入信号的来源,若所述第三按键输入信号的来源为加键或减键,则根据所述第三按键输入信号的信号触发次数,确定所述选中区域中的输入数字的编号,并调用所述存储单元中存储的数字数组和颜色数组,在所述选中区域显示所述输入数字以及所述可编辑状态对应的颜色。The calling execution unit determines the source of the third key input signal. If the source of the third key input signal is the plus key or the minus key, the number of the input number in the selected area is determined according to the number of signal triggering of the third key input signal, and the number array and color array stored in the storage unit are called to display the input number and the color corresponding to the editable state in the selected area.
可选的,所述根据所述第三按键输入信号的信号触发次数,确定所述选中区域中的输入数字的编号,包括:Optionally, determining the number of input digits in the selected area according to the number of signal triggering of the third key input signal includes:
若所述第三按键输入信号的来源为加键,则计算所述选中区域的当前输入数字的编号与所述第三按键输入信号的信号触发次数的和,根据输入数字的编号与所述第三按键输入信号的信号触发次数的和确定所述选中区域中的输入数字的编号;If the source of the third key input signal is the plus key, then the sum of the number of the current input number in the selected area and the number of signal triggering times of the third key input signal is calculated, and the number of the input number in the selected area is determined according to the sum of the number of the input number and the number of signal triggering times of the third key input signal;
若所述第三按键输入信号的来源为减键,则计算所述选中区域的当前输入数字的编号与所述第三按键输入信号的信号触发次数的差,根据输入数字的编号与所述第三按键输入信号的信号触发次数的差确定所述选中区域中的输入数字的编号。If the source of the third key input signal is the minus key, the difference between the number of the current input number in the selected area and the number of signal triggering times of the third key input signal is calculated, and the number of the input number in the selected area is determined based on the difference between the number of the input number and the number of signal triggering times of the third key input signal.
可选的,所述调用所述存储单元中存储的数字数组和颜色数组,在所述选中区域显示所述输入数字以及所述可编辑状态对应的颜色,包括:Optionally, calling the number array and color array stored in the storage unit to display the input number and the color corresponding to the editable state in the selected area includes:
调用所述数字数组,从所述数字数组中读取目标项的值,将所述目标项的值作为所述输入数字,其中,所述目标项的编号为所述输入数字的编号;Calling the digital array, reading the value of the target item from the digital array, and using the value of the target item as the input number, wherein the number of the target item is the number of the input number;
调用所述颜色数组,从所述颜色数组中读取所述可编辑状态对应的颜色;Call the color array, and read the color corresponding to the editable state from the color array;
在所述显示单元的所述选中区域显示所述输入数字以及所述可编辑状态对应的颜色。The input number and a color corresponding to the editable state are displayed in the selected area of the display unit.
第二方面,本申请另一实施例提供了一种仪表显示系统,所述仪表显示系统包括按键单元、按键信号分析单元、调用执行单元、存储单元以及显示单元,所述显示单元包括多个输入区域和确认区域;In a second aspect, another embodiment of the present application provides an instrument display system, 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 a plurality of input areas and a confirmation area;
所述按键单元用于:依次接收第一按键输入信号、第二按键输入信号、第三按键输入信号以及第四按键输入信号;The key unit is used to: sequentially receive 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 to analyze the properties of each key input signal in turn, wherein the properties of each key input signal include: the source of the signal and the number of times the signal is triggered;
所述调用执行单元用于:根据所述第一按键输入信号的属性,确定所述多个输入区域中的选中区域,并调用所述存储单元中存储的颜色数组,在所述显示单元的所述选中区域以及未选中区域上显示对应的颜色;The calling execution unit is used to: determine a selected area among the multiple input areas according to the attribute of the first key input signal, and call the color array stored in the storage unit to display corresponding colors on the selected area and the unselected area of the display unit;
所述调用执行单元还用于:根据所述第二按键输入信号的属性,确定所述选中区域的状态,所述选中区域的状态包括:可编辑状态或锁定状态;The calling execution unit is further used to: determine the state of the selected area according to the attribute of the second key input signal, and the state of the selected area includes: editable state or 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, and calls the number array and color array stored in the storage unit to display the input number and the color corresponding to the editable state in the selected area;
所述调用执行单元还用于:当前接收的按键输入信号指示进入所述显示单元的确认区域,将所述输入区域中已输入的数字组合为输入密码,所述调用执行单元将所述输入密码与预设密码进行比较,若比较结果一致,则启动所述仪表显示系统。The calling execution unit is also used for: the currently received key input signal indicates entering the confirmation area of the display unit, combining the numbers entered in the input area into an input password, and the calling execution unit compares the input password with a preset password. If the comparison result is consistent, the instrument display system is started.
可选的,所述调用执行单元还用于:Optionally, the calling execution unit is further used for:
判断所述第一按键输入信号的来源,若所述第一按键输入信号的来源为加键或减键,则根据所述第一按键输入信号的信号触发次数,确定所述选中区域,并调用所述存储单元中存储的颜色数组,在所述显示单元的所述选中区域以及未选中区域上显示对应的颜色。Determine the source of the first key input signal. If the source of the first key input signal is the plus key or the minus key, determine the selected area according to the number of signal triggering of the first key input signal, call the color array stored in the storage unit, and display the corresponding colors on the selected area and the unselected area of the display unit.
可选的,所述调用执行单元还用于:Optionally, the calling execution unit is further used for:
若所述第一按键输入信号的来源为加键,则计算当前已选中区域的序号与所述第一按键输入信号的信号触发次数的和,根据当前已选中区域的序号与所述第一按键输入信号的信号触发次数的和确定所述选中区域;If the source of the first key input signal is the add key, then calculating the sum of the sequence number of the currently selected area and the number of signal triggering times of the first key input signal, and determining the selected area according to the sum of the sequence number of the currently selected area and the number of signal triggering times of the first key input signal;
若所述第一按键输入信号的来源为减键,则计算当前已选中区域的序号与所述第一按键输入信号的信号触发次数的差,根据当前已选中区域的序号与所述第一按键输入信号的信号触发次数的差确定所述选中区域。If the source of the first key input signal is the minus key, the difference between the serial number of the currently selected area and the number of signal triggering times of the first key input signal is calculated, and the selected area is determined based on the difference between the serial number of the currently selected area and the number of signal triggering times of the first key input signal.
可选的,所述调用执行单元还用于:Optionally, the calling execution unit is further used for:
调用所述颜色数组,从所述颜色数组中读取选中区域对应的第一颜色以及未选中区域对应的第二颜色;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;
在所述显示单元的所述选中区域上显示所述第一颜色,并在所述显示单元的未选中区域上显示所述第二颜色。The first color is displayed on the selected area of the display unit, and the second color is displayed on the unselected area of the display unit.
可选的,所述调用执行单元还用于:Optionally, the calling execution unit is further used for:
判断所述第三按键输入信号的来源,若所述第三按键输入信号的来源为加键或减键,则根据所述第三按键输入信号的信号触发次数,确定所述选中区域中的输入数字的编号,并调用所述存储单元中存储的数字数组和颜色数组,在所述选中区域显示所述输入数字以及所述可编辑状态对应的颜色。Determine the source of the third key input signal. If the source of the third key input signal is the plus key or the minus key, determine the number of the input number in the selected area according to the number of signal triggering of the third key input signal, and call the number array and color array stored in the storage unit to display the input number and the color corresponding to the editable state in the selected area.
可选的,所述调用执行单元还用于:Optionally, the calling execution unit is further used for:
若所述第三按键输入信号的来源为加键,则计算所述选中区域的当前输入数字的编号与所述第三按键输入信号的信号触发次数的和,根据输入数字的编号与所述第三按键输入信号的信号触发次数的和确定所述选中区域中的输入数字的编号;If the source of the third key input signal is the plus key, then the sum of the number of the current input number in the selected area and the number of signal triggering times of the third key input signal is calculated, and the number of the input number in the selected area is determined according to the sum of the number of the input number and the number of signal triggering times of the third key input signal;
若所述第三按键输入信号的来源为减键,则计算所述选中区域的当前输入数字的编号与所述第三按键输入信号的信号触发次数的差,根据输入数字的编号与所述第三按键输入信号的信号触发次数的差确定所述选中区域中的输入数字的编号。If the source of the third key input signal is the minus key, the difference between the number of the current input number in the selected area and the number of signal triggering times of the third key input signal is calculated, and the number of the input number in the selected area is determined based on the difference between the number of the input number and the number of signal triggering times of the third key input signal.
可选的,所述调用执行单元还用于:Optionally, the calling execution unit is further used for:
调用所述数字数组,从所述数字数组中读取目标项的值,将所述目标项的值作为所述输入数字,其中,所述目标项的编号为所述输入数字的编号;Calling the digital array, reading the value of the target item from the digital array, and using the value of the target item as the input number, wherein the number of the target item is the number of the input number;
调用所述颜色数组,从所述颜色数组中读取所述可编辑状态对应的颜色;Call the color array, and read the color corresponding to the editable state from the color array;
在所述显示单元的所述选中区域显示所述输入数字以及所述可编辑状态对应的颜色。The input number and a color corresponding to the editable state are displayed in the selected area of the display unit.
第三方面,本申请另一实施例提供了一种电助力车,所述电助力车包括上述第二方面所述的仪表显示系统。In a third aspect, another embodiment of the present application provides an electric assisted vehicle, which includes the instrument display system described in 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. When the computer program is executed by a processor, the steps of the above-mentioned instrument display system startup control method are executed.
本申请的有益效果是:The beneficial effects of this application are:
本申请实施例中,按键单元依次接收按键输入信号,确定选中区域,将选中区域的状态更改为可编辑状态,在可编辑状态下输入数字后,将选中区域的可编辑状态改为锁定状态,完成一位数字输入或修改后,重复上述过程直至输入所有数字,通过确认区域进入密码比对阶段,密码一致时实现系统启动。在显示单元设置多个输入区域和确认区域,输入区域在选中模式和未选中模式下设置不同的颜色,选中模式下区域的状态包括可编辑状态和锁定状态,且不同状态下的显示颜色也不同,从而实现各输入区域的状态和模式互相独立,使得每一位密码都能单独输入和修改,从而避免输入密码出错时需要清空全部密码再重新输入密码的问题。In the embodiment of the present application, the key unit receives key input signals in sequence, determines the selected area, changes the state of the selected area to an editable state, and after entering a number in the editable state, changes the editable state of the selected area to a locked state. After completing the input or modification of a digit, repeat the above process until all numbers are entered, and enter the password comparison stage through the confirmation area. When the passwords are consistent, the system is started. A plurality of input areas and confirmation areas are set on the display unit, and the input areas are set to different colors in the selected mode and the unselected mode. The state of the area in the selected mode includes an editable state and a locked state, and the display colors in different states are also different, so that the state and mode of each input area are independent of each other, so that each password can be entered and modified separately, thereby avoiding the problem of clearing all passwords and re-entering the password when an error is entered in the password.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
图1示出了本申请实施例提供的一种仪表显示系统的结构示意图;FIG1 shows a schematic diagram of the structure of an instrument display system provided in an embodiment of the present application;
图2示出了本申请实施例提供的一种仪表显示系统启动控制方法的流程图;FIG2 shows a flow chart of a method for starting and controlling an instrument display system provided in an embodiment of the present application;
图3示出了本申请实施例提供的一种显示单元的示意图;FIG3 shows a schematic diagram of a display unit provided in an embodiment of the present application;
图4示出了本申请实施例提供的一种按键单元的结构图;FIG4 shows a structural diagram of a key unit provided in an embodiment of the present application;
图5示出了本申请实施例提供的又一种仪表显示系统启动控制方法的流程图;FIG5 shows a flow chart of another instrument display system startup control method provided by an embodiment of the present application;
图6示出了本申请实施例提供的一种确定选中区域的流程图;FIG6 shows a flow chart of determining a selected area provided by an embodiment of the present application;
图7示出了本申请实施例提供的一种显示区域颜色的流程示意图;FIG. 7 is a schematic diagram showing a flow chart of a display area color according to an embodiment of the present application;
图8示出了本申请实施例提供的一种确定输入数字的流程示意图;FIG8 is a schematic diagram showing a process of determining an input number provided in an embodiment of the present application;
图9示出了本申请实施例提供的一种确定选中区域显示数字和颜色的流程示意图;FIG9 is a schematic diagram showing a flow chart of determining a displayed number and color of a selected area provided in an embodiment of the present application;
图10示出了本申请实施例提供的一种按键电路的结构图;FIG10 shows a structural diagram of a key circuit provided in an embodiment of the present application;
图11示出了本申请实施例提供的一种仪表显示系统的框架示意图;FIG11 shows a schematic diagram of a framework of an instrument display system provided in an embodiment of the present application;
图12示出了本申请实施例提供的一种电子设备的结构示意图。FIG. 12 shows a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,应当理解,本申请中附图仅起到说明和描述的目的,并不用于限定本申请的保护范围。另外,应当理解,示意性的附图并未按实物比例绘制。本申请中使用的流程图示出了根据本申请的一些实施例实现的操作。应该理解,流程图的操作可以不按顺序实现,没有逻辑的上下文关系的步骤可以反转顺序或者同时实施。此外,本领域技术人员在本申请内容的指引下,可以向流程图添加一个或多个其他操作,也可以从流程图中移除一个或多个操作。To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, 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, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
需要说明的是,本申请实施例中将会用到术语“包括”,用于指出其后所声明的特征的存在,但并不排除增加其它的特征。It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
目前的电助力车及仪表显示系统虽然已经出现了采用密码进行启动的方法,但是现有的密码解锁方法中密码输入区域是一体的,不能单独对其中一位数字进行修改,因此对用户输入密码要求较高,用户只有一次性输入正确密码才能实现系统的启动和电助力车的解锁,然而,当用户输入密码时输错了其中一位数字,就需要删除全部的密码后再重新输入密码,因此大大降低了用户启动系统的便捷性。Although the current electric assisted bicycle and instrument display system have adopted the method of starting with a password, the password input area is integrated in the existing password unlocking method, and one digit cannot be modified separately. Therefore, the user has high requirements for entering the password. The user can only start the system and unlock the electric assisted bicycle by entering the correct password once. However, when the user enters one of the digits incorrectly when entering the password, it is necessary to delete the entire password and then re-enter the password, which greatly reduces the convenience of the user starting the system.
基于上述问题,本申请提出一种仪表显示系统启动控制方法,应用于电助力车的仪表显示系统,如图1所示,仪表显示系统包括按键装置101、仪表装置102以及控制器103,其中按键装置101包括按键单元和按键电路,仪表装置102包括第一供电电路、第二供电电路、开机电路、仪表显示单元以及仪表微控制单元(Microcontroller Unit;简称MCU),控制器103包括控制器微控制单元以及第三供电电路,其中,开机电路分别与第一供电电路、第二供电电路、第三供电电路以及MCU相连,第一供电电路与仪表显示单元相连,第二供电电路与按键电路相连,第三供电电路与控制器MCU相连,用于在仪表开机后分别为屏幕、按键、控制器、仪表MCU供电,仪表MCU和控制器MCU通过通信接口相连,控制器MCU接收仪表MCU发送的仪表密码成功输入的通信消息后,控制电助力车开锁启动。Based on the above problems, the present application proposes a method for starting and controlling an instrument display system, which is applied to an instrument display system of an electric power-assisted bicycle. As shown in FIG1 , the instrument display system includes a button device 101, an instrument device 102 and a controller 103, wherein the button device 101 includes a button unit and a button 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 microcontroller unit (Microcontroller Unit; MCU for short), and the controller 103 includes a controller microcontroller unit and a third power supply circuit, wherein 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 button circuit, and the third power supply circuit is connected to the controller MCU, and is used to respectively power the screen, the button, the controller and the instrument MCU after the instrument is turned on, the instrument MCU and the controller MCU are connected via a communication interface, and after the controller MCU receives a communication message sent by the instrument MCU indicating that the instrument password is successfully entered, it controls the electric power-assisted bicycle to unlock and start.
按键信号分析单元、调用执行单元以及存储单元可以设置在上述仪表显示系统的仪表MCU中,按键单元接收按键信号,由按键信号分析单元对信号进行分析,并由调用执行单元在存储单元中调用对应的数组,最终在显示单元上显示调用结果。通过为密码输入区域设置输入区域和确认区域,并对输入区域的选中区域设置可编辑状态和锁定状态,使按键信号在不同区域及状态下触发不同的按键指令,并且各区域互相独立,使得每一位密码都能单独输入和修改,从而避免了在输入密码出错时需要清空全部密码再重新输入密码的问题。The key signal analysis unit, the call execution unit and the storage unit can be set in the instrument MCU of the above-mentioned instrument display system. The key unit receives the key signal, the key signal analysis unit analyzes the signal, and the call execution unit calls the corresponding array in the storage unit, and finally displays the call result on the display unit. By setting the input area and the confirmation area for the password input area, and setting the editable state and the locked state for the selected area of the input area, the key signal triggers different key instructions in different areas and states, and each area is independent of each other, so that each password can be entered and modified separately, thereby avoiding the problem of clearing all passwords and re-entering the password when an error is made in entering the password.
接下来对上述仪表显示系统启动控制方法进行说明,该方法可以应用于电助力车的仪表显示系统,如图2所示,该方法包括:Next, the above-mentioned instrument display system startup control method is described. The method can be applied to the instrument display system of an electric power-assisted bicycle. As shown in FIG2 , the method includes:
S201:按键单元依次接收第一按键输入信号、第二按键输入信号、第三按键输入信号以及第四按键输入信号。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 arranged on a key device built into the instrument, and the user triggers each key to generate a corresponding key signal by pressing the key unit. The key input signal may be a key signal generated by the user pressing and received by the key unit.
可选的,仪表显示系统可以包括多个按键单元,用户通过按压不同的按键单元可以触发每个按键单元对应的按键输入信号。Optionally, the instrument display system may include multiple key units, and the user may trigger a key input signal corresponding to each key unit by pressing different key units.
可选的,按键输入信号中可以包括其对应的按键单元的标识,仪表显示系统接收到按键输入信号后,可以通过按键单元对应的标识识别按键信号的来源。Optionally, the key input signal may include an identifier of the corresponding key unit. After receiving the key input signal, the instrument display system may identify the source of the key signal through the identifier corresponding to the key unit.
示例性的,按键单元例如可以如图3所示,包括三个按键,从左到右分别是“加”键、“电源”键和“减”键,对应的按键信号就可以有三种,即“加”键对应的按键信号、“电源”键对应的按键信号和“减”键对应的按键信号。Exemplarily, the key unit can be as shown in Figure 3, including three keys, namely, a "plus" key, a "power" key and a "minus" key from left to right, and there can be three corresponding key signals, namely, a key signal corresponding to the "plus" key, a key signal corresponding to the "power" key, and a key signal corresponding to the "minus" key.
可选的,按键单元依次接收用户通过按键单元输入的第一按键输入信号、第二按键输入信号、第三按键输入信号以及第四按键输入信号,第一按键输入信号和第三按键输入信号例如可以通过图3中的“加”键或“减”键触发,其中第一按键输入信号可以用于确定选中区域,第三按键输入信号可以用于确定选中区域的显示数字和显示单元的颜色,第二按键输入信号和第四按键输入信号例如可以通过图3中的“电源”键触发,用于改变选中区域的状态。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 input by the user through the key unit, and the first key input signal and the third key input signal can be triggered by, for example, the "plus" key or the "minus" key in Figure 3, wherein the first key input signal can be used to determine the selected area, the third key input signal can be used to determine the display number of the selected area and the color of the display unit, and the second key input signal and the fourth key input signal can be triggered by, for example, the "power" key in Figure 3 to change the state of the selected area.
S202:按键信号分析单元依次分析各按键输入信号的属性,其中,各按键输入信号的属性包括:信号的来源、信号触发次数。S202: The key signal analysis unit analyzes the attributes of each key input signal in sequence, wherein the attributes of each key input signal include: the source of the signal and the number of times the signal is triggered.
可选的,按键信号分析单元可以用于分析按键信号的属性,从而识别用户对各按键进行的触发操作。Optionally, the key signal analysis unit may be used to analyze properties of the key signal, thereby identifying the triggering operation performed by the user on each key.
可选的,信号出现的次数可以是相同来源的按键输入信号出现的次数,信号的来源可以指示输入信号对应的按键单元。Optionally, the number of times the signal appears may be the number of times key input signals from the same source appear, and the source of the signal may indicate the key unit corresponding to the input signal.
可选的,按键输入信号的属性还可以包括信号持续时间,信号持续时间可以是根据按键触发或者按下的时间长短,将其划分为“长按”、“短按”、“连续双击”、“无效”,输入密码仅在“短按”按键时有效;示例性的,当按下时长<20ms时可以视为无效操作,当20ms<按下时长<300ms时可以视为短按操作,当按下时长>1s可以视为长按操作,长按操作例如可以作为开机操作。Optionally, the attributes of the key input signal may also include signal duration. The signal duration can be divided into "long press", "short press", "continuous double click", and "invalid" according to the length of time the key is triggered or pressed. The password input is only valid when the key is "short pressed". For example, when the pressing time is <20ms, it can be regarded as an invalid operation, when 20ms<pressing time<300ms, it can be regarded as a short press operation, and when the pressing time is >1s, it can be regarded as a long press operation. The long press operation can be used as a power-on operation, for example.
S203:调用执行单元根据第一按键输入信号的属性,确定多个输入区域中的选中区域,并调用存储单元中存储的颜色数组,在显示单元的选中区域以及未选中区域上显示对应的颜色。S203: calling the execution unit to determine the selected area among the multiple input areas according to the attribute of the first key input signal, and calling the color array stored in the storage unit to display corresponding colors on the selected area and the unselected area of the display unit.
可选的,显示单元可以是密码输入界面,显示单元中可以包括多个密码输入区域,示例性的,显示单元的界面可以如图3所示,密码输入区域分别为:区域1、区域2、区域3以及区域4,区域5为确认区域。Optionally, the display unit may be a password input interface, and the display unit may include multiple password input areas. Exemplarily, the interface of the display unit may be as shown in FIG. 3 , and 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, wherein the foreground color and the background color of the selected area may be yellow and white, respectively, and the foreground color and the background color of the unselected area may be blue and black, respectively. This is just an example, and the specific color setting is not limited in this application.
示例性的,调用执行单元根据第一按键输入信号的属性确定选中区域为区域1后,可以将区域1的前景色和背景色分别设置为黑色和白色,并将区域2、区域3、区域4的前景色和背景色设置为蓝色和灰色,通过对选中区域和未选中区域设置不同的颜色,可以使用户更方便的辨认当前的选中区域,从而提高用户操作的便捷性。Exemplarily, after calling the execution unit to determine that the selected area is area 1 based on the attributes of the first key input signal, the foreground color and background color of area 1 can be set to black and white, respectively, and the foreground color and background color of area 2, area 3, and area 4 can be set to blue and gray. By setting different colors for the selected area and the unselected area, the user can more easily identify the currently selected area, thereby improving the convenience of 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 the user inputs or modifies numbers, and the unselected area may be an area where the user has completed input or has not yet input. The user can use the key unit to determine any input area as a selected area. When the area is a selected area, other areas automatically become unselected areas.
S204:调用执行单元根据第二按键输入信号的属性,确定选中区域的状态,选中区域的状态包括:可编辑状态或锁定状态;S204: calling the execution unit to determine the state of the selected area according to the attribute of the second key input signal, where the state of the selected area includes: editable state or locked state;
可选的,选中区域默认的初始状态可以为锁定状态,用户通过按键单元输入第二按键输入信号后,调用执行单元可以根据第二按键输入信号的属性,将锁定状态更改为可编辑状态。Optionally, the default initial state of the selected area may be a locked state. After the user inputs a second key input signal through the key unit, the execution unit may be called to change the locked state to an editable state according to the attribute of the second key input signal.
可选的,选中区域的状态可以包括可编辑状态和锁定状态,其中可编辑状态下用户可以改变显示区域中的输入数字,锁定状态下用户无法改变显示区域中的输入数字,并且可编辑状态和锁定状态可以显示为不同的颜色。Optionally, the state of the selected area may include an editable state and a locked state, wherein in the editable state the user can change the input number in the display area, and in the locked state the user cannot change the input number in the display area, and the editable state and the locked state may be displayed in different colors.
S205:若选中区域的状态为可编辑状态,调用执行单元根据第三按键输入信号的属性,确定选中区域中的输入数字的编号,并调用存储单元中存储的数字数组和颜色数组,在选中区域显示输入数字以及可编辑状态对应的颜色。S205: If the state of the selected area is an editable state, the execution unit is called to determine the number of the input number in the selected area according to the attribute of the third key input signal, and the number array and color array stored in the storage unit are called to display 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 can continue to input a third key input signal through the key unit, and call the execution unit according to the attribute of the third key input signal. In the editable state of the selected area, the number of the input number in the selected area can be determined, and the number array and color array stored in the storage unit can be called to display the input number and the color corresponding to the editable state in the selected area.
可选的,存储单元中可以存储数字数组,其中,数字数组中数字的存储可以是顺序存储或乱序存储,示例性的,数组A可以是按照0、1、2、3、4、5、6、7、8、9的顺序排列,或是按照9、2、1、4、3、5、7、6、0、8的随机数排列,当输入数字的编号为3时,在第一种顺序数组中确定的输入数字为2,第二组乱序排列的数组中确定的输入数字为1。Optionally, a digital array can be stored in the storage unit, wherein the storage of the numbers in the digital array can be sequential storage or random storage. For example, array A can be arranged in the order of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, or in a random number arrangement of 9, 2, 1, 4, 3, 5, 7, 6, 0, 8. When the input number is 3, the input number determined in the first sequential array is 2, and the input number determined in the second group of random arrays is 1.
可选的,颜色数组中还可以存储有可编辑状态和锁定状态对应的前景色,示例性的,假设可编辑状态和锁定区域对应的前景色分别为黄色和黑色,确定选中区域的状态为可编辑状态后,调用执行单元可以将选中区域的前景色由黑色改变为黄色。Optionally, the color array may also store foreground colors corresponding to the editable state and the locked state. For example, assuming that the foreground colors corresponding to the editable state and the locked area are yellow and black respectively, after determining that the state of the selected area is the editable state, the execution unit may be called to change the foreground color of the selected area from black to yellow.
S206:调用执行单元根据第四按键输入信号,将选中区域的状态从可编辑状态更改为锁定状态,并调用存储单元中存储的颜色数组,在显示单元的选中区域上显示锁定状态对应的颜色。S206: calling the execution unit to change the state of the selected area from the editable state to the locked state according to the fourth key input signal, and calling the color array stored in the storage unit to display the color corresponding to the locked state on the selected area of the display unit.
可选的,在当前选中区域输入数字完成后,用户可以通过按键单元输入第四按键输入信号,调用执行单元根据第四按键输入信号,将选中区域的状态从可编辑状态更改为锁定状态,选中区域的状态更改为锁定状态后,用户就不可以再改变当前选中区域的输入数字。Optionally, after completing inputting numbers in the currently selected area, the user can input a fourth key input signal through the key unit, and call the execution unit to change the state of the selected area from an editable state to a locked state according to the fourth key input signal. After the state of the selected area is changed to a locked state, the user can no longer change the input number of the currently selected area.
可选的,选中区域的状态由可编辑状态更改为锁定状态时,调用执行单元可以调用存储单元中存储的颜色数组,在显示单元的选中区域上显示锁定状态对应的颜色,示例性的,假设可编辑状态和锁定区域对应的前景色分别为黄色和黑色,确定选中区域的状态为锁定状态后,调用执行单元可以将选中区域的前景色由黄色改变为黑色。Optionally, when the state of the selected area changes from an editable state to a locked state, the calling execution unit may call the color array stored in the storage unit to display the color corresponding to the locked state on the selected area of the display unit. By way of example, assuming that the foreground colors corresponding to the editable state and the locked area are yellow and black, respectively, after determining that the state of the selected area is a locked state, the calling execution unit may change the foreground color of the selected area from yellow to black.
S207:重复上述步骤,直至当前接收的按键输入信号指示进入显示单元的确认区域,将输入区域中已输入的数字组合为输入密码,调用执行单元将输入密码与预设密码进行比较,若比较结果一致,则启动仪表显示系统。S207: Repeat the above steps until the currently received key input signal indicates entering the confirmation area of the display unit, combine the numbers entered in the input area into an input password, call the execution unit to compare the input password with the preset password, and if the comparison result is consistent, start the instrument display system.
可选的,用户可以在密码输入阶段重复上述S201-S204步骤,直至所有数字输入完成,密码输入阶段中,用户可以一次性输入所有正确数字,或是在输入完成后重复上述步骤对其中任意一位或多位数字进行修改,直至用户通过按键单元进入确认区域,输入密码可以是用户进入确认区域时,输入区域中已输入的所有数字组成的数字组合。Optionally, the user can repeat the above steps S201-S204 during the password input stage until all numbers are entered. During the password input stage, the user can enter all correct numbers at one time, or repeat the above steps to modify any one or more digits after the input is completed until the user enters the confirmation area through the key unit. The input password can be a digital combination of all numbers entered in the input area when the user enters the confirmation area.
可选的,用户可以通过按键单元选择进入显示单元的密码输入区域,输入密码完成后,可以通过按键单元进入显示单元的确认区域,其中,进入确认区域的方式可以与密码输入区域中切换输入区域的方法相同,或是将特殊的按键单元组合作为按键输入信号进入确认区域。Optionally, the user can choose to enter the password input area of the display unit through the key unit. After entering the password, the user can enter the confirmation area of the display unit through the key unit. The method of entering the confirmation area can be the same as the method of switching the input area in the password input area, or a special key unit combination can be used as a key input signal to enter the confirmation area.
可选的,调用执行单元可以在存储单元中调用预设密码,并将预设密码和输入密码进行比较,密码一致时启动仪表显示系统,其中,存储单元中可以存储预设的密码,调用执行单元可以在密码输入完成后将输入密码与预设密码进行逐位比较,得到每个位置的比较结果。Optionally, the calling execution unit can call a preset password in the storage unit and compare the preset password with the input password, and start the instrument display system when the passwords are consistent. The storage unit can store a preset password, and the calling execution unit can compare the input password with the preset password bit by bit after the password is entered to obtain a comparison result for each position.
示例性的,可以将输入密码左起第一位与预设密码的左起第一位进行比较,然后依次对第二位、第三位等进行比较,得到各位置的比对结果。Exemplarily, the first digit from the left of the input password can be compared with the first digit from the left of the preset password, and then the second digit, the third digit, etc. can be compared in sequence to obtain the comparison results of each position.
若各位置的比对结果均正确,说明输入密码与预设密码完全相同,可以确定比较结果一致,并将结果一致的消息通信传送给控制器MCU,以实现仪表显示系统的启动以及电助力车的解锁。If the comparison results of each position are correct, it means that the input password is exactly the same as the preset password. It can be determined that the comparison results are consistent, and a message with the consistent results is communicated to the controller MCU to start the instrument display system and unlock the electric assisted bicycle.
若各位置的比对结果中存在至少一个位置不同,说明输入密码与预设密码不同,确定比较结果不一致,调用执行单元可以调用清空指令清空密码,返回密码输入界面并输出提示信息,以提醒用户重新输入密码。If there is at least one different position in the comparison results of each position, it means that the input password is different from the preset password. The comparison results are determined to be inconsistent. The calling execution unit can call a clear instruction to clear the password, return to the password input interface and output a prompt message to remind the user to re-enter the password.
接下来结合图5,对本申请的仪表显示系统启动控制方法作进一步说明,如图5所示,用户可以通过图4所示的按键单元中的加键或减键触发第一按键输入信号,首先从多个输入区域中确定选中区域,并将选中区域的颜色和未选中区域的颜色分别在显示单元进行显示,然后通过电源键触发第二按键输入信号,将选中区域的状态更改为可编辑状态,并将选中区域的颜色改变为可编辑状态对应的颜色,以提示用户输入数字,在可编辑状态下,用户可以通过加键或减键触发第三按键输入信号输入数字,在当前选中区域的数字输入完成后,用户可以通过电源键触发第四按键输入信号,将选中区域由可编辑状态更改为锁定状态,并将该区域的颜色更改为锁定状态对应的颜色。Next, in conjunction with Figure 5, the instrument display system startup control method of the present application is further explained. As shown in Figure 5, the user can trigger the first key input signal through the plus key or minus key in the key unit shown in Figure 4. First, the selected area is determined from multiple input areas, and the color of the selected area and the color of the unselected area are displayed on the display unit respectively. Then, the second key input signal is triggered by the power key to change the state of the selected area to an editable state, and the color of the selected area is changed to a color corresponding to the editable state to prompt the user to enter a number. In the editable state, the user can trigger the third key input signal by the plus key or minus key to enter a number. After the number input of the currently selected area is completed, the user can trigger the fourth key input signal by the power key to change the selected area from an editable state to a locked state, and change the color of the area to a color corresponding to the locked state.
在本申请实施例中,按键单元依次接收按键信号,由按键信号分析单元对信号进行分析,并由调用执行单元在存储单元中调用对应的数字数组和颜色数组,最终在显示单元上显示调用结果。通过在显示单元为密码输入区域设置输入区域和确认区域,并且输入区域包括选中区域和未选中区域,且选中区域包括可编辑状态和锁定状态,使得各区域的状态互相独立,每一位密码都能单独输入和修改,从而避免了在输入密码有一位出错就需要清空全部密码再重新输入密码的问题。In the embodiment of the present application, the key unit receives the key signal in sequence, the key signal analysis unit analyzes the signal, and the call execution unit calls the corresponding digital array and color array in the storage unit, and finally displays the call result on the display unit. By setting the input area and the confirmation area for the password input area on the display unit, and the input area includes a selected area and an unselected area, and the selected area includes an editable state and a locked state, the states of each area are independent of each other, and each password can be entered and modified separately, thereby avoiding the problem of clearing all passwords and re-entering the password when one digit is wrong in the password input.
接下来对上述S203中调用执行单元根据第一按键输入信号的属性,确定多个输入区域中的选中区域,并调用存储单元中存储的颜色数组,在显示单元的选中区域以及未选中区域上显示对应的颜色的步骤进行说明,上述S203步骤包括:Next, the step of calling the execution unit in the above S203 to determine the selected area among the multiple input areas according to the attribute of the first key input signal, and calling the color array stored in the storage unit to display the corresponding colors on the selected area and the unselected area of the display unit is described. The above S203 step includes:
调用执行单元判断第一按键输入信号的来源,若第一按键输入信号的来源为加键或减键,则根据第一按键输入信号的信号触发次数,确定选中区域,并调用存储单元中存储的颜色数组,在显示单元的选中区域以及未选中区域上显示对应的颜色。The execution unit is called to determine the source of the first key input signal. If the source of the first key input signal is the plus key or the minus key, the selected area is determined according to the number of signal triggering times of the first key input signal, and the color array stored in the storage unit is called to display the corresponding colors on the selected area and the unselected area of the display unit.
可选的,调用执行单元可以根据信号的标识判断信号来源,当信号标识指示信号的来源为加键或减键时,调用执行单元可以根据第一按键输入信号的信号触发次数,在显示区域中确定选中区域,在存储单元中调用颜色数组,并在显示单元的选中区域以及未选中区域上显示对应的颜色。Optionally, the calling execution unit can determine the source of the signal based on the signal identifier. When the signal identifier indicates that the source of the signal is the plus key or the minus key, the calling execution unit can determine the selected area in the display area based on the number of signal triggers of the first key input signal, call the color array in the storage unit, and display the corresponding colors on the selected area and the unselected area of the display unit.
示例性的,选中区域的前景色和背景色可以分别为黄色和白色,未选中区域的前景色和背景色可以分别为蓝色和黑色,用户确认区域1为选中区域后,调用执行单元可以在颜色数组中调用选中区域和未选中区域的前景色和背景色,在区域1中显示的前景色和背景色分别为黄色和白色,在区域2、区域3以及区域4这些未选中区域中显示的前景色和背景色分别为蓝色和黑色。Exemplarily, the foreground color and background color of the selected area can be yellow and white, respectively, and the foreground color and background color of the unselected area can be blue and black, respectively. After the user confirms that area 1 is the selected area, the calling execution unit can call the foreground color and background color of the selected area and the unselected area in the color array. The foreground color and background color displayed in area 1 are yellow and white, respectively, and the foreground color and background color displayed in the unselected areas such as area 2, area 3 and area 4 are blue and black, respectively.
接下来对上述根据第一按键输入信号的信号触发次数,确定选中区域的步骤进行说明,如图6所示,该步骤包括:Next, the step of determining the selected area according to the number of signal triggering of the first key input signal is described. As shown in FIG6 , the step includes:
S601:若第一按键输入信号的来源为加键,则计算当前已选中区域的序号与第一按键输入信号的信号触发次数的和,根据当前已选中区域的序号与第一按键输入信号的信号触发次数的和确定选中区域。S601: If the source of the first key input signal is the add key, calculate the sum of the serial number of the currently selected area and the signal triggering times of the first key input signal, and determine 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.
可选的,若第一按键输入信号的来源为加键,则计算当前已选中区域的序号与第一按键输入信号的信号触发次数的和,如果和没有超过区域的最大序号,就可以将和作为选中区域的序号,例如,参照图4所示,当前选中区域为区域1,若此时“加”键信号出现2次,经过判断,和没有超过最大区域(区域4)的序号,因此可以将选中区域由区域1右移至区域3。Optionally, if the source of the first key input signal is the add key, the sum of the serial number of the currently selected area and the number of signal triggering times of the first key input signal is calculated. If the sum does not exceed the maximum serial number of the area, the sum can be used as the serial number of the selected area. For example, as shown in Figure 4, the currently selected area is area 1. If the "plus" key signal appears twice at this time, after judgment, the sum does not exceed the serial number of the largest area (area 4), so the selected area can be moved right from area 1 to area 3.
可选的,如果和超过区域的最大序号,即加键出现的次数超过当前区域和最后一个区域的序号数差值,则可以将最大序号的区域作为选中区域。Optionally, if the sum exceeds the maximum serial number of the area, that is, the number of times the plus key appears exceeds the difference between the serial numbers of the current area and the last area, the area with the largest serial number can be selected as the selected area.
示例性的,参照图3所示,密码输入区域按顺序分为:区域1、区域2、区域3、区域4,其中区域3为“选中区域”,若此时“加”键信号出现2次,经过判断,已经超过当前区域(第3个区域)和最后一个区域(第4个区域)的序号数差值(第3个区域和第4个区域的差值为1),因此,在第一次出现“加”信号时,“选中区域”由区域3右移至区域4,此过程中,调用存储单元的背景色,例如将区域3的背景色可以替换为灰色,将区域4的背景色可以替换为白色;而对第2次出现“加”信号,不再进行颜色存储单元的背景色执行调用。Exemplarily, as shown in FIG. 3 , the password input area is divided into area 1, area 2, area 3, and area 4 in order, where area 3 is the "selected area". If the "plus" key signal appears twice at this time, after judgment, it has exceeded the difference in serial numbers between the current area (the third area) and the last area (the fourth area) (the difference between the third area and the fourth area is 1). Therefore, when the "plus" signal appears for the first time, the "selected area" is moved right from area 3 to area 4. During this process, the background color of the storage unit is called, for example, the background color of area 3 can be replaced with gray, and the background color of area 4 can be replaced with white; and for the second appearance of the "plus" signal, the background color of the color storage unit is no longer called.
S602:若第一按键输入信号的来源为减键,则计算当前已选中区域的序号与第一按键输入信号的信号触发次数的差,根据当前已选中区域的序号与第一按键输入信号的信号触发次数的差确定选中区域。S602: If the source of the first key input signal is the minus key, calculate the difference between the serial number of the currently selected area and the number of signal triggering times of the first key input signal, and determine the selected area based on the difference between the serial number of the currently selected area and the number of signal triggering times of the first key input signal.
可选的,若第一按键输入信号的来源为减键,则计算当前已选中区域的序号与第一按键输入信号的信号触发次数的差,如果差没有小于区域的最小序号,就可以将差作为选中区域的序号,例如,参照图4所示,当前选中区域为区域4,若此时“加”键信号出现2次,经过判断,差不小于最小区域(区域1)的序号,因此可以将选中区域由区域4左移至区域2。Optionally, if the source of the first key input signal is the minus key, the difference between the serial number of the currently selected area and the number of signal triggering times of the first key input signal is calculated. If the difference is not less than the minimum serial number of the area, the difference can be used as the serial number of the selected area. For example, as shown in Figure 4, the currently selected area is area 4. If the "plus" key signal appears twice at this time, after judgment, the difference is not less than the serial number of the minimum area (area 1), so the selected area can be moved left from area 4 to area 2.
可选的,如果差小于区域的最小序号,即减键出现的次数超过当前区域和首个区域的序号数差值,则可以将最小序号的区域作为选中区域。Optionally, if the difference is smaller than the minimum serial number of the region, that is, the number of occurrences of the minus key exceeds the difference between the serial numbers of the current region and the first region, the region with the minimum serial number can be selected as the selected region.
示例性的,参照图3所示,密码输入区域按顺序分为:区域1、区域2、区域3、区域4,其中区域2为“选中区域”,若此时“减”键信号出现2次,经过判断,已经超过当前区域(第2个区域)和首个区域(第1个区域)的序号数差值1,因此,在第一次出现“减”信号时,“选中区域”由区域2左移至区域1,此过程中,调用颜色数组存储的背景色,例如将区域2的背景色替换为灰色,将区域1的背景色替换为白色;而对第2次出现“减”信号,不再进行颜色数组的背景色执行调用。Exemplarily, as shown in FIG. 3 , the password input area is divided into area 1, area 2, area 3, and area 4 in order, where area 2 is the "selected area". If the "minus" key signal appears twice at this time, after judgment, it has exceeded the difference of 1 between the serial numbers of the current area (the second area) and the first area (the first area). Therefore, when the "minus" signal appears for the first time, the "selected area" is moved left from area 2 to area 1. In this process, the background color stored in the color array is called, for example, the background color of area 2 is replaced with gray, and the background color of area 1 is replaced with white; and for the second appearance of the "minus" signal, the background color of the color array is no longer called.
接下来对上述调用存储单元中存储的颜色数组,在显示单元的所述选中区域以及未选中区域上显示对应的颜色的步骤进行说明,如图7所示,上述步骤包括:Next, the steps 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 are described. As shown in FIG7 , the steps include:
S701:调用颜色数组,从颜色数组中读取选中区域对应的第一颜色以及未选中区域对应的第二颜色。S701: calling a 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.
可选的,加键和减键可以在颜色数组触发切换背景色的执行调用指令,在显示单元上触发背景色改变的显示指令,从而在显示单元可以观察到“选中区域”的移动。Optionally, the plus key and minus key can 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 area" can be observed on the display unit.
可选的,加键和减键在颜色数组触发切换背景色的执行调用指令后,调用执行单元可以调用颜色数组,从颜色数组中读取选中区域对应的第一颜色以及未选中区域对应的第二颜色。Optionally, after the plus key and minus key trigger the execution call instruction of switching the background color in the color array, the calling execution unit can call the color array to read the first color corresponding to the selected area and the second color corresponding to the unselected area from the color array.
可选的,第一颜色和第二颜色中可以包括前景色和背景色。示例性的,选中区域对应的前景色和背景色可以分别为黑色和白色,未选中区域对应的前景色和背景色可以分别为蓝色和灰色。Optionally, the first color and the second color may include a foreground color and a background color. Exemplarily, the foreground color and the background color corresponding to the selected area may be black and white, respectively, and the foreground color and the background color corresponding to the unselected area may be blue and gray, respectively.
S702:在显示单元的选中区域上显示第一颜色,并在显示单元的未选中区域上显示第二颜色。S702: Displaying a first color on a selected area of the display unit, and displaying a second color on an unselected area of the display unit.
可选的,调用执行单元可以根据加键和减键触发的背景色改变的显示指令,将从颜色数组中读取到的选中区域和未选中区域的前景色和背景色在显示单元上分别进行显示。Optionally, the calling execution unit may display the foreground colors and background colors of the selected area and the unselected area read from the color array on the display unit respectively according to the display instruction of the background color change triggered by the plus key and the minus key.
在本申请实施例中,用户通过加键和减键触发按键输入信号,按键分析单元分析按键输入信号的属性后,调用执行单元可以根据分析结果进行对应的指令调用,从而实现选中区域的切换,并且,本申请实施例为选中区域和未选中区域分别设置了不同的显示颜色,可以方便用户辨认当前的选中区域,提高了用户操作的便捷性。In an embodiment of the present application, the user triggers a key input signal through the plus key and the minus key. After the key analysis unit analyzes the properties of the key input signal, the calling execution unit can make a corresponding instruction call according to the analysis result, thereby realizing the switching of the selected area. In addition, the embodiment of the present application sets different display colors for the selected area and the unselected area, respectively, which can facilitate the user to identify the current selected area and improve the convenience of user operation.
接下来对上述调用执行单元根据第三按键输入信号的属性,确定选中区域中的输入数字的编号,并调用存储单元中存储的数字数组和颜色数组,在选中区域显示输入数字以及可编辑状态对应的颜色的步骤进行说明,上述S205步骤包括:Next, the step of the calling execution unit determining the number of the input number in the selected area according to the attribute 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 is described. The above step S205 includes:
调用执行单元判断第三按键输入信号的来源,若第三按键输入信号的来源为加键或减键,则根据第三按键输入信号的信号触发次数,确定选中区域中的输入数字的编号,并调用存储单元中存储的数字数组和颜色数组,在选中区域显示输入数字以及可编辑状态对应的颜色。The execution unit is called to determine the source of the third key input signal. If the source of the third key input signal is the plus key or the minus key, the number of the input number in the selected area is determined according to the number of signal triggering of the third key input signal, and the number array and color array stored in the storage unit are called to display the input number and the color corresponding to the editable state in the selected area.
可选的,确认选中区域并将选中区域的状态由锁定状态改变为可编辑状态后,用户可以通过按键单元触发第三按键输入信号,实现选中区域的数字输入。Optionally, after confirming the selected area and changing the state of the selected area from a locked state to an editable state, the user may trigger a third key input signal through the key unit to implement digital input of the selected area.
可选的,若第三按键输入信号的来源为加键或减键,则调用执行单元可以根据第三按键输入信号的信号触发次数,确定选中区域中的输入数字的编号,在颜色数组触发切换颜色的执行调用指令,在数字数组触发切换数字的执行调用指令,在显示单元上触发显示指令,并调用存储单元中存储的数字数组和颜色数组,在选中区域显示输入数字以及可编辑状态对应的颜色。Optionally, if the source of the third key input signal is the plus key or the minus key, the calling execution unit can determine the number of the input number in the selected area according to the signal triggering times of the third key input signal, trigger the execution calling instruction of switching colors in the color array, trigger the execution calling instruction of switching numbers in the number array, trigger the display instruction on the display unit, and call the number array and color array stored in the storage unit to display the input number and the color corresponding to the editable state in the selected area.
接下来结合图8对上述根据第三按键输入信号的信号触发次数,确定选中区域中的输入数字的编号的步骤进行说明,参照图8,上述步骤包括:Next, the steps of determining the number of input digits in the selected area according to the number of signal triggering of the third key input signal are described in conjunction with FIG. 8 . Referring to FIG. 8 , the steps include:
S801:若第三按键输入信号的来源为加键,则计算选中区域的当前输入数字的编号与第三按键输入信号的信号触发次数的和,根据输入数字的编号与第三按键输入信号的信号触发次数的和确定选中区域中的输入数字的编号。S801: If the source of the third key input signal is the add key, then calculate the sum of the number of the current input number in the selected area and the number of signal triggering times of the third key input signal, and determine the number of the input number in the selected area according to the sum of the number of the input number and the number of signal triggering times of the third key input signal.
可选的,加键可以在数字数组中触发“前进一位/右移一位”的执行调用指令,按照数字数组中数字从左到右、数组中的数字编号由小到大的排列顺序,“前进一位/右移一位”对应数字编号递增,在显示单元上触发数字的显示指令,从而在显示单元可以观察到密码数字变化。Optionally, the add key can trigger an execution call instruction of "forward one position/shift right one position" in the digital array. According to the arrangement order of the numbers in the digital array from left to right and the numbering of the numbers in the array from small to large, the corresponding digital numbers of "forward one position/shift right one position" increase incrementally, triggering a digital display instruction on the display unit, so that the changes in the password numbers can be observed on the display unit.
可选的,如果选中区域的当前输入数字的编号与第三按键输入信号的信号触发次数的和没有超过数字数组中的最大编号,则可以将与和相同的编号对应的数字作为输入数字,例如数组是按照0、1、2、3、4、5、6、7、8、9的顺序排列,假设当前输入数字为2,其数组中的编号为3,若此时“加”键信号出现2次,经过判断,相加之后的和没有超过数组的最大编号,因此可以将编号为5的数字,即4作为输入数字。Optionally, if the sum of the number of the currently input number of the selected area and the number of signal triggering times of the third key input signal does not exceed the maximum number in the digital array, the number corresponding to the same number can be used as the input number. For example, the array is arranged in the order of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Suppose the current input number is 2 and its number in the array is 3. If the "plus" key signal appears twice at this time, after judgment, the sum after addition does not exceed the maximum number of the array. Therefore, the number numbered 5, that is, 4, can be used as the input number.
可选的,如果和超过数组中数字的最大编号,即加键出现的次数超过当前数字与末位数字在数组中的序号数差值,则可以将最大编号的数字作为输入数字。Optionally, if the sum exceeds the maximum number of numbers in the array, that is, the number of times the plus key appears exceeds the difference between the sequence numbers of the current number and the last number in the array, the number with the maximum number can be used as the input number.
示例性的,数组是按照9、2、1、4、3、5、7、6、0、8的随机数排列时,假设当前输入数字为9,其编号为1,如果此时“加”键出现已经超过10次,比如是11次,则在当前区域中显示数组中的第10位数字8。For example, when the array is arranged in random numbers of 9, 2, 1, 4, 3, 5, 7, 6, 0, and 8, assuming that the current input number is 9, which is numbered 1, if the "plus" key has appeared more than 10 times, for example 11 times, then the tenth digit 8 in the array is displayed in the current area.
S802:若第三按键输入信号的来源为减键,则计算选中区域的当前输入数字的编号与第三按键输入信号的信号触发次数的差,根据输入数字的编号与第三按键输入信号的信号触发次数的差确定选中区域中的输入数字的编号。S802: If the source of the third key input signal is the minus key, calculate the difference between the number of the current input number in the selected area and the number of signal triggering times of the third key input signal, and determine the number of the input number in the selected area based on the difference between the number of the input number and the number of signal triggering times of the third key input signal.
可选的,减键可以在数字数组中触发“后退一位/左移一位”的执行调用指令,按照数字数组中数字从左到右、数组中的数字编号由小到大的排列顺序,“后退一位/左移一位”对应数字编号递减,在显示单元上触发数字的显示指令,从而在显示单元可以观察到密码数字变化。Optionally, the minus key can trigger an execution call instruction of "back one position/shift left one position" in the digital array. According to the arrangement order of the numbers in the digital array from left to right and the numbering of the numbers in the array from small to large, the corresponding digital numbers of "back one position/shift left one position" decrease in sequence, triggering a digital display instruction on the display unit, so that the changes in the password numbers can be observed on the display unit.
可选的,如果选中区域的当前输入数字的编号与第三按键输入信号的信号触发次数的差大于数字数组中的最小编号,则可以将与差相同的编号对应的数字作为输入数字,例如数组是按照0、1、2、3、4、5、6、7、8、9的顺序排列,假设当前输入数字为7,其数组中的编号为8,若此时“减”键信号出现2次,经过判断,差小于数组的最小编号,因此可以将编号为6的数字,即7作为输入数字。Optionally, if the difference between the number of the currently input number in the selected area and the number of signal triggering of the third key input signal is greater than the smallest number in the digital array, the number corresponding to the same number as the difference can be used as the input number. For example, the array is arranged in the order of 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Suppose the current input number is 7 and its number in the array is 8. If the "minus" key signal appears twice at this time, after judgment, the difference is less than the smallest number in the array. Therefore, the number 6, that is, 7, can be used as the input number.
可选的,如果差小于数组中数字的最小编号,即减键出现的次数超过当前数字与首位数字在数组中序号数的差值时,则可以将最小编号的数字作为输入数字。Optionally, if the difference is smaller than the smallest number of numbers in the array, that is, the number of times the minus key appears exceeds the difference between the current number and the first number in the array, the smallest numbered number can be used as the input number.
示例性的,数组是按照9、2、1、4、3、5、7、6、0、8的随机数排列时,假设当前输入数字为3,其编号为5,如果此时“减”键出现11次,则在当前区域中显示数组中的第1位数字9。For example, when the array is arranged in random numbers of 9, 2, 1, 4, 3, 5, 7, 6, 0, and 8, assuming that the current input number is 3, its number is 5. If the "minus" key appears 11 times at this time, the first digit 9 in the array will be displayed in the current area.
接下来对上述调用存储单元中存储的数字数组和颜色数组,在选中区域显示输入数字以及可编辑状态对应的颜色的步骤进行说明,如图9所示,上述步骤包括:Next, the steps of calling the digital array and the color array stored in the storage unit to display the input digital and the color corresponding to the editable state in the selected area are described. As shown in FIG9 , the steps include:
S901:调用数字数组,从数字数组中读取目标项的值,将目标项的值作为输入数字,其中,目标项的编号为输入数字的编号。S901: Call the digital array, read the value of the target item from the digital array, and use the value of the target item as the input number, wherein the number of the target item is the number of the input number.
可选的,目标项可以是数字编号满足调用指令的数字数组中的项。Alternatively, the target item may be an item in a numeric array whose number satisfies the call instruction.
可选的,调用执行单元可以调用数字数组,并从数字数组中读取指定指示的数字编号对应的数字,将该数字作为输入数字。Optionally, the calling execution unit may call a digital array, and read a number corresponding to a digital number indicated by a specified instruction from the digital array, and use the number as an input number.
示例性的,在数字数组中的调用指令指示需要读取编号为4的数字,假设数组中的数字排列为:4、1、2、5、8、7、9、6、3、0,则可以确定编号为4的数字5为输入数字。For example, a call instruction in a digital array indicates that the number 4 needs to be read. Assuming that the numbers in the array are arranged as follows: 4, 1, 2, 5, 8, 7, 9, 6, 3, 0, then the number 5 of 4 can be determined as the input number.
S902:调用颜色数组,从颜色数组中读取可编辑状态对应的颜色。S902: Call the color array and read the color corresponding to the editable state from the color array.
可选的,在数字数组触发调用数字的指令时,调用执行单元还可以根据调用结果触发颜色数组调用的指令,从颜色数组中读取可编辑状态对应的颜色,示例性的,可编辑状态下输入区域的前景色可以是黄色,在可编辑状态下还未输入数字时,可以先显示黄色的光标,提醒用户当前操作的选中区域为可编辑状态。Optionally, when the digital array triggers an instruction to call a number, the calling execution unit may also trigger an instruction to call the color array based on the calling 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. When no number has been entered in the editable state, a yellow cursor may be displayed first to remind the user that the selected area of the current operation is in an editable state.
S903:在显示单元的选中区域显示输入数字以及可编辑状态对应的颜色。S903: 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 can call the number in the digital array and call the color of the editable state in the color array according to the digital array calling instruction and the color calling instruction, 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.
示例性的,数字数组中调用的数字是7,颜色数组中调用的可编辑状态的前景色为黄色,则可以在显示单元中观察到选中区域在可编辑状态下由开始的黄色光标变为黄色的数字7。Exemplarily, the number called in the digital array is 7, and the foreground color of the editable state called in the color array is yellow. Then, it can be observed in the display unit that the selected area changes from the initial yellow cursor to the yellow number 7 in the editable state.
在本申请实施例中,通过在数字数组和颜色数组中调用对应的数字和可编辑状态对应的颜色,可以使用户在显示单元更直观的辨认当前操作的选中区域的位置和输入的数字,提高了与用户的交互性。In an embodiment of the present application, by calling corresponding numbers and colors corresponding to editable states in a digital array and a color array, the user can more intuitively identify the position of the selected area of the current operation and the input number on the display unit, thereby improving interactivity with the user.
接下来对上述按键信号分析单元作进一步说明,按键信号分析单元中还可以包括计时器和计数器,其中:Next, the key signal analysis unit is further described. The key signal analysis unit may also include a timer and a counter, wherein:
基于计时器分析得到信号持续时长,计时器可以设置在仪表MCU的按键信号分析单元中,用于根据按键触发或者按下的时间长短计算信号持续时间。The signal duration is obtained based on the timer analysis. The timer can be set in the key signal analysis unit of the instrument MCU to calculate the signal duration according to the length of time the key is triggered or pressed.
基于计数器分析得到信号出现的次数,计数器可以设置在仪表MCU的按键信号分析单元中,用于计算相同来源的信号出现的次数。Based on the counter analysis, the number of times the signal occurs is obtained. The counter can be set in the key signal analysis unit of the instrument MCU to count the number of times the signal from the same source occurs.
基于按键输入信号的标识得到信号来源,例如按键信号分析单元可以根据按键电路确定信号的来源,示例性的,按键电路可以如图10所示,按键1可以是“加”键,按键2表示“电源”键,按键3表示“减”键。按键1、按键2、按键3分别与仪表MCU中对应的管脚相连,以获取按键1、按键2、按键3管脚处的电平变化,示例性的,当对应管脚为低电平时,表示该按键已经触发或者按压,可以根据管脚所在位置判断信号来源,例如按键1处管脚电平为低,表示此时“加”键已经被触发或者按压。The signal source is obtained based on the identification of the key input signal. For example, the key signal analysis unit can determine the source of the signal based on the key circuit. For example, the key circuit can be as shown in Figure 10. Key 1 can be the "plus" key, key 2 represents the "power" key, and key 3 represents the "minus" key. Key 1, key 2, and key 3 are respectively connected to the corresponding pins in the instrument MCU to obtain the level changes at the pins of key 1, key 2, and key 3. For example, when the corresponding pin is at a low level, it means that the key has been triggered or pressed. The signal source can be determined based on the location of the pin. For example, the pin level at key 1 is low, indicating that the "plus" key has been triggered or pressed at this time.
在本申请实施例中,通过在按键分析单元中设置计时器和计数器,可以对用户的按压或触发操作首先进行是否有效的判断,再根据判断出的有效的按键输入信号进行指令的执行,可以避免用户误触发造成的密码输入不准确的情况,提高了用户使用的体验感。In an embodiment of the present application, by setting a timer and a counter in the key analysis unit, it is possible to first determine whether the user's pressing or triggering operation is valid, and then execute the instruction based on the determined valid key input signal. This can avoid inaccurate password input caused by user's mistaken triggering, thereby improving the user experience.
基于同一发明构思,本申请实施例中还提供了与仪表显示系统启动控制方法对应的仪表显示系统,由于本申请实施例中的装置解决问题的原理与本申请实施例上述仪表显示系统启动控制方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an instrument display system corresponding to the instrument display system startup control method is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned instrument display system startup control method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
参照图11所示,为本申请实施例提供的一种仪表显示系统的示意图,所述包括按键单元1101、按键信号分析单元1102、调用执行单元1103、存储单元1104以及显示单元1105,显示单元1105包括输入区域和确认区域,输入区域包括未选中区域和选中区域;11 is a schematic diagram of an instrument display system provided in an embodiment of the present application, which 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. The display unit 1105 includes an input area and a confirmation area. The input area includes an unselected area and a selected area.
按键单元1101用于:依次接收第一按键输入信号、第二按键输入信号、第三按键输入信号以及第四按键输入信号;The key unit 1101 is used to: sequentially receive a first key input signal, a second key input signal, a third key input signal and a fourth key input signal;
按键信号分析单元1102用于:依次分析各按键输入信号的属性,其中,各按键输入信号的属性包括:信号的来源、信号触发次数;The key signal analysis unit 1102 is used to analyze the properties of each key input signal in turn, wherein the properties of each key input signal include: the source of the signal and the number of times the signal is triggered;
调用执行单元1103用于:根据第一按键输入信号的属性,确定多个输入区域中的选中区域,并调用存储单元1104中存储的颜色数组,在显示单元1105的选中区域以及未选中区域上显示对应的颜色;The calling execution unit 1103 is used to: determine the selected area among the multiple input areas according to the attribute of the first key input signal, and call the color array stored in the storage unit 1104 to display the corresponding color on the selected area and the unselected area of the display unit 1105;
调用执行单元1103还用于:根据第二按键输入信号的属性,确定选中区域的状态,选中区域的状态包括:可编辑状态或锁定状态;The calling execution unit 1103 is further used to: determine the state of the selected area according to the attribute of the second key input signal, and the state of the selected area includes: editable state or locked state;
若选中区域的状态为可编辑状态,调用执行单元1103根据第三按键输入信号的属性,确定选中区域中的输入数字的编号,并调用存储单元1104中存储的数字数组和颜色数组,在选中区域显示输入数字以及可编辑状态对应的颜色;If the state of the selected area is editable, the execution unit 1103 is called to determine the number of the input number in the selected area according to the attribute of the third key input signal, and the number array and color array stored in the storage unit 1104 are called to display the input number and the color corresponding to the editable state in the selected area;
调用执行单元1103还用于:当前接收的按键输入信号指示进入显示单元1105的确认区域,将输入区域中已输入的数字组合为输入密码,调用执行单元将输入密码与预设密码进行比较,若比较结果一致,则启动仪表显示系统。The calling execution unit 1103 is also used for: the currently received key input signal indicates entering the confirmation area of the display unit 1105, combining the numbers entered in the input area into an input password, and the calling execution unit compares the input password with the preset password. If the comparison result is consistent, the instrument display system is started.
可选的,调用执行单元1103还用于:Optionally, the calling execution unit 1103 is further used for:
判断第一按键输入信号的来源,若第一按键输入信号的来源为加键或减键,则根据第一按键输入信号的信号触发次数,确定选中区域,并调用存储单元1104中存储的颜色数组,在显示单元1105的选中区域以及未选中区域上显示对应的颜色。Determine the source of the first key input signal. If the source of the first key input signal is the plus key or the minus key, determine the selected area based on the number of signal triggering times of the first key input signal, call the color array stored in the storage unit 1104, and display the corresponding colors on the selected area and the unselected area of the display unit 1105.
可选的,调用执行单元1103还用于:Optionally, the calling execution unit 1103 is further used for:
若第一按键输入信号的来源为加键,则计算当前已选中区域的序号与第一按键输入信号的信号触发次数的和,根据当前已选中区域的序号与第一按键输入信号的信号触发次数的和确定选中区域;If the source of the first key input signal is the plus key, then the sum of the sequence number of the currently selected area and the signal triggering times of the first key input signal is calculated, and the selected area is determined according to the sum of the sequence number of the currently selected area and the signal triggering times of the first key input signal;
若第一按键输入信号的来源为减键,则计算当前已选中区域的序号与第一按键输入信号的信号触发次数的差,根据当前已选中区域的序号与第一按键输入信号的信号触发次数的差确定选中区域。If the source of the first key input signal is the minus key, the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal is calculated, and the selected area is determined according to the difference between the serial number of the currently selected area and the signal triggering times of the first key input signal.
可选的,调用执行单元1103还用于:Optionally, the calling execution unit 1103 is further used for:
调用颜色数组,从颜色数组中读取选中区域对应的第一颜色以及未选中区域对应的第二颜色;Call the color array and read the first color corresponding to the selected area and the second color corresponding to the unselected area from the color array;
在显示单元1105的选中区域上显示第一颜色,并在显示单元1105的未选中区域上显示第二颜色。A first color is displayed on a selected area of the display unit 1105 , and a second color is displayed on an unselected area of the display unit 1105 .
可选的,调用执行单元1103还用于:Optionally, the calling execution unit 1103 is further used for:
判断第三按键输入信号的来源,若第三按键输入信号的来源为加键或减键,则根据第三按键输入信号的信号触发次数,确定选中区域中的输入数字的编号,并调用存储单元1104中存储的数字数组和颜色数组,在选中区域显示输入数字以及可编辑状态对应的颜色。Determine the source of the third key input signal. If the source of the third key input signal is the plus key or the minus key, determine the number of the input number in the selected area according to the number of signal triggering of the third key input signal, and call the number array and color array stored in the storage unit 1104 to display the input number and the color corresponding to the editable state in the selected area.
可选的,调用执行单元1103还用于:Optionally, the calling execution unit 1103 is further used for:
若第三按键输入信号的来源为加键,则计算选中区域的当前输入数字的编号与第三按键输入信号的信号触发次数的和,根据输入数字的编号与第三按键输入信号的信号触发次数的和确定选中区域中的输入数字的编号;If the source of the third key input signal is the plus key, the sum of the number of the current input digit in the selected area and the number of signal triggering of the third key input signal is calculated, and the number of the input digit in the selected area is determined according to the sum of the number of the input digit and the number of signal triggering of the third key input signal;
若第三按键输入信号的来源为减键,则计算选中区域的当前输入数字的编号与第三按键输入信号的信号触发次数的差,根据输入数字的编号与第三按键输入信号的信号触发次数的差确定选中区域中的输入数字的编号。If the source of the third key input signal is the minus key, the difference between the number of the current input number in the selected area and the number of signal triggering times of the third key input signal is calculated, and the number of the input number in the selected area is determined based on the difference between the number of the input number and the number of signal triggering times of the third key input signal.
可选的,调用执行单元1103还用于:Optionally, the calling execution unit 1103 is further used for:
调用数字数组,从数字数组中读取目标项的值,将目标项的值作为输入数字,其中,目标项的编号为输入数字的编号;Call the number array, read the value of the target item from the number array, and use the value of the target item as the input number, where the number of the target item is the number of the input number;
调用颜色数组,从颜色数组中读取可编辑状态对应的颜色;Call the color array and read the color corresponding to the editable state from the color array;
在显示单元1105的选中区域显示输入数字以及可编辑状态对应的颜色。The input number and the color corresponding to the editable state are displayed in the selected area of the display unit 1105.
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
本申请实施例中,按键单元先接收按键信号,由按键信号分析单元对信号进行分析,并由调用执行单元在存储单元中调用对应的数字数组和颜色数组,最终在显示单元上显示调用结果。通过在显示单元设置输入区域和确认区域,并且各区域互相独立,使得每一位密码都能单独输入和修改,从而避免了在输入密码出错时需要清空全部密码再重新输入密码的问题,通过对不同状态调用不同的颜色,可以方便用户识别当前操作区域的状态,提高了用户使用的便捷性。In the embodiment of the present application, the key unit first receives the key signal, the key signal analysis unit analyzes the signal, and the call execution unit calls the corresponding digital array and color array in the storage unit, and finally displays the call result on the display unit. By setting the input area and confirmation area on the display unit, and each area is independent of each other, each password can be entered and modified separately, thereby avoiding the problem of clearing all passwords and re-entering the password when an error is made in entering the password. By calling different colors for different states, it is convenient for users to identify the state of the current operation area, which improves the convenience of user use.
本申请实施例还提供了一种电子设备,如图12所示,为本申请实施例提供的电子设备结构示意图,包括:处理器1201、存储器1202、和总线。所述存储器1202存储有所述处理器1201可执行的机器可读指令(比如,图11中按键单元、按键信号分析单元、调用执行单元、存储单元以及显示单元对应的执行指令等),当计算机设备运行时,所述处理器1201与所述存储器1202之间通过总线通信,所述机器可读指令被所述处理器1201执行时执行上述仪表显示系统启动控制方法的处理。The embodiment of the present application also provides an electronic device, as shown in FIG12, which is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application, including: a processor 1201, a memory 1202, and a bus. The memory 1202 stores machine-readable instructions executable by the processor 1201 (for example, the execution instructions corresponding to the key unit, key signal analysis unit, call execution unit, storage unit, and display unit in FIG11, etc.), when the computer device is running, the processor 1201 communicates with the memory 1202 through the bus, and when the machine-readable instructions are executed by the processor 1201, the processing of the above-mentioned instrument display system startup control method is executed.
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述仪表显示系统启动控制方法的步骤。The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned instrument display system startup control method are executed.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考方法实施例中的对应过程,本申请中不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or part of the technical solution that contributes to the prior art or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.
以上仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims (10)
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 CN115328325A (en) | 2022-11-11 |
CN115328325B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115755689A (en) * | 2022-11-14 | 2023-03-07 | 北京航天发射技术研究所 | Power supply display control system and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR200217980Y1 (en) * | 2000-09-22 | 2001-03-15 | 김원철 | Wireless Remote Control Door Open System For Safe |
EP3207531A2 (en) * | 2014-10-19 | 2017-08-23 | Khalil, Akhtar | Auto security and auto safety system |
CN113254921A (en) * | 2020-07-14 | 2021-08-13 | 九号智能(常州)科技有限公司 | Vehicle starting method and device and storage medium |
-
2022
- 2022-08-10 CN CN202210955229.5A patent/CN115328325B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN115328325A (en) | 2022-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104598783B (en) | The unlocking method and device of a kind of intelligent terminal | |
CN112148198B (en) | Payment interface display method, device and electronic device | |
US20120110518A1 (en) | Translation of directional input to gesture | |
CN115328325B (en) | Method and system for controlling starting of instrument display system, electric bicycle and storage medium | |
CN112286378B (en) | Electronic equipment control method and electronic equipment | |
WO2011131116A1 (en) | Method and device for realizing custom menu | |
CN111857512A (en) | Image editing method, apparatus and electronic device | |
CN112148171A (en) | Interface switching method, device and electronic device | |
CN113254921A (en) | Vehicle starting method and device and storage medium | |
CN107015626B (en) | Terminal control method and terminal control device | |
CN108491703A (en) | A kind of double verification unlocking method and system based on comprehensive screen equipment | |
CN101321337A (en) | Mobile communication device and operation method thereof | |
CN111857497A (en) | Operation prompt method and electronic device | |
CN111880701B (en) | Page switching method, device and electronic device | |
CN111367398B (en) | Screen-off display control method and device and computer readable storage medium | |
CN106846555A (en) | Cipher-code input method, device and smart lock | |
CN102707811A (en) | Method and system for Chinese character input | |
CN113342303B (en) | Information input method and device | |
WO2023083090A1 (en) | Information display method and apparatus, electronic device, and readable storage medium | |
CN205680209U (en) | Cipher anti theft keyboard | |
CN112764628B (en) | Content display method, apparatus, electronic device and storage medium | |
CN108549801A (en) | Method and device for controlling working mode | |
CN111857396B (en) | Signal scanning method, device, terminal and storage medium | |
CN103678574B (en) | Method and device for switching webpage focuses | |
CN113434080B (en) | Information input method and device |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Instrument display system startup control method, system, electric assisted vehicle and storage medium Granted publication date: 20240702 Pledgee: China Construction Bank Corporation Nanjing Jiangbei new area branch Pledgor: NANJING DMHC SCIENCE&TECHNOLOGY Co.,Ltd. Registration number: Y2025980013452 |