CN117118423B - Current distribution control method and system based on digital cash register keys - Google Patents

Current distribution control method and system based on digital cash register keys Download PDF

Info

Publication number
CN117118423B
CN117118423B CN202311345704.8A CN202311345704A CN117118423B CN 117118423 B CN117118423 B CN 117118423B CN 202311345704 A CN202311345704 A CN 202311345704A CN 117118423 B CN117118423 B CN 117118423B
Authority
CN
China
Prior art keywords
control
current distribution
current
key
cash register
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
CN202311345704.8A
Other languages
Chinese (zh)
Other versions
CN117118423A (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.)
Nantong Feihai Electronic Technology Co ltd
Original Assignee
Nantong Feihai Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nantong Feihai Electronic Technology Co ltd filed Critical Nantong Feihai Electronic Technology Co ltd
Priority to CN202311345704.8A priority Critical patent/CN117118423B/en
Publication of CN117118423A publication Critical patent/CN117118423A/en
Application granted granted Critical
Publication of CN117118423B publication Critical patent/CN117118423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/08Modifications for protecting switching circuit against overcurrent or overvoltage

Abstract

The invention relates to the technical field of key control, and provides a current distribution control method and a system based on a digital cash register key, wherein the method comprises the following steps: obtaining key basic information; setting a current control circuit; determining a first control partition; acquiring current parameters of k keys in a first control partition; acquiring a diversion control requirement of a cash register; current parameters of k keys are adjusted, and current distribution strategies are integrated; the current regulator is input and current distribution control is carried out, the problem that the number of keys is in direct proportion to the complexity of the current distribution control is solved, so that the key current distribution of a key system of a digital cash register is unreasonable, and therefore, the technical problem of a certain overload or underload risk exists is solved.

Description

