Code scanning payment quantification method and device
Through the quantitative payment method of scanning QR codes, customers can recharge by themselves, simplifying the operation process, reducing manual meter reading and calculation, improving work efficiency, avoiding human errors, solving the problem of cumbersome recharging of user card balances in the existing technology, and realizing efficient water and electricity Resource management.
Patent Information
- Application Number
- CN202410786319.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-08-27
AI Technical Summary
Every time the user card balance of existing shared equipment is used up, it needs to be recharged at the factory. The process is cumbersome, error-prone, and inefficient.
Adopting the quantitative payment method of scanning QR code, the administrator presets the QR code scanning payment parameters. The customer logs in to the shared client and scans the QR code to select the payment platform for recharge. The PLC controls the relay to turn on the solenoid valve for power supply, and the electricity meter or flow meter automatically calculates the usage. and balance, record historical data, and the client sends alarm information to disconnect permissions in time.
Customers can scan the code to recharge by themselves, simplifying the operation process, reducing manual meter reading and calculation, improving work efficiency, avoiding human errors, and optimizing the process to improve customer experience.
Smart Images

Figure CN118552193A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of payment technology, and in particular to a quantitative payment method and device for scanning a code. Background Art
[0002] In the process of industrial production, a large amount of water, electricity and other consumable resources are used. With the development of control technology and the popularization of industrial equipment, shared equipment has been derived to supply water, electricity, steam, etc. The principle of these shared equipment is: the user holds a user card, and the user needs to find the factory to recharge the user card. The user card can be swiped on the shared equipment after the recharge. After the user swipes the card on the shared equipment, he can start using factory resources such as water, electricity, steam, etc. At the same time, the meter on the shared equipment starts charging. If the balance on the user card is insufficient, the equipment will automatically stop supplying.
[0003] However, every time the user card balance of the shared equipment is used up, it needs to be recharged at the factory. The process is cumbersome and manual meter reading and statistical data are required at regular intervals, which takes a lot of time. The unit prices of water, electricity, steam and other resources provided by the factory are different, and the unit prices need to be modified every time a recharge is made, which is prone to errors. Summary of the invention
[0004] The main purpose of the present invention is to propose a quantitative payment method and device for scanning code, aiming to solve the technical problem that the user card balance of existing shared equipment needs to be recharged at the factory every time it is used up, which is a cumbersome process, inefficient and prone to errors.
[0005] To achieve the above-mentioned purpose, the present invention proposes a quantitative method and device for scanning code payment, comprising the following steps: S100: The administrator pre-sets the QR code scanning payment parameters, and the manufacturer pre-enters the product unit price, step length, and presets a flow meter or electric meter K factor; S200: The customer logs in to the shared client, scans the QR code through the shared client, selects the corresponding parameters and the corresponding payment platform for recharging, and the first register in the QR code controller saves the recharged value; S300: The PLC scans the first register and when it finds that the value of the first register changes from 0 to another value, the PLC transfers the changed value to its own second register and opens the usage permission of the corresponding customer; S400: The system reads the value corresponding to the customer in the second register. When it is judged that it is not 0, the customer presses the start / stop button and obtains the corresponding response from the PLC; S500: The customer presses the start button, and the PLC receives the signal and transmits the corresponding electrical signal to the relay, the relay coil is energized, the normally open point on the relay is closed, the solenoid valve is energized to open, and the pipeline or circuit is closed or connected for delivery to the customer; S600: When the customer uses it, the meter or flow meter calculates it by itself, and the usage and balance are calculated and decreased synchronously, and the step size calculates the balance and cumulative usage at the same time; S700: Each operation of the customer will affect the change of the value of the second register, and all changes are recorded in the history record; S800: When the value of the second register is close to 0, the client sends an alarm message to the customer, the PLC controller is automatically disconnected, and the customer's access rights are closed; S900: Customers can view information through the client and monitoring system.
[0006] Optionally, in step S200, the payment platform includes Alipay or WeChat.
[0007] Optionally, the Alipay can be bundled with the company's public account.
[0008] Optionally, in step S600, the step size is to calculate the balance and the accumulated usage by the number of pulses.
[0009] Optionally, in step S600, the flow meter is used to measure steam or water.
[0010] Optionally, in step S700, the historical records include recharge records and consumption records.
[0011] Optionally, in step S900, the monitoring system includes a mobile phone APP and PC software.
[0012] A device for quantitative payment by scanning a code comprises a casing, a touch screen, a relay, a PLC, an integrator, a QR code controller and a power supply, wherein the casing is provided with a cavity, the touch screen is embedded in the upper end of the cavity, the relay, the PLC, the integrator, the QR code controller and the power supply are all installed in the cavity, and the relay, the PLC, the integrator and the QR code controller are all electrically connected to the power supply.
[0013] Optionally, the touch screen is provided with a display screen, a login button and a plurality of touch components, the display screen is located in the middle position of the touch screen, the login button is located at the lower end of the display screen, the login button is connected to the display screen at an interval, the touch components include a home button, a recharge button, a recharge record button, a consumption record button and a parameter setting button, and the home button, recharge button, recharge record button, consumption record button and parameter setting button are arranged in sequence from left to right below the touch screen.
[0014] Optionally, the parameter setting button includes a parameter setting module, the parameter setting module includes a unit price setting box, a flow meter K value setting box, a step length setting box and a user management button, and the unit price setting box, the flow meter K value setting box and the step length setting box can all be originally set by an administrator or manufacturer.
[0015] The technical solution of the present invention has the following beneficial effects: the device uses 4G mobile payment, and customers can scan the code to recharge by themselves without having to contact the factory, which simplifies the operation process, optimizes the operation process, and improves customer experience and work efficiency; the metering equipment can synchronously calculate the equipment usage and balance, and accumulate the daily usage at the same time, and all recharge records are stored in the historical records, reducing the process of manual meter reading and manual calculation, which is convenient and fast, and further improves work efficiency while optimizing the process; the equipment can set the unit price of each single product, and the metering equipment can calculate it by itself, and there is no need for manual calculation when recharging, which greatly improves work efficiency and avoids the error rate caused by human factors. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0017] Figure 1 This is a schematic diagram of the steps of a quantitative method for scanning code payment according to an embodiment of the present invention; Figure 2 This is a touch screen interface diagram of a device for scanning code payment for quantitative payment according to an embodiment of the present invention; Figure 3 This is an interface diagram of a consumption record button of a quantitative payment device for scanning code according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the framework structure of a device for scanning code to pay for a certain amount of money according to an embodiment of the present invention.
[0018] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0021] In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0022] The present invention proposes a quantitative method for scanning code payment.
[0023] like Figure 1 As shown, in one embodiment of the present invention, the quantitative method of scanning code payment includes the following steps: S100: The administrator pre-sets the QR code scanning payment parameters, and the manufacturer pre-enters the product unit price, step length, and presets a flow meter or electric meter K factor; S200: The customer logs in to the shared client, scans the QR code through the shared client, selects corresponding parameters and corresponding payment platforms, including Alipay or WeChat, to recharge. Alipay can also be bundled with the company's public account for recharging. The first register in the QR code controller stores the recharged value; S300: The PLC scans the first register and when it finds that the value of the first register changes from 0 to another value, the PLC transfers the changed value to its own second register and opens the corresponding usage permission of the customer; S400: The system reads the value corresponding to the customer in the second register. When it is judged that it is not 0, the customer presses the start / stop button and obtains the corresponding response from the PLC; S500: The customer presses the start button, and the PLC receives the signal and transmits the corresponding electrical signal to the relay, the relay coil is energized, the normally open point on the relay is closed, the solenoid valve is energized to open, and the pipeline or circuit is closed or connected for delivery to the customer; S600: The manufacturer pre-enters the product unit price, step length, and presets a flow meter or electric meter K coefficient. When the customer uses it, the electric meter or flow meter calculates it by itself. The flow meter is used to measure steam or water. The usage and balance are calculated and decreased synchronously. The step length calculates the balance and cumulative usage at the same time. S700: Each operation of the customer will affect the change of the value of the second register, and all changes are recorded in the historical records, which include recharge records and consumption records; S800: When the value of the second register is close to 0, the client sends an alarm message to the customer, the PLC controller is automatically disconnected, and the customer's access rights are closed; S900: Customers can view information through the client and monitoring system. The monitoring system includes mobile APP and PC software.
[0024] like Figures 2 to 4 As shown, on the other hand, the present invention also proposes a quantitative scanning payment device, including a casing, a touch screen 100, a relay, a PLC, an integrator, a two-dimensional code controller and a power supply, the casing is provided with a cavity, the touch screen 100 is embedded in the upper end of the cavity, the relay, the PLC, the integrator, the two-dimensional code controller and the power supply are all installed in the cavity, the relay, the PLC, the integrator and the two-dimensional code controller are all electrically connected to the power supply, the touch screen 100 is provided with a display screen 200, a login button 300 and a plurality of touch components, the display screen is located in the middle position of the touch screen, the login button is located at the lower end of the display screen, the login button is connected to the display screen at intervals, the touch components include a home button 101, a recharge button 102, a recharge record button 103, a consumption record button 104 and a parameter setting button 105, the first The page button 101, the recharge button 102, the recharge record button 103, the consumption record button 104 and the parameter setting button 105 are arranged from left to right below the touch screen 100. The parameter setting button 105 includes a parameter setting module. The parameter setting module includes a unit price setting box, a flow meter K value setting box, a step length setting box and a user management button. The unit price setting box, the flow meter K value setting box and the step length setting box can all be originally set by the administrator or the manufacturer to enter the corresponding parameters. The home page button 101, the recharge button 102, the recharge record button 103, the consumption record button 104 and the parameter setting button 105 are all provided with corresponding information, which is displayed on the display screen, so that customers can query information through PC software or mobile phone APP, obtain usage information, and recharge in time.
[0025] The specific principles of the present invention are as follows: the administrator scans the payment parameters through the QR code. The manufacturer or administrator has the authority to modify the parameters and can set the parameters in the shared device. The customer scans the device QR code through the client, selects the corresponding payment platform to recharge, and obtains the authority to use the amount. After the customer recharges, the PLC determines to open the corresponding customer's authority and usage according to the value stored in the register. The customer's authority includes starting and shutting down, starting when needed and shutting down when not in use. When the balance is insufficient, the PLC judges based on the value and automatically disconnects. When the customer presses the start button, the PLC receives the signal and transmits an electrical signal to the relay. The relay coil is energized, the normally open point is closed, the solenoid valve is energized to open, the pipeline is closed to supply energy or the circuit is turned on to supply power, and the metering equipment simultaneously calculates the usage and balance synchronously and decreases, and accumulates the usage of the day. Each recharge is recorded in the historical record. The step size calculates the balance and the cumulative usage rhythm through the number of pulses, which can effectively perform accurate calculations.
[0026] Specifically, the present invention can achieve the following beneficial effects: the device uses 4G mobile payment, and customers can scan the code to recharge by themselves without having to contact the factory, which simplifies the operation process, optimizes the operation process, and improves customer experience and work efficiency; the metering equipment can synchronously calculate the equipment usage and balance, and accumulate the daily usage at the same time, and all recharge records are stored in the historical records, reducing the process of manual meter reading and manual calculation, which is convenient and fast, and further improves work efficiency while optimizing the process; the equipment can set the unit price of each single product, and the metering equipment can calculate it by itself, and there is no need for manual calculation when recharging, which greatly improves work efficiency and avoids the error rate caused by human factors.
[0027] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A quantitative method for scanning code payment, It is characterized in that Includes steps: S100: The administrator pre-sets the QR code scanning payment parameters, and the manufacturer pre-enters the product unit price, step length, and presets a flow meter or electric meter K factor; S200: The customer logs in to the shared client, scans the QR code through the shared client, selects the corresponding parameters and the corresponding payment platform for recharging, and the first register in the QR code controller saves the recharged value; S300: The PLC scans the first register and when it finds that the value of the first register changes from 0 to another value, the PLC transfers the changed value to its own second register and opens the corresponding usage permission of the customer; S400: The system reads the value corresponding to the customer in the second register. When it is judged that it is not 0, the customer presses the start / stop button and obtains the corresponding response from the PLC; S500: The customer presses the start button, and the PLC receives the signal and transmits the corresponding electrical signal to the relay, the relay coil is energized, the normally open point on the relay is closed, the solenoid valve is energized to open, and the pipeline or circuit is closed or connected for delivery to the customer; S600: The manufacturer pre-enters the product unit price, step length, and presets a flow meter or electric meter K coefficient. When the customer uses it, the electric meter or flow meter calculates it by itself, and the usage and balance are calculated and decreased simultaneously. The step length calculates the balance and cumulative usage at the same time; S700: Each operation of the customer will affect the change of the value of the second register, and all changes are recorded in the history record; S800: When the value of the second register is close to 0, the client sends an alarm message to the customer, the PLC controller is automatically disconnected, and the customer's access rights are closed; S900: Customers can view information through the client and monitoring system.
2. The quantitative method for scanning code payment according to claim 1, It is characterized in that In step S200, the payment platform includes Alipay or WeChat.
3. The quantitative method for scanning code payment according to claim 2, It is characterized in that The Alipay can be bundled with the company’s public account.
4. The quantitative method for scanning code payment according to claim 1, It is characterized in that In step S600, the step size is to calculate the balance and the accumulated usage by the number of pulses.
5. The quantitative method for scanning code payment according to claim 1, It is characterized in that In the step S600, the flow meter is used to measure steam or water.
6. The quantitative method for scanning code payment according to claim 1, It is characterized in that In step S700, the historical records include recharge records and consumption records.
7. The quantitative method for scanning code payment according to claim 1, It is characterized in that In step S900, the monitoring system includes a mobile phone APP and PC software.
8. A device for scanning and paying quantitatively, It is characterized in that The invention comprises a casing, a touch screen, a relay, a PLC, an integrator, a QR code controller and a power supply, wherein the casing is provided with a cavity, the touch screen is embedded in the upper end of the cavity, the relay, the PLC, the integrator, the QR code controller and the power supply are all installed in the cavity, and the relay, the PLC, the integrator and the QR code controller are all electrically connected to the power supply.
9. The device for quantitative payment by scanning code according to claim 8, It is characterized in that The touch screen is provided with a display screen, a login button and a plurality of touch components, the display screen is located in the middle of the touch screen, the login button is located at the lower end of the display screen, the login button is connected to the display screen at an interval, the touch components include a home button, a recharge button, a recharge record button, a consumption record button and a parameter setting button, the home button, the recharge button, the recharge record button, the consumption record button and the parameter setting button are arranged in sequence from left to right below the touch screen.
10. The device for quantitative payment by scanning code according to claim 9, It is characterized in that The parameter setting button includes a parameter setting module, which includes a unit price setting box, a flow meter K value setting box, a step length setting box and a user management button. The unit price setting box, the flow meter K value setting box and the step length setting box can all be originally set by an administrator or manufacturer.
