CN116797219A - Medicine payment method and device based on webpage cash register, electronic equipment and medium - Google Patents

Medicine payment method and device based on webpage cash register, electronic equipment and medium Download PDF

Info

Publication number
CN116797219A
CN116797219A CN202310826927.XA CN202310826927A CN116797219A CN 116797219 A CN116797219 A CN 116797219A CN 202310826927 A CN202310826927 A CN 202310826927A CN 116797219 A CN116797219 A CN 116797219A
Authority
CN
China
Prior art keywords
medicine
payment
cashier
cash register
target user
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.)
Pending
Application number
CN202310826927.XA
Other languages
Chinese (zh)
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.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen 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 Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202310826927.XA priority Critical patent/CN116797219A/en
Publication of CN116797219A publication Critical patent/CN116797219A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/409Device specific authentication in transaction processing
    • G06Q20/4097Device specific authentication in transaction processing using mutual authentication between devices and transaction partners

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention relates to the technical field of artificial intelligence, and discloses a medicine payment method based on a webpage cash register, which comprises the following steps: after information configuration is carried out on the webpage cashier desk by utilizing preset medicine inventory data, authority is given to the cashier, and cashier cashing authority is obtained; carrying out identity verification on the configured login account of the webpage cash register according to the cash register authority, and generating an update list by utilizing the login account passing the identity verification and the intention medicine of the target user; and determining the amount to be paid of the target user according to the updated list, acquiring the user balance of the target user, and paying the intention medicine of the target user according to the payment mode and the amount to be paid of the target user. In addition, the invention also relates to a blockchain technology, and medicine inventory data can be stored in nodes of the blockchain. The invention further provides a medicine payment device based on the webpage cash register, electronic equipment and a storage medium. The invention can solve the problem of lower overall efficiency during drug payment.

Description

Medicine payment method and device based on webpage cash register, electronic equipment and medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a medicine payment method, device, electronic equipment and medium based on a webpage cash register.
Background
No matter in hospitals or at drug stores on the street, the places where medicines are sold can be provided with cashing work, so that the method can be said as follows: cashing is an important ring of sales and sales relations and is a completion sign of drug trade.
At present, an enterprise resource planning system (ERP system) is an information management system for managing commodities, inventory and orders, which is used by current online pharmacy, hospitals or physical examination institutions, and a platform of a third party payment mode is in butt joint with online merchants if the platform needs to be in charge of the online payment mode, the platform system is often in interface butt joint with the ERP system of the merchants, the interface of the ERP system is required to be modified, but the period of butt joint of the ERP system and the interface of the ERP system is long, and meanwhile ERP manufacturers possibly used by different merchants are different, so that the overall efficiency of medicine payment is improved, and the problem to be solved urgently is solved.
Disclosure of Invention
The invention provides a medicine payment method, device, electronic equipment and medium based on a webpage cash register, and mainly aims to solve the problem of low overall efficiency during medicine payment.
In order to achieve the above object, the present invention provides a method for paying for medicines based on a web cash register, comprising:
information configuration is carried out on the webpage cash register desk by utilizing preset medicine inventory data, and a configuration cash register desk of the webpage cash register desk is obtained;
giving authority to the cashier configured with the cashier to obtain cashier authority;
performing identity verification on a login account of the configured cash desk according to the cash register authority, and determining that the login account passing the identity verification is an effective account;
adding the target user's intention medicine by using the effective account to obtain the input medicine of the intention medicine, and generating a medicine list of the target user according to the input medicine;
refund screening is carried out on the input medicines in the medicine list, and medicine updating is carried out on the medicine list according to the refund screening result, so that an updated list of the medicine list is obtained;
and generating the amount to be paid of the target user according to the updated list, acquiring the user balance of the target user, and paying the intention medicine of the target user according to the payment mode of the target user, the user balance and the amount to be paid.
Optionally, the configuring the information of the web cash register with the preset medicine inventory data to obtain the configured cash register of the web cash register includes:
acquiring a medicine page module of a webpage cashier, and classifying preset medicine inventory data according to the medicine page module to obtain classified data of the preset medicine inventory data;
and configuring medicine information of the medicine page module by using the classification data to obtain a configuration cash register of the webpage cash register.
Optionally, the giving authority to the cashier configuring the cashier to obtain the cashier's cashier authority includes:
creating a unique identifier for the cashier;
performing role definition on a cashier configuring a cashier according to the unique identifier to obtain a cashier role of the cashier;
and determining the business requirement of the cashier according to the role of the cashier, and performing authority allocation on the cashier's cashing account by utilizing the business requirement to obtain the cashier's cashing authority.
Optionally, the authenticating the login account of the configured cash desk according to the cashing authority includes:
Acquiring a login account of the configured cash register, and carrying out parameter analysis on the login account to obtain account parameters of the login account;
performing parameter verification on the account parameters to obtain verification parameters of the account parameters;
and acquiring user storage data of the configuration cash register, comparing the verification parameters with the user storage data, and performing identity verification on a login account of the configuration cash register according to a comparison result of the data comparison.
Optionally, the adding the drug to the target user's intention drug by using the effective account to obtain the input drug of the intention drug includes:
performing attribute analysis on the intended medicine to obtain medicine attributes of the intended medicine;
extracting inventory keywords of the preset medicine inventory data, and generating attribute similarity of the inventory keywords and the product attributes;
and carrying out data extraction on the preset medicine inventory data by utilizing the attribute similarity to obtain extraction data of the preset medicine inventory data, and determining the input medicine of the intended medicine according to the extraction data.
Optionally, the generating the amount to be paid of the target user according to the updated list includes:
According to the recorded medicines in the updated list, calling price data of preset medicine inventory data to obtain the medicine price of the recorded medicines;
and acquiring the medicine quantity of the input medicines one by one according to the updated list, and generating the amount to be paid of the target user according to the medicine quantity of the input medicines and the medicine price.
Optionally, the payment of the intention medicine of the target user according to the payment mode of the target user, the balance of the user and the amount to be paid includes:
acquiring a payment mode of a target user, and calling an interface of a configuration cash register according to the payment mode to obtain a matching interface of the payment mode;
according to the matching interface, acquiring payment parameters of the target user, carrying out payment verification on the payment mode by utilizing the payment parameters, and determining that the payment mode passing the payment verification is an effective mode;
and generating a payment request of the intention medicine according to the effective mode, carrying out state judgment on the payment mode according to the payment request and the amount to be paid, and generating a payment result of the intention medicine of the target user according to a judgment result of the state judgment.
In order to solve the above problems, the present invention also provides a medicine payment device based on a web cash register, the device comprising:
the information configuration module is used for carrying out information configuration on the webpage cash register by utilizing preset medicine inventory data to obtain a configuration cash register of the webpage cash register;
the permission giving module is used for giving permission to the cashier configuring the cashier to obtain the cashier's cashier permission;
the identity verification module is used for carrying out identity verification on the login account of the configured cash desk according to the cash register authority, and determining that the login account passing the identity verification is an effective account;
the list generation module is used for adding the drug to the target user's intention drug by using the effective account to obtain the input drug of the intention drug, and generating a drug list of the target user according to the input drug;
the refund screening module is used for refund screening of the input medicines in the medicine list, and updating the medicines in the medicine list according to the refund screening result to obtain an updated list of the medicine list;
and the medicine payment module is used for generating the to-be-paid amount of the target user according to the updated list, acquiring the user balance of the target user, and carrying out payment on the intention medicine of the target user according to the payment mode of the target user, the user balance and the to-be-paid amount.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the webpage cash register based drug payment method described above.
In order to solve the above-mentioned problems, the present invention also provides a storage medium having stored therein at least one computer program that is executed by a processor in an electronic device to implement the above-mentioned webpage cash register based drug payment method.
According to the method, the device, the electronic equipment and the storage medium, the problem of lower overall efficiency in drug payment can be solved by the method, the device and the storage medium for drug payment based on the webpage cash register.
Drawings
Fig. 1 is a flow chart of a method for payment of medicines based on a web cash register according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of the authority assignment of cashiers according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a process for drug payment for an intent drug according to an embodiment of the present application;
FIG. 4 is a functional block diagram of a drug payment device based on a web cash register according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device for implementing the method for payment of medicines based on a web-page cash register according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The embodiment of the application provides a medicine payment method based on a webpage cash register. The execution subject of the medicine payment method based on the webpage cash register table comprises at least one of a server, a terminal and the like which can be configured to execute the method provided by the embodiment of the application. In other words, the webpage cash register based drug payment method may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Referring to fig. 1, a flow chart of a method for payment of medicines based on a web cash register according to an embodiment of the invention is shown. In this embodiment, the method for payment of medicines based on the webpage cash register includes:
s1, carrying out information configuration on a webpage cash register by using preset medicine inventory data to obtain a configuration cash register of the webpage cash register.
In the embodiment of the invention, the preset medicine inventory data refers to preset medicine information and inventory data. Such data may include names, prices, pictures, descriptions, inventory numbers, etc. of the drugs. Through the data, a reliable inventory management system can be built, so that the user can know the inventory condition of the user at any time and can timely handle the inventory problem, and in addition, the preset medicine inventory data can be used for building a webpage cash register so as to facilitate the user to purchase medicines pushed by the user.
In an embodiment of the present invention, the configuring a cash register of a web page cash register by using preset medicine inventory data to obtain the configured cash register of the web page cash register includes:
acquiring a medicine page module of a webpage cashier, and classifying preset medicine inventory data according to the medicine page module to obtain classified data of the preset medicine inventory data;
And configuring medicine information of the medicine page module by using the classification data to obtain a configuration cash register of the webpage cash register.
In detail, the medicine page module for acquiring the webpage cashier is a technical stack for acquiring the webpage cashier, the webpage cashier is a cashier system in a medical health platform, and the medicine page module for acquiring the webpage cashier comprises a medicine name and picture area, a medicine price area, a medicine description area, a medicine quantity area, a payment area and the like, wherein the medicine name and picture area is used for displaying information such as the name and picture of a medicine, so that a patient can intuitively identify the medicine; the drug description area provides the material, size, efficacy, use, etc. of the drug to help the user to better understand the drug.
In detail, the classifying the preset medicine inventory data according to the medicine page module refers to classifying the preset medicine inventory data according to the sub-region in the medicine page module, for example: the price of the medicine A is 1 and the quantity is 100, and then the medicine price area of the medicine A should be filled with 1 and the medicine quantity area should be filled with 100.
In detail, the configuring the drug information on the drug page module by using the classification data refers to filling the classified data into the corresponding sub-region of the drug page module, for example: the actual price of the A medicine is filled into the medicine price area, and the actual stock quantity of the A medicine is filled into the medicine quantity area.
In detail, the configuration cash register of the web page cash register refers to the configuration cash register obtained by configuring medicine information and data of the web page cash register through a hospital.
S2, giving authority to the cashier provided with the cashier, and obtaining the cashier' S cashier authority.
In the embodiment of the invention, the reason that the cashier configured with the cashier is given the authority is that in the medical health system, a pharmacy will usually use the cashier system to handle sales and inventory management of medicines, and in order to ensure the effectiveness and safety of commercial operation, the cashier is allocated with proper authority.
In an embodiment of the present invention, referring to fig. 2, the giving authority to the cashier configuring the cashier to obtain the cashier's cashier authority includes:
s21, creating a unique identifier of the cashier;
S22, defining the role of the cashier configuring the cashier according to the unique identifier to obtain the role of the cashier;
s23, determining the business requirement of the cashier according to the role of the cashier, and performing authority allocation on the cashier 'S cashier account by utilizing the business requirement to obtain the cashier' S cashier authority.
In detail, the creation of the unique identifier of the cashier refers to that when the account number of the cashier is created, a unique identifier may be assigned to the account number of the cashier, and information used in the system to identify and manage the cashier, for example: a unique identifier, such as a job number or employee ID, is selected to ensure that the identifier is unique throughout the system.
In detail, the role definition of the cashier configuring the cashier according to the unique identifier can better manage and control the role and authority of the cashier, for example: the store in the cashier may make a change in the number of drugs, but the cashier does not support the change in the number of drugs.
In detail, the determining the business requirement of the cashier according to the role of the cashier is to determine the main business requirement and responsibility of the cashier, such as sales, inventory management and the like, according to the role of the cashier.
In detail, the authority allocation of the cashier account by using the service requirement refers to allocating proper authority and access level to the cashier account according to the access authority setting, and determining which functions and data, such as sales flow, customer information or stock, etc., need to be accessed.
Further, the authority allocation of the cashier account can be reading authority, writing authority, management authority and the like, wherein the management authority refers to the grant of the cashier to fully control the system or specific information and assets, and comprises the operations of adding, deleting, configuring, managing, publishing and the like; the writing permission refers to permission for granting cashiers to modify, update, add or save medicine information or assets, but management permission cannot be executed; the reading authority refers to the authority granted to the cashier to read or view the target information or the asset, but cannot be modified, deleted or managed.
And S3, carrying out identity verification on the login account of the configured cash desk according to the cash register authority, and determining the login account passing the identity verification as an effective account.
In the embodiment of the invention, the authentication of the login account of the configured cash desk according to the cash register authority is used for ensuring that only authorized personnel can perform cash register operation.
In an embodiment of the present invention, the performing, according to the cashing authority, the authentication on the login account of the configured cash register station includes:
acquiring a login account of the configured cash register, and carrying out parameter analysis on the login account to obtain account parameters of the login account;
performing parameter verification on the account parameters to obtain verification parameters of the account parameters;
and acquiring user storage data of the configuration cash register, comparing the verification parameters with the user storage data, and performing identity verification on a login account of the configuration cash register according to a comparison result of the data comparison.
In detail, the acquiring the login account of the configuration cash desk may acquire account information of the login account in a suitable manner, for example, read from a database or parse from a configuration file, etc.; and the parameter analysis of the login account is to transmit account information of the login account to an analyzer so as to analyze and acquire account parameters. The specific implementation of the resolver may vary according to the format and content of account information, for example: for account information in text format, a text parser may be used to parse, for example, using regular expressions or separators to extract and organize different account parameters; for other formats of account information, an appropriate parser, such as an XML parser or a JSON parser, may be selected for parsing.
Further, the parameter verification of the account parameter means that after the account parameter is obtained, the account parameter can be transferred to a corresponding module or component for processing, for example, performing operations such as identity verification, authorization or configuration.
In detail, the data comparison between the verification parameters and the user stored data can be performed through hash value comparison or character string text comparison; the step of verifying the identity of the login account of the configuration cash register according to the comparison result of the data comparison means that whether the login account of the configuration cash register is verified or not is determined according to the comparison result, and if the comparison result is matched, the identity verification is successful, and the user is allowed to login; otherwise, the verification fails, and the user is forbidden to log in.
S4, adding the target user' S intention medicine by using the effective account to obtain the input medicine of the intention medicine, and generating a medicine list of the target user according to the input medicine.
In the embodiment of the invention, the target user's intended medicine refers to the selected medicine of the patient or the medicine on the prescription prescribed by the doctor for the patient, and the adding of the target user's intended medicine by using the effective account refers to the selection of the intended medicine at the configuration cash register or the adding of the intended medicine according to the code scanner.
In detail, the adding the medicine to the intention medicine of the target user by using the effective account comprises the following steps: addition and modification of medicine unit price, medicine number, medicine specification, medicine brand, medicine name, and the like.
In the embodiment of the present invention, the adding the drug to the target user's intention drug by using the effective account to obtain the input drug of the intention drug includes:
performing attribute analysis on the intended medicine to obtain medicine attributes of the intended medicine;
extracting inventory keywords of the preset medicine inventory data, and generating attribute similarity of the inventory keywords and the product attributes;
and carrying out data extraction on the preset medicine inventory data by utilizing the attribute similarity to obtain extraction data of the preset medicine inventory data, and determining the input medicine of the intended medicine according to the extraction data.
In detail, the analysis of the attributes of the intended medicine can analyze the text such as medicine description or specification list through a text analysis tool or a natural language processing technology so as to extract and organize various attributes of the medicine. Such as drug name, brand, model, size, weight, material, place of production, warranty, after-market service, and the like.
In detail, the generating the attribute similarity of the inventory keyword and the product attribute may use a euclidean distance algorithm, and the extracting the data of the preset medicine inventory data by using the attribute similarity refers to selecting the data of the preset medicine inventory data according to the attribute similarity, and selecting information such as matched inventory conditions and prices.
In the embodiment of the invention, the step of generating the drug list of the target user according to the recorded drugs refers to collecting the recorded drugs on a list and presenting the list to the target user.
S5, refund screening is conducted on the input medicines in the medicine list, and medicine updating is conducted on the medicine list according to the refund screening result, so that an updated list of the medicine list is obtained.
In the embodiment of the invention, refund screening of the input medicines in the medicine list refers to determining whether the input medicines on the medicine list are wrong by a customer, and when the input medicines on the medicine list are wrong, modifying the medicines by an administrator authority to obtain an updated list of the medicine list.
In detail, the refund screening can enable the cashier to inquire the order according to the order number, and click the 'confirm refund' after confirmation to finish refund, and for the consumed user, the cashier only needs to click the 'refund' button on the interface.
S6, generating an amount to be paid of the target user according to the updated list, acquiring the user balance of the target user, and paying the intention medicine of the target user according to the payment mode of the target user, the user balance and the amount to be paid.
In an embodiment of the present invention, the generating, according to the update manifest, the amount to be paid of the target user includes:
according to the recorded medicines in the updated list, calling price data of preset medicine inventory data to obtain the medicine price of the recorded medicines;
and acquiring the medicine quantity of the input medicines one by one according to the updated list, and generating the amount to be paid of the target user according to the medicine quantity of the input medicines and the medicine price.
In detail, the price data call is performed on the preset medicine inventory data according to the entered medicine in the updated list, because a medicine inventory database is set in the computer system in advance, wherein the medicine inventory database contains information such as medicine name, specification, manufacturer, medicine lot number, price, inventory quantity and the like, and the system will search the inventory database according to the information such as medicine name, specification and the like according to the updated list so as to determine the price of the medicine.
In detail, the generation of the amount to be paid of the target user according to the number of the medicines and the price of the medicines refers to the operation of the number of the medicines and the price of the medicines to obtain the amount to be paid of the target user.
In the embodiment of the present invention, referring to fig. 3, the payment of the target user's intention medicine according to the payment mode of the target user, the user balance and the amount to be paid includes:
s31, acquiring a payment mode of a target user, and calling an interface of a configuration cash register according to the payment mode to obtain a matching interface of the payment mode;
s32, acquiring payment parameters of the target user according to the matching interface, carrying out payment verification on the payment mode by utilizing the payment parameters, and determining that the payment mode passing the payment verification is an effective mode;
s33, generating a payment request of the intention medicine according to the effective mode, judging the state of the payment mode according to the payment request, the user balance and the amount to be paid, and generating a payment result of the intention medicine of the target user according to the judgment result of the state judgment.
In detail, the payment mode can be code scanning payment or card secret payment, wherein the card secret payment can be according to an entity card number, a mobile phone number, an identity card number or a virtual card number and the like.
In detail, the code scanning payment can be read by using a code scanning gun, after the code scanning payment is submitted, whether the payment can be successfully deducted is calculated by the system according to the balance condition of the user account, if the payment mode has a link of inputting a password, the user also needs to operate the mobile phone end to input the password, and after the password is correct, the user needs to confirm for the second time by a clerk; the card secret payment means that a card number and a corresponding card secret are manually input, the system firstly checks whether the user account password is correct, and if the user account password passes the check, secondary confirmation is required by a clerk.
In detail, the interface call to the configuration cash register according to the payment mode refers to that the system queries the matched payment interface and cash register configuration information according to the payment mode uploaded by the target user, and the specific payment interface must be integrated into the system in the form of a pluggable component so as to facilitate system call and use, wherein the component can be an extension or a standalone library, etc.
In detail, the state judgment refers to determining whether the payment mode is successful, and if the result of the state judgment is that the payment is successful, the result of the payment of the intention medicine of the target user is that the payment is successful; and if the judgment result of the state judgment is that the payment fails, the payment result of the intention medicine of the target user is that the payment fails.
According to the embodiment of the invention, the information configuration is carried out on the webpage cash register by designing the medicine database of the webpage cash register to obtain the configuration cash register, the login account can be verified after authority is given to a cashier in the configuration cash register, the medicine list is generated according to the verified effective account, the updated list is generated according to refund feedback of the target user on the medicine list, the user balance of the target user is obtained, the payment of the target user for the intention medicine is carried out according to the payment mode of the target user, the user balance and the to-be-paid amount, the whole set of cashing actions are realized, the development cost and the interface docking time can be reduced to 0, and the overall efficiency of the medicine in payment is improved.
Fig. 4 is a functional block diagram of a drug payment device based on a web cash register according to an embodiment of the present invention.
The drug payment device 100 based on the webpage cash register can be installed in an electronic device. Depending on the functions implemented, the web-based checkout counter drug payment device 100 may include an information configuration module 101, a rights granting module 102, an authentication module 103, a manifest generation module 104, a refund screening module 105, and a drug payment module 106. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the information configuration module 101 is configured to perform information configuration on a web cash register with preset drug inventory data to obtain a configuration cash register of the web cash register;
the permission giving module 102 is configured to give permission to a cashier configuring a cashier to obtain cashier's permission;
the identity verification module 103 is configured to perform identity verification on a login account of the configured cash desk according to the cashing authority, and determine that the login account passing the identity verification is a valid account;
the manifest generation module 104 is configured to add a drug to an intention drug of a target user by using the effective account, obtain an input drug of the intention drug, and generate a drug manifest of the target user according to the input drug;
the refund screening module 105 is configured to refund and screen the input medicines in the medicine list, and update the medicine list according to the refund screening result to obtain an updated list of the medicine list;
the drug payment module 106 is configured to generate an amount to be paid of the target user according to the updated list, obtain a user balance of the target user, and perform payment of the intended drug of the target user according to a payment manner of the target user, the user balance and the amount to be paid.
Fig. 5 is a schematic structural diagram of an electronic device for implementing a method for payment of medicines based on a web-based checkout counter according to an embodiment of the present invention.
The electronic device may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program stored in the memory 11 and executable on the processor 10, such as a web-based cash register drug payment program.
The processor 10 may be formed by an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed by a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing Unit, CPU), a microprocessor, a digital processing chip, a graphics processor, a combination of various control chips, and so on. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the entire electronic device using various interfaces and lines, executes various functions of the electronic device and processes data by running or executing programs or modules stored in the memory 11 (for example, executing a medicine payment program based on a web-page cash register, etc.), and calling data stored in the memory 11.
The memory 11 includes at least one type of storage medium including flash memory, a removable hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, such as a mobile hard disk of the electronic device. The memory 11 may in other embodiments also be an external storage device of the electronic device, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only for storing application software installed in an electronic device and various types of data, such as codes of a medicine payment program based on a web-page cash register, etc., but also for temporarily storing data that has been output or is to be output.
The communication bus 12 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
The communication interface 13 is used for communication between the electronic device and other electronic devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), or alternatively a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface.
Only an electronic device having components is shown, and it will be understood by those skilled in the art that the structures shown in the figures do not limit the electronic device, and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power source (such as a battery) for supplying power to the respective components, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device may further include various sensors, bluetooth modules, wi-Fi modules, etc., which are not described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The web-based checkout counter drug payment program stored by the memory 11 in the electronic device is a combination of instructions that, when executed in the processor 10, may implement:
information configuration is carried out on the webpage cash register desk by utilizing preset medicine inventory data, and a configuration cash register desk of the webpage cash register desk is obtained;
giving authority to the cashier configured with the cashier to obtain cashier authority;
Performing identity verification on a login account of the configured cash desk according to the cash register authority, and determining that the login account passing the identity verification is an effective account;
adding the target user's intention medicine by using the effective account to obtain the input medicine of the intention medicine, and generating a medicine list of the target user according to the input medicine;
refund screening is carried out on the input medicines in the medicine list, and medicine updating is carried out on the medicine list according to the refund screening result, so that an updated list of the medicine list is obtained;
and generating the amount to be paid of the target user according to the updated list, acquiring the user balance of the target user, and paying the intention medicine of the target user according to the payment mode of the target user, the user balance and the amount to be paid.
In particular, the specific implementation method of the above instructions by the processor 10 may refer to the description of the relevant steps in the corresponding embodiment of the drawings, which is not repeated herein.
Further, the electronic device integrated modules/units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. The storage medium may be volatile or nonvolatile. For example, the storage medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a storage medium storing a computer program which, when executed by a processor of an electronic device, can implement:
information configuration is carried out on the webpage cash register desk by utilizing preset medicine inventory data, and a configuration cash register desk of the webpage cash register desk is obtained;
giving authority to the cashier configured with the cashier to obtain cashier authority;
performing identity verification on a login account of the configured cash desk according to the cash register authority, and determining that the login account passing the identity verification is an effective account;
adding the target user's intention medicine by using the effective account to obtain the input medicine of the intention medicine, and generating a medicine list of the target user according to the input medicine;
refund screening is carried out on the input medicines in the medicine list, and medicine updating is carried out on the medicine list according to the refund screening result, so that an updated list of the medicine list is obtained;
and generating the amount to be paid of the target user according to the updated list, acquiring the user balance of the target user, and paying the intention medicine of the target user according to the payment mode of the target user, the user balance and the amount to be paid.
In the embodiments provided in the present invention, it should be understood that the disclosed electronic device, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. A method for payment of a drug based on a web checkout counter, the method comprising:
information configuration is carried out on the webpage cash register desk by utilizing preset medicine inventory data, and a configuration cash register desk of the webpage cash register desk is obtained;
giving authority to the cashier configured with the cashier to obtain cashier authority;
performing identity verification on a login account of the configured cash desk according to the cash register authority, and determining that the login account passing the identity verification is an effective account;
Adding the target user's intention medicine by using the effective account to obtain the input medicine of the intention medicine, and generating a medicine list of the target user according to the input medicine;
refund screening is carried out on the input medicines in the medicine list, and medicine updating is carried out on the medicine list according to the refund screening result, so that an updated list of the medicine list is obtained;
and generating the amount to be paid of the target user according to the updated list, acquiring the user balance of the target user, and paying the intention medicine of the target user according to the payment mode of the target user, the user balance and the amount to be paid.
2. The method for payment of medicines based on a web cash register as claimed in claim 1, wherein said configuring the web cash register with preset medicine stock data to obtain a configured cash register of the web cash register comprises:
acquiring a medicine page module of a webpage cashier, and classifying preset medicine inventory data according to the medicine page module to obtain classified data of the preset medicine inventory data;
and configuring medicine information of the medicine page module by using the classification data to obtain a configuration cash register of the webpage cash register.
3. The method for payment of medicines based on a web-based cashier of claim 1, wherein the giving authority to the cashier configuring the cashier, obtaining cashier authority, comprises:
creating a unique identifier for the cashier;
performing role definition on a cashier configuring a cashier according to the unique identifier to obtain a cashier role of the cashier;
and determining the business requirement of the cashier according to the role of the cashier, and performing authority allocation on the cashier's cashing account by utilizing the business requirement to obtain the cashier's cashing authority.
4. A method of payment for a drug based on a web cash register as claimed in claim 1, wherein said authenticating a login account of said configured cash register according to said cashier authority comprises:
acquiring a login account of the configured cash register, and carrying out parameter analysis on the login account to obtain account parameters of the login account;
performing parameter verification on the account parameters to obtain verification parameters of the account parameters;
and acquiring user storage data of the configuration cash register, comparing the verification parameters with the user storage data, and performing identity verification on a login account of the configuration cash register according to a comparison result of the data comparison.
5. The method for payment of drugs based on a web cash register as claimed in claim 1, wherein said adding drugs to the intended drugs of the target users using said effective account to obtain the entered drugs of the intended drugs comprises:
performing attribute analysis on the intended medicine to obtain medicine attributes of the intended medicine;
extracting inventory keywords of the preset medicine inventory data, and generating attribute similarity of the inventory keywords and the product attributes;
and carrying out data extraction on the preset medicine inventory data by utilizing the attribute similarity to obtain extraction data of the preset medicine inventory data, and determining the input medicine of the intended medicine according to the extraction data.
6. The web-based checkout counter drug payment method as claimed in claim 1, wherein said generating the amount to be paid of the target user from the updated manifest comprises:
according to the recorded medicines in the updated list, calling price data of preset medicine inventory data to obtain the medicine price of the recorded medicines;
and acquiring the medicine quantity of the input medicines one by one according to the updated list, and generating the amount to be paid of the target user according to the medicine quantity of the input medicines and the medicine price.
7. A web-based checkout counter medicament payment method according to any one of claims 1 to 6, wherein said payment of the target user's intended medicament is made in accordance with the target user's payment means, the user balance and the amount to be paid, comprising:
acquiring a payment mode of a target user, and calling an interface of a configuration cash register according to the payment mode to obtain a matching interface of the payment mode;
according to the matching interface, acquiring payment parameters of the target user, carrying out payment verification on the payment mode by utilizing the payment parameters, and determining that the payment mode passing the payment verification is an effective mode;
and generating a payment request of the intention medicine according to the effective mode, carrying out state judgment on the payment mode according to the payment request and the amount to be paid, and generating a payment result of the intention medicine of the target user according to a judgment result of the state judgment.
8. A drug payment device based on a web-based checkout counter, the device comprising:
the information configuration module is used for carrying out information configuration on the webpage cash register by utilizing preset medicine inventory data to obtain a configuration cash register of the webpage cash register;
The permission giving module is used for giving permission to the cashier configuring the cashier to obtain the cashier's cashier permission;
the identity verification module is used for carrying out identity verification on the login account of the configured cash desk according to the cash register authority, and determining that the login account passing the identity verification is an effective account;
the list generation module is used for adding the drug to the target user's intention drug by using the effective account to obtain the input drug of the intention drug, and generating a drug list of the target user according to the input drug;
the refund screening module is used for refund screening of the input medicines in the medicine list, and updating the medicines in the medicine list according to the refund screening result to obtain an updated list of the medicine list;
and the medicine payment module is used for generating the to-be-paid amount of the target user according to the updated list, acquiring the user balance of the target user, and carrying out payment on the intention medicine of the target user according to the payment mode of the target user, the user balance and the to-be-paid amount.
9. An electronic device, the electronic device comprising:
At least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the web-based checkout counter drug payment method of any one of claims 1 to 7.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements a method of payment of a drug based on a web checkout counter as claimed in any one of claims 1 to 7.
CN202310826927.XA 2023-07-06 2023-07-06 Medicine payment method and device based on webpage cash register, electronic equipment and medium Pending CN116797219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310826927.XA CN116797219A (en) 2023-07-06 2023-07-06 Medicine payment method and device based on webpage cash register, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310826927.XA CN116797219A (en) 2023-07-06 2023-07-06 Medicine payment method and device based on webpage cash register, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN116797219A true CN116797219A (en) 2023-09-22

Family

ID=88043535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310826927.XA Pending CN116797219A (en) 2023-07-06 2023-07-06 Medicine payment method and device based on webpage cash register, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116797219A (en)

Similar Documents

Publication Publication Date Title
CN110383317B (en) Method and system for recording point-to-point transaction processing
US8666780B2 (en) System for separating and distributing pharmacy order processing
US10572236B2 (en) System and method for updating or modifying an application without manual coding
US8175891B2 (en) System for separating and distributing pharmacy order processing for compound medication
KR100750071B1 (en) Method and system for sharing medical infomation
US8315887B2 (en) System for separating and distributing pharmacy order processing for specialty medication
US20110307270A1 (en) System for separating and distributing pharmacy order processing for prescription verification
US8311891B2 (en) System for separating and distributing pharmacy order processing for medication payments
US20070088590A1 (en) System for separating and distributing pharmacy order processing for out of stock medication
US11379814B2 (en) Method and system for supporting promotion of use of digital local currency
CN113382017A (en) Permission control method and device based on white list, electronic equipment and storage medium
CN114420240A (en) Prescription management system based on artificial intelligence, big data and block chain
CN102893302A (en) Clinical payment network system and methods
US9633396B2 (en) Systems and methods for preventing fraud
WO2011149951A2 (en) Method and system for a document-based knowledge system
WO2020115697A1 (en) Blockchain data processing system and method of operation thereof
US20220293254A1 (en) Automated data aggregation with file analysis and predictive modeling
US20210125136A1 (en) System and Method for Coordination of Implant Procedures
CN116797219A (en) Medicine payment method and device based on webpage cash register, electronic equipment and medium
JP2003067485A (en) Medical care information management system, medical information management method, and medical information management program
CN114862409A (en) Invoice management method, device, equipment and medium based on block chain
JPH11161396A (en) Paperless account system
JP6661104B1 (en) Management device, product management system, product management method, and product management program
Llorente et al. Design of an online transporter for a pharmaceutical store: A B2C E-commerce platform
KR20020028234A (en) Pharmacy management system and method using internet and computer network

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