Current distribution control method and system based on digital cash register keys
Technical Field
The invention relates to the technical field of key control, in particular to a current distribution control method and system based on digital cash register keys.
Background
The current distribution means that current is reasonably distributed among a plurality of keys of the digital cash register, so that the current value corresponding to each key operates in a normal working range, overload or underload is avoided, and in general, a current sensor is installed or a current detection circuit is used in each key area to monitor the current consumption condition of the area in real time, meanwhile, a current safety range is set, if the current exceeds the safety range, the current supply in the safety range area is reduced, so that equipment damage is avoided or safety problems are caused, as the key size of the digital cash register increases, the number of keys can become difficult to manage and expand, and the complexity of configuration and operation is further increased.
In summary, in the prior art, the number of keys is proportional to the complexity of the current distribution control, so that the key current distribution of the key system complicated to the digital cash register is unreasonable, and therefore, there is a certain technical problem of overload or underload risk.
Disclosure of Invention
The current distribution control method and system based on the digital cash register keys are provided, and the technical problems that the number of keys in the prior art is in direct proportion to the complexity of current distribution control, so that the current distribution of keys complicated to a digital cash register key system is unreasonable, and a certain overload or underload risk exists are solved.
In view of the above problems, the present application provides a current distribution control method and system based on a digital cash register key.
In a first aspect of the present disclosure, a current distribution control method based on a digital cash register key is provided, where the method includes: obtaining key basic information of a target digital cash register, wherein the key basic information comprises a key type, a key position and a key number; setting a current control circuit according to the key basic information, wherein the current control circuit comprises M key control partitions, the key control partitions at least comprise one key, and M is a positive integer greater than or equal to 2; determining a first control partition of the target digital cash register, wherein the first control partition is any one key control partition in the M key control partitions, and the first control partition comprises k keys; acquiring current parameters of k keys in the first control partition, wherein the current parameters comprise current magnitude, current waveform and current duration; acquiring a cash register shunt control demand, wherein the cash register shunt control demand comprises a keyboard power supply voltage demand, a keyboard lamp brightness demand and a keyboard power consumption demand; according to the cash register shunt control requirement, current parameters of k keys in the first control partition are adjusted, and current distribution strategies corresponding to the M key control partitions are obtained in an integrated mode; and inputting the current distribution strategy into a current regulator to perform current distribution control, and synchronously detecting the current distribution control by using a current sensor.
In another aspect of the present disclosure, a current distribution control system based on digital cash register keys is provided, wherein the system comprises: the basic information acquisition module is used for acquiring key basic information of the target digital cash register, wherein the key basic information comprises a key type, a key position and a key number; the current control circuit setting module is used for setting a current control circuit according to the key basic information, wherein the current control circuit comprises M key control partitions, the key control partitions at least comprise one key, and M is a positive integer greater than or equal to 2; the control partition determining module is used for determining a first control partition of the target digital cash register, wherein the first control partition is any one key control partition in the M key control partitions, and the first control partition comprises k keys; the current parameter acquisition module is used for acquiring current parameters of k keys in the first control partition, wherein the current parameters comprise current magnitude, current waveform and current duration; the system comprises a shunt control demand acquisition module, a control module and a control module, wherein the shunt control demand acquisition module is used for acquiring a cash register shunt control demand, and the cash register shunt control demand comprises a keyboard power supply voltage demand, a keyboard lamp brightness demand and a keyboard power consumption demand; the current distribution strategy integration module is used for adjusting current parameters of k keys in the first control partition according to the cash register shunt control requirement and integrating the current parameters to obtain current distribution strategies corresponding to the M key control partitions; and the current distribution control and detection module is used for inputting the current distribution strategy into the current regulator and carrying out current distribution control, and simultaneously, using the current sensor to synchronously detect the current distribution control.
One or more technical solutions provided in the present application have at least the following technical effects or advantages:
because key basic information of the target digital cash register is acquired; setting a current control circuit; determining a first control zone of the target digital cash register; acquiring current parameters of k keys in a first control partition; acquiring a diversion control requirement of a cash register; current parameters of k keys in the first control partition are adjusted, and current distribution strategies corresponding to the M key control partitions are obtained through integration; and meanwhile, the current distribution control is synchronously detected by using the current sensor, so that the technical effect of saving energy as much as possible on the premise of meeting the functional requirements is realized by optimizing the energy consumption of the cash register through a reasonable current distribution strategy in a key system of the digital cash register, ensuring the stable current distribution among different key control partitions, reducing the overload or underload risk.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
Fig. 1 is a schematic flow chart of a possible current distribution control method based on a digital cash register key according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a possible implementation of a current distribution strategy in a current distribution control method based on a digital cash register key according to an embodiment of the present application;
fig. 3 is a schematic diagram of a possible structure of a current distribution control system based on a digital cash register key according to an embodiment of the present application.
Reference numerals illustrate: the system comprises a basic information acquisition module 100, a current control circuit setting module 200, a control partition determination module 300, a current parameter acquisition module 400, a shunt control demand acquisition module 500, a current distribution strategy integration module 600 and a current distribution control and detection module 700.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Example 1
As shown in fig. 1, an embodiment of the present application provides a current distribution control method based on a digital cash register key, where the method includes:
step-1: obtaining key basic information of a target digital cash register, wherein the key basic information comprises a key type, a key position and a key number;
step-2: setting a current control circuit according to the key basic information, wherein the current control circuit comprises M key control partitions, the key control partitions at least comprise one key, and M is a positive integer greater than or equal to 2;
step-3: determining a first control partition of the target digital cash register, wherein the first control partition is any one key control partition in the M key control partitions, and the first control partition comprises k keys;
step-4: acquiring current parameters of k keys in the first control partition, wherein the current parameters comprise current magnitude, current waveform and current duration;
the embodiment of the application relates to a multi-key digital cash register, which ensures that a partition corresponding to each key is supplied with expected current by controlling current distribution, namely, each key of the digital cash register is ensured to run in a normal working range, so that overload or underload is avoided;
the key basic information of the target digital cash register refers to basic attributes of each key on the cash register, including the type of the key (such as number, function, clearing and the like), the position of the key (the position on a cash register panel) and the number of the key (for uniquely identifying each key);
the current control circuit is a control system and is used for managing a circuit for triggering the key operation of the cash register through current, namely, generating a proper current signal according to the key pressed by a user so as to simulate the key operation; the key control partition refers to dividing keys on a cash register into different areas in a current control circuit, wherein each area can be independently controlled, at least one key is arranged in the areas, and the total area number M is at least 2;
selecting any one of the key control partitions as a first control partition, wherein the first control partition comprises a group of keys, the number of the keys is k, the k keys in the first control partition are controlled by specific current parameters, and the specific current parameters define a mode of key operation triggered by current, including but not limited to the magnitude of the current, the current waveform (the mode of current change along with time) and the duration of the current (the time length of the simulated triggering of the keys);
through the current control circuit, the operation of pressing a specific key on the cash register can be accurately simulated, so that the function of the digital cash register is realized, different keys can be divided into groups by key partition, the current parameters of each group can be flexibly controlled, and more complex key operation requirements are realized.
Step-5: acquiring a cash register shunt control demand, wherein the cash register shunt control demand comprises a keyboard power supply voltage demand, a keyboard lamp brightness demand and a keyboard power consumption demand;
step-6: according to the cash register shunt control requirement, current parameters of k keys in the first control partition are adjusted, and current distribution strategies corresponding to the M key control partitions are obtained in an integrated mode;
step-7: and inputting the current distribution strategy into a current regulator to perform current distribution control, and synchronously detecting the current distribution control by using a current sensor.
The current distribution control requirement of the cash register refers to that current of different functions (such as a keyboard, a keyboard lamp and the like) needs to be reasonably distributed in the target digital cash register so as to ensure that each functional module normally works, including a keyboard power supply voltage requirement, a keyboard lamp brightness requirement and a keyboard power consumption requirement, wherein the keyboard power supply voltage requirement refers to a voltage level required by a keyboard in the cash register, and the keyboard needs a certain voltage to normally work; the keyboard lamp brightness requirement means that a keyboard lamp is arranged on a keyboard of a target digital cash register, and the brightness of the keyboard lamp is controlled so as to be clearly visible in different environments; the keyboard power consumption requirement refers to the power consumed by the keyboard during operation.
As shown in fig. 2, the key control partition divides the keyboard keys into different areas according to a certain rule, and divides the keys of the target digital cash register into a group of keys with the same property; the current distribution strategy is a reasonable current distribution scheme designed for meeting the requirements of keyboard power supply, lamplight brightness, power consumption and the like in different key control partitions. The current regulators (e.g., MAX1818 and LM 317) are used to control the intensity or direction of the current to achieve a specific current distribution; current sensors (e.g., ACS758 and AN1V PB 22) for measuring current, for monitoring current distribution;
on the one hand, according to different function requirements of the cash register, the current distribution of each key control partition can be customized, the current distribution among different function modules is ensured to be stable, system faults caused by current problems are avoided, and each function can be supported by the required current. On the other hand, through reasonable current distribution strategy, the energy consumption of the cash register can be optimized, and the energy sources are saved as much as possible on the premise of meeting the functional requirements.
The light brightness of the keyboard is controlled, so that the keyboard can be clearly seen under different light conditions, and the use experience of a user is improved.
Synchronous detection of current distribution control using a current sensor, step-7 includes:
setting a shunt regulation window based on the current control circuit and the shunt control requirement of the cash register, wherein the shunt regulation window comprises an energy consumption regulation window, a power supply voltage regulation window and a brightness regulation window;
and judging whether continuity exists in the shunt regulation window, if not, embedding the shunt regulation window into an information input shaft of the target digital cash register, and continuously performing current distribution repair control.
The current sensing is used to measure the portion of the circuit through which current flows, and the intensity of the current can be monitored and converted into an electrical signal that can be measured and processed. The cash register diversion control is used for controlling the distribution of current required by each functional module in the cash register, and by controlling the current distribution, the normal operation of different parts of the cash register can be ensured, and the use experience of a user is improved; the shunt regulation window refers to a range or a time window for regulating and controlling current distribution, and can comprise regulation and control in different aspects, such as an energy consumption regulation window (for controlling energy consumption), a power supply voltage regulation window (for controlling power supply voltage) and a brightness regulation window (for controlling brightness of a display screen);
the continuity refers to the continuity of a shunt regulation window, namely, current distribution adjustment needs to be repeated for a plurality of times, which means that the whole digital cash register keyboard has faults which cannot be overcome by simple adjustment, such as key failure and typing errors; the information input shaft refers to a data shaft or channel in the cash register system for inputting or embedding some information, such as inputting commodity price through a keyboard for identification or processing in subsequent operation;
the shunt regulation window has no continuity, namely, the whole digital cash register keyboard has a fault which can be solved by simple adjustment, and the problem can be repaired by adjusting current distribution. When a system fault caused by a current problem occurs, the energy consumption can be optimized through the energy consumption regulation window, so that the energy consumption is reduced; the power supply voltage regulation window can ensure the stability of the power supply voltage and prevent the voltage fluctuation from affecting the performance of the digital cash register keys; through the brightness control window, the brightness of the display screen can be adjusted according to the environmental requirements, so that better visibility is obtained.
Judging whether continuity exists in the shunt regulation window, wherein Step-7 further comprises:
if continuity exists and the shunt regulation window with continuity does not belong to the starting stage, a power-off protection request is sent out;
after receiving the power-off protection request, sending out a cashbox state detection instruction, wherein the cashbox state detection instruction is used for detecting whether a cashbox of the digital cash register is in a locking state or not;
and reading the cashbox state of the digital cash register through the cashbox state detection instruction, and immediately releasing the locking state and performing power-off protection on the digital cash register if the digital cash register is in the locking state.
If the shunt regulation window has continuity and does not occur in the starting stage, triggering a power-off protection request, which means that if a problem of continuity of the shunt regulation window occurs in the operation process, a request is sent to avoid possible adverse effects of voltage fluctuation;
the power-off protection request is a request sent when the continuity of the shunt regulation window is detected and the shunt regulation window is confirmed not to occur in the starting stage, and the purpose of the power-off protection request is to protect a digital cash register keyboard from the effects of voltage fluctuation and other problems;
and after receiving the power-off protection request, sending out a cashbox state detection instruction. The cashbox state detection instruction is used for detecting whether the cashbox of the digital cash register is in a locking state or not, so that the cashbox is not in the locking state before power-off protection operation is executed, and the cashbox cannot be opened; if the cashbox is found to be in a locking state through the cashbox state detection instruction, immediately unlocking the locking state, and performing power-off protection on the digital cash register, wherein the power-off protection comprises the step of turning off a system power supply so as to avoid possible problems or losses; the continuity problem of the shunt regulation window can be detected, and the power-off protection is triggered when necessary to protect the digital cash register keyboard, so that the fault caused by factors such as voltage fluctuation can be avoided.
Synchronous detection of current distribution control using a current sensor, step-7 further includes:
synchronously detecting to obtain M key current parameter sets, wherein the M key current parameter sets are in one-to-one correspondence with the M key control partitions;
setting an energy consumption regulation window through the current control circuit and the keyboard power consumption requirement, wherein the energy consumption regulation window comprises an energy consumption regulation starting point and an energy consumption regulation end point;
and taking the information input shaft as a basis, and taking the energy consumption regulation window as a limiting condition to obtain a primary current distribution strategy.
It should be noted that, when the keys are connected in parallel with the digital cash register keyboard, the power consumption of the keyboard can be adjusted by adjusting the current under the condition of a certain voltage; the key current parameter set refers to a set of current values related to each key, and different keys need different currents to work normally, for example, hot key areas can be distributed with more currents to ensure response speed and performance; digital cash registers typically have different key areas, each area corresponding to a set of keys, the key control areas referring to these key areas; the current control circuit is used for regulating and managing the flow of current;
the energy consumption regulation window refers to an energy consumption control time window taking keyboard power consumption as an adjustment interval, and comprises an energy consumption adjustment starting point and an energy consumption adjustment end point; the primary current distribution strategy refers to determining a current distribution plan of each key control partition by applying an energy consumption regulation window as a constraint (such as setting an independent switch for an area which is not frequently used, and keeping the area which is not frequently used open only in a use stage). By considering the energy consumption regulation window and the keyboard power consumption requirement, a primary current distribution strategy is formulated, and current distribution can be optimized according to the power consumption requirements of different areas, so that the energy utilization efficiency is improved.
As shown in fig. 2, based on the information input shaft, the energy consumption regulation window is used as constraint information to obtain a primary current distribution strategy, and Step-7 further includes:
taking the information input shaft as a basis, taking the power supply voltage regulation window and the brightness regulation window as limiting conditions to obtain a secondary current distribution strategy and a tertiary current distribution strategy;
and comparing the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy, and setting the corresponding part of the intersection as the current distribution strategy if the intersection exists.
The energy consumption regulation window defines an allowable energy consumption value, and in the embodiment of the application, the energy consumption regulation window is used as a constraint condition, so that current distribution can be ensured not to exceed a preset energy consumption limit; the power supply voltage regulation window defines an allowable power supply voltage value, and the power supply voltage regulation window is used as a constraint condition to obtain the secondary current distribution strategy, so that current distribution can be ensured not to exceed the preset power supply voltage value limit; the brightness regulation window defines an allowable brightness threshold, and the brightness regulation window is used as a constraint condition to obtain the three-level current distribution strategy, so that current distribution can be ensured not to exceed the preset brightness threshold limit;
and the distribution of the current in the digital cash register is optimized according to the functional requirements and the energy consumption limit of different areas through a primary current distribution strategy, a secondary current distribution strategy and a tertiary current distribution strategy. By using multiple levels of policies, energy consumption and performance requirements can be met more accurately while maintaining a stable operating state. The setting of the intersection portions may ensure that different levels of policies are combined in some cases to better accommodate different operating conditions.
Comparing the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy, step-7 further comprises:
if an empty set exists and the target digital cash register is in a normal working state, performing mutual exclusion comparison on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain a first independent opposite index and a second independent opposite index;
reserving the first independence opposite index, and setting the rest part as one-end current distribution strategy;
reserving the second independence opposite index, and setting the rest part as a two-end current distribution strategy;
and preferentially selecting the one-end current distribution strategy and the two-end current distribution strategy to obtain the current distribution strategy.
Performing mutual exclusion comparison on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain a first independent opposite index and a second independent opposite index, wherein Step-7 further comprises:
performing mutual exclusion comparison on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain p opposite indexes;
according to the p opposite indexes, carrying out correlation analysis to obtainA plurality of opposite correlation indexes, wherein p is more than q, and p and q are E N;
according to the followingClustering the p opposite indexes to obtain ++>The first and second independent opposite indexes are the +.>Any one of the individual independence opponent indicators.
Comparing the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy, if an empty set exists, and the target digital cash register is in a normal working state, namely, a part of unnecessary keyboard power supply voltage requirements and/or keyboard lamp brightness requirements and/or keyboard power consumption requirements need to be abandoned; performing correlation analysis (one-to-one, one-to-many, or many-to-many) according to the p opposite indexes to obtainA plurality of oppositional relevance indicators; according to->Clustering the p opposite indexes to obtain the +.f which can not be subjected to association aggregation>The first and second independent opposite indexes are the +.>Any one of the individual independence opponent indicators;
reserving the first independence opposite index, and setting the current parameters of the rest part as one-end current distribution strategy; reserving the second independence opposite index, and setting the current parameter part of the rest part as a two-end current distribution strategy; the one-end current distribution strategy and the two-end current distribution strategy are optimized according to requirements to obtain the current distribution strategy, for example, in an environment with sufficient brightness, the one-end current distribution strategy and the two-end current distribution strategy can be used as current distribution strategies with lower brightness; and a more reasonable current distribution strategy is selected, so that the energy consumption of the cash register is optimized, and the energy is saved as much as possible on the premise of meeting the functional requirements.
In summary, the current distribution control method and system based on the digital cash register keys provided by the embodiment of the application have the following technical effects:
1. because key basic information of the target digital cash register is acquired; setting a current control circuit; determining a first control zone of the target digital cash register; acquiring current parameters of k keys in a first control partition; acquiring a diversion control requirement of a cash register; current parameters of k keys in the first control partition are adjusted, and current distribution strategies corresponding to the M key control partitions are obtained through integration; the current distribution control method and system based on the digital cash register keys solves the technical problems that key current distribution is unreasonable in a digital cash register key system, and therefore a certain overload or underload risk exists, and the technical effects that in the digital cash register key system, the energy consumption of the cash register is optimized through a reasonable current distribution strategy, the current distribution stability among different key control partitions is ensured, the overload or underload risk is reduced, and energy sources are saved as much as possible on the premise of meeting functional requirements are achieved.
2. Because M key current parameter sets are obtained by synchronous detection, the M key current parameter sets are in one-to-one correspondence with the M key control partitions; setting an energy consumption regulation window through the current control circuit and the keyboard power consumption requirement, wherein the energy consumption regulation window comprises an energy consumption regulation starting point and an energy consumption regulation end point; and taking the information input shaft as a basis, and taking the energy consumption regulation window as a limiting condition to obtain a primary current distribution strategy. By considering the energy consumption regulation window and the keyboard power consumption requirement, a primary current distribution strategy is formulated, and current distribution can be optimized according to the power consumption requirements of different areas, so that the energy utilization efficiency is improved.
Example two
Based on the same inventive concept as the current distribution control method based on the digital cash register key in the foregoing embodiment, as shown in fig. 3, an embodiment of the present application provides a current distribution control system based on the digital cash register key, where the system includes:
the basic information acquisition module 100 is configured to acquire key basic information of a target digital cash register, where the key basic information includes a key type, a key position, and a key number;
the current control circuit setting module 200 is configured to set a current control circuit according to the key basic information, where the current control circuit includes M key control partitions, and the key control partitions include at least one key, where M is a positive integer greater than or equal to 2;
a control partition determining module 300, configured to determine a first control partition of the target digital cash register, where the first control partition is any one of the M key control partitions, and the first control partition includes k keys;
a current parameter obtaining module 400, configured to obtain current parameters of k keys in the first control partition, where the current parameters include current magnitude, current waveform, and current duration;
the shunt control requirement acquisition module 500 is configured to acquire a cash register shunt control requirement, where the cash register shunt control requirement includes a keyboard power supply voltage requirement, a keyboard lamp brightness requirement, and a keyboard power consumption requirement;
the current distribution strategy integrating module 600 is configured to adjust current parameters of k keys in the first control partition according to the cash register split control requirement, and integrate to obtain current distribution strategies corresponding to the M key control partitions;
the current distribution control and detection module 700 is configured to input the current distribution strategy into the current regulator and perform current distribution control, and simultaneously, use the current sensor to perform synchronous detection on the current distribution control.
Further, the current distribution control and detection module 700 is configured to perform the following steps:
setting a shunt regulation window based on the current control circuit and the shunt control requirement of the cash register, wherein the shunt regulation window comprises an energy consumption regulation window, a power supply voltage regulation window and a brightness regulation window;
and judging whether continuity exists in the shunt regulation window, if not, embedding the shunt regulation window into an information input shaft of the target digital cash register, and continuously performing current distribution repair control.
Further, the current distribution control and detection module 700 is further configured to perform the following steps:
if continuity exists and the shunt regulation window with continuity does not belong to the starting stage, a power-off protection request is sent out;
after receiving the power-off protection request, sending out a cashbox state detection instruction, wherein the cashbox state detection instruction is used for detecting whether a cashbox of the digital cash register is in a locking state or not;
and reading the cashbox state of the digital cash register through the cashbox state detection instruction, and immediately releasing the locking state and performing power-off protection on the digital cash register if the digital cash register is in the locking state.
Further, the current distribution control and detection module 700 is further configured to perform the following steps:
synchronously detecting to obtain M key current parameter sets, wherein the M key current parameter sets are in one-to-one correspondence with the M key control partitions;
setting an energy consumption regulation window through the current control circuit and the keyboard power consumption requirement, wherein the energy consumption regulation window comprises an energy consumption regulation starting point and an energy consumption regulation end point;
and taking the information input shaft as a basis, and taking the energy consumption regulation window as a limiting condition to obtain a primary current distribution strategy.
Further, the current distribution control and detection module 700 is further configured to perform the following steps:
taking the information input shaft as a basis, taking the power supply voltage regulation window and the brightness regulation window as limiting conditions to obtain a secondary current distribution strategy and a tertiary current distribution strategy;
and comparing the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy, and setting the corresponding part of the intersection as the current distribution strategy if the intersection exists.
Further, the current distribution control and detection module 700 is further configured to perform the following steps:
if an empty set exists and the target digital cash register is in a normal working state, performing mutual exclusion comparison on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain a first independent opposite index and a second independent opposite index;
reserving the first independence opposite index, and setting the rest part as one-end current distribution strategy;
reserving the second independence opposite index, and setting the rest part as a two-end current distribution strategy;
and preferentially selecting the one-end current distribution strategy and the two-end current distribution strategy to obtain the current distribution strategy.
Further, the current distribution control and detection module 700 is further configured to perform the following steps:
performing mutual exclusion comparison on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain p opposite indexes;
according to the p opposite indexes, carrying out correlation analysis to obtainIndex of personal opponent relevanceWherein p is more than q, and p and q are N;
according to the followingClustering the p opposite indexes to obtain ++>The first and second independent opposite indexes are the +.>Any one of the individual independence opponent indicators.
Any of the steps of the methods described above may be stored as computer instructions or programs in a non-limiting computer memory and may be called by a non-limiting computer processor to identify any of the methods to implement embodiments of the present application, without unnecessary limitations.
Further, the first or second element may not only represent a sequential relationship, but may also represent a particular concept, and/or may be selected individually or in whole among a plurality of elements. It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the present application and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (5)

1. The current distribution control method based on the digital cash register keys is characterized by comprising the following steps:
obtaining key basic information of a target digital cash register, wherein the key basic information comprises a key type, a key position and a key number;
setting a current control circuit according to the key basic information, wherein the current control circuit comprises M key control partitions, the key control partitions at least comprise one key, and M is a positive integer greater than or equal to 2;
determining a first control partition of the target digital cash register, wherein the first control partition is any one key control partition in the M key control partitions, and the first control partition comprises k keys;
acquiring current parameters of k keys in the first control partition, wherein the current parameters comprise current magnitude, current waveform and current duration;
acquiring a cash register shunt control demand, wherein the cash register shunt control demand comprises a keyboard power supply voltage demand, a keyboard lamp brightness demand and a keyboard power consumption demand;
according to the cash register shunt control requirement, current parameters of k keys in the first control partition are adjusted, and current distribution strategies corresponding to the M key control partitions are obtained in an integrated mode;
inputting the current distribution strategy into a current regulator to perform current distribution control, and synchronously detecting the current distribution control by using a current sensor;
the method further comprises the steps of:
synchronously detecting to obtain M key current parameter sets, wherein the M key current parameter sets are in one-to-one correspondence with the M key control partitions;
setting an energy consumption regulation window through the current control circuit and the keyboard power consumption requirement, wherein the energy consumption regulation window comprises an energy consumption regulation starting point and an energy consumption regulation end point;
taking the information input shaft as a basis, taking the energy consumption regulation window as a limiting condition, and obtaining a primary current distribution strategy;
based on the information input shaft, taking the energy consumption regulation window as constraint information to obtain a primary current distribution strategy, wherein the primary current distribution strategy comprises the following steps:
taking the information input shaft as a basis, taking the power supply voltage regulation window and the brightness regulation window as limiting conditions to obtain a secondary current distribution strategy and a tertiary current distribution strategy;
comparing the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy, and setting the corresponding part of the intersection as the current distribution strategy if the intersection exists;
based on comparison of the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy, the method comprises the following steps:
if an empty set exists and the target digital cash register is in a normal working state, performing mutual exclusion comparison on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain a first independent opposite index and a second independent opposite index;
reserving the first independence opposite index, and setting the rest part as one-end current distribution strategy;
reserving the second independence opposite index, and setting the rest part as a two-end current distribution strategy;
and preferentially selecting the one-end current distribution strategy and the two-end current distribution strategy to obtain the current distribution strategy.
2. The current distribution control method based on the digital cash register key according to claim 1, wherein the current distribution control is synchronously detected using a current sensor, the method comprising:
setting a shunt regulation window based on the current control circuit and the shunt control requirement of the cash register, wherein the shunt regulation window comprises an energy consumption regulation window, a power supply voltage regulation window and a brightness regulation window;
and judging whether continuity exists in the shunt regulation window, if not, embedding the shunt regulation window into an information input shaft of the target digital cash register, and continuously performing current distribution repair control.
3. The current distribution control method based on a digital cash register key according to claim 2, wherein it is judged whether or not continuity exists in the shunt regulation window, the method further comprising:
if continuity exists and the shunt regulation window with continuity does not belong to the starting stage, a power-off protection request is sent out;
after receiving the power-off protection request, sending out a cashbox state detection instruction, wherein the cashbox state detection instruction is used for detecting whether a cashbox of the digital cash register is in a locking state or not;
and reading the cashbox state of the digital cash register through the cashbox state detection instruction, and immediately releasing the locking state and performing power-off protection on the digital cash register if the digital cash register is in the locking state.
4. The current distribution control method based on the digital cash register key as claimed in claim 1, wherein mutual exclusion comparison is performed on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain a first independent opposite index and a second independent opposite index, the method comprising:
performing mutual exclusion comparison on the primary current distribution strategy, the secondary current distribution strategy and the tertiary current distribution strategy to obtain p opposite indexes;
according to the p opposite indexes, carrying out correlation analysis to obtainA plurality of opposite correlation indexes, wherein p is more than q, and p and q are E N;
according to the followingClustering the p opposite indexes to obtain ++>The first and second independent opposite indexes are the +.>Any one of the individual independence opponent indicators.
5. A current distribution control system based on a digital cash register key, characterized in that it is used for implementing a current distribution control method based on a digital cash register key according to any one of claims 1 to 4, comprising:
the basic information acquisition module is used for acquiring key basic information of the target digital cash register, wherein the key basic information comprises a key type, a key position and a key number;
the current control circuit setting module is used for setting a current control circuit according to the key basic information, wherein the current control circuit comprises M key control partitions, the key control partitions at least comprise one key, and M is a positive integer greater than or equal to 2;
the control partition determining module is used for determining a first control partition of the target digital cash register, wherein the first control partition is any one key control partition in the M key control partitions, and the first control partition comprises k keys;
the current parameter acquisition module is used for acquiring current parameters of k keys in the first control partition, wherein the current parameters comprise current magnitude, current waveform and current duration;
the system comprises a shunt control demand acquisition module, a control module and a control module, wherein the shunt control demand acquisition module is used for acquiring a cash register shunt control demand, and the cash register shunt control demand comprises a keyboard power supply voltage demand, a keyboard lamp brightness demand and a keyboard power consumption demand;
the current distribution strategy integration module is used for adjusting current parameters of k keys in the first control partition according to the cash register shunt control requirement and integrating the current parameters to obtain current distribution strategies corresponding to the M key control partitions;
and the current distribution control and detection module is used for inputting the current distribution strategy into the current regulator and carrying out current distribution control, and simultaneously, using the current sensor to synchronously detect the current distribution control.
CN202311345704.8A 2023-10-18 2023-10-18 Current distribution control method and system based on digital cash register keys Active CN117118423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311345704.8A CN117118423B (en) 2023-10-18 2023-10-18 Current distribution control method and system based on digital cash register keys

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311345704.8A CN117118423B (en) 2023-10-18 2023-10-18 Current distribution control method and system based on digital cash register keys

