CN109582383B - Mode switching method and sensing device - Google Patents

Mode switching method and sensing device Download PDF

Info

Publication number
CN109582383B
CN109582383B CN201811229422.0A CN201811229422A CN109582383B CN 109582383 B CN109582383 B CN 109582383B CN 201811229422 A CN201811229422 A CN 201811229422A CN 109582383 B CN109582383 B CN 109582383B
Authority
CN
China
Prior art keywords
mode
processing unit
measurement
preference
setting
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
Application number
CN201811229422.0A
Other languages
Chinese (zh)
Other versions
CN109582383A (en
Inventor
陈兆麟
真绪明伦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kita Sensor Tech Co Ltd
Original Assignee
Kita Sensor Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kita Sensor Tech Co Ltd filed Critical Kita Sensor Tech Co Ltd
Priority to CN201811229422.0A priority Critical patent/CN109582383B/en
Publication of CN109582383A publication Critical patent/CN109582383A/en
Application granted granted Critical
Publication of CN109582383B publication Critical patent/CN109582383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

A mode switching method is implemented by a sensing device. The sensing device comprises an input unit, a storage unit for storing a plurality of preference parameters and a processing unit. The processing unit can be switched between a measurement mode and a plurality of preference setting modes, and performs a measurement procedure in the measurement mode at least according to the preference parameters, and sets the preference parameters corresponding to the preference setting modes in each preference setting mode according to the operation received by the input unit. The mode switching method comprises the following steps: (A) when the processing unit receives a first input instruction group indicating a target preference setting mode in the preference setting modes in the measurement mode, storing the record data corresponding to the target preference setting mode in the storage unit and switching to the target preference setting mode; (B) when the processing unit is in the measurement mode and receives a reading instruction, the recording data stored in the storage unit is read to switch to the target preference setting mode. The user can adjust the preference parameter again more quickly and conveniently.

Description

Mode switching method and sensing device
Technical Field
The present invention relates to a mode switching method, and more particularly, to a mode switching method implemented by a sensing device. The invention includes the sensing device involved in implementing the mode switching method.
Background
Referring to fig. 1, a conventional sensing device 9 for sensing pressure and flow of a gas includes a setting key 91, an upper direction key 92, a lower direction key 93, a screen 94, and a sensing module (not shown) disposed inside the sensing device 9.
The sensing device 9 has many preference settings that can be adjusted by the user, such as the update frequency, brightness, color of the screen 94, the sensing mode, sensitivity, and update frequency of the sensing module during measurement, so that the user can freely adjust the preference settings according to his/her needs to obtain the best experience.
Assume that the sensing device 9 has twenty freely adjustable preference settings, and when the user wants to adjust the tenth preference setting, the operation is as follows.
First, the user needs to press the setting key 91 for a long time to make the sensing device 9 read a pre-stored preference setting menu and display the first preference setting (e.g., "F-01" shown in fig. 2A) in the preference setting menu on the screen 94.
Then, each time the user presses the up direction key 92, the screen 94 jumps from the currently displayed preference setting to the next preference setting (e.g., from "F-01" to "F-02") according to a predetermined arrangement of the preference settings. That is, to switch from the first preference setting to the twentieth preference setting, the user presses the up key 92 nine times to switch the screen 94 from "F-01" shown in fig. 2A to "F-10" shown in fig. 2B, i.e., to display the tenth preference setting on the screen 94, sequentially from "F-02", "F-03", and "F-04" ….
Finally, in the case where the screen 94 displays the tenth preference setting (i.e., "F-10"), the user can press the setting key 91 to adjust the 10 th preference setting.
However, if the user needs to frequently adjust the tenth preference setting, the user needs to press the setting key 91, click the up direction key 92 nine times, and then click the setting key 91 once to adjust the tenth preference setting.
Disclosure of Invention
One of the objectives of the present invention is to provide a mode switching method that can overcome the inconvenience of the prior art.
The mode switching method is implemented by a sensing device, the sensing device comprises an input unit for operation, a storage unit for storing a plurality of preference parameters, and a processing unit electrically connected with the input unit and the storage unit, the processing unit can be switched between a measurement mode and one of a plurality of preference setting modes, in the measurement mode, the processing unit at least performs a measurement program according to the preference parameters, the preference setting modes respectively correspond to the preference parameters, and in each preference setting mode, the processing unit sets the preference parameters corresponding to the preference setting mode according to the operation of the input unit; the mode switching method comprises the following steps: (A) when the processing unit is in the measurement mode and receives a first input instruction set which is from the input unit and indicates a target preference setting mode in the preference setting modes, storing the record data corresponding to the target preference setting mode into the storage unit and switching to the target preference setting mode; (B) when the processing unit is in the measurement mode and receives a reading instruction from the input unit, the recording data stored in the storage unit is read according to the reading instruction, and the target preference setting mode is switched to according to the recording data.
In some embodiments of the mode switching method of the present invention, the storage unit further stores measurement parameters, and the processing unit further switches to a measurement parameter setting mode in which the processing unit sets the measurement parameters according to the operation received by the input unit, and in which the processing unit further performs the measurement procedure according to the measurement parameters; step (B) comprises the following substeps: (B1) when the processing unit is in the measurement mode and receives a measurement parameter setting instruction which is from the input unit and corresponds to the measurement parameter setting mode, switching the measurement mode to the measurement parameter setting mode; (B2) when the processing unit is in the measurement parameter setting mode and receives a measurement parameter confirmation instruction from the input unit, the setting of the measurement parameters is completed; (B3) and when the processing unit receives the reading instruction, reading the recorded data stored in the storage unit, and switching to the target preference setting mode according to the recorded data.
In some embodiments of the mode switching method of the present invention, the sensing device further comprises a display unit electrically connected to the processing unit, and the processing unit is further capable of switching to an inquiry mode in which the processing unit controls the display unit to display an inquiry message; in sub-step (B2), the processing unit further switches from the measurement parameter setting mode to the inquiry mode when the setting of the measurement parameters is completed; in sub-step (B3), when the processing unit is in the query mode and receives the read command, the log data stored in the storage unit is read and switched from the query mode to the target preference setting mode according to the log data, and when the processing unit is in the query mode and receives a cancel command corresponding to the metrology mode, the query mode is switched to the metrology mode.
In some embodiments of the mode switching method of the present invention, the mode switching method further comprises (C) after step (B): when the processing unit is in the target preference setting mode and receives a preference parameter confirmation instruction which is from the input unit and corresponds to the target preference setting mode, the setting of the preference parameter corresponding to the target preference setting mode is completed, and the target preference setting mode is switched to the measurement mode.
In some embodiments of the mode switching method of the present invention, the storage unit further stores measurement parameters, and the processing unit further switches to a measurement parameter setting mode in which the processing unit sets the measurement parameters according to the operation received by the input unit, and in which the processing unit further performs the measurement procedure according to the measurement parameters; the mode switching method further comprises, after step (B): (D) when the processing unit is in a target preference setting mode and receives a preference parameter confirmation instruction corresponding to the target preference setting mode, completing the setting of the preference parameter corresponding to the target preference setting mode; (E) and when the processing unit receives a measurement parameter setting instruction corresponding to the measurement parameter setting mode, switching to the measurement parameter setting mode.
In some embodiments of the mode switching method of the present invention, the sensing device further includes a display unit electrically connected to the processing unit, and the processing unit is further capable of switching to an inquiry mode in which the processing unit controls the display unit to display an inquiry message; in the step (D), the processing unit further switches from the target preference setting mode to the query mode when the setting of the preference parameter corresponding to the target preference setting mode is completed; in step (E), when the processing unit is in the query mode and receives the measurement parameter setting command, the processing unit switches from the query mode to the measurement parameter setting mode, and when the processing unit is in the query mode and receives a cancel command corresponding to the measurement mode, the processing unit switches from the query mode to the measurement mode.
In some embodiments of the mode switching method of the present invention, the mode switching method further comprises (F) after step (E): when the processing unit is in the measurement parameter setting mode and receives a measurement parameter confirmation instruction from the input unit, the setting of the measurement parameters is completed, and the measurement mode is switched from the measurement parameter setting mode to the measurement mode.
In some embodiments of the mode switching method of the present invention, the storage unit further stores measurement parameters, and the processing unit further switches to a measurement parameter setting mode in which the processing unit sets the measurement parameters according to operations received by the input unit and an inquiry mode in which the processing unit further performs the measurement procedure according to the measurement parameters, and controls the display unit to display inquiry messages; step (B) comprises the following substeps: (B1) when the processing unit is in the measurement mode and receives a selection instruction from the input unit, switching from the measurement mode to the query mode; (B2) when the processing unit is in the query mode and receives the reading instruction, the recording data stored in the storage unit is read, and the target preference setting mode is switched to according to the recording data, and when the processing unit is in the query mode and receives a measurement parameter setting instruction which is from the input unit and corresponds to the measurement parameter setting mode, the query mode is switched to the measurement parameter setting mode.
In some embodiments of the mode switching method of the present invention, the mode switching method further comprises, after step (B): (G) when the processing unit is in the target preference setting mode and receives a preference parameter confirmation instruction which is from the input unit and corresponds to the target preference setting mode, setting of the preference parameter corresponding to the target preference setting mode is completed, and the target preference setting mode is switched to the measurement mode; (H) when the processing unit is in the measurement parameter setting mode and receives a measurement parameter confirmation instruction from the input unit, the setting of the measurement parameters is completed, and the measurement mode is switched from the measurement parameter setting mode.
In some embodiments of the mode switching method of the present invention, the sensing device further includes a display unit electrically connected to the processing unit, and the storage unit further stores a preference setting list including a plurality of preference setting options, the preference setting options of the preference setting list respectively correspond to the preference setting modes, and the processing unit can further switch to an option display mode, in the option display mode, the processing unit controls the display unit to display one of the preference setting options, and controls the display unit to switch the displayed preference setting option according to an operation received by the input unit, in step (a), the first input instruction set includes an option display instruction and an option confirmation instruction, and step (a) includes the following sub-steps: (A1) when the processing unit is in the measurement mode and receives the option display instruction, the processing unit is switched from the measurement mode to the option display mode; (A2) when the processing unit is in the option display mode and receives the option confirmation instruction, the preference setting mode corresponding to the preference setting option currently displayed by the display unit is used as the target preference setting mode, the processing unit generates the recording data corresponding to the target preference setting mode, stores the recording data into the storage unit, and switches the option display mode to the target preference setting mode.
Another object of the present invention is to provide a sensing device capable of implementing the mode switching method.
The sensing device comprises an input unit for operation, a storage unit for storing a plurality of preference parameters, and a processing unit electrically connected with the input unit and the storage unit; the processing unit can switch between a measurement mode and one of a plurality of preference setting modes, in the measurement mode, the processing unit performs a measurement procedure at least according to the preference parameters, the preference setting modes respectively correspond to the preference parameters, and in each preference setting mode, the processing unit sets the preference parameters corresponding to the preference setting modes according to the operation received by the input unit. Moreover, the sensing device can perform the mode switching method as described in any of the above embodiments.
The invention has the beneficial effects that: the processing unit of the sensing device can read the recorded data according to the reading instruction as long as the recorded data is stored in the storage unit, so that the reading instruction is directly switched to the preference setting mode corresponding to the recorded data, therefore, for a user, the sensing device can enable the user to quickly and conveniently adjust the finally adjusted preference parameters again, and the inconvenience of the prior art is overcome.
Drawings
FIG. 1 is a schematic perspective view illustrating a conventional sensing device;
FIG. 2 (from FIG. 2A to FIG. 2B) is a schematic diagram illustrating how the conventional sensing device displays a preference setting in a preference setting menu;
FIG. 3 is a schematic perspective view of a first embodiment of the sensing device of the present invention;
FIG. 4 is a schematic diagram of a hardware block of the first embodiment;
FIG. 5 is a schematic view schematically illustrating how the first embodiment is coupled with a negative pressure source, an air inlet pipe, an air outlet pipe, and a vacuum nozzle;
fig. 6 is a flowchart exemplarily illustrating how a recording data storing program in a mode switching method is implemented in the first embodiment;
fig. 7 is a flowchart illustrating how a recording data reading process in the mode switching method is implemented in the first embodiment;
fig. 8 is a flowchart for exemplarily describing how to implement the recorded data reading process in the mode switching method according to a second embodiment of the sensing device of the present invention; and
fig. 9 is a flowchart exemplarily illustrating how a third embodiment of the sensing device of the present invention implements the recorded data reading process in the mode switching method.
Detailed Description
Before the present invention is described in detail, it should be noted that in the following description, like elements are represented by like reference numerals.
The present invention will be described in detail below with reference to the accompanying drawings and examples.
Referring to fig. 3 and fig. 4, a first embodiment of the sensing device 1 of the present invention is implemented as a flow and pressure sensor, for example, and has a function of sensing the flow and pressure of the airflow, however, in other embodiments, the sensing device 1 may also be implemented as other types of sensors, and is not limited to this embodiment.
The sensing device 1 includes a housing 10, an input unit 11, a storage unit 12, a display unit 13, a sensing unit 14, and a processing unit 15 electrically connected to the input unit 11, the storage unit 12, the display unit 13, and the sensing unit 14.
In the embodiment, as shown in fig. 3, the input unit 11 includes a setting key 111, an up direction key 112 and a down direction key 113 exposed to the housing 10 and used for being operated by a user, and when the sensing device 1 is in operation, when the up direction key 112 is operated by a single click, the up direction key 112 outputs an up switching instruction to the processing unit 15, and when the down direction key 113 is operated by a single click, the down direction key 113 outputs a down switching instruction to the processing unit 15, but not limited thereto. The memory unit 12 is disposed in the housing 10 and implemented as a flash memory (english language). The display unit 13 is implemented as a liquid crystal screen, for example, and is exposed to the housing 10. The sensing unit 14 in the present embodiment includes, for example, a sensing circuit board, a flow sensing chip disposed on the sensing circuit board, and a pressure sensing chip disposed on the sensing circuit board (not shown), but not limited thereto.
Referring to fig. 3, 4 and 5, for example, in an application of the sensing device 1, the sensing device 1 is suitable for being matched with a negative pressure source 91, an air inlet pipe 92, an air outlet pipe 93 and a vacuum suction nozzle 94. As shown in fig. 5, two ends of the air inlet tube 92 are respectively connected to the sensing device 1 and the negative pressure source 91, and two ends of the air outlet tube 93 are respectively connected to the sensing device 1 and the vacuum suction nozzle 94. Thereby, the inlet tube 92 and the outlet tube 93 are communicated with each other through a gas flow path (not shown) of the sensing device 1. The sensing unit 14 of the sensing device 1 can continuously sense the flow rate and pressure of the air in the air inlet tube 92 and the air outlet tube 93 through the air flow path, and provide a flow sensing result and a pressure sensing result to the processing unit 15. The processing unit 15 generates a flow value corresponding to the flow sensing result and a pressure value corresponding to the pressure sensing result when receiving the flow sensing result and the pressure sensing result, and the processing unit 15 can control the display unit 13 to display the flow value and the pressure value for the user to refer to. In this way, the user can determine whether the vacuum nozzle 94 has sucked an article 50 according to the flow value and the pressure value displayed by the display unit 13, and it is added that fig. 5 shows a state that the vacuum nozzle 94 has not sucked the article 50.
In the present embodiment, the storage unit 12 stores a measurement parameter, a plurality of preference parameters, and a preference setting list including a plurality of preference setting options.
The value of the measurement parameter is, for example, used as a flow threshold value in the present embodiment, and the flow threshold value is, for example, used by the processing unit 15 to compare with the flow value, so that the processing unit 15 can control whether a switch of an indicator lamp is turned on or off according to the magnitude relationship between the flow threshold value and the flow value. For example, when the flow value is smaller than the flow threshold, the processing unit 15 controls the switch of the indicator light to be turned on, so that the indicator light emits light, and conversely, when the flow value is larger than the flow threshold, the processing unit 15 controls the switch of the indicator light to be turned off, so that the indicator light does not emit light, but not limited thereto.
The preference parameter includes, but is not limited to, a screen update frequency parameter, a screen brightness parameter, a screen contrast parameter, a screen color parameter, a flow value sensing sensitivity parameter, a flow value update frequency parameter, a pressure value sensing sensitivity parameter, and a pressure value update frequency parameter. The preference parameters respectively correspond to the preference setting options in the preference setting list, and the preference setting options in this embodiment include, but are not limited to, a screen update frequency option, a screen brightness option, a screen contrast option, a screen color option, a flow value sensing sensitivity option, a flow value update frequency option, a pressure value sensing sensitivity option, and a pressure value update frequency option, which correspond to the preference parameters in the foregoing examples. In addition, in the present embodiment, the number of the preference parameters and the preference setting options is ninety-nine, and the preference setting options are respectively represented as "F-01", "F-02", "F-03", "…" to "F-99", for example, according to a predetermined arrangement sequence when displayed by the display unit 13, but not limited thereto. Therefore, the user can adjust the preference parameter corresponding to the preference setting option through each preference setting option.
In this embodiment, the processing unit 15 can switch between a measurement mode, a measurement parameter setting mode, an option display mode, a plurality of preference setting modes, and a query mode, so as to operate in one of the measurement mode, the measurement parameter setting mode, the option display mode, the preference setting mode, or the query mode. Specifically, the preference setting modes respectively correspond to the preference parameters and also respectively correspond to the preference setting options, for example, the preference setting modes include, but are not limited to, a screen update frequency setting mode, a screen brightness setting mode, a screen contrast setting mode, a screen color setting mode, a flow value sensing sensitivity setting mode, a flow value update frequency setting mode, a pressure value sensing sensitivity setting mode, and a pressure value update frequency setting mode.
How the processing unit 15 operates in the measurement mode, the measurement parameter setting mode, the option display mode, the preference setting mode and the inquiry mode will be described below.
In the measurement mode, the processing unit 15 performs a measurement procedure according to the measurement parameter and the preference parameter (i.e. the result of the adjustment according to the flow threshold and the user setting preference). In more detail, in the measurement procedure, the processing unit 15, for example, continuously generates the flow value and the pressure value according to the flow sensing result and the pressure sensing result from the sensing unit 14, and controls the display unit 13 to continuously display the current flow value and the current pressure value, and besides, the processing unit 15 also continuously controls the switch of the indicator light to be turned on or off according to the magnitude relation between the flow value and the measurement parameter (i.e. the flow threshold value). That is, when the processing unit 15 is in the measurement mode, the sensing device 1 can actually perform its function of measuring the flow rate and pressure.
In the measurement parameter setting mode, the processing unit 15 sets the measurement parameter (i.e., the flow threshold) according to the operation received by the input unit 11. More specifically, in the present embodiment, on the premise that the value of the measurement parameter is within a predetermined flow range (e.g., 1 mL/min-500 mL/min but not limited thereto), when the processing unit 15 receives the up-switch command from the up-direction key 112, the current value of the measurement parameter is increased by X (X may be, for example, 1 but not limited thereto), and when the processing unit 15 receives the down-switch command from the down-direction key 113, the current value of the measurement parameter is decreased by N. In other words, when the processing unit 15 is in the measurement parameter setting mode, the user can freely adjust the value of the measurement parameter through the upper direction key 112 and the lower direction key 113.
In the option display mode, the processing unit 15 controls the display unit 13 to display the first preference setting option (i.e. display "F-01") in the preference setting list in advance, and the processing unit 15 controls the display unit 13 to switch the displayed preference setting options according to the operation received by the input unit 11 and the predetermined arrangement sequence. Specifically, for example, when the processing unit 15 is in the option display mode, and assuming that the display unit 13 currently displays the first preference setting option (i.e., "F-01"), when the processing unit 15 receives the up-switch instruction from the up-direction key 112 once, the processing unit 15 controls the display unit 13 to switch from displaying the first preference setting option to displaying the second preference setting option (i.e., from displaying "F-01" to displaying "F-02"), and conversely, when the processing unit 15 receives the down switch instruction from the down direction key 113 once, the processing unit 15 controls the display unit 13 to switch from displaying the first preference setting option to displaying the ninety-ninth preference setting option (i.e., changing from displaying "F-01" to displaying "F-99"). In other words, when the processing unit 15 is in the option display mode, the user can freely switch the preference setting options displayed on the display unit 13 through the upper direction key 112 and the lower direction key 113.
In each preference setting mode, the processing unit 15 sets the preference parameter corresponding to the preference setting mode according to the operation received by the input unit 11. For example, in the screen color setting mode corresponding to the screen color parameter in the preference setting mode, assuming that the screen color parameter has three types of "blue", "yellow", and "green" arranged in sequence, and assuming that the screen color parameter is currently "yellow", when the processing unit 15 is in the screen color setting mode and receives the up-switch instruction from the up-direction key 112 once, the screen color parameter is switched from "yellow" to "blue", and conversely, when the processing unit receives the down-switch instruction from the down-direction key 113 once, the screen color parameter is switched from "yellow" to "green", but not limited thereto. In other words, when the processing unit 15 is in the screen color setting mode, the user can freely adjust the screen color parameter through the upper direction key 112 and the lower direction key 113 to change the backlight color of the display unit 13, but not limited thereto.
In each of the other preference setting modes except for the screen color setting mode (i.e., the screen update frequency setting mode, the screen brightness setting mode, the screen contrast setting mode, the flow value sensing sensitivity setting mode, the flow value update frequency setting mode, the pressure value sensing sensitivity setting mode, the pressure value update frequency setting mode, etc.), the mechanism of the processing unit 15 and the input unit 11 operating in cooperation with each other is similar to the screen color setting mode, and therefore, the description is not given one by one.
In the inquiry mode, the processing unit 15 controls the display unit 13 to display an inquiry message.
How the sensing device 1 of the present embodiment implements a mode switching method is described in detail below by way of example. In this embodiment, the mode switching method includes a recording data storing procedure and a recording data reading procedure following the recording data storing procedure.
Referring to fig. 4 and 6, the recording data storage program of the present embodiment will be described.
First, in the case that the processing unit 15 is in the measurement mode, the step S11 is performed. In step S11, when the processing unit 15 is in the measurement mode and receives an option display command from the setting key 111, the processing unit 15 switches from the measurement mode to the option display mode according to the option display command. In this embodiment, when the processing unit 15 is in the measurement mode and the setting key 111 is operated by a long press, the processing unit 15 uses the instruction output by the long press of the setting key 111 as the option display instruction. In other words, for the user, when the processing unit 15 is in the measurement mode, the user can switch the processing unit 15 from the measurement mode to the option display mode by pressing the setting key 111 for a long time, but not limited thereto. Next, step S12 is performed.
In step S12, when the processing unit 15 is in the option display mode and receives an option confirmation instruction from the setting key 111, the processing unit 15 sets the preference setting mode corresponding to the preference setting option currently displayed by the display unit 13 as a target preference setting mode indicated by the option confirmation instruction, and the processing unit 15 generates log data corresponding to the target preference setting mode and stores the log data in the storage unit 12.
For example, it is assumed that the flow value sensing sensitivity option is the fifth preference setting option among all the preference setting options, and the flow value sensing sensitivity option is represented as "F-05" when displayed by the display unit 13. Then the processing unit 15 will control the display unit 13 to display the predetermined "F-01" when it just switches to the option display mode. Then, assuming that the processing unit 15 receives the up-switch instruction from the up-key 112 four times in total (i.e., the up-key 112 is clicked four times), the processing unit 15 controls the display unit 13 to sequentially switch from the default "F-01" to "F-05" four times. Then, when the processing unit 15 receives the option confirmation instruction while the display unit 13 displays "F-05", the processing unit 15 sets the flow rate value sensing sensitivity setting mode corresponding to the flow rate value sensing sensitivity option as the target preference setting mode, and then generates and stores the log data corresponding to the flow rate value sensing sensitivity setting mode.
In this embodiment, when the processing unit 15 is in the option display mode and the setting key 111 is operated by a single click, the processing unit 15 takes the instruction output by the single click of the setting key 111 as the option confirmation instruction. In other words, for the user, when the processing unit 15 is in the option display mode, the user can first click the up direction key 112 or the down direction key 113 several times to switch the preference setting options displayed on the display unit 13, then click the setting key 111 to make the processing unit 15 determine the target preference setting mode according to the preference setting options currently displayed on the display unit 13, and generate and store the record data corresponding to the target preference setting mode.
Specifically, in the embodiment, before the processing unit 15 stores the log data in the storage unit 12, it determines whether another log data that has been previously stored in the storage unit 12 is used as the log data of a history data, and when the processing unit 15 determines that the history data has been stored in the storage unit 12, the processing unit 15 updates the history data to the last log data (i.e. the log data generated by the processing unit 15 in this step), in other words, when the history data has been stored in the storage unit 12, the processing unit 15 stores the log data in a manner that the history data is overwritten by the log data. On the other hand, when the processing unit 15 determines that there is no history data in the storage unit 12, the recording data (i.e., the recording data generated by the processing unit 15 in this step) is directly stored in the storage unit 12. That is, in the present embodiment, the storage unit 12 stores only a single piece of recording data at most. However, in other embodiments, the storage unit 12 can store at most N pieces of recording data, and N is an integer greater than 1, and is not limited to this embodiment.
The processing unit 15 generates and stores the recording data, and then proceeds to step S13.
In step S13, once the processing unit 15 stores the record data in the storage unit 12, the processing unit 15 switches from the option display mode to the target preference setting mode.
It should be noted that, in other embodiments, the execution sequence of steps S12 and S13 may be opposite to that of the present embodiment, that is, in other embodiments, when the processing unit 15 is in the option display mode and receives the option confirmation instruction, the option display mode may be switched to the target preference setting mode indicated by the option confirmation instruction, and then the record data corresponding to the target preference setting mode is generated and stored, but not limited to the present embodiment.
In addition, in the present embodiment, the option display command received by the processing unit 15 in the measurement mode (see step S11), all the up-switch commands or down-switch commands received in the option display mode (see step S12), and the option confirmation command received in the option display mode (see step S12) are collectively used as a first input command set. That is, in this embodiment, the first input command group includes the option display command, the up-switch command or the down-switch command after the option display command, and the option confirmation command after the up-switch command or the down-switch command, but not limited thereto. However, the exception is that if the user wants to make the first one of the preference setting modes (i.e. the preference setting mode indicated as "F-01" in the display unit 13) be the target preference setting mode by the processing unit 15, the user only needs to click the setting key 111 once after the processing unit 15 switches to the option display mode, without operating the up direction key 112 and the down direction key 113, in which case the first input command set only includes the option display command and the option confirmation command, and does not include any up switch command and down switch command.
The processing unit 15 switches from the option display mode to the target preference setting mode, and then proceeds to step S14.
In step S14, when the processing unit 15 is in the target preference setting mode and receives a preference parameter confirmation command corresponding to the target preference setting mode from the setting key 111, the setting of the preference parameter (e.g. flow value sensing sensitivity parameter) corresponding to the target preference setting mode is completed, and the target preference setting mode is switched to the measurement mode. In this embodiment, when the processing unit 15 is in any one of the preference setting modes and the setting key 111 is operated by a single click, the processing unit 15 uses the instruction output by the single click of the setting key 111 as the parameter confirmation instruction. Therefore, for the user, when the processing unit 15 is in the target preference setting mode, the user can first click the up direction key 112 or the down direction key 113 several times to adjust the preference parameter corresponding to the target preference setting mode, then click the setting key 111 to enable the processing unit 15 to complete the setting of the preference parameter according to the adjustment result of the user, and switch to the measurement mode.
The steps S11 to S14 are the recording data storage program of the present embodiment.
Referring to fig. 4 and 7, the recording data reading procedure of the present embodiment will be described.
First, in the case that the processing unit 15 is in the measurement mode, the step S21 is performed. In step S21, when the processing unit 15 is in the measurement mode and receives a measurement parameter setting command corresponding to the measurement parameter setting mode from the setting key 111, the measurement mode is switched to the measurement parameter setting mode. In the present embodiment, when the processing unit 15 is in the measurement mode and the setting key 111 is operated by a single click, the processing unit 15 takes the instruction outputted by the single click of the setting key 111 as the measurement parameter setting instruction. In other words, for the user, when the processing unit 15 is in the measurement mode, the user can switch the processing unit 15 from the measurement mode to the measurement parameter setting mode by clicking the setting key 111, but not limited thereto. Next, step S22 is performed.
In step S22, when the processing unit 15 is in the measurement parameter setting mode and receives a measurement parameter confirmation command from the setting key 111, the setting of the measurement parameters is completed. In this embodiment, when the processing unit 15 is in the measurement parameter setting mode and the setting key 111 is operated by a single click, the processing unit 15 takes the instruction outputted by the single click of the setting key 111 as the measurement parameter confirmation instruction. In other words, for the user, when the processing unit 15 is in the measurement parameter setting mode, the user can first adjust the measurement parameter through the up direction key 112 and the down direction key 113, and then click the setting key 111 to enable the processing unit 15 to complete the setting of the measurement parameter according to the adjustment result of the user. Next, step S23 is performed.
In step S23, the processing unit 15 once completes setting the measurement parameters, then switches from the measurement parameter setting mode to the inquiry mode. In this embodiment, the processing unit 15 controls the query message displayed by the display unit 13 in the query mode to indicate, for example, "do you read the last used preference setting option? However, the present invention is not limited thereto. Next, step S24 is performed.
In step S24, when the processing unit 15 is in the query mode and receives an operation command from the setting key 111, it is determined whether the operation command belongs to a read command or a cancel command corresponding to the measurement mode. Specifically, in the present embodiment, when the processing unit 15 is in the query mode and the setting key 111 is operated by a single click, the processing unit 15 determines the operation instruction output by the single click of the setting key 111 as the reading instruction, and on the other hand, when the processing unit 15 is in the query mode and the setting key 111 is operated by a long press, the processing unit 15 determines the operation instruction output by the long press of the setting key 111 as the cancel instruction. It should be noted that, in other embodiments, the processing unit 15 may determine the operation instruction output by clicking the setting key 111 as the cancel instruction and determine the operation instruction output by long-pressing the setting key 111 as the read instruction in the query mode, but is not limited to this embodiment. When the processing unit 15 determines that the operation command is the read command, the processing unit proceeds to step S25. When the processing unit 15 determines that the operation instruction is the cancel instruction, it proceeds to step S27.
In step S25, once the processing unit 15 determines that the operation command is the read command, the processing unit 15 reads the record data stored in the storage unit 12 according to the read command, and switches from the query mode to the target preference setting mode corresponding to the record data according to the record data.
Referring to fig. 6, it should be added that as exemplified in steps S12 and S14, if the user wants to set the preference parameter (i.e., the flow rate value sensing sensitivity parameter) corresponding to the target preference setting mode (i.e., the flow rate value sensing sensitivity setting mode) again in step S23, the user only needs to click the setting key 111 when the processing unit 15 is in the query mode, so that the setting key 111 can output the reading instruction to the processing unit 15, and the processing unit 15 can switch to the target preference setting mode (i.e., the flow rate value sensing sensitivity setting mode) again according to the recorded data in step S25, and thus, the user does not need to press the setting key 111 first, click the up direction key 112 four times and then once again to switch the processing unit 15 to the flow rate value sensing sensitivity setting mode as described in steps S11 and S12, therefore, the steps S23 to S25 of the present embodiment enable the user to quickly adjust the last adjusted preference parameter again, so the use is faster and more convenient.
The processing unit 15 switches to the corresponding target preference setting mode according to the recorded data, and then proceeds to step S26.
In step S26, when the processing unit 15 is in the target-preferred setting mode and receives another preferred parameter confirmation command from the setting key 111, the setting of the preferred parameter corresponding to the target-preferred setting mode is completed and the target-preferred setting mode is switched to the measurement mode. At this point, the recorded data reading process ends. In this step, the mechanism of the processing unit 15 cooperating with the input unit 11 in the target preference setting mode is the same as that of step S14, and therefore, it is not repeated here.
In step S27, which follows step S24, once the processing unit 15 determines that the operation command is the cancel command, the inquiry mode is switched to the measurement mode according to the cancel command, and the recorded data reading process is ended.
The above is a description of the first embodiment of the sensor device 1 of the present invention.
A second embodiment of the sensor device 1 according to the invention is explained below. The second embodiment is different from the first embodiment in the recording data reading procedure in the mode switching method, and the second embodiment is the same as the first embodiment in the implementation of the recording data storing procedure, so that the following description is made only on how the second embodiment implements the recording data reading procedure.
Referring to fig. 3, 4 and 8, in the case that the sensing device 1 has completed the recording data storage process and the processing unit 15 is in the measurement mode, first, step S21' is performed.
In step S21', when the processing unit 15 is in the measurement mode and receives a reading command from the setting key 111, the recording data stored in the storage unit 12 is read according to the reading command, and the measurement mode is switched to the target preference setting mode corresponding to the recording data according to the recording data. In the second embodiment, when the processing unit 15 is in the measurement mode and the setting key 111 is operated by a single click, the processing unit 15 determines the operation instruction outputted by the single click of the setting key 111 as the reading instruction. In other words, for the user, when the processing unit 15 is in the measurement mode, the user can switch the processing unit 15 from the measurement mode to the target-preference setting mode by simply clicking the setting key 111.
That is, in this step, if the user wants to adjust the preference parameter corresponding to the target preference setting mode again, the user only needs to click the setting key 111 when the processing unit 15 is in the measurement mode, so that the setting key 111 can output the reading instruction to the processing unit 15, and the processing unit 15 can switch to the target preference setting mode again according to the recorded data. Therefore, the second embodiment also has an effect that the user can quickly adjust the last adjusted preference parameter again.
After the processing unit 15 switches to the corresponding target preference setting mode according to the recorded data, the processing unit proceeds to step S22'.
In step S22', when the processing unit 15 is in the target-preference setting mode and receives a preference parameter confirmation command from the setting key 111, the setting of the preference parameter corresponding to the target-preference setting mode is completed and the target-preference setting mode is switched to the query mode. In the second embodiment, the processing unit 15 controls the query message displayed by the display unit 13 in the query mode to indicate, for example, "whether to set a traffic threshold? However, the present invention is not limited thereto. In addition, the mechanism of the processing unit 15 cooperating with the input unit 11 in the target preference setting mode is the same as the step S14 of the first embodiment, and therefore, will not be repeated here. Next, step S23' is performed.
In step S23', when the processing unit 15 is in the inquiry mode and receives an operation command from the setting key 111, it is determined whether the operation command belongs to a measurement parameter setting command or a cancel command corresponding to the measurement mode. Specifically, in the second embodiment, when the processing unit 15 is in the query mode and the setting key 111 is operated by a single click, the processing unit 15 determines the operation instruction outputted by the single click of the setting key 111 as the parameter measurement setting instruction, and on the other hand, when the processing unit 15 is in the query mode and the setting key 111 is operated by a long press, the processing unit 15 determines the operation instruction outputted by the long press of the setting key 111 as the cancel instruction, but not limited thereto. When the processing unit 15 determines that the operation command is the measurement parameter setting command, the processing proceeds to step S24'. When the processing unit 15 determines that the operation instruction is the cancel instruction, it proceeds to step S26'.
In step S24', once the processing unit 15 determines that the operation command is the measurement parameter setting command, the processing unit 15 switches from the inquiry mode to the measurement parameter setting mode according to the measurement parameter setting command. Next, step S25' is performed.
In step S25', when the processing unit 15 is in the measurement parameter setting mode and receives a measurement parameter confirmation command from the setting key 111, the setting of the measurement parameters is completed, the measurement mode is switched from the measurement parameter setting mode to the measurement mode, and the recorded data reading process is ended. In the second embodiment, the mechanism of the processing unit 15 cooperating with the input unit 11 in the measurement parameter setting mode is the same as that of step S22 of the first embodiment, and therefore, it is not repeated here.
In step S26 ', which follows step S23', once the processing unit 15 determines that the operation command is the cancel command, the inquiry mode is switched to the measurement mode according to the cancel command, and the recorded data reading process is ended.
This is the description of the second embodiment of the sensor device 1 of the present invention.
A third embodiment of the sensor device 1 according to the invention is explained below. The third embodiment is also different from the first embodiment in the recording data reading procedure in the mode switching method, and the third embodiment is the same as the first embodiment in the implementation of the recording data storing procedure, so that the following description is made only on how the third embodiment implements the recording data reading procedure.
Referring to fig. 3, 4 and 9, in the case that the sensing device 1 has completed the recording data storage process and the processing unit 15 is in the measurement mode, first, step S21 ″ is performed.
In step S21 ″, when the processing unit 15 is in the measurement mode and receives a selection command from the setting key 111, the measurement mode is switched to the query mode according to the selection command. In the third embodiment, when the processing unit 15 is in the measurement mode and the setting key 111 is operated by a single click, the processing unit 15 uses the instruction outputted by the single click of the setting key 111 as the selection instruction, and in the third embodiment, the processing unit 15 controls the query message displayed on the display unit 13 in the query mode to indicate, for example, "to set a flow threshold or read a last used preference setting option? However, the present invention is not limited thereto. Subsequently, step S22 ″ is performed.
In step S22 ″, when the processing unit 15 is in the query mode and receives an operation command from the setting key 111, it is determined whether the operation command belongs to a read command or a measurement parameter setting command corresponding to the measurement parameter setting mode. Specifically, in the third embodiment, when the processing unit 15 is in the query mode and the setting key 111 is operated by a single click, the processing unit 15 determines the operation instruction output by the single click of the setting key 111 as the reading instruction, and on the other hand, when the processing unit 15 is in the query mode and the setting key 111 is operated by a long press, the processing unit 15 determines the operation instruction output by the long press of the setting key 111 as the measurement parameter setting instruction, but not limited thereto. When the processing unit 15 determines that the operation command is the read command, the processing proceeds to step S23 ″. When the processing unit 15 determines that the operation command is the measurement parameter setting command, the processing proceeds to step S25 ".
In step S23 ″, once the processing unit 15 determines that the operation command is the read command, the recording data stored in the storage unit 12 is read according to the read command, and the measurement mode is switched to the target preference setting mode corresponding to the recording data according to the recording data. Subsequently, step S24 ″ is performed.
In step S24 ″, when the processing unit 15 is in the target-preference setting mode and receives a preference parameter confirmation command from the setting key 111, the setting of the preference parameter corresponding to the target-preference setting mode is completed, the target-preference setting mode is switched to the measurement mode, and the recorded data reading process is ended. The mechanism of the processing unit 15 cooperating with the input unit 11 in the target preference setting mode is the same as the step S14 of the first embodiment, and therefore will not be repeated here.
In step S25 ", which follows step S22", once the processing unit 15 determines that the operation command is the measurement parameter setting command, the processing unit 15 switches from the inquiry mode to the measurement parameter setting mode according to the measurement parameter setting command. Subsequently, step S26 ″ is performed.
In step S26 ″, when the processing unit 15 is in the measurement parameter setting mode and receives a measurement parameter confirmation command from the setting key 111, the setting of the measurement parameters is completed, the measurement mode is switched from the measurement parameter setting mode to the measurement mode, and the recorded data reading process is ended. In the third embodiment, the mechanism of the processing unit 15 cooperating with the input unit 11 in the measurement parameter setting mode is the same as that of step S22 of the first embodiment, and therefore, it is not repeated here.
In the third embodiment, in step S21 ″, the user can cause the processing unit 15 to switch to the inquiry mode by simply clicking the setting key 111. And, when the processing unit 15 is in the query mode, if the user clicks the setting key 111 again, the processing unit 15 can be switched to the target preference setting mode again according to the recorded data, and on the other hand, when the processing unit 15 is in the query mode, if the user presses the setting key 111 for a long time, the processing unit 15 can be switched to the measurement parameter setting mode. That is, when the processing unit 15 is in the query mode, the user can freely select whether to adjust the preference parameter corresponding to the target preference setting mode or to adjust the measurement parameter. Therefore, for the user, the third embodiment not only can quickly adjust the last adjusted preference parameter again, but also can freely select to switch the processing unit 15 to the target preference setting mode or the measurement parameter setting mode, thereby having a higher degree of freedom in use.
This is the description of the third embodiment of the sensor device 1 according to the present invention.
A fourth embodiment of the sensor device 1 according to the invention is explained below. The fourth embodiment is different from the first embodiment in the mode switching method. For convenience of explanation, the mode switching method of the first embodiment is taken as a basis and the difference between the fourth embodiment and the first embodiment is explained below.
Referring to fig. 4 and 6, in step S12 of the first embodiment, the storage unit 12 stores only a single piece of recording data at most, however, in the fourth embodiment, the storage unit 12 can store N pieces of recording data at most, and N can be implemented as any integer greater than 1 and smaller than the number of preference setting options (ninety-nine for example).
In more detail, in step S12 of the first embodiment, the processing unit 15 determines whether another piece of history data exists in the storage unit 12 before storing the latest generated record data in the storage unit 12. However, in the same step of the fourth embodiment, as illustrated by N being 5, the processing unit 15 determines whether the number of pieces of history data already stored in the storage unit 12 reaches five pieces before generating the record data (which is referred to as a latest record data here) and storing the latest record data in the storage unit 12.
If the processing unit 15 determines that the number of the pieces of history data has reached five pieces and also determines that the latest recorded data does not match any of the five pieces of history data, the processing unit 15 stores the latest recorded data in such a manner that the latest recorded data overwrites the oldest stored history data (i.e., overwrites the oldest history data) of the five pieces of history data.
On the other hand, if the processing unit 15 determines that the number of the history data has reached five, but determines that the latest recorded data matches one of the five pieces of history data, the processing unit 15 maintains the five pieces of history data stored in the storage unit 12.
On the other hand, if the processing unit 15 determines that the number of the history data is less than five and also determines that the latest recorded data does not match with the history data, the latest recorded data is directly stored in the storage unit 12 without overwriting any of the history data.
On the other hand, if the processing unit 15 determines that the number of the history data is less than five, but determines that the latest recorded data matches one of the history data, the processing unit 15 maintains the history data stored in the storage unit 12.
In the fourth embodiment, when the processing unit 15 receives the reading instruction, it will sequentially switch to each preference setting mode corresponding to each record data stored in the storage unit 12, and the switching order of the processing unit 15 between the preference setting modes may be, for example, according to the time sequence of the record data stored in the storage unit 12, or according to the sequence of the preference setting modes corresponding to the record data in the predetermined arrangement order, but is not limited thereto. Therefore, for the user, the fourth embodiment has the effect of quickly adjusting at most N preference parameters that are finally adjusted again.
This is the description of the fourth embodiment of the sensor device 1 according to the present invention.
A fifth embodiment of the sensor device 1 of the present invention will be explained below. The fifth embodiment is different from the first embodiment in the mode switching method, and the difference between the fifth embodiment and the first embodiment will be described below based on the mode switching method of the first embodiment.
Referring to fig. 4 and fig. 6, in step S12 of the first embodiment, the storage unit 12 stores only a single piece of recorded data at most, but in the fifth embodiment, the upper limit of the amount of recorded data that can be stored by the storage unit 12 is, for example, equal to the number of the preference setting options (for example, ninety-nine).
In more detail, in step S12 of the first embodiment, the processing unit 15 first determines whether another piece of history data already exists in the storage unit 12 when generating the latest recorded data. However, in the same step of the fifth embodiment, the processing unit 15 determines whether there is a history data corresponding to the latest record data in the storage unit 12 when generating the latest record data (which is referred to herein as a latest record data).
If the processing unit 15 determines that the storage unit 12 does not store any history data corresponding to the latest recorded data, the processing unit 15 directly stores the latest recorded data in the storage unit 12.
On the other hand, if the processing unit 15 determines that the storage unit 12 already stores the history data corresponding to the latest recorded data as a result of the determination, the processing unit 15 maintains the history data stored in the storage unit 12.
In the fifth embodiment, when the processing unit 15 receives the reading command, it will sequentially switch to each of the preference setting modes corresponding to each of the recorded data stored in the storage unit 12, and the order of switching between the preference setting modes by the processing unit 15 is the same as that described in the fourth embodiment, so that it is not repeated here.
In summary, in the first to fifth embodiments, as long as the processing unit 15 of the sensing device 1 stores the record data in the storage unit 12, the processing unit can read the record data according to the read instruction when receiving the read instruction, so as to directly switch to the preference setting mode corresponding to the record data, and therefore, for the user, the sensing device 1 can enable the user to quickly and conveniently readjust the finally adjusted preference parameter, thereby overcoming the inconvenience of the prior art and indeed achieving the object of the present invention.
It should be understood that the above description is only exemplary of the present invention, and that the scope of the present invention should not be limited thereby, and that the invention is intended to cover all modifications and equivalents included within the scope of the appended claims and the description.

Claims (11)

1. A method of mode switching, characterized by: the mode switching method is implemented by a sensing device, the sensing device comprises an input unit for operation, a storage unit for storing a plurality of preference parameters, and a processing unit electrically connected with the input unit and the storage unit, the processing unit can be switched between a measurement mode and one of a plurality of preference setting modes, in the measurement mode, the processing unit performs a measurement program at least according to the preference parameters, the preference setting modes respectively correspond to the preference parameters, and in each preference setting mode, the processing unit sets the preference parameters corresponding to the preference setting mode according to the operation of the input unit; the mode switching method comprises the following steps:
(A) when the processing unit is in the measurement mode and receives a first input instruction set which is from the input unit and indicates a target preference setting mode in the preference setting modes, storing the record data corresponding to the target preference setting mode into the storage unit and switching to the target preference setting mode; and
(B) when the processing unit is in the measurement mode and receives a reading instruction from the input unit, the recording data stored in the storage unit is read according to the reading instruction, and the target preference setting mode is switched to according to the recording data.
2. The mode switching method of claim 1, wherein: the storage unit further stores measurement parameters, the processing unit can also be switched to a measurement parameter setting mode, in the measurement parameter setting mode, the processing unit sets the measurement parameters according to the operation received by the input unit, and in the measurement mode, the processing unit further performs the measurement program according to the measurement parameters; step (B) comprises the following substeps:
(B11) when the processing unit is in the measurement mode and receives a measurement parameter setting instruction which is from the input unit and corresponds to the measurement parameter setting mode, switching the measurement mode to the measurement parameter setting mode;
(B12) when the processing unit is in the measurement parameter setting mode and receives a measurement parameter confirmation instruction from the input unit, the setting of the measurement parameters is completed; and
(B13) and when the processing unit receives the reading instruction, reading the recorded data stored in the storage unit, and switching to the target preference setting mode according to the recorded data.
3. The mode switching method according to claim 2, wherein: the sensing device also comprises a display unit electrically connected with the processing unit, and the processing unit can also be switched to an inquiry mode, wherein in the inquiry mode, the processing unit controls the display unit to display an inquiry message;
in sub-step (B12), the processing unit further switches from the measurement parameter setting mode to the inquiry mode when the setting of the measurement parameters is completed;
in sub-step (B13), when the processing unit is in the query mode and receives the read command, the log data stored in the storage unit is read and switched from the query mode to the target preference setting mode according to the log data, and when the processing unit is in the query mode and receives a cancel command corresponding to the metrology mode, the query mode is switched to the metrology mode.
4. The mode switching method according to claim 2, wherein: the mode switching method further includes (C) after step (B): when the processing unit is in the target preference setting mode and receives a preference parameter confirmation instruction which is from the input unit and corresponds to the target preference setting mode, the setting of the preference parameter corresponding to the target preference setting mode is completed, and the target preference setting mode is switched to the measurement mode.
5. The mode switching method of claim 1, wherein: the storage unit further stores measurement parameters, the processing unit can also be switched to a measurement parameter setting mode, in the measurement parameter setting mode, the processing unit sets the measurement parameters according to the operation received by the input unit, and in the measurement mode, the processing unit further performs the measurement program according to the measurement parameters; the mode switching method further comprises, after step (B):
(D) when the processing unit is in a target preference setting mode and receives a preference parameter confirmation instruction corresponding to the target preference setting mode, completing the setting of the preference parameter corresponding to the target preference setting mode; and
(E) and when the processing unit receives a measurement parameter setting instruction corresponding to the measurement parameter setting mode, switching to the measurement parameter setting mode.
6. The mode switching method of claim 5, wherein: the sensing device also comprises a display unit electrically connected with the processing unit, and the processing unit can also be switched to an inquiry mode, wherein in the inquiry mode, the processing unit controls the display unit to display inquiry messages;
in the step (D), the processing unit further switches from the target preference setting mode to the query mode when the setting of the preference parameter corresponding to the target preference setting mode is completed;
in step (E), when the processing unit is in the query mode and receives the measurement parameter setting command, the processing unit switches from the query mode to the measurement parameter setting mode, and when the processing unit is in the query mode and receives a cancel command corresponding to the measurement mode, the processing unit switches from the query mode to the measurement mode.
7. The mode switching method of claim 5, wherein: the mode switching method further comprises, after step (E), (F): when the processing unit is in the measurement parameter setting mode and receives a measurement parameter confirmation instruction from the input unit, the setting of the measurement parameters is completed, and the measurement mode is switched from the measurement parameter setting mode to the measurement mode.
8. The mode switching method of claim 1, wherein: the sensing device further comprises a display unit electrically connected with the processing unit, the storage unit further stores measurement parameters, the processing unit can be switched to a measurement parameter setting mode and an inquiry mode, in the measurement parameter setting mode, the processing unit sets the measurement parameters according to the operation received by the input unit, in the measurement mode, the processing unit further performs the measurement program according to the measurement parameters, and in the inquiry mode, the processing unit controls the display unit to display inquiry information; step (B) comprises the following substeps:
(B21) when the processing unit is in the measurement mode and receives a selection instruction from the input unit, switching from the measurement mode to the query mode; and
(B22) when the processing unit is in the query mode and receives the reading instruction, the recording data stored in the storage unit is read, and the target preference setting mode is switched to according to the recording data, and when the processing unit is in the query mode and receives a measurement parameter setting instruction which is from the input unit and corresponds to the measurement parameter setting mode, the query mode is switched to the measurement parameter setting mode.
9. The mode switching method of claim 8, wherein: the mode switching method further comprises, after step (B):
(G) when the processing unit is in the target preference setting mode and receives a preference parameter confirmation instruction which is from the input unit and corresponds to the target preference setting mode, setting of the preference parameter corresponding to the target preference setting mode is completed, and the target preference setting mode is switched to the measurement mode; and
(H) when the processing unit is in the measurement parameter setting mode and receives a measurement parameter confirmation instruction from the input unit, the setting of the measurement parameters is completed, and the measurement mode is switched from the measurement parameter setting mode.
10. The mode switching method of claim 1, wherein: the sensing device also comprises a display unit electrically connected with the processing unit, the storage unit also stores a preference setting list comprising a plurality of preference setting options, the preference setting options of the preference setting list respectively correspond to the preference setting modes, the processing unit can also be switched to an option display mode, in the option display mode, the processing unit controls the display unit to display one of the preference setting options, and controls the display unit to switch the displayed preference setting option according to the operation borne by the input unit, in the step (A), the first input instruction group comprises an option display instruction and an option confirmation instruction, and the step (A) comprises the following substeps:
(A1) when the processing unit is in the measurement mode and receives the option display instruction, the processing unit is switched from the measurement mode to the option display mode; and
(A2) when the processing unit is in the option display mode and receives the option confirmation instruction, the preference setting mode corresponding to the preference setting option currently displayed by the display unit is used as the target preference setting mode, the processing unit generates the recording data corresponding to the target preference setting mode, stores the recording data into the storage unit, and switches the option display mode to the target preference setting mode.
11. A sensing device, characterized by: the sensing device includes:
an input unit for operation;
a storage unit storing a plurality of preference parameters; and
the processing unit is electrically connected with the input unit and the storage unit and can be switched between a measurement mode and one of a plurality of preference setting modes, in the measurement mode, the processing unit at least carries out a measurement program according to the preference parameters, the preference setting modes respectively correspond to the preference parameters, and in each preference setting mode, the processing unit sets the preference parameters corresponding to the preference setting mode according to the operation of the input unit;
wherein the sensing device is capable of performing the mode switching method of any one of claims 1 to 10.
CN201811229422.0A 2018-10-22 2018-10-22 Mode switching method and sensing device Active CN109582383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811229422.0A CN109582383B (en) 2018-10-22 2018-10-22 Mode switching method and sensing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811229422.0A CN109582383B (en) 2018-10-22 2018-10-22 Mode switching method and sensing device

Publications (2)

Publication Number Publication Date
CN109582383A CN109582383A (en) 2019-04-05
CN109582383B true CN109582383B (en) 2021-07-27

Family

ID=65920233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811229422.0A Active CN109582383B (en) 2018-10-22 2018-10-22 Mode switching method and sensing device

Country Status (1)

Country Link
CN (1) CN109582383B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571727A (en) * 2013-10-23 2015-04-29 株式会社其恩斯 Photoelectric sensor
CN206787638U (en) * 2017-06-12 2017-12-22 经登企业股份有限公司 Sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014128783A1 (en) * 2013-02-20 2014-08-28 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Program and method for controlling portable information terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571727A (en) * 2013-10-23 2015-04-29 株式会社其恩斯 Photoelectric sensor
CN206787638U (en) * 2017-06-12 2017-12-22 经登企业股份有限公司 Sensor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
High Resolution Switching Mode Inductance-to-Frequency Converter with Temperature Compensation;Vojko Matko etc.;《https://www.mdpi.com/1424-8220/14/10/19242》;20141016;第19242-19259页 *

Also Published As

Publication number Publication date
CN109582383A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US20200400519A1 (en) Piezoresistive sensors and sensor arrays
CN109032474B (en) Color temperature adjusting method and device and graphical user interface
JP3669352B2 (en) Photoelectric sensor
US9692954B2 (en) Methods and devices for adjusting brightness of a light source
US8970124B2 (en) Field equipment photoelectric sensing sensitivity adjustment
KR101428366B1 (en) Method and apparatus for adaptive display calibration
JP2002108562A (en) Picture display system and picture display method and storage medium and program
KR20190100814A (en) An electronic device updating calibration data based on blood pressure information and control method thereof
JP4636899B2 (en) Photoelectric switch and photoelectric switch setting method
CN109582383B (en) Mode switching method and sensing device
US20110025604A1 (en) System for adjusting a light output of an optical mouse and a mouse thereof
US20080141109A1 (en) OSD system for achieving user-defined display mode and method for controlling the same
CN211575419U (en) Individualized air conditioner remote controller and air conditioner
JP2014086837A (en) Photoelectric sensor
US11209918B2 (en) Measuring light using a digital pen
KR20070105557A (en) Portable terminal having projector function and pointer function
JP5066237B2 (en) Photoelectric switch and photoelectric switch setting method
JP2007227995A (en) Remote controller and remote control system
JPH0894564A (en) Odor monitor
CN213399974U (en) Laser remote controller for large screen interaction
US20220116282A1 (en) Remote GUI For Simple Network Devices
JP2006238189A (en) Photoelectric switch
CN115857775A (en) Parameter adjusting method, device, storage medium and mirror
KR20040106635A (en) Method and display apparatus having auto bright control means
CN114639364A (en) Control method and device of electronic equipment, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant