Campus consumption management method and related device
Through the interaction between the payment terminal and the detailed query terminal of the campus payment system, the problem of difficulty for students to monitor consumption is solved, and the transparency of consumption and management efficiency is improved, and students can develop good consumption habits.
Patent Information
- Application Number
- CN202411132699.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-27
AI Technical Summary
Due to the high learning pressure on students on campus, it is difficult for them to accurately record and understand their consumption situation, which leads to impulsive consumption and blind consumption habits, which affects their growth.
Through the interaction between payment terminals and detailed query terminals in the campus payment system, unified management and real-time updates of student consumption are realized, allowing students to query and print consumption details at any time, and improve consumption transparency.
It improves the efficiency and practicality of the campus payment system, so that students can understand consumption situations at any time, and cultivate good consumption habits and financial responsibility.
Smart Images

Figure CN119205103A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of account management, and specifically relates to a campus consumption management method and related devices. Background Art
[0002] Currently, in traditional junior and senior high school campuses, schools prohibit students from bringing mobile phones, so students usually pay for their purchases in cash or using campus cards.
[0003] However, due to the heavy study pressure on students, they are unable to accurately record and know their actual consumption at all times, which makes it difficult for students to control their consumption habits. This can easily lead to students developing habits of impulsive and blind consumption, which is not conducive to their growth. Summary of the invention
[0004] The embodiment of the present application provides a campus consumption management method and related device, which completes the deduction operation by responding to the deduction instruction of the payment terminal and updates the corresponding student's consumption details. After receiving the print request message sent by the detail query terminal, the printer is controlled to print the target consumption details, so that students can know their consumption at any time, improve the practicality and convenience of the campus payment system, and improve the transparency of student consumption activities.
[0005] In a first aspect, an embodiment of the present application provides a campus consumption management method, which is applied to a campus payment system in a campus management system, wherein the campus management system further includes a detail query terminal and a payment terminal, and the campus payment system is respectively communicated with the detail query terminal and the payment terminal; the method includes:
[0006] In response to the deduction instruction sent by the payment terminal, executing the deduction operation according to the payment information and consumption information carried in the deduction instruction;
[0007] If the deduction operation is successfully executed, the consumption details of the student corresponding to the current consumption are updated according to the consumption information;
[0008] In response to the print request message sent by the detail query terminal, determine the target consumption details of the target student in the viewing period according to the request information carried in the print request message, wherein the request information is used to indicate the target student and the viewing period;
[0009] Control the detailed inquiry terminal to print the target consumption details.
[0010] In a second aspect, an embodiment of the present application provides a campus consumption management device, which is applied to a campus payment system in a campus management system, wherein the campus management system further includes a detail query terminal and a payment terminal, and the campus payment system is respectively connected to the detail query terminal and the payment terminal in communication; the device includes:
[0011] A first response unit, configured to respond to a deduction instruction sent by the payment terminal and execute a deduction operation according to the payment information and consumption information carried in the deduction instruction;
[0012] An updating unit, configured to update the consumption details of the student corresponding to the current consumption according to the consumption information if the deduction operation is successfully executed;
[0013] A second response unit, configured to respond to a print request message sent by the detail query terminal, and determine the target consumption details of the target student in the viewing period according to request information carried in the print request message, wherein the request information is used to indicate the target student and the viewing period;
[0014] A control unit is used to control the detailed inquiry terminal to print the target consumption details.
[0015] In a third aspect, an embodiment of the present application provides a server, comprising a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implement the steps in the first aspect of the embodiment of the present application.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement some or all of the steps described in the first aspect of the embodiment of the present application.
[0018] It can be seen that in the embodiment of the present application, the campus payment system realizes unified management of the consumption of students on campus through interaction with the detail query terminal and the payment terminal, and updates and prints the target consumption details at any time, thereby improving the efficiency and practicality of the campus payment system, allowing students to check their consumption details at any time, and improving the transparency of student consumption activities. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 It is a structural block diagram of a campus management system provided by an embodiment of the present application;
[0021] Figure 2 It is a flow chart of a campus consumption management method provided by an embodiment of the present application;
[0022] Figure 3 This is a schematic diagram of a scenario of a non-physical card payment method provided in an embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of the content of a payment request information provided in an embodiment of the present application;
[0024] Figure 5 This is a schematic diagram of a scenario for viewing consumption details provided in an embodiment of the present application;
[0025] Figure 6 This is a block diagram of the functional units of a campus consumption management device provided by an embodiment of the present application;
[0026] Figure 7 This is a block diagram of the functional units of another campus consumption management device provided in an embodiment of the present application;
[0027] Figure 8 It is a structural block diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] See also Figure 1 , Figure 1 This is a structural block diagram of a campus management system provided by an embodiment of the present application. Figure 1 As shown, the campus management system 100 includes a campus payment system 110, a payment terminal 120 and a detail query terminal 130, and the campus payment system 110 is respectively connected to the detail query terminal 130 and the payment terminal 120. Among them, the campus payment system 110 can be a server, or a server cluster composed of several servers, or a cloud computing service center, and the detail query terminal 130 can be any printer on the market that can communicate with the server. A campus payment system 110 can correspond to multiple payment terminals 120 and multiple detail query terminals 130 at the same time, or the campus management system 100 includes multiple campus payment systems 110, and each campus management system 100 corresponds to one or more detail query terminals 130.
[0032] Based on this, an embodiment of the present application provides a method for managing campus consumption, and the embodiment of the present application is described in detail below in conjunction with the accompanying drawings.
[0033] See also Figure 2 , Figure 2 It is a flow chart of a campus consumption management method provided by an embodiment of the present application, which is applied to a campus payment system 110 in a campus management system 100. The campus management system 100 also includes a detail query terminal 130 and a payment terminal 120. The campus payment system 110 is respectively connected to the detail query terminal 130 and the payment terminal 120 in communication. The method includes:
[0034] Step S201, in response to a deduction instruction sent by a payment terminal, a deduction operation is performed according to the payment information and consumption information carried in the deduction instruction.
[0035] In a possible embodiment, the payment information includes the payment method corresponding to the current consumption and the information to be verified corresponding to the payment method, the payment method is a non-physical card payment method, and the consumption information includes the consumption amount; the response to the deduction instruction sent by the payment terminal, according to the payment information carried by the deduction instruction, performs a deduction operation, including: according to the payment method, determining a verification information database, the verification information database includes a student account and verification information preset based on the payment method, each student account corresponds to one verification information; if there is verification information matching the information to be verified, it is determined that the verification is successful, and the account balance is determined according to the student account; if the account balance is greater than or equal to the consumption amount, the account balance is updated to deduct the consumption amount, and it is determined that the deduction operation is successful.
[0036] Among them, the payment method is any non-physical card payment method, including but not limited to face recognition payment, fingerprint recognition payment, palm print recognition payment, iris recognition payment, chip recognition payment, account password payment and SMS verification payment. The characteristics of the above payment methods are that before executing the deduction instruction, the verification information corresponding to the student account in the verification information database is required to verify the student identity, and the data of the verification information corresponding to any two payment methods are different. It is understandable that the identification and verification technology used by the payment terminals set up on campus simultaneously supports any of the above non-physical card payment methods.
[0037] For example, see Figure 3 , Figure 3 is a schematic diagram of a scenario of a non-physical card payment method provided in an embodiment of the present application, such as Figure 3 As shown, Figure 3 For the scenario of a campus with a campus management system, Figure 3 01 in the figure is a student. Figure 3 02 in the figure is the payment terminal. Figure 3 03 in the figure is fingerprint payment in non-physical card payment method. Figure 3 04 in the figure is the account and password payment in the non-physical card payment method. Figure 3 05 in the figure is the face recognition payment among the non-physical card payment methods. The above three non-physical card payment methods are all payment methods supported by the payment terminal. Students can use these three non-physical card payment methods to conveniently make purchases on campus.
[0038] The payment methods in this example are all non-physical card payment methods, which allow students in the school to complete daily consumption on campus without carrying physical cards or cash when they cannot use electronic devices. In addition to convenience, non-physical card payment methods have the following benefits: 1. Security. Compared with carrying cash or physical bank cards, non-physical card payment methods are safer. Students do not have to worry about the risk of losing cards or cash being stolen because payment information is stored on a secure digital platform and can be verified by passwords or biometric technology. 2. Save time and resources. Students will pay faster each time they consume, and schools can also reduce the cost and risk of cash management. 3. Easy to track and manage. Schools can track students' consumption through non-physical card payment systems and better manage school funds. Schools can collect data, analyze students' consumption habits, and provide more effective financial management for schools.
[0039] Furthermore, different payment methods correspond to different verification operations, and the data in the verification information database formed by the payment verification information set by students for each payment method is also completely different. Each student's student account will correspond to a verification information for different payment methods. The campus payment system verifies the consumption authority of this consumption through the verification information corresponding to the student account to protect the student's account security and financial security.
[0040] It can be seen that in this example, through the payment method of non-physical cards and the corresponding verification operations, the practicality and security of the campus payment system are improved, the convenience and efficiency of students' consumption on campus are improved, and it is conducive to the unified management and digital transformation of the school.
[0041] In a possible embodiment, after the verification is confirmed to be successful and the account balance is determined based on the student account, the method further includes: if the account balance is less than the consumption amount, determining the amount owed; if the amount owed is less than or equal to a preset overdraft limit, updating the account balance to deduct the consumption amount, and determining that the deduction operation is successful; based on the amount owed, sending a first prompt message to the payment terminal; if the amount owed is greater than the preset overdraft limit, determining that the deduction operation has failed, and sending a second prompt message to the payment terminal.
[0042] The amount of outstanding fees is the amount obtained by deducting the consumption amount from the account balance, the first prompt information is used to remind the student that the fees are outstanding, and the second prompt information is used to remind the student to recharge within a preset time and to remind the student that the current payment has failed.
[0043] Among them, in order to avoid the situation that students fail to recharge their account balance in time during the consumption process, the school can set a unified overdraft limit for students, so that students can overdraw a certain amount when consuming to ensure the continuation of the deduction operation. The preset overdraft limit can provide students with a certain degree of flexibility, and transactions can continue even if the account balance is insufficient. This is very useful for emergency or unexpected payment. Students do not need to recharge their accounts immediately when the balance is insufficient, but can use the overdraft limit to complete the transaction first, thus saving time and unnecessary trouble. In addition, when students pay in stores or other places, if the transaction is rejected due to insufficient account balance, it may cause embarrassment. The preset overdraft limit can avoid this situation and improve the payment experience of students. Of course, in order to ensure that students will recharge their account balance in time afterwards, the campus payment system will send a first prompt message to the payment terminal after the deduction to remind them that the balance after consumption needs to be recharged in time.
[0044] It can be seen that in this example, by setting an overdraft limit for students, the flexibility of the campus payment system in deducting balances is improved, and the preset overdraft limit helps improve the business fluency of the payment system. In peak consumption periods such as meals, setting an overdraft limit can reduce payment failures due to insufficient account balances, ensure the efficient operation of the payment system, and reduce the transaction failure rate. In addition, setting an overdraft limit also improves students' payment experience and consumption convenience.
[0045] In a possible embodiment, the campus management system also includes a parent terminal, which is a terminal device held by the guardian bound to the student account, and each student account corresponds to one or more parent terminals; after determining that the deduction operation has failed and sending a second prompt message to the payment terminal, the method also includes: determining that the student account corresponding to the current consumption is an arrears account; sending payment request information to the parent terminal corresponding to the arrears account; if a recharge operation of the parent terminal for the recharge entrance is detected, updating the account balance according to the recharge amount corresponding to the recharge operation.
[0046] The payment request information includes the account balance of the account in arrears and the recharge entry for the account in arrears.
[0047] See also Figure 4 , Figure 4 is a schematic diagram of the content of a payment request information provided by an embodiment of the present application, such as Figure 4As shown, the text content of the payment request information includes two parts, one is the description of the student account's outstanding balance, which includes the student's name and the outstanding balance of the corresponding student account, which is RMB 50. The other is a recharge entrance provided to parents to recharge their child's account balance, and the recharge entrance is displayed in the form of a QR code. Obviously, the recharge entrance can also be a link, etc., which is not limited here.
[0048] Among them, by adding a parent terminal to the campus management system and sending a payment request message to the parent terminal when the student account is in arrears, parents can be notified in a timely manner about the arrears of the student account. This ensures that parents understand and can take timely action to solve payment problems and avoid continued accumulation of arrears. In addition, the introduction of the parent terminal allows parents to supervise and manage student payment behavior. Parents can pay closer attention to students' consumption behavior, correct improper payment habits in a timely manner, and improve students' financial management awareness. Among them, the payment request information will also have a corresponding recharge entrance to provide parents with a recharge channel, which is convenient for the campus payment system to monitor the flow of funds.
[0049] Furthermore, an event-driven architecture can be built in the campus payment system, and every time a parent or student initiates a recharge operation, an event will be generated. These events will be sent to the campus payment system, and the campus payment system will respond to these events to process the data of the account balance in the student account.
[0050] Furthermore, a real-time alarm function can be set. Staff can set key indicator thresholds for recharge behavior in the campus payment system (such as abnormally high frequency recharge, over-limit recharge). Once the recharge behavior beyond the normal range is detected, the system will automatically trigger an alarm and remind relevant personnel (such as the contact information reserved by parents) through email, SMS or in-app notification.
[0051] It can be seen that in this example, by adding the parent side to the interactive system and notifying parents when their accounts are in arrears to improve the transparency and security of the campus payment system, it helps to cultivate students' good consumption habits and financial responsibility.
[0052] In a possible embodiment, the parent terminal is bound to a parent account, and the parent account is bound to a student account of the target student; after sending the target consumption details to the detail query terminal, the method further includes: receiving a transfer setting instruction sent by the parent terminal; obtaining a target exam set and an account relationship set; determining the target exam ranking or target exam score of the target student; if the target exam ranking or target exam of the target student meets the transfer conditions, then transferring the transfer amount from the parent transfer account to the student account of the target student.
[0053] Among them, the transfer setting instruction is used to indicate the transfer conditions and the transfer amount, the transfer conditions are the target score or target ranking of the target student in the target exam, the target exam set includes the exam ranking or exam score, and student information, each student information corresponds to one exam ranking or one exam score, and the account relationship set includes the corresponding relationship between each student information and the student account.
[0054] Parents can set up transfer instructions on the campus payment system to automatically transfer the amount to the student account when the student reaches the preset target exam ranking or target exam score, which can encourage students to compete and cultivate a sense of competition. This helps students achieve better academic performance and improve the overall school education level, and provides a safe and reliable way for parents to transfer money to their children.
[0055] It can be seen that in this example, the introduction of the parent-side transfer setting instructions in the campus payment system improves the flexibility of the campus payment system, and through the direct binding of parent accounts and student accounts, the security and stability of transfer transactions are improved, thereby increasing students' enthusiasm for learning.
[0056] In a possible embodiment, the consumption information also includes a consumption location, and the consumption location is used to characterize the location of the payment terminal; after the verification is determined to be successful and the account balance is determined according to the student account, the method also includes: if the account balance is greater than or equal to the consumption amount, then according to the consumption location, detecting whether a first-level consumption restriction is set for the student account; if it is detected that the first-level consumption restriction exists at the consumption location, and the consumption amount is greater than the single consumption limit, determining that the deduction operation has failed, and sending a third prompt message to the payment terminal; if it is detected that the first-level consumption restriction exists at the consumption location, and the consumption amount is less than or equal to the single consumption limit, updating the account balance to deduct the consumption amount, and determining that the deduction operation is successful.
[0057] Among them, the first-level consumption limit is the single consumption limit of the student account at the consumption location, and the third prompt information is used to prompt the student that the current consumption has exceeded the single consumption limit.
[0058] Among them, by setting a first-level consumption limit, by setting a single consumption limit, students will be able to control their spending at specific places more easily. This helps prevent them from overspending and ensures that money is used more reasonably. In addition, limiting the amount of a single consumption helps reduce the risk of student cards being abused. If a card is stolen, a single consumption limit can limit the extent of the loss and improve the security of funds. In addition, through this setting, student activities can also be monitored. Schools can more easily monitor students' spending at specific places and ensure that their consumption meets the standards set by the school. Among them, the first-level consumption limit can be set by students or by their parents.
[0059] It can be seen that in this example, by setting a first-level consumption limit, the efficiency and security of the campus payment system in managing student funds can be improved, as well as the practicality of the campus payment system, which can effectively cultivate students' habits of rational consumption and avoid developing the habit of excessive consumption.
[0060] In a possible embodiment, after the verification is confirmed to be successful and the account balance is determined based on the student account, the method further includes: if the account balance is greater than or equal to the consumption amount, detecting whether the student account is set with a secondary consumption restriction; if it is detected that the student account has the secondary consumption restriction, obtaining a reference consumption detail of the student account; determining the remaining consumption limit based on the reference consumption details and the total consumption limit; if the consumption amount is greater than the remaining consumption limit, determining that the deduction operation has failed, and sending a fourth prompt message to the payment terminal.
[0061] Among them, the secondary consumption limit is the total consumption limit of the student account within the preset time period, the reference consumption details are the consumption details within the preset time period, and the fourth prompt information is used to prompt the student that the current consumption has exceeded the total consumption limit and prompt the student the remaining consumption limit.
[0062] Among them, secondary spending limits can be set by students or their parents. Setting secondary spending limits can bring many benefits: 1. Overall spending control: By setting a total spending limit, the school can more comprehensively control the overall spending of students within a certain period of time. This helps to ensure that students do not exceed the financial burden they can afford over a period of time. 2. Avoid overspending: By setting a total spending limit, students can be prevented from overspending in a short period of time, thereby reducing financial problems caused by careless spending. 3. Security and risk management: Setting a total spending limit helps reduce the risk of student accounts being abused or stolen. If a card is stolen, the setting of a total limit can limit the extent of the loss.
[0063] It can be seen that in this example, by setting secondary consumption restrictions, the efficiency and security of the campus payment system in managing student funds can be improved, as well as the practicality of the campus payment system, which can effectively cultivate students' habits of rational consumption and avoid developing the habit of excessive consumption.
[0064] Step S202: if the deduction operation is successfully executed, the consumption details of the student corresponding to the current consumption are updated according to the consumption information;
[0065] Step S203, in response to the print request message sent by the detail query terminal, determine the target consumption details of the target student in the viewing period according to the request information carried in the print request message.
[0066] The request information is used to indicate the target student and the viewing period.
[0067] The detailed inquiry terminal can be a shared printer set up in a fixed area on campus. Students can log in to their accounts and send print request messages to the campus payment system. The detailed inquiry terminal can also be a smart terminal device, that is, after returning home, students can log in to the campus payment system through their own or their parents' smart terminal devices (such as mobile phones, tablet computers, etc.) to send print request messages. The detailed inquiry terminal provides students with a variety of query methods for requesting to print consumption details, which is convenient for students to promptly discover bad consumption habits and correct them.
[0068] Among them, see Figure 5 , Figure 5 Schematic diagram of a scenario for viewing consumption details provided by an embodiment of the present application. Figure 5 As shown, Figure 5 01 in the figure is the server corresponding to the campus payment system. Figure 5 02 in the figure is the detailed query terminal. Figure 5 03 in the figure is the target consumption details printed by the detail query terminal. Figure 5 04 of them are students. Figure 5 The student 04 in the figure can be any student on campus. As long as he has a student account on the campus payment system, he can use the detail query terminal to send a print request message to the campus payment system to obtain the target consumption details printed by the detail query terminal, and then he can view the consumption information he wants to see and the consumption items of each consumption.
[0069] Step S204, controlling the detail query terminal to print the target consumption details.
[0070] visible, Figure 2It is a flow chart of a campus consumption management method provided in an embodiment of the present application. In the embodiment of the present application, the campus payment system realizes unified management of the consumption of students on campus through interaction with the detail query terminal and the payment terminal, and updates and prints the target consumption details at any time, thereby improving the efficiency and practicality of the campus payment system and enabling students to check their consumption details at any time.
[0071] The following is an embodiment of the device of the present application. The embodiment of the device of the present application and the embodiment of the method of the present application are of the same concept and are used to execute the method described in the embodiment of the present application. For the convenience of explanation, the embodiment of the device of the present application only shows the part related to the embodiment of the device of the present application. For the specific technical details not disclosed, please refer to the description of the embodiment of the method of the present application, which will not be repeated here one by one.
[0072] The present application embodiment provides a campus consumption management device, which is applied to Figure 1 The campus payment system 110 in the campus management system 100 shown in the figure, the campus management system 100 also includes a detail query terminal 130 and a payment terminal 120, and the campus payment system 110 is respectively connected to the detail query terminal 130 and the payment terminal 120. Specifically, the campus consumption management device is used to execute the steps performed by the campus payment system 110 in the above campus consumption management method. The campus consumption management device provided in the embodiment of the present application may include modules corresponding to the corresponding steps.
[0073] The embodiment of the present application can divide the functional modules of the campus consumption management device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. The division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0074] In the case of dividing each functional module into corresponding functional modules, Figure 6It is a functional unit composition block diagram of a campus consumption management device provided in an embodiment of the present application; the campus consumption management device 60 includes: a first response unit 601, which is used to respond to the deduction instruction sent by the payment terminal, and execute the deduction operation according to the payment information and consumption information carried by the deduction instruction; an update unit 602, which is used to update the consumption details of the student corresponding to the current consumption according to the consumption information if the deduction operation is successfully executed; a second response unit 603, which is used to respond to the print request message sent by the detail query terminal, and determine the target consumption details of the target student in the viewing period according to the request information carried by the print request message, wherein the request information is used to indicate the target student and the viewing period; a control unit 604, which is used to control the detail query terminal to print the target consumption details.
[0075] In a possible embodiment, the payment information includes the payment method corresponding to the current consumption and the information to be verified corresponding to the payment method, the payment method is a non-physical card payment method, and the consumption information includes the consumption amount; in response to the deduction instruction sent by the payment terminal, the deduction operation is performed according to the payment information carried by the deduction instruction, and the first response unit 601 is specifically used to: determine the verification information database according to the payment method, the verification information database includes student accounts and verification information preset based on the payment method, and each student account corresponds to one verification information; if there is verification information matching the information to be verified, it is determined that the verification is successful, and the account balance is determined according to the student account; if the account balance is greater than or equal to the consumption amount, the account balance is updated to deduct the consumption amount, and it is determined that the deduction operation is successful.
[0076] In a possible embodiment, after the verification is confirmed to be successful and the account balance is determined according to the student account, the first response unit 601 is further specifically used to: if the account balance is less than the consumption amount, determine the amount owed, and the amount owed is the amount after deducting the consumption amount from the account balance; if the amount owed is less than or equal to the preset overdraft limit, update the account balance to deduct the consumption amount, and determine that the deduction operation is successful; according to the amount owed, send a first prompt message to the payment terminal, the first prompt message is used to prompt the student that he / she is in arrears; if the amount owed is greater than the preset overdraft limit, determine that the deduction operation has failed, and send a second prompt message to the payment terminal, the second prompt message is used to prompt the student to recharge within a preset time and prompt that the current payment has failed.
[0077] In a possible embodiment, the campus management system also includes a parent terminal, which is a terminal device held by the guardian bound to the student account, and each student account corresponds to one or more parent terminals; after determining that the deduction operation has failed and sending a second prompt message to the payment terminal, the first response unit 601 is specifically used to: determine that the student account corresponding to the current consumption is an arrears account; send payment request information to the parent terminal corresponding to the arrears account, the payment request information includes the account balance of the arrears account and the recharge entry for the arrears account; if a recharge operation of the parent terminal for the recharge entry is detected, the account balance is updated according to the recharge amount corresponding to the recharge operation.
[0078] In a possible embodiment, the parent terminal is bound to a parent account, and the parent account is bound to a student account of the target student; after sending the target consumption details to the detail query terminal, the first response unit 601 is specifically used to: receive a transfer setting instruction sent by the parent terminal, the transfer setting instruction is used to indicate a transfer condition and a transfer amount, and the transfer condition is a target score or a target ranking of the target student in a target test; obtain a target test set and an account relationship set, the target test set includes a test ranking or a test score, and student information, each student information corresponds to one test ranking or one test score, and the account relationship set includes a corresponding relationship between each student information and the student account; determine the target test ranking or target test score of the target student; if the target test ranking or target test of the target student meets the transfer condition, then remit the transfer amount from the parent transfer account to the student account of the target student.
[0079] In a possible embodiment, the consumption information also includes a consumption location, and the consumption location is used to characterize the location of the payment terminal; after the verification is determined to be successful and the account balance is determined according to the student account, the first response unit 601 is specifically used to: if the account balance is greater than or equal to the consumption amount, then according to the consumption location, detect whether the student account is set with a first-level consumption restriction, and the first-level consumption restriction is a single consumption limit of the student account at the consumption location; if it is detected that the first-level consumption restriction exists at the consumption location, and the consumption amount is greater than the single consumption limit, it is determined that the deduction operation has failed, and a third prompt message is sent to the payment terminal, and the third prompt message is used to prompt the student that the current consumption has exceeded the single consumption limit; if it is detected that the first-level consumption restriction exists at the consumption location, and the consumption amount is less than or equal to the single consumption limit, the account balance is updated to deduct the consumption amount, and it is determined that the deduction operation is successful.
[0080] In a possible embodiment, after the verification is confirmed to be successful and the account balance is determined according to the student account, the first response unit 601 is specifically used to: if the account balance is greater than or equal to the consumption amount, detect whether the student account is set with a secondary consumption limit, and the secondary consumption limit is the total consumption limit of the student account within a preset time period; if it is detected that the student account has the secondary consumption limit, obtain the reference consumption details of the student account, and the reference consumption details are the consumption details within the preset time period; determine the remaining consumption limit according to the reference consumption details and the total consumption limit; if the consumption amount is greater than the remaining consumption limit, determine that the deduction operation has failed, and send a fourth prompt message to the payment terminal, and the fourth prompt message is used to prompt the student that the current consumption has exceeded the total consumption limit and prompt the student of the remaining consumption limit.
[0081] In the case of integrated units, such as Figure 7 As shown, Figure 7 This is a functional unit block diagram of another campus consumption management device provided by an embodiment of the present application. Figure 7 In the embodiment, the campus consumption management device 60 includes: a processing module 702 and a communication module 701. The processing module 702 is used to control and manage the actions of the campus consumption management device, for example, the steps of the first response unit 601, the update unit 602, the second response unit 603 and the control unit 604, and / or other processes for executing the technology described herein. The communication module 701 is used to support the interaction between the campus consumption management device and other devices. Figure 7 As shown, the campus consumption management device may include a storage module 703, and the storage module 703 is used to store program codes and data of the campus consumption management device.
[0082] Among them, the processing module 702 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 701 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 703 can be a memory.
[0083] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above campus consumption management device 60 can execute the above Figure 2 The management methods of campus consumption are shown.
[0084] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0085] Figure 8 is a structural block diagram of a server provided in an embodiment of the present application. Figure 8 As shown, the server 80 may include one or more of the following components: a processor 801, a memory 802 coupled to the processor 801, wherein the memory 802 may store one or more computer programs 803, and the one or more computer programs 803 may be configured to implement the methods described in the above embodiments when executed by one or more processors 801. The server 80 may be the campus payment system 110 in the above embodiments.
[0086] The processor 801 may include one or more processing cores. The processor 801 uses various interfaces and lines to connect the various parts of the entire server 80, and executes various functions and processes data of the server 80 by running or executing instructions, programs, code sets or instruction sets stored in the memory 802, and calling data stored in the memory 802. Optionally, the processor 801 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 801 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 801, but may be implemented separately through a communication chip.
[0087] The memory 802 may include a random access memory (RAM) or a read-only memory (ROM). The memory 802 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 802 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the server 80 during use, etc.
[0088] It is understandable that the server 80 may include more or fewer structural elements than those in the above structural block diagram, which is not limited here.
[0089] An embodiment of the present application also provides a computer storage medium, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, part or all of the steps of any method recorded in the above method embodiments are implemented.
[0090] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any method recorded in the above method embodiments.
[0091] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0092] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0093] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0094] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0095] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (directrambus RAM, DR RAM) and other media that can store program code.
[0096] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.
Claims
1. A method for managing campus consumption, characterized in that: A campus payment system applied to a campus management system, wherein the campus management system further comprises a detail query terminal and a payment terminal, and the campus payment system is respectively connected to the detail query terminal and the payment terminal in communication; the method comprises: In response to the deduction instruction sent by the payment terminal, executing the deduction operation according to the payment information and consumption information carried in the deduction instruction; If the deduction operation is successfully executed, the consumption details of the student corresponding to the current consumption are updated according to the consumption information; In response to the print request message sent by the detail query terminal, determine the target consumption details of the target student in the viewing period according to the request information carried in the print request message, wherein the request information is used to indicate the target student and the viewing period; Control the detailed inquiry terminal to print the target consumption details.
2. The method according to claim 1, characterized in that The payment information includes the payment method corresponding to the current consumption and the to-be-verified information corresponding to the payment method, the payment method is a non-physical card payment method, and the consumption information includes the consumption amount; the response to the deduction instruction sent by the payment terminal, performing the deduction operation according to the payment information carried by the deduction instruction, includes: According to the payment method, determining a verification information database, the verification information database including student accounts and verification information preset based on the payment method, each student account corresponding to one verification information; If there is verification information matching the information to be verified, then the verification is determined to be successful, and the account balance is determined based on the student account; If the account balance is greater than or equal to the consumption amount, the account balance is updated to deduct the consumption amount, and it is determined that the deduction operation is successfully executed.
3. The method according to claim 2, characterized in that After determining that the verification is successful and determining the account balance based on the student account, the method further includes: If the account balance is less than the consumption amount, the amount of outstanding payment is determined, where the amount of outstanding payment is the amount after deducting the consumption amount from the account balance; If the outstanding amount is less than or equal to the preset overdraft limit, updating the account balance to deduct the consumption amount, and determining that the deduction operation is successfully executed; Sending a first prompt message to the payment terminal according to the amount of outstanding fees, wherein the first prompt message is used to prompt the student that the student has outstanding fees; If the amount of outstanding fees is greater than the preset overdraft limit, it is determined that the deduction operation has failed, and a second prompt message is sent to the payment terminal, wherein the second prompt message is used to prompt the student to recharge within a preset time and to prompt that the current payment has failed.
4. The method according to claim 3, characterized in that The campus management system further includes a parent terminal, which is a terminal device held by a guardian bound to the student account, and each student account corresponds to one or more parent terminals; After determining that the deduction operation fails and sending a second prompt message to the payment terminal, the method further includes: Determining that the student account corresponding to the current consumption is an account in arrears; Sending payment request information to the parent terminal corresponding to the overdue account, wherein the payment request information includes the account balance of the overdue account and a recharge entry for the overdue account; If a recharge operation of the parent terminal on the recharge entry is detected, the account balance is updated according to the recharge amount corresponding to the recharge operation.
5. The method according to claim 4, characterized in that The parent terminal is bound to a parent account, and the parent account is bound to a student account of the target student; After sending the target consumption details to the detail query terminal, the method further includes: receiving a transfer setting instruction sent by the parent terminal, wherein the transfer setting instruction is used to indicate a transfer condition and a transfer amount, wherein the transfer condition is a target score or a target ranking of the target student in a target test; Acquire a target exam set and an account relationship set, wherein the target exam set includes an exam ranking or an exam score, and student information, each piece of student information corresponds to one of the exam rankings or one of the exam scores, and the account relationship set includes a corresponding relationship between each piece of student information and the student account; Determining a target test ranking or target test score for the target student; If the target test ranking or target test of the target student meets the transfer conditions, the transfer amount is transferred from the parent transfer account to the student account of the target student.
6. The method according to claim 2, characterized in that The consumption information also includes a consumption location, and the consumption location is used to represent the location of the payment terminal; after the verification is successful and the account balance is determined according to the student account, the method further includes: If the account balance is greater than or equal to the consumption amount, then based on the consumption location, detecting whether a primary consumption limit is set for the student account, the primary consumption limit being a single consumption limit for the student account at the consumption location; If it is detected that the consumption location has the first-level consumption restriction and the consumption amount is greater than the single consumption limit, it is determined that the deduction operation has failed, and a third prompt message is sent to the payment terminal, wherein the third prompt message is used to prompt the student that the current consumption has exceeded the single consumption limit; If it is detected that the consumption location has the primary consumption restriction and the consumption amount is less than or equal to the single consumption limit, the account balance is updated to deduct the consumption amount, and it is determined that the deduction operation is successfully executed.
7. The method according to claim 6, characterized in that After determining that the verification is successful and determining the account balance based on the student account, the method further includes: If the account balance is greater than or equal to the consumption amount, detecting whether a secondary consumption limit is set for the student account, the secondary consumption limit being the total consumption limit of the student account within a preset time period; If it is detected that the student account has the secondary consumption restriction, obtaining reference consumption details of the student account, where the reference consumption details are consumption details within the preset time period; Determine the remaining consumption limit according to the reference consumption details and the total consumption limit; If the consumption amount is greater than the remaining consumption limit, it is determined that the deduction operation has failed, and a fourth prompt message is sent to the payment terminal. The fourth prompt message is used to remind the student that the current consumption has exceeded the total consumption limit and remind the student of the remaining consumption limit.
8. A campus consumption management device, characterized in that: A campus payment system applied to a campus management system, wherein the campus management system further comprises a detail query terminal and a payment terminal, and the campus payment system is respectively connected to the detail query terminal and the payment terminal in communication; the device comprises: A first response unit, configured to respond to a deduction instruction sent by the payment terminal and execute a deduction operation according to the payment information and consumption information carried in the deduction instruction; An updating unit, configured to update the consumption details of the student corresponding to the current consumption according to the consumption information if the deduction operation is successfully executed; A second response unit, configured to respond to a print request message sent by the detail query terminal, and determine the target consumption details of the target student in the viewing period according to request information carried in the print request message, wherein the request information is used to indicate the target student and the viewing period; A control unit is used to control the detailed inquiry terminal to print the target consumption details.
9. A server, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
Campus card withholding consumption credit assessment method, device and equipment and storage medium
CN122367613A