Publications (2)

Publication Number Publication Date
CN117118423A CN117118423A (en) 2023-11-24
CN117118423B true CN117118423B (en) 2023-12-29

Family

ID=88809354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311345704.8A Active CN117118423B (en) 2023-10-18 2023-10-18 Current distribution control method and system based on digital cash register keys

Country Status (1)

Country Link
CN (1) CN117118423B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BE672681A (en) * 1964-11-27 1966-05-23
US3825668A (en) * 1972-05-30 1974-07-23 Nippon Musical Instruments Mfg Electronic musical instrument capable of providing a third type of musical tones by operation of two keyboards in addition to the ordinary melody and chord tones
US4220827A (en) * 1979-02-21 1980-09-02 Bell Telephone Laboratories, Incorporated Telephone signaling circuit
JPH08137466A (en) * 1994-11-02 1996-05-31 Roland Corp Key touch detector
JP2004093682A (en) * 2002-08-29 2004-03-25 Toshiba Matsushita Display Technology Co Ltd Electroluminescence display panel, driving method of electroluminescence display panel, driving circuit of electroluminescence display apparatus and electroluminescence display apparatus
FR3050405A1 (en) * 2016-04-22 2017-10-27 Renault Sas METHOD FOR CONTROLLING AN INBOARD CHARGER IN AN ELECTRIC OR HYBRID VEHICLE WITH CLUSTER LOAD DETECTION

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003050671A2 (en) * 2001-12-11 2003-06-19 Wolfgang Fallot-Burghardt Combination consisting of a computer keyboard and mouse control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BE672681A (en) * 1964-11-27 1966-05-23
US3825668A (en) * 1972-05-30 1974-07-23 Nippon Musical Instruments Mfg Electronic musical instrument capable of providing a third type of musical tones by operation of two keyboards in addition to the ordinary melody and chord tones
US4220827A (en) * 1979-02-21 1980-09-02 Bell Telephone Laboratories, Incorporated Telephone signaling circuit
JPH08137466A (en) * 1994-11-02 1996-05-31 Roland Corp Key touch detector
JP2004093682A (en) * 2002-08-29 2004-03-25 Toshiba Matsushita Display Technology Co Ltd Electroluminescence display panel, driving method of electroluminescence display panel, driving circuit of electroluminescence display apparatus and electroluminescence display apparatus
FR3050405A1 (en) * 2016-04-22 2017-10-27 Renault Sas METHOD FOR CONTROLLING AN INBOARD CHARGER IN AN ELECTRIC OR HYBRID VEHICLE WITH CLUSTER LOAD DETECTION

Also Published As

Publication number Publication date
CN117118423A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN100374982C (en) Method and apparatus for aptimizing thermal solutions
CN100543648C (en) The method and system that is used for power management
CN100389402C (en) Device and method for inspecting battery electric charge quantity of booknote computer with system light co-construction
US20140049116A1 (en) Information processing apparatus and method
CN109492783B (en) GBDT-based power metering equipment fault risk prediction method
CN107833568A (en) A kind of screen luminance adjustment method, device and display terminal
JP6392155B2 (en) Power distribution monitoring and control device
CN115102290A (en) Real-time safety early warning system of smart power grids
CN107589568B (en) Automatic learning and detecting device and method for LED lamp string
CN117118423B (en) Current distribution control method and system based on digital cash register keys
CN109919520A (en) Electricity stealing detection method and device
KR20210083418A (en) Fire predictive analysis device and method of building
CN109061522A (en) A kind of system and method for power-supply device self -support
CN112215526B (en) Metering system evaluation method and device and readable storage medium
CN102288204A (en) Energy-related information display apparatus and method thereof
WO2021241989A1 (en) Method, device, and system for managing charge and discharge of ess group for voltage stabilization of system having distributed power supply connected thereto
CN115185837A (en) Software and/or hardware similarity detection method and detection device
CN109617175B (en) Mobile terminal charger detection control method, mobile terminal and storage medium
CN111521952A (en) Synchronous rectification circuit, charger and synchronous rectification circuit control method and system
CN116110184B (en) Building fire early warning circuit, method, equipment and computer storage medium
CN104360202A (en) Intelligent test system for leakage protectors
CN105137225A (en) Electric leakage protector monitoring system based on voltage-stabilizing circuit
CN111192696A (en) Power control device and power control method for nuclear reactor
Subramani et al. Stability index based voltage collapse prediction and contingency analysis
WO2017155047A1 (en) Power distribution monitoring control system

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