WO2021259291A1 - Charging platform-based charging method, electronic device, and storage medium - Google Patents

Charging platform-based charging method, electronic device, and storage medium Download PDF

Info

Publication number
WO2021259291A1
WO2021259291A1 PCT/CN2021/101644 CN2021101644W WO2021259291A1 WO 2021259291 A1 WO2021259291 A1 WO 2021259291A1 CN 2021101644 W CN2021101644 W CN 2021101644W WO 2021259291 A1 WO2021259291 A1 WO 2021259291A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
service
charging
platform
information
Prior art date
Application number
PCT/CN2021/101644
Other languages
French (fr)
Chinese (zh)
Inventor
彭立军
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021259291A1 publication Critical patent/WO2021259291A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47211End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting pay-per-view content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV

Definitions

  • the embodiments of the present application relate to the field of Internet technology, and in particular, to a charging method, electronic equipment, and storage medium based on a charging platform.
  • the corresponding payment port or module can be set on the software system and platform, so that users can pay corresponding fees according to the service they choose .
  • IPTV Internet TV
  • the collaborative work of IPTV platform, operator management platform and third-party content management platform is used for users
  • IPTV network TV services Provide a wealth of IPTV network TV services. If one party's system is used as the billing basis at this time, other systems are required to have a certain degree of compatibility with the system, without reusability, and at the same time, the problem of inaccurate billing will occur.
  • the embodiment of the application provides a charging method based on a charging platform.
  • the method includes the following steps: receiving a service subscription request, and generating a corresponding charging request according to the service subscription request; sending the payment request generated according to the charging request to The third-party payment platform responds to the target business contained in the service subscription request when receiving the payment success instruction sent by the third-party payment platform in response to the payment request.
  • the embodiment of the present application also proposes a charging device based on a charging platform.
  • the device includes a memory, a processor, a program stored in the memory and running on the processor, and used to realize the connection between the processor and the memory.
  • the communication data bus when the program is executed by the processor, realizes the steps of the aforementioned method.
  • This application provides a storage medium for computer-readable storage.
  • the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the foregoing method.
  • FIG. 1 is a schematic flowchart of a charging method based on a charging platform provided by an embodiment of this application;
  • Figure 2 is a schematic flow chart of the steps of generating a charging request provided by an embodiment of the application
  • FIG. 3 is a schematic flowchart of the steps of determining whether to respond to a service subscription request provided by an embodiment of the application
  • FIG. 4 is a schematic diagram of scene interaction of a charging method based on a charging platform provided by an embodiment of this application;
  • FIG. 5 is a schematic diagram of scene interaction for data synchronization provided by an embodiment of this application.
  • FIG. 6 is a schematic diagram of scene interaction for performing secondary identity verification according to an embodiment of the application.
  • FIG. 7 is a schematic block diagram of the structure of an electronic device provided by an embodiment of the present application.
  • the main purpose of the embodiments of the present application is to propose a charging method, device and storage medium based on a charging platform, so as to improve the security and accuracy of charging.
  • the charging platform upon receiving the service subscription request, the charging platform will generate the corresponding charging request according to the service subscription request of the thickened channel. Then the billing platform generates a corresponding payment request according to the related information of the requested service, and then sends the generated payment request to the Fustearing payment platform associated with the billing platform, and finally responds to the payment after receiving the third-party payment platform
  • the charging platform will realize the response to the service subscription request, that is, complete the subscription to the target service.
  • FIG. 1 is a schematic flowchart of a charging method based on a charging platform provided by an embodiment of this application.
  • the method includes step S101 to step S102.
  • Step S101 Receive a service subscription request, and generate a corresponding charging request according to the service subscription request.
  • the charging platform When the charging platform receives the service subscription request, in order to realize the response to the service request, it will generate and obtain the corresponding charging request according to the received service subscription request.
  • the method is applied to a scenario where multiple systems are operated in coordination. Each system can run independently, but is connected to a certain extent. The actual operating status of one system or the recorded data information It will affect the actual operation of other related systems. Similarly, with the self-improvement of a certain system or certain systems, there will be differences in results when responding to a certain business or certain businesses.
  • IPTV Internet TV
  • a complete set of Internet TV system structure mainly includes IPTV platform, operator management platform, and third-party content management platform, etc.
  • the coordinated operation of three or multi-party platforms provides end users with a wealth of IPTV network TV service.
  • IPTV network TV service mainly includes IPTV platform, operator management platform, and third-party content management platform, etc.
  • the coordinated operation of three or multi-party platforms provides end users with a wealth of IPTV network TV service.
  • the continuous increase in the number of Internet TV terminal users and the continuous enrichment of audio and video content data there will be certain problems in the billing criteria and billing schemes of the original IPTV content, such as inaccurate billing and insufficient data synchronization. .
  • platform 1 calculates the fee according to (A*12/365* remaining days), and platform 2 according to (A/this The total number of days in a month * the remaining days) is used to calculate the fees, and in most cases the results obtained by the two methods are inconsistent. This results in inconsistent multi-platform billing in the later period.
  • the billing results can be unified.
  • each system can send a service subscription request to the charging platform, so that the charging platform generates a corresponding charging request according to the service subscription request, and then realizes charging according to a unified charging method to realize the service Respond to the subscription request.
  • FIG. 2 is a schematic flowchart of the steps of generating a charging request according to an embodiment of this application.
  • step S101 includes step S201 to step S203.
  • Step S201 Receive a service subscription request sent by the first system, and identify subscription information included in the service subscription request.
  • the charging platform In the scenario of multi-system cooperative operation applied by this method, several cooperatively operated systems are connected to the charging platform, and each system can send a corresponding service subscription request to the charging platform, so that the charging platform can respond to the service Subscription requests for billing and other operations.
  • the first system is one of the systems associated with the charging platform.
  • the subscription information included in the service subscription request is identified, and subsequent operations are performed based on the obtained subscription information.
  • the acquired subscription information includes at least business information, user information, timestamp information, and subscription source information of the subscribed service.
  • Step S202 Determine whether to respond to the service subscription request according to the user information contained in the subscription information.
  • the user information that issued the service subscription request contained in the subscription information is the unique identifier of the user, such as identity information or account information, etc., for more security, it may also be the user's ID card information, etc.
  • the security of the user information is judged. Since it is a multi-system collaborative operation, the user information will inevitably be recorded and stored in each system. At this time, it will be based on the data information recorded in all systems Judge the security of user information.
  • FIG. 3 is a schematic flowchart of the step of determining whether to respond to a service subscription request according to an embodiment of the application.
  • step S202 includes step S301 to step S303.
  • Step S301 Identify the user information contained in the subscription information
  • Step S302 According to the user information, query in the second system associated with the charging platform to determine whether user information is recorded in the second system;
  • Step S303 Determine whether to respond to the service subscription request according to whether user information is recorded in the second system
  • the service subscription request is responded; if the user information is not recorded in the second system, the service subscription request is not responded to.
  • the received service subscription request When determining whether the received service subscription request can be responded to, it is determined by using user information. Since data is synchronized in several systems associated with the billing platform, that is, user information recorded in one system will be synchronized to other systems in real time, so if user information is only recorded and stored in one of the systems If the service subscription request may be a dangerous request, it will not be able to respond to the service subscription request.
  • the second system can be one system or a collective term for several systems.
  • the second system is one system, it only needs to record the currently identified user information in the second system. Respond to the received service subscription request.
  • the second system is a collective term for several systems, it is necessary to ensure that all the systems included in the second system record the currently identified user information in order to respond to the received Respond to the business subscription request.
  • the first system can be interchanged with the second system, that is, in addition to the first system can send a service subscription request to the billing platform to implement service subscription, the second system can also send a service subscription request to the billing platform In order to realize the subscription to the required services, that is, in addition to recording and storing user information in the second system, it also has the service subscription and request capabilities of the first system.
  • the first system also has the first system. 2. The ability to record and store data as described by the system.
  • the relevant data information contained in the service subscription request for example, service information, user information, timestamp information, subscription source information
  • the user information will be verified in the operator management platform and third-party content management platform based on the user information contained in the relevant data information, and the user information will be verified in the operator management platform and third-party content management platform.
  • the user information is recorded, it is determined that the verification is passed, and then the subsequent request response is performed.
  • the charging platform When responding to a request, it will first generate a corresponding charging request so that the charging platform can calculate the cost information, and after obtaining the corresponding cost information, generate a corresponding payment instruction so that the billing platform sends the payment instruction To the third-party payment platform associated with the billing platform for subsequent fee payment. After completing the fee payment, the user will get the subscribed service, such as playing video information.
  • Step S203 If it is determined to respond to the service subscription request, a corresponding charging request is generated according to the subscription information.
  • the subscription information Use the user information contained in the subscription information to verify accordingly to ensure the security of billing and payment.
  • the verification is passed, the corresponding charging request will be generated according to the identified subscription information, so as to realize the subscription to the corresponding service according to the obtained charging request.
  • the corresponding charging request when it is determined that the received service request can be responded to, the corresponding charging request will be generated according to the obtained subscription information, so that the charging platform will charge the service corresponding to the service subscription request . Therefore, when it is determined that charging is required, it is necessary to determine the current charging object, and then obtain the charging request by identifying the service information contained in the subscription information, where the charging request contains the service contained in the subscription information information.
  • determining whether to respond to the received service subscription request based on the obtained user information when it is determined that the received service subscription request can be received, corresponding billing will be generated based on the obtained subscription information. Request to realize the response to the service subscription request. When it is determined not to respond to the received service subscription request, feedback information of subscription failure will be generated, and the generated feedback information will be sent to the first system.
  • Step S102 Send the payment request generated according to the charging request to the third-party payment platform.
  • the calculation of the fee and the subsequent payment of the fee will be realized according to the charging request. Therefore, after receiving the charging request, first obtain the corresponding payment request according to the charging request, and then send the payment request to the corresponding third-party payment platform, and after receiving the third-party payment platform in response to the payment request, the payment is successful When instructing, the corresponding service subscribes to the target service contained in the request.
  • the payment request when making a payment request, it is necessary to determine the current actual cost information based on the currently received related information, and then the current payment request sent can be obtained according to the required payment information. Therefore, when the payment request is generated and sent to the associated third-party payment platform, it includes: identifying the service ID corresponding to the service subscription request, and querying the database according to the service ID to determine the charging rule corresponding to the service ID ; Determine the corresponding tariff information according to the charging rules to generate the corresponding payment request according to the tariff information.
  • the tariff information and rules corresponding to different services are recorded in the database, and the data information recorded and stored in the database is synchronized and updated in real time to the systems associated with the billing platform.
  • the corresponding charging rules for different services are different, which is specifically reflected in the difference in tariff information and charging methods.
  • tariff information that is, the pricing information of different services is different
  • charging method the above description shows that the calculation
  • the fee method can be (A*12/365*remaining days) and (A/total days of the month*remaining days), etc.
  • the fee information generated by different methods will be different, and in the billing platform, you can set A unified billing method can also set different billing methods according to different services. No matter what method is used for charging, it is done under the actual tariff status.
  • the service ID corresponding to the service contained in the service subscription request is identified, where the service ID is the unique label of the service.
  • the query is then performed in the database in the charging platform , In order to obtain the charging rule corresponding to the obtained service identifier, and finally generate and obtain the corresponding payment request according to the obtained charging rule.
  • the charging rule corresponding to the current service to be subscribed will be determined in the database in the charging platform, and then the obtained charging will be used
  • the current corresponding tariff information is calculated by the rule. For example, when subscribing to package 1, the corresponding charging rule is to calculate the specific tariff information according to the charging method (A/total days of the month * remaining days).
  • Step S103 If a payment success instruction sent by the third-party payment platform in response to the payment request is received, respond to the target service included in the service subscription request.
  • the billing platform is used to bill and count the fees corresponding to the services that actually need to be subscribed. After obtaining the payment request containing the payment information, the payment request is sent to the third-party payment platform associated with the billing platform. In order to make the third-party payment platform respond to the payment request, that is, complete the payment.
  • the third-party payment platform associated with the billing platform is determined by the billing platform. Which third-party payment platform is supported by the billing platform, then when the third-party payment platform is selected for payment, it will be called You can choose a third-party payment platform.
  • third-party payment platforms include WeChat Pay, Alipay, UnionPay, and other payments.
  • the billing platform can be used to receive service subscription requests issued by the system associated with the billing platform, and send the generated payment request to the associated third-party payment platform, and data information is also required. Synchronization. In practical applications, in a network environment where multiple systems are operated in coordination, multiple systems need to perform system work to provide users with better business requirements. In order to ensure the synchronization of data in each system, it is necessary to check each system at an appropriate time. The data information recorded in the synchronizing process.
  • the billing platform In the billing platform, data information related to the business will be recorded in the database contained therein, which is used to accurately determine the current corresponding tariff information when making a business subscription request.
  • the billing platform is used to generate corresponding billing and payment requests according to the user's service subscription request, and then implement the payment on the third-party payment platform to complete the user's request for the service that the user wants to subscribe.
  • the system associated with the billing platform After completing the subscription to the required target service, the system associated with the billing platform needs to know that the subscription to the target service has been completed, so as to avoid data not being synchronized in time, resulting in repeated subscriptions when users use the system .
  • the service subscription request after generating the corresponding charging request after receiving the service subscription information, it further includes: recording the service information contained in the service subscription request in the database of the charging platform, and setting the effective duration of the service information.
  • the information associated with the target service needs to be stored. Therefore, when receiving After the service subscription request, the service information recorded in the service subscription request will be recorded in the database of the charging platform, so that after completing the response to the service subscription request, the relevant information of the target service can be synchronized in time. In the system associated with the billing platform.
  • a certain effective duration will be set for the business subscription request and business information.
  • the effective duration is set in order to avoid long-term failure to respond to the business subscription request, resulting in long-term data existence In the database, and the data at this time is useless data, when the valid time is exceeded and there is no response to the service subscription request, the service subscription request will be regarded as an invalid request to feed back the subscription failure feedback to the first system At the same time, delete the recorded business information to avoid synchronizing the unsubscribed business and business information to the system associated with the billing platform.
  • the third-party payment platform After the third-party payment platform completes the response to the payment request, it also includes: according to the payment request, the target business is stored in the database; when the data synchronization instruction is detected, the database is synchronized to the system associated with the billing platform.
  • the payment request generated according to the charging request is sent to the third-party payment platform, and the payment success instruction sent by the third-party payment platform in response to the payment request is received, so as to implement a response to the service subscription request.
  • the successful subscription information of the responding target service will be recorded in the database, and when the data synchronization instruction is detected, the billing platform will be synchronized.
  • the data recorded in the database is transferred to the system associated with the billing platform.
  • the data synchronization instruction it can be triggered when the payment success instruction issued by the third-party payment platform in response to the payment request is received. Since the user has completed the subscription to the target service in the system, in order to ensure the data between the systems Uniformity requires synchronization of data information. For example, there are three systems for collaborative operation. If the user uses the A system to subscribe to package 1, then the billing platform will need to notify the B system and the C system after confirming that the user has completed the subscription to package 1, so that the user You can use system B and system C to provide yourself with the services included in package 1.
  • FIG. 4 is a schematic diagram of scene interaction of a charging method based on a charging platform provided by an embodiment of this application.
  • the entire service subscription and payment system includes: user terminals, systems, billing platforms, and payment platforms, where the number of systems is not limited.
  • implementing the service response method based on the charging platform provided by this application includes the following steps:
  • Service request the user terminal initiates a service request to the software system
  • the software system authenticates the user terminal that sends the service request. For the user terminal without rights, the authentication will fail, and the user with the rights will pass the authentication, that is, the user terminal can watch and the on-demand service request corresponds to Business;
  • Order request The user terminal determines the target product according to the user's choice and initiates an order request according to the target product;
  • Billing preprocessing After receiving the order request, the software system will logically judge and process the data of the initiated order request, for example, verify whether the user is a legitimate user in the system, etc., and perform preliminary verification After passing, the software system starts to package the detailed data in the order data;
  • Billing request The software system will initiate a billing request to the billing platform
  • the billing platform After receiving the billing request, the billing platform obtains the product price, preferential strategy, and product-related sharing strategy in the database through the incoming product information, and then calculates the payment fee incurred for this order , And at the same time, calculate the detailed share of the cost to each platform in the software system according to the share strategy in the system;
  • the billing platform queries other platforms in the software system for detailed user data to determine the legitimacy of the user information;
  • Payment request When it is determined that the user information is legal, the billing platform initiates a payment request to the payment platform;
  • the billing platform saves the detailed billing order internally, and returns the billing result to the software system at the same time;
  • the software system will return the order result of the whole process to the user terminal. For example, after the user order is successful, it will start to watch the content; if the user order fails, the reason for the error will be checked for the user to view detailed information.
  • FIG. 5 is a schematic diagram of scene interaction for data synchronization provided by an embodiment of the application.
  • the newly added data information in the charging platform is synchronized to the system associated with the charging platform.
  • the system administrator manages the system data through the data management portal, and specifically can maintain product data, divide policy data, and so on.
  • the data synchronization interface machine is fixed from Filter out the unsynchronized product data in the database, and synchronize the product data to the IPTV system. After the synchronization is successful, the IPTV will return the synchronization success. If the synchronization fails, the data synchronization interface machine will trigger the product synchronization again, and only the product data will be synchronized to the software.
  • the data synchronization interface machine saves the synchronization result in the database according to the synchronization result.
  • the products will be marked for different synchronization results. Products that are not successfully synchronized will be at the beginning of the next synchronization task. To initiate the product synchronization process again.
  • FIG. 6 is a scenario for performing a second identity verification provided by an embodiment of the application. Interactive diagram.
  • the business processing cluster (consisting of business processors) receives a billing request initiated by other platforms in the software system, it first needs to perform billing preprocessing on the billing data in this request.
  • the product information transmitted in the request message the product price, preferential strategy, and product-related sharing strategy in the database are obtained, and then the payment fee incurred for this order is calculated.
  • the sharing strategy in the system the fee is calculated for the software system.
  • the business processing cluster After preprocessing, the business processing cluster will send this payment fee to the payment module, and the payment module will also obtain user information and product information from the payment request. This information will not be used for fee payment, but will be used for payment based on this information.
  • the payment request is verified for the second time, and the payment module directly connects with each platform in the software system. According to the predetermined interface specification, the platform's second verification interface is called. Each platform responds to the verification request and returns a response.
  • the payment module compares The response message and the request data obtained above complete the data validity check according to the internal check logic.
  • a payment response will be returned to the business processing cluster. If the verification fails, the business processing cluster will return a response to the charging request of the software system. If the billing fails, other platforms in the software system need to re-initiate the billing request. At the same time, the billing platform saves the billing record of this time, the result is a failure, and the reason for the verification failure is saved. If the payment module is successfully verified, a payment request will be initiated to the third-party payment platform.
  • the payment platform is a third-party platform (WeChat, Alipay, etc.).
  • the payment platform returns the payment result for this payment, and the payment module returns the payment result to Business processing cluster, the business processing cluster saves the current payment situation in the billing platform database (success is saved successfully, and if it fails, the error and payment failure description are recorded), and the business processing cluster returns the payment response to the software system, and the software The system enters different logical processing branches according to different response results.
  • the charging platform upon receiving the service subscription request, the charging platform will generate the corresponding charging request according to the service subscription request of the thickened channel. , And then the billing platform generates a corresponding payment request according to the related information of the requested service, and then sends the generated payment request to the Fu three-party payment platform associated with the billing platform, and finally receives a response from the third-party payment platform
  • the billing platform When a payment success instruction is issued for a payment request, the billing platform will implement a response to the service subscription request, that is, complete the subscription to the target service.
  • FIG. 7 is a schematic block diagram of the structure of an electronic device according to an embodiment of the present application.
  • the electronic device may be a mobile phone, a tablet, a notebook, a desktop computer, a TV, a dedicated input device, a cash machine, and the like.
  • the electronic device also includes a processor and a memory, and the memory is used to store a computer program.
  • the processor is configured to execute a computer program and, when executing the computer program, implement any one of the charging methods based on the charging platform provided in the embodiments of the present application.
  • the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application specific integrated circuits (Application Specific Integrated Circuits). Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
  • the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program.
  • the processor realizes that any item provided in the embodiments of the present application is based on billing.
  • the billing method of the platform is based on billing.
  • computer-readable storage medium includes volatile and non-volatile properties implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Volatile, removable and non-removable media.
  • Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or it can be used to store desired information and can be any other medium that can be accessed by a computer.
  • communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
  • the computer-readable storage medium may be an internal storage unit of the electronic device of the foregoing embodiment, such as a hard disk or a memory of the electronic device.
  • the computer-readable storage medium can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on an electronic device, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash memory card ( Flash Card) etc.
  • the electronic device and computer-readable storage medium provided by the foregoing embodiments display at least two virtual keyboards in different display areas on the display screen when the user inputs information, so that information can be input through the at least two virtual keyboards;
  • the software predicts the difficulty of inputting information by monitoring the state of the sensor, which enhances the security of information input.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Embodiments of the present application relate to the technical field of terminal screen splitting processing. Disclosed are a charging platform-based charging method, a device, and a storage medium. The method comprises: receiving a service subscription request, and generating a corresponding charging request according to the service subscription request; sending a payment request generated according to the charging request to a third-party payment platform, and when a payment success instruction sent by the third-party payment platform in response to the payment request is received, responding to a target service comprised in the service subscription request.

Description

基于计费平台的计费方法、电子设备和存储介质Billing method, electronic equipment and storage medium based on billing platform
交叉引用cross reference
本申请基于申请号为“202010589917.5”、申请日为2020年06月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is filed based on the Chinese patent application with the application number "202010589917.5" and the filing date on June 24, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this by way of introduction. Apply.
技术领域Technical field
本申请实施例涉及互联网技术领域,尤其涉及一种基于计费平台的计费方法、电子设备和存储介质。The embodiments of the present application relate to the field of Internet technology, and in particular, to a charging method, electronic equipment, and storage medium based on a charging platform.
背景技术Background technique
目前互联网技术领域中,各大型公司企业推出了各种各样的软件系统和平台,以为用户提供了更加快捷和丰富的服务。而用户在享受所提供的服务时,软件系统和平台会针对于给用户提供的服务收取相应的一定的费用。At present, in the field of Internet technology, various large companies and enterprises have launched various software systems and platforms to provide users with faster and richer services. When users enjoy the services provided, the software system and platform will charge a certain fee for the services provided to the users.
对于单一的软件系统和平台而言,只需要保证信息安全的条件下,在软件系统和平台上设置有相应的支付端口或者模块即可,使得用户可以根据自身所选择的服务进行相应的费用支付。For a single software system and platform, it is only necessary to ensure that the information is secure, and the corresponding payment port or module can be set on the software system and platform, so that users can pay corresponding fees according to the service they choose .
但是,对于多系统协同运营的环境而言,通过若干个软件系统的协同工作,比如在网络电视(IPTV)领域中,利用IPTV平台、运营商管理平台以及第三方内容管理平台的协同工作为用户提供丰富的IPTV网络电视服务。若此时采用一方系统作为计费依据,需要其他系统对该系统具有一定的兼容性,不具有可复用性,同时,还会出现计费不准确的问题。However, for the environment of multi-system collaborative operation, through the collaborative work of several software systems, for example, in the field of Internet TV (IPTV), the collaborative work of IPTV platform, operator management platform and third-party content management platform is used for users Provide a wealth of IPTV network TV services. If one party's system is used as the billing basis at this time, other systems are required to have a certain degree of compatibility with the system, without reusability, and at the same time, the problem of inaccurate billing will occur.
发明内容Summary of the invention
本申请实施例提供了一种基于计费平台的计费方法,方法包括以下步骤:接收业务订阅请求,并根据业务订阅请求生成对应的计费请求;将根据计费请 求生成的支付请求发送至第三方支付平台,并在接收到第三方支付平台响应支付请求发送的支付成功指令时,响应业务订阅请求所包含的目标业务。The embodiment of the application provides a charging method based on a charging platform. The method includes the following steps: receiving a service subscription request, and generating a corresponding charging request according to the service subscription request; sending the payment request generated according to the charging request to The third-party payment platform responds to the target business contained in the service subscription request when receiving the payment success instruction sent by the third-party payment platform in response to the payment request.
本申请实施例还提出了一种基于计费平台的计费设备,设备包括存储器、处理器、存储在存储器上并可在处理器上运行的程序以及用于实现处理器和存储器之间的连接通信的数据总线,程序被处理器执行时实现前述方法的步骤。The embodiment of the present application also proposes a charging device based on a charging platform. The device includes a memory, a processor, a program stored in the memory and running on the processor, and used to realize the connection between the processor and the memory. The communication data bus, when the program is executed by the processor, realizes the steps of the aforementioned method.
本申请提供了一种存储介质,用于计算机可读存储,存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器执行,以实现前述方法的步骤。This application provides a storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the foregoing method.
附图说明Description of the drawings
图1为本申请一个实施例提供的一种基于计费平台的计费方法的流程示意图;FIG. 1 is a schematic flowchart of a charging method based on a charging platform provided by an embodiment of this application;
图2为本申请一个实施例提供的生成计费请求的步骤的流程示意图;Figure 2 is a schematic flow chart of the steps of generating a charging request provided by an embodiment of the application;
图3为本申请一个实施例提供的确定是否响应业务订阅请求的步骤的流程示意图;FIG. 3 is a schematic flowchart of the steps of determining whether to respond to a service subscription request provided by an embodiment of the application;
图4为本申请一个实施例提供的一种基于计费平台的计费方法的场景交互示意图;4 is a schematic diagram of scene interaction of a charging method based on a charging platform provided by an embodiment of this application;
图5为本申请一个实施例提供的进行数据同步的场景交互示意图;FIG. 5 is a schematic diagram of scene interaction for data synchronization provided by an embodiment of this application;
图6为本申请一个实施例提供的进行二次身份验证的场景交互示意图;FIG. 6 is a schematic diagram of scene interaction for performing secondary identity verification according to an embodiment of the application;
图7是本申请实施例提供的一种电子设备的结构示意性框图。FIG. 7 is a schematic block diagram of the structure of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或分 合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or combined, so the actual execution order may be changed according to actual conditions.
本申请实施例的主要目的在于提出一种基于计费平台的计费方法、设备和存储介质,旨在提高计费的安全性和准确性。The main purpose of the embodiments of the present application is to propose a charging method, device and storage medium based on a charging platform, so as to improve the security and accuracy of charging.
本申请实施例提出的基于计费平台的计费方法、设备和存储介质,在接收到业务订阅请求时,计费平台将会根据所加厚道的业务订阅请求生成得到对应的计费请求,然后计费平台根据所请求的业务的相关信息生成相应的支付请求,进而将所生成得到的支付请求发送至与计费平台相关联的福三方支付平台,最后在接收到第三方支付平台响应支付请求而发出的支付成功指令时,计费平台将会实现对业务订阅请求的响应,即完成对目标业务的订阅。实现了通过统一的计费平台对用户的业务需求进行计费处理,提高了在多系统协同工作环境下,计费的准确性,并且在进行支付时提供对用户信息的验证,提高了支付的安全性,同时在完成计费以及订阅之后,快速进行数据同步,保证了各系统中数据的统一性。According to the charging method, device and storage medium based on the charging platform proposed in the embodiment of this application, upon receiving the service subscription request, the charging platform will generate the corresponding charging request according to the service subscription request of the thickened channel. Then the billing platform generates a corresponding payment request according to the related information of the requested service, and then sends the generated payment request to the Fusanfang payment platform associated with the billing platform, and finally responds to the payment after receiving the third-party payment platform When the payment success instruction is issued by the request, the charging platform will realize the response to the service subscription request, that is, complete the subscription to the target service. It realizes the billing processing of the user’s business needs through a unified billing platform, improves the accuracy of billing in a multi-system collaborative working environment, and provides verification of user information when making payments, which improves the payment efficiency. Security. At the same time, data synchronization is performed quickly after billing and subscription are completed, ensuring the unity of data in each system.
如图1所示,图1为本申请一个实施例提供的一种基于计费平台的计费方法的流程示意图。As shown in FIG. 1, FIG. 1 is a schematic flowchart of a charging method based on a charging platform provided by an embodiment of this application.
其中,该方法包括步骤S101至步骤S102。Wherein, the method includes step S101 to step S102.
步骤S101、接收业务订阅请求,并根据业务订阅请求生成对应的计费请求。Step S101: Receive a service subscription request, and generate a corresponding charging request according to the service subscription request.
在计费平台接收到到业务订阅请求时,为了实现对业务请求的响应,会根据所接收到的业务订阅请求生成得到对应的计费请求。When the charging platform receives the service subscription request, in order to realize the response to the service request, it will generate and obtain the corresponding charging request according to the received service subscription request.
在一实施例中,该方法应用于一个在多系统协同运营的场景中,每个系统是可以独立运行的,但是又是有一定联系的,其中一个系统的实际运行状态或者所记录的数据信息会影响其他相关联的系统的实际运行,同样的,随着某一个或者某一些系统的自我完善,使得在响应某一个或者某些业务时会出现结果的差异。In one embodiment, the method is applied to a scenario where multiple systems are operated in coordination. Each system can run independently, but is connected to a certain extent. The actual operating status of one system or the recorded data information It will affect the actual operation of other related systems. Similarly, with the self-improvement of a certain system or certain systems, there will be differences in results when responding to a certain business or certain businesses.
示例性的,在网络电视(IPTV)领域,一整套网络电视系统结构主要包括IPTV平台、运营商管理平台以及第三方内容管理平台等,三方或多方平台的协同运营,共同为终端用户提供丰富的IPTV网络电视服务。但是,随着网络电视终端用户量的不断增加和音视频内容数据的不断丰富,原有IPTV内容的计费准则和计费方案会存在一定的问题,比如计费不准确、数据同步不够及时等 问题。Exemplarily, in the field of Internet TV (IPTV), a complete set of Internet TV system structure mainly includes IPTV platform, operator management platform, and third-party content management platform, etc. The coordinated operation of three or multi-party platforms provides end users with a wealth of IPTV network TV service. However, with the continuous increase in the number of Internet TV terminal users and the continuous enrichment of audio and video content data, there will be certain problems in the billing criteria and billing schemes of the original IPTV content, such as inaccurate billing and insufficient data synchronization. .
比如,以在网络电视领域,在进行计费时,如系统中的存在某一套餐包,且该套餐包的定价是A元/月,当用户在订购该套餐包的当月,需要按天收费,即本月还剩多少天,就收取多少天的费用,当计算这部分费用的时候,平台1是按照(A*12/365*剩余天数)计算收费费用,平台2是按照(A/本月总天数*剩余天数)计算收费费用的,而两种方式在多数情况下得出的结果是不一致的,这样导致的后果是后期多平台账单不一致。For example, in the field of Internet TV, when charging, if there is a certain package in the system, and the price of the package is A yuan/month, when the user orders the package in the month, he needs to charge on a daily basis , That is, how many days are left in the month, and how many days will be charged. When calculating this part of the fee, platform 1 calculates the fee according to (A*12/365* remaining days), and platform 2 according to (A/this The total number of days in a month * the remaining days) is used to calculate the fees, and in most cases the results obtained by the two methods are inconsistent. This results in inconsistent multi-platform billing in the later period.
在一实施例中,在基于计费平台的业务订阅方法的实现过程中,同样存在有多系统的协同运行,且每个系统所承担的责任和功能有所不同,而每个系统均与计费平台相连接,通过计费平台实现对业务订阅的响应,比如计费和费用支付等。通过统一的计费平台,使得计费结果的能够得到统一。In one embodiment, in the implementation process of the service subscription method based on the billing platform, there are also the collaborative operation of multiple systems, and the responsibilities and functions of each system are different, and each system is different from the calculation. The fee platform is connected, and the response to the service subscription, such as billing and fee payment, is realized through the billing platform. Through a unified billing platform, the billing results can be unified.
在运行过程中,每个系统都可以向计费平台发送业务订阅请求,以使得计费平台根据业务订阅请求生成相应的计费请求,进而按照统一的计费方式实现计费,以实现对业务订阅请求进行响应。During operation, each system can send a service subscription request to the charging platform, so that the charging platform generates a corresponding charging request according to the service subscription request, and then realizes charging according to a unified charging method to realize the service Respond to the subscription request.
在一实施例中,参照图2,图2为本申请一个实施例提供的生成计费请求的步骤的流程示意图。其中,步骤S101包括步骤S201至步骤S203。In an embodiment, referring to FIG. 2, FIG. 2 is a schematic flowchart of the steps of generating a charging request according to an embodiment of this application. Among them, step S101 includes step S201 to step S203.
步骤S201、接收第一系统发送的业务订阅请求,并识别业务订阅请求中所包含的订阅信息。Step S201: Receive a service subscription request sent by the first system, and identify subscription information included in the service subscription request.
在该方法所应用的多系统协同运营的场景中,若干协同运营的系统与计费平台所连接,且每个系统都可以向计费平台发送相应的业务订阅请求,以使得计费平台响应业务订阅请求进行计费等操作。其中,第一系统即为与计费平台所关联的其中一个系统。In the scenario of multi-system cooperative operation applied by this method, several cooperatively operated systems are connected to the charging platform, and each system can send a corresponding service subscription request to the charging platform, so that the charging platform can respond to the service Subscription requests for billing and other operations. Among them, the first system is one of the systems associated with the charging platform.
在一实施例中,在接收到第一系统所发送的业务订阅请求时,识别业务订阅请求中所包含的订阅信息,进而通过所得到的订阅信息进行后续的操作。而所获取的订阅信息,至少包含有所订阅的业务的业务信息、用户信息、时间戳信息以及订购来源信息等。In an embodiment, when the service subscription request sent by the first system is received, the subscription information included in the service subscription request is identified, and subsequent operations are performed based on the obtained subscription information. The acquired subscription information includes at least business information, user information, timestamp information, and subscription source information of the subscribed service.
步骤S202、根据订阅信息中所包含的用户信息,确定是否响应业务订阅请求。Step S202: Determine whether to respond to the service subscription request according to the user information contained in the subscription information.
在多系统协同运营的网络环境中,由于涉及到多个系统的协同运营,因此 保证各系统的安全性是很必要的,那么,在接收到业务订阅请求时,在对业务订阅请求进行响应之前,需要确定当前是否可以对该业务请求进行响应。因此,在接收到业务订阅请求时,首先会对业务订阅请求中所包含的订阅信息进行识别和获取,进而通过订阅信息中所包含的相关信息确定是否可以相应所接收到的业务订阅请求。In the network environment of coordinated operation of multiple systems, as it involves the coordinated operation of multiple systems, it is necessary to ensure the security of each system. Then, when a service subscription request is received, before responding to the service subscription request , It is necessary to determine whether the service request can be responded to. Therefore, when a service subscription request is received, the subscription information contained in the service subscription request is first identified and obtained, and then the relevant information contained in the subscription information is used to determine whether the received service subscription request can be responded to.
因此,在识别得到订阅信息之后,根据订阅信息中所包含的用户信息确定是否可以响应所接收到的业务订阅请求。订阅信息中所包含发出业务订阅请求的用户信息为用户的唯一标识,比如身份信息或者账号信息等,为了更加安全,还可以是用户的身份证信息等。在得到用户信息之后,对用户信息的安全性进行判断,由于是多系统协同运营,那么在每个系统中必然会记录和存储有该用户信息,此时将根据所有系统中所记录的数据信息对用户信息的安全性进行判断。Therefore, after the subscription information is identified, it is determined whether the received service subscription request can be responded to according to the user information contained in the subscription information. The user information that issued the service subscription request contained in the subscription information is the unique identifier of the user, such as identity information or account information, etc., for more security, it may also be the user's ID card information, etc. After the user information is obtained, the security of the user information is judged. Since it is a multi-system collaborative operation, the user information will inevitably be recorded and stored in each system. At this time, it will be based on the data information recorded in all systems Judge the security of user information.
在一实施例中,参照图3,图3为本申请一个实施例提供的确定是否响应业务订阅请求的步骤的流程示意图。其中,步骤S202包括步骤S301至步骤S303。In an embodiment, referring to FIG. 3, FIG. 3 is a schematic flowchart of the step of determining whether to respond to a service subscription request according to an embodiment of the application. Among them, step S202 includes step S301 to step S303.
步骤S301、识别订阅信息中所包含的用户信息;Step S301: Identify the user information contained in the subscription information;
步骤S302、根据用户信息,在与计费平台关联的第二系统中进行查询,以确定第二系统中是否记录有用户信息;Step S302: According to the user information, query in the second system associated with the charging platform to determine whether user information is recorded in the second system;
步骤S303、根据第二系统中是否记录有用户信息,确定是否响应业务订阅请求;Step S303: Determine whether to respond to the service subscription request according to whether user information is recorded in the second system;
其中,若第二系统中记录有用户信息,则响应业务订阅请求;若第二系统中未记录有用户信息,则不响应业务订阅请求。Wherein, if the user information is recorded in the second system, the service subscription request is responded; if the user information is not recorded in the second system, the service subscription request is not responded to.
在确定是否可以响应所接收到的业务订阅请求时,是利用用户信息来确定的。由于在与计费平台所关联的若干系统会进行数据的同步,也就是记录在某一系统中的用户信息会被实时地同步到其他系统中,因此如果用户信息仅仅记录存储在其中一个系统中时,说明该业务订阅请求可能为危险请求,那么将不能响应该业务订阅请求。When determining whether the received service subscription request can be responded to, it is determined by using user information. Since data is synchronized in several systems associated with the billing platform, that is, user information recorded in one system will be synchronized to other systems in real time, so if user information is only recorded and stored in one of the systems If the service subscription request may be a dangerous request, it will not be able to respond to the service subscription request.
因此,在确定是否可以响应所接收到的业务订阅请求时,首先识别所得到的订阅信息中所包含的用户信息,然后根据用户信息在与计费平台相关联的第二系统中进行查询,以确定在第二系统中是否记录存储有该用户信息,进而根 据所得到的查询结果确定是否可以对所接收到的业务订阅请求进行响应,其中,若第二系统中记录有该用户信息,则确定响应所接收到的业务订阅请求,若第二系统中未记录有该用户信息,则确定不响应所接收到的业务订阅请求。Therefore, when determining whether it is possible to respond to the received service subscription request, first identify the user information contained in the obtained subscription information, and then perform a query in the second system associated with the billing platform based on the user information. Determine whether the user information is recorded and stored in the second system, and then determine whether the received service subscription request can be responded to according to the obtained query result, wherein, if the user information is recorded in the second system, determine In response to the received service subscription request, if the user information is not recorded in the second system, it is determined not to respond to the received service subscription request.
需要说明的是,第二系统可以是一个系统,也可以是若干系统的统称,在第二系统为一个系统时,只需要第二系统中也记录有当前所识别得到的用户信息,便说明可以对所接收到的业务订阅请求进行响应,当第二系统为若干系统的统称时,需要保证第二系统中所包含的所有系统中均记录有当前所识别得到的用户信息,才能对所接收到的业务订阅请求进行响应。It should be noted that the second system can be one system or a collective term for several systems. When the second system is one system, it only needs to record the currently identified user information in the second system. Respond to the received service subscription request. When the second system is a collective term for several systems, it is necessary to ensure that all the systems included in the second system record the currently identified user information in order to respond to the received Respond to the business subscription request.
另外,第一系统可以与第二系统互换,也就是,除了第一系统可以向计费平台发送业务订阅请求来实现业务的订阅之外,第二系统也可以向计费平台发送业务订阅请求以实现对所需要的业务的订阅,即第二系统中除了会记录存储有用户信息之外,也会具有第一系统所具有的业务订阅和请求的能力,同样的,第一系统也具有第二系统所描述的对数据进行记录和存储的能力。In addition, the first system can be interchanged with the second system, that is, in addition to the first system can send a service subscription request to the billing platform to implement service subscription, the second system can also send a service subscription request to the billing platform In order to realize the subscription to the required services, that is, in addition to recording and storing user information in the second system, it also has the service subscription and request capabilities of the first system. Similarly, the first system also has the first system. 2. The ability to record and store data as described by the system.
以上述描述的场景为例,若当前接收到IPTV平台所发送的业务订阅请求,那么在对业务订阅请求中所包含的相关数据信息(例如,业务信息、用户信息、时间戳信息、订阅来源信息等)进行识别和获取之后,将会根据相关数据信息中所包含的用户信息在运营商管理平台以及第三方内容管理平台中对用户信息进行验证,在运营商管理平台以及第三方内容管理平台中都记录有该用户信息时,确定验证通过,然后再进行后续的请求响应。Taking the scenario described above as an example, if the service subscription request sent by the IPTV platform is currently received, the relevant data information contained in the service subscription request (for example, service information, user information, timestamp information, subscription source information) After identification and acquisition, the user information will be verified in the operator management platform and third-party content management platform based on the user information contained in the relevant data information, and the user information will be verified in the operator management platform and third-party content management platform. When the user information is recorded, it is determined that the verification is passed, and then the subsequent request response is performed.
在进行请求响应时,首先会生成相应的计费请求,以使得计费平台对费用信息进行计算,并在得到相应的费用信息之后,生成相应的支付指令,以使得计费平台将支付指令发送至与计费平台相关联的第三方支付平台,以进行后续的费用支付。而在完成费用支付之后,用户将会得到所订阅的业务,比如进行视频信息的播放。When responding to a request, it will first generate a corresponding charging request so that the charging platform can calculate the cost information, and after obtaining the corresponding cost information, generate a corresponding payment instruction so that the billing platform sends the payment instruction To the third-party payment platform associated with the billing platform for subsequent fee payment. After completing the fee payment, the user will get the subscribed service, such as playing video information.
步骤S203、若确定响应业务订阅请求,则根据订阅信息生成对应的计费请求。Step S203: If it is determined to respond to the service subscription request, a corresponding charging request is generated according to the subscription information.
利用订阅信息中所包含的用户信息进行相应地验证,保证计费以及支付的安全性。在验证通过时,将根据所识别得到的订阅信息生成得到对应的计费请求,以根据所得到的计费请求实现对相应的业务的订阅。Use the user information contained in the subscription information to verify accordingly to ensure the security of billing and payment. When the verification is passed, the corresponding charging request will be generated according to the identified subscription information, so as to realize the subscription to the corresponding service according to the obtained charging request.
在实际应用中,在确定可以对所接收到的业务请求进行响应时,将会根据所得到的订阅信息生成对应的计费请求,以使得计费平台对业务订阅请求所对应的业务进行计费。因此,在确定需要进行计费时,需要确定当前进行计费的对象,然后通过识别订阅信息中所包含的业务信息得到计费请求,其中,计费请求中包含有订阅信息中所包含的业务信息。In actual applications, when it is determined that the received service request can be responded to, the corresponding charging request will be generated according to the obtained subscription information, so that the charging platform will charge the service corresponding to the service subscription request . Therefore, when it is determined that charging is required, it is necessary to determine the current charging object, and then obtain the charging request by identifying the service information contained in the subscription information, where the charging request contains the service contained in the subscription information information.
在一实施例中,在根据所得到的用户信息确定是否响应所接收到的业务订阅请求是,在确定可以所接收到的业务订阅请求时,将会根据所得到的订阅信息生成相应的计费请求,以实现对业务订阅请求的响应。而在确定不响应所接收到的业务订阅请求时,将会生成订阅失败的反馈信息,并将生成得到的反馈信息发送至第一系统。In one embodiment, when determining whether to respond to the received service subscription request based on the obtained user information, when it is determined that the received service subscription request can be received, corresponding billing will be generated based on the obtained subscription information. Request to realize the response to the service subscription request. When it is determined not to respond to the received service subscription request, feedback information of subscription failure will be generated, and the generated feedback information will be sent to the first system.
步骤S102、将根据计费请求生成的支付请求发送至第三方支付平台。Step S102: Send the payment request generated according to the charging request to the third-party payment platform.
在根据所接收到的业务订阅请求得到相应的计费请求之后,将会根据计费请求实现费用的计算以及后续的费用支付。因此在接收到计费请求之后,首先根据计费请求得到相应的支付请求,进而将支付请求发送至相应的第三方支付平台,并在接收到第三方支付平台通过响应支付请求而发出的支付成功指令时,相应业务订阅请求所包含的目标业务。After obtaining the corresponding charging request according to the received service subscription request, the calculation of the fee and the subsequent payment of the fee will be realized according to the charging request. Therefore, after receiving the charging request, first obtain the corresponding payment request according to the charging request, and then send the payment request to the corresponding third-party payment platform, and after receiving the third-party payment platform in response to the payment request, the payment is successful When instructing, the corresponding service subscribes to the target service contained in the request.
在一实施例中,在进行支付请求时,需要根据当前所接收到的相关信息确定当前实际的费用信息,进而才可以根据所需要支付的费用信息得到当前进行发送的支付请求。因此,在生成得到支付请求以发送至相关联的第三方支付平台时,包括:识别业务订阅请求所对应的业务标识,并根据业务标识在数据库中进行查询,以确定业务标识对应的计费规则;根据计费规则确定对应的资费信息,以根据资费信息生成对应的支付请求。In one embodiment, when making a payment request, it is necessary to determine the current actual cost information based on the currently received related information, and then the current payment request sent can be obtained according to the required payment information. Therefore, when the payment request is generated and sent to the associated third-party payment platform, it includes: identifying the service ID corresponding to the service subscription request, and querying the database according to the service ID to determine the charging rule corresponding to the service ID ; Determine the corresponding tariff information according to the charging rules to generate the corresponding payment request according to the tariff information.
其中,数据库中记录着不同业务对应的资费信息和规则,且数据库中所记录存储的数据信息是会实时同步和更新至与计费平台相关联的各系统中。Among them, the tariff information and rules corresponding to different services are recorded in the database, and the data information recorded and stored in the database is synchronized and updated in real time to the systems associated with the billing platform.
对于不同的业务对应计费规则有所不同,具体体现在资费信息以及计费方式的不同,对于资费信息,也就是不同业务的定价信息不同,对于计费方式而言,由上述描述可知,计费方式可以是(A*12/365*剩余天数)和(A/本月总天数*剩余天数)等,不同的方式所产生的费用信息会有所不同,而在计费平台中,可以设置一个统一的计费方式,还可以根据不同的业务设置不同的计费方式。 而无论以何种方式进行计费,都是在实际的资费状态下进行的。The corresponding charging rules for different services are different, which is specifically reflected in the difference in tariff information and charging methods. For tariff information, that is, the pricing information of different services is different, for the charging method, the above description shows that the calculation The fee method can be (A*12/365*remaining days) and (A/total days of the month*remaining days), etc. The fee information generated by different methods will be different, and in the billing platform, you can set A unified billing method can also set different billing methods according to different services. No matter what method is used for charging, it is done under the actual tariff status.
因此,在得到业务订阅请求时,识别业务订阅请求所包含的业务对应的业务标识,其中,业务标识为业务的唯一标签,通过对业务标签的识别,进而在计费平台中的数据库中进行查询,以得到与所得到的业务标识相对应的计费规则,最后根据所得到计费规则生成得到相应的支付请求。Therefore, when the service subscription request is obtained, the service ID corresponding to the service contained in the service subscription request is identified, where the service ID is the unique label of the service. Through the identification of the service label, the query is then performed in the database in the charging platform , In order to obtain the charging rule corresponding to the obtained service identifier, and finally generate and obtain the corresponding payment request according to the obtained charging rule.
在生成支付请求时,需要确定当前实际的资费情况,因此在得到计费请求之后,会在计费平台中的数据库中确定当前所要订阅的业务对应的计费规则,然后利用所得到的计费规则计算得到当前所对应的资费信息,比如,在订阅套餐1时,所对应的计费规则为按照计费方式(A/本月总天数*剩余天数)计算具体的资费信息,若套餐1的定价为50元/月,且6月剩余天数为12天,那么用在订阅套餐1时,6月所需要的费用为50/30*12=20元,那么在生成支付请求时,支付请求中所包含的信息为“支付20元”,同时在支付请求中还可以记录和包含有套餐1的信息以及实际的订阅信息,比如“支付20元、套餐1、12天(6月)”。When generating a payment request, it is necessary to determine the current actual tariff situation. Therefore, after the charging request is obtained, the charging rule corresponding to the current service to be subscribed will be determined in the database in the charging platform, and then the obtained charging will be used The current corresponding tariff information is calculated by the rule. For example, when subscribing to package 1, the corresponding charging rule is to calculate the specific tariff information according to the charging method (A/total days of the month * remaining days). The price is 50 yuan/month, and the remaining days in June are 12 days, then when subscribing to package 1, the cost required in June is 50/30*12=20 yuan, then when the payment request is generated, the payment request is in The included information is "pay 20 yuan", and the payment request can also record and include package 1 information and actual subscription information, such as "pay 20 yuan, package 1, 12 days (June)".
步骤S103、若接收到第三方支付平台响应支付请求发送的支付成功指令,则响应业务订阅请求所包含的目标业务。Step S103: If a payment success instruction sent by the third-party payment platform in response to the payment request is received, respond to the target service included in the service subscription request.
计费平台用来对实际所需要进行订阅的业务所对应的费用进行计费和统计,在得到包含有支付信息的支付请求之后,将支付请求发送给与计费平台关联的第三方支付平台,以使得第三方支付平台对支付请求进行响应,也就是完成支付。The billing platform is used to bill and count the fees corresponding to the services that actually need to be subscribed. After obtaining the payment request containing the payment information, the payment request is sent to the third-party payment platform associated with the billing platform. In order to make the third-party payment platform respond to the payment request, that is, complete the payment.
因此,在接收到第三方支付平台响应支付请求而发出的支付成功指令时,将会响应业务订阅请求中所包含的目标业务。Therefore, when receiving the payment success instruction issued by the third-party payment platform in response to the payment request, it will respond to the target business included in the service subscription request.
在实际应用中,与计费平台关联的第三方支付平台是有计费平台所决定的,在计费平台支持哪种第三方支付平台,那么在选择第三方支付平台进行支付时,会调出可选择第三方支付平台,一般情况下,第三方支付平台包括微信支付、支付宝支付、银联支付以及其他支付等。在确定第三方支付平台时,在第三方支付平台的可选择性过多时,可以是用户进行选择的,此时在需要进行支付时,可以反馈选择界面,以供用户选择当前所需要的支付平台。In practical applications, the third-party payment platform associated with the billing platform is determined by the billing platform. Which third-party payment platform is supported by the billing platform, then when the third-party payment platform is selected for payment, it will be called You can choose a third-party payment platform. Generally, third-party payment platforms include WeChat Pay, Alipay, UnionPay, and other payments. When determining the third-party payment platform, when there are too many options for the third-party payment platform, the user can choose. At this time, when the payment needs to be made, the selection interface can be fed back to allow the user to select the payment platform currently needed .
在一实施例中,计费平台可以用来接收与计费平台相关联的系统所发出的 业务订阅请求,以及将所生成的支付请求发送至相关联的第三方支付平台,还需要进行数据信息的同步。在实际应用中,在多系统协同运营的网络环境中,多系统需要进行系统工作,以为用户提供更好的业务需求,而为了保证各系统中的数据同步性,需要在适当的时候对各系统中所记录的数据信息进行同步处理。In an embodiment, the billing platform can be used to receive service subscription requests issued by the system associated with the billing platform, and send the generated payment request to the associated third-party payment platform, and data information is also required. Synchronization. In practical applications, in a network environment where multiple systems are operated in coordination, multiple systems need to perform system work to provide users with better business requirements. In order to ensure the synchronization of data in each system, it is necessary to check each system at an appropriate time. The data information recorded in the synchronizing process.
在计费平台中,其所包含的数据库中会记录有与业务相关的数据信息,用于在进行业务订阅请求时可以准确地确定当前所对应的资费信息。在实际应用中,计费平台用于根据用户的业务订阅请求生成相应的计费以及支付请求,然后通过在第三方支付平台上实现支付,以完成用户对想要订阅的业务的请求。而在完成对所需要的目标业务的订阅之后,需要使得与计费平台关联的系统知道已经完成了对目标业务的订阅,以避免数据没有及时同步,导致用户在使用系统时出现重复订阅的情况。In the billing platform, data information related to the business will be recorded in the database contained therein, which is used to accurately determine the current corresponding tariff information when making a business subscription request. In actual applications, the billing platform is used to generate corresponding billing and payment requests according to the user's service subscription request, and then implement the payment on the third-party payment platform to complete the user's request for the service that the user wants to subscribe. After completing the subscription to the required target service, the system associated with the billing platform needs to know that the subscription to the target service has been completed, so as to avoid data not being synchronized in time, resulting in repeated subscriptions when users use the system .
因此,在将接收到业务订阅信息生成对应的计费请求之后,还包括:将业务订阅请求中所包含的业务信息记录在计费平台的数据库中,并设定业务信息的有效时长。Therefore, after generating the corresponding charging request after receiving the service subscription information, it further includes: recording the service information contained in the service subscription request in the database of the charging platform, and setting the effective duration of the service information.
在实际应用中,对于计费平台所接收到的业务订阅请求,在响应了业务订阅请求之后,也就是完成订阅目标业务的支付之后,需要将目标业务相关联的信息进行存储,因此,在接收到业务订阅请求之后,将会将业务订阅请求中所记录的业务信息记录在计费平台的数据库中,以使得在完成对业务订阅请求的响应之后,可以及时的将目标业务的相关信息同步在于计费平台关联的系统中。In practical applications, for the service subscription request received by the billing platform, after responding to the service subscription request, that is, after completing the payment of the subscription target service, the information associated with the target service needs to be stored. Therefore, when receiving After the service subscription request, the service information recorded in the service subscription request will be recorded in the database of the charging platform, so that after completing the response to the service subscription request, the relevant information of the target service can be synchronized in time. In the system associated with the billing platform.
在将业务订阅请求所包含的业务信息进行记录时,会对业务订阅请求和业务信息设置一定的有效时长,有效时长的设置为了避免长时间未对业务订阅请求进行响应,而导致数据长时间存在在数据库中,且此时该数据为无用数据,在超过有效时长且没有对业务订阅请求进行响应时,那么将会将该业务订阅请求视为无效请求,以向第一系统反馈订阅失败的反馈信息,同时将所记录的业务信息进行删除,以避免将没有订阅的业务以及业务信息同步至与计费平台相关联的系统中。When recording the business information contained in the business subscription request, a certain effective duration will be set for the business subscription request and business information. The effective duration is set in order to avoid long-term failure to respond to the business subscription request, resulting in long-term data existence In the database, and the data at this time is useless data, when the valid time is exceeded and there is no response to the service subscription request, the service subscription request will be regarded as an invalid request to feed back the subscription failure feedback to the first system At the same time, delete the recorded business information to avoid synchronizing the unsubscribed business and business information to the system associated with the billing platform.
在第三方支付平台完成对支付请求的响应之后,还包括:根据支付请求,将目标业务会在数据库中;当检测到数据同步指令时,同步数据库至与计费平 台关联的系统中。After the third-party payment platform completes the response to the payment request, it also includes: according to the payment request, the target business is stored in the database; when the data synchronization instruction is detected, the database is synchronized to the system associated with the billing platform.
在一实施例中,在将根据计费请求生成的支付请求发送至第三方支付平台,并接收到第三方支付平台响应支付请求发送的支付成功指令,进而实现对业务订阅请求的响应。在完成对业务订阅请求的响应之后,将会根据前述所生成的支付请求,将所响应的目标业务的成功订阅信息记录在数据库中,并在当检测到数据同步指令时,同步计费平台的数据库中所记录的数据至与计费平台关联的系统中。In one embodiment, the payment request generated according to the charging request is sent to the third-party payment platform, and the payment success instruction sent by the third-party payment platform in response to the payment request is received, so as to implement a response to the service subscription request. After completing the response to the service subscription request, according to the payment request generated above, the successful subscription information of the responding target service will be recorded in the database, and when the data synchronization instruction is detected, the billing platform will be synchronized. The data recorded in the database is transferred to the system associated with the billing platform.
对于数据同步指令,可以是在接收到第三方支付平台响应支付请求而发出的支付成功指令时所触发的,由于用户已经在系统中完成了对目标业务的订阅,为了保证各系统之间的数据统一性,需要进行数据信息的同步。比如进行协同运营的系统有三个,若用户利用A系统实现对套餐1的订阅,那么此时计费平台在确定用户完成对套餐1的订阅之后,将需要告知B系统以及C系统,以使得用户可以使用B系统和C系统为自己提供套餐1所包含的服务。For the data synchronization instruction, it can be triggered when the payment success instruction issued by the third-party payment platform in response to the payment request is received. Since the user has completed the subscription to the target service in the system, in order to ensure the data between the systems Uniformity requires synchronization of data information. For example, there are three systems for collaborative operation. If the user uses the A system to subscribe to package 1, then the billing platform will need to notify the B system and the C system after confirming that the user has completed the subscription to package 1, so that the user You can use system B and system C to provide yourself with the services included in package 1.
参照图4,图4为本申请一个实施例提供的一种基于计费平台的计费方法的场景交互示意图。Referring to FIG. 4, FIG. 4 is a schematic diagram of scene interaction of a charging method based on a charging platform provided by an embodiment of this application.
在该场景下,整个业务订阅以及支付系统包括有:用户终端、系统、计费平台以及支付平台,其中系统的数量不限。In this scenario, the entire service subscription and payment system includes: user terminals, systems, billing platforms, and payment platforms, where the number of systems is not limited.
在该场景下实现本申请所提供的基于计费平台的业务响应方法,包括如下步骤:In this scenario, implementing the service response method based on the charging platform provided by this application includes the following steps:
1、服务请求:用户终端向软件系统发起服务请求;1. Service request: the user terminal initiates a service request to the software system;
2、请求认证:软件系统对发送服务请求的用户终端进行认证,对于没有权益的用户终端,将会认证失败,对于拥有权益的用户将认证通过,也就是用户终端可以观看和点播服务请求所对应的业务;2. Request for authentication: The software system authenticates the user terminal that sends the service request. For the user terminal without rights, the authentication will fail, and the user with the rights will pass the authentication, that is, the user terminal can watch and the on-demand service request corresponds to Business;
3、返回带订阅产品列表:当认证失败之后,软件系统将根据系统中内容或者服务关联的产品情况,将用户可以订购的产品列表返回给用户终端;3. Return to the list of subscription products: After the authentication fails, the software system will return the list of products that the user can order to the user terminal according to the content or service-related product situation in the system;
4、订购请求:用户终端根据用户选择,确定目标产品并根据目标产品发起订购请求;4. Order request: The user terminal determines the target product according to the user's choice and initiates an order request according to the target product;
5、计费预处理:软件系统在收到订购请求以后,会对发起的订购请求的数据进行逻辑判断和处理,比如,校验该用户是否是系统中的合法用户等,并在 初步校验通过后,软件系统开始将该条订购数据中的详细数据进行信息封装;5. Billing preprocessing: After receiving the order request, the software system will logically judge and process the data of the initiated order request, for example, verify whether the user is a legitimate user in the system, etc., and perform preliminary verification After passing, the software system starts to package the detailed data in the order data;
6、计费请求:软件系统会向计费平台发起计费请求;6. Billing request: The software system will initiate a billing request to the billing platform;
7、内部计费逻辑处理:计费平台收到计费请求后,通过传入的产品信息,获取数据库中的产品价格、优惠策略、产品关联的分成策略,然后计算本次订购产生的支付费用,同时按照系统中的分成策略,计算该费用对软件系统中各平台的详细分成;7. Internal billing logic processing: After receiving the billing request, the billing platform obtains the product price, preferential strategy, and product-related sharing strategy in the database through the incoming product information, and then calculates the payment fee incurred for this order , And at the same time, calculate the detailed share of the cost to each platform in the software system according to the share strategy in the system;
8、数据二次校验:计费平台根据传入的用户数据信息,向软件系统中的其他各个平台查询详细的用户数据,确定用户信息的合法性;8. Data secondary verification: According to the incoming user data information, the billing platform queries other platforms in the software system for detailed user data to determine the legitimacy of the user information;
9、支付请求:当确定用户信息合法时,计费平台向支付平台发起支付请求;9. Payment request: When it is determined that the user information is legal, the billing platform initiates a payment request to the payment platform;
10、支付结果保存:将支付请求发送至第三方支付平台,并在支付完成后,将返回支付结果;10. Save the payment result: send the payment request to the third-party payment platform, and after the payment is completed, the payment result will be returned;
11、返回计费结果应答:计费平台在内部保存详细的计费订单,并同时将计费结果返回给软件系统;11. Return the billing result response: the billing platform saves the detailed billing order internally, and returns the billing result to the software system at the same time;
12、返回订购结果:软件系统将返回给用户终端本次全流程的订购结果,比如,用户订购成功后,将开始观看内容;用户订购失败,将查看到报错原因,以供用户查看详细信息。12. Return the order result: The software system will return the order result of the whole process to the user terminal. For example, after the user order is successful, it will start to watch the content; if the user order fails, the reason for the error will be checked for the user to view detailed information.
另外,计费平台中还将进行数据信息的同步,如图5所示,图5为本申请一个实施例提供的进行数据同步的场景交互示意图。在进行数据信息的同步时,将计费平台中所新增的数据信息同步至与计费平台关联的系统中。In addition, data information synchronization will also be performed in the charging platform, as shown in FIG. 5, which is a schematic diagram of scene interaction for data synchronization provided by an embodiment of the application. When the data information is synchronized, the newly added data information in the charging platform is synchronized to the system associated with the charging platform.
在计费系统中,系统管理员通过数据管理门户进行系统数据管理,具体可以维护产品数据、分成策略数据等。In the billing system, the system administrator manages the system data through the data management portal, and specifically can maintain product data, divide policy data, and so on.
为了保证产品计费的准确性,需要将计费平台指定的详细产品数据同步到软件系统中的其他各平台,由于产品数据保存在计费平台的数据库中,数据同步接口机通过定时脚本固定从数据库中筛选出未同步的产品数据,并将产品数据同步到IPTV系统,同步成功后,IPTV将返回同步成功,如果同步失败,数据同步接口机将会重新触发产品同步,只有产品数据同步到软件系统中的各平台后,各平台才能够支持该产品在各平台的订购,否则用户将查询不到该产品,故也无法对该产品发起订购。In order to ensure the accuracy of product billing, it is necessary to synchronize the detailed product data specified by the billing platform to other platforms in the software system. Since the product data is stored in the database of the billing platform, the data synchronization interface machine is fixed from Filter out the unsynchronized product data in the database, and synchronize the product data to the IPTV system. After the synchronization is successful, the IPTV will return the synchronization success. If the synchronization fails, the data synchronization interface machine will trigger the product synchronization again, and only the product data will be synchronized to the software After each platform in the system, each platform can support the order of the product on each platform, otherwise the user will not be able to inquire about the product, and therefore cannot initiate an order for the product.
软件系统返回产品同步结果后,由数据同步接口机根据同步结果,在数据 库中保存同步结果,针对不同的同步结果将对产品进行打标记,未同步成功的产品,将会在下次同步任务开始时,再次发起产品同步流程。After the software system returns the product synchronization result, the data synchronization interface machine saves the synchronization result in the database according to the synchronization result. The products will be marked for different synchronization results. Products that are not successfully synchronized will be at the beginning of the next synchronization task. To initiate the product synchronization process again.
进一步地,在进行支付请求时,还需要对用户信息进行二次验证,以保证用户信息的安全性,如图6所示,图6为本申请一个实施例提供的进行二次身份验证的场景交互示意图。Further, when making a payment request, a second verification of user information is also required to ensure the security of user information. As shown in FIG. 6, FIG. 6 is a scenario for performing a second identity verification provided by an embodiment of the application. Interactive diagram.
在进行二次验证时,业务处理集群(由业务处理机组成)在接收到软件系统中其他平台发起的计费请求时,首先需要对本次请求中的计费数据进行计费预处理,具体是通过请求消息中传送的产品信息,获取数据库中的产品价格、优惠策略、产品关联的分成策略,然后计算本次订购产生的支付费用,同时按照系统中的分成策略,计算该费用对软件系统中各平台的详细分成情况。During the second verification, when the business processing cluster (consisting of business processors) receives a billing request initiated by other platforms in the software system, it first needs to perform billing preprocessing on the billing data in this request. Through the product information transmitted in the request message, the product price, preferential strategy, and product-related sharing strategy in the database are obtained, and then the payment fee incurred for this order is calculated. At the same time, according to the sharing strategy in the system, the fee is calculated for the software system The detailed breakdown of each platform in the
预处理后,业务处理集群会将本次支付费用发给支付模块,支付模块同时会从该支付请求中得到用户信息和产品信息,该信息不会用于费用支付,而是根据这些信息进行对支付请求进行二次校验,支付模块直接与软件系统中的各平台进行对接,按照预定的接口规范,调用平台的二次校验接口,各平台响应该校验请求,返回应答,支付模块比较该应答消息和上述所得到的请求数据,根据内部的校验逻辑完成数据有效性校验。After preprocessing, the business processing cluster will send this payment fee to the payment module, and the payment module will also obtain user information and product information from the payment request. This information will not be used for fee payment, but will be used for payment based on this information. The payment request is verified for the second time, and the payment module directly connects with each platform in the software system. According to the predetermined interface specification, the platform's second verification interface is called. Each platform responds to the verification request and returns a response. The payment module compares The response message and the request data obtained above complete the data validity check according to the internal check logic.
如果校验失败,将给业务处理集群返回支付响应,校验不通过,进而业务处理集群返回给软件系统计费请求响应,计费失败,后续需要由软件系统中的其他平台重新发起计费请求,同时计费平台保存本次的计费记录,结果为失败,保存校验失败原因。如果支付模块校验成功,将会向第三方支付平台发起支付请求,支付平台为(微信、支付宝等)第三方平台,支付平台针对本次支付返回支付结果,支付模块将本次支付结果返回给业务处理集群,业务处理集群在计费平台数据库中保存本次支付情况(成功即保存成功,失败则记录错误和支付失败描述),同时由业务处理集群返回本次支付应答给软件系统,由软件系统根据不同的响应结果,进入不同的逻辑处理分支。If the verification fails, a payment response will be returned to the business processing cluster. If the verification fails, the business processing cluster will return a response to the charging request of the software system. If the billing fails, other platforms in the software system need to re-initiate the billing request. At the same time, the billing platform saves the billing record of this time, the result is a failure, and the reason for the verification failure is saved. If the payment module is successfully verified, a payment request will be initiated to the third-party payment platform. The payment platform is a third-party platform (WeChat, Alipay, etc.). The payment platform returns the payment result for this payment, and the payment module returns the payment result to Business processing cluster, the business processing cluster saves the current payment situation in the billing platform database (success is saved successfully, and if it fails, the error and payment failure description are recorded), and the business processing cluster returns the payment response to the software system, and the software The system enters different logical processing branches according to different response results.
在上述描述的基于计费平台的计费方法、设备即可读存储介质中,在接收到业务订阅请求时,计费平台将会根据所加厚道的业务订阅请求生成得到对应的计费请求,然后计费平台根据所请求的业务的相关信息生成相应的支付请求,进而将所生成得到的支付请求发送至与计费平台相关联的福三方支付平台,最 后在接收到第三方支付平台响应支付请求而发出的支付成功指令时,计费平台将会实现对业务订阅请求的响应,即完成对目标业务的订阅。实现了通过统一的计费平台对用户的业务需求进行计费处理,提高了在多系统协同工作环境下,计费的准确性,并且在进行支付时提供对用户信息的验证,提高了支付的安全性,同时在完成计费以及订阅之后,快速进行数据同步,保证了各系统中数据的统一性。In the above-described charging method and device-readable storage medium based on the charging platform, upon receiving the service subscription request, the charging platform will generate the corresponding charging request according to the service subscription request of the thickened channel. , And then the billing platform generates a corresponding payment request according to the related information of the requested service, and then sends the generated payment request to the Fu three-party payment platform associated with the billing platform, and finally receives a response from the third-party payment platform When a payment success instruction is issued for a payment request, the billing platform will implement a response to the service subscription request, that is, complete the subscription to the target service. It realizes the billing processing of the user’s business needs through a unified billing platform, improves the accuracy of billing in a multi-system collaborative working environment, and provides verification of user information when making payments, which improves the payment efficiency. Security. At the same time, data synchronization is performed quickly after billing and subscription are completed, ensuring the unity of data in each system.
请参阅图7,图7是本申请实施例提供的一种电子设备的结构示意性框图。Please refer to FIG. 7, which is a schematic block diagram of the structure of an electronic device according to an embodiment of the present application.
示例性的,该电子设备可以为手机、平板、笔记本、台式机、电视、专用输入设备、取款机等。Exemplarily, the electronic device may be a mobile phone, a tablet, a notebook, a desktop computer, a TV, a dedicated input device, a cash machine, and the like.
电子设备还包括处理器、存储器,存储器用于存储计算机程序。The electronic device also includes a processor and a memory, and the memory is used to store a computer program.
处理器,用于执行计算机程序并在执行计算机程序时实现本申请实施例提供的任一项基于计费平台的计费方法。The processor is configured to execute a computer program and, when executing the computer program, implement any one of the charging methods based on the charging platform provided in the embodiments of the present application.
应当理解的是,处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application specific integrated circuits (Application Specific Integrated Circuits). Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
本申请的实施例中还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时,使处理器实现本申请实施例提供的任一项基于计费平台的计费方法。The embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program. When the computer program is executed by the processor, the processor realizes that any item provided in the embodiments of the present application is based on billing. The billing method of the platform.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读存储介质上,计算机可读存储介质可以包括计算机可读存储介质 (或非暂时性介质)和通信介质(或暂时性介质)。A person of ordinary skill in the art can understand that all or some of the steps, functional modules/units in the system, and apparatus in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Certain physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on a computer-readable storage medium, and the computer-readable storage medium may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
如本领域普通技术人员公知的,术语计算机可读存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机可读存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。As is well known to those of ordinary skill in the art, the term computer-readable storage medium includes volatile and non-volatile properties implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Volatile, removable and non-removable media. Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or it can be used to store desired information and can be any other medium that can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
示例性的,计算机可读存储介质可以是前述实施例的电子设备的内部存储单元,例如电子设备的硬盘或内存。计算机可读存储介质也可以是电子设备的外部存储设备,例如电子设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Exemplarily, the computer-readable storage medium may be an internal storage unit of the electronic device of the foregoing embodiment, such as a hard disk or a memory of the electronic device. The computer-readable storage medium can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on an electronic device, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash memory card ( Flash Card) etc.
前述各实施例提供的电子设备和计算机可读存储介质,通过在用户输入信息时,在显示屏上不同的显示区域显示至少两个虚拟键盘,使得可以通过至少两个虚拟键盘输入信息;提高恶意软件通过监听传感器的状态推测输入信息的难度,增强了信息输入的安全性。The electronic device and computer-readable storage medium provided by the foregoing embodiments display at least two virtual keyboards in different display areas on the display screen when the user inputs information, so that information can be input through the at least two virtual keyboards; The software predicts the difficulty of inputting information by monitoring the state of the sensor, which enhances the security of information input.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalent modifications or changes within the technical scope disclosed in this application. Replacement, these modifications or replacements shall be covered within the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (10)

  1. 一种基于计费平台的计费方法,所述方法包括:A charging method based on a charging platform, the method comprising:
    接收业务订阅请求,并根据所述业务订阅请求生成对应的计费请求;Receiving a service subscription request, and generating a corresponding charging request according to the service subscription request;
    将根据所述计费请求生成的支付请求发送至第三方支付平台;Sending the payment request generated according to the charging request to a third-party payment platform;
    若接收到所述第三方支付平台响应所述支付请求发送的支付成功指令,则响应所述业务订阅请求所包含的目标业务。If a payment success instruction sent by the third-party payment platform in response to the payment request is received, respond to the target service included in the service subscription request.
  2. 根据权利要求1所述的方法,其中,所述接收业务订阅请求,并根据所述订阅信息生成对应的计费请求,包括:The method according to claim 1, wherein the receiving a service subscription request and generating a corresponding charging request according to the subscription information comprises:
    接收第一系统发送的业务订阅请求,并识别所述业务订阅请求中所包含的订阅信息,其中,所述第一系统与所述计费平台连接;Receiving a service subscription request sent by a first system, and identifying subscription information included in the service subscription request, wherein the first system is connected to the charging platform;
    根据所述订阅信息中所包含的用户信息,确定是否响应所述业务订阅请求;Determine whether to respond to the service subscription request according to the user information contained in the subscription information;
    若确定响应所述业务订阅请求,则根据所述订阅信息生成对应的计费请求。If it is determined to respond to the service subscription request, a corresponding charging request is generated according to the subscription information.
  3. 根据权利要求2所述的方法,其中,所述根据所述订阅信息中所包含的用户信息,确定是否响应所述业务订阅请求,包括:The method according to claim 2, wherein the determining whether to respond to the service subscription request according to the user information contained in the subscription information comprises:
    识别所述订阅信息中所包含的用户信息;Identifying user information contained in the subscription information;
    根据所述用户信息,在与所述计费平台关联的第二系统中进行查询,以确定所述第二系统中是否记录有所述用户信息,其中,所述第二系统与所述计费平台连接;According to the user information, a query is made in a second system associated with the charging platform to determine whether the user information is recorded in the second system, wherein the second system and the charging platform Platform connection
    根据所述第二系统中是否记录有所述用户信息,确定是否响应所述业务订阅请求。Determine whether to respond to the service subscription request according to whether the user information is recorded in the second system.
  4. 根据权利要求3所述的方法,其中,所述根据所述第二系统中是否记录有所述用户信息,确定是否响应所述业务订阅请求,包括:The method according to claim 3, wherein the determining whether to respond to the service subscription request according to whether the user information is recorded in the second system comprises:
    若所述第二系统中记录有所述用户信息,则响应所述业务订阅请求;或,If the user information is recorded in the second system, respond to the service subscription request; or,
    若所述第二系统中未记录有所述用户信息,则不响应所述业务订阅请求;If the user information is not recorded in the second system, do not respond to the service subscription request;
    所述确定不响应所述业务订阅请求之后,还包括:After the determining not to respond to the service subscription request, the method further includes:
    生成订阅失败的反馈信息,并将所述反馈信息发送至所述第一系统。Generate feedback information that the subscription fails, and send the feedback information to the first system.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述接收业务订阅请求,并根据所述业务订阅请求生成对应的计费请求之后,还包括:The method according to any one of claims 1 to 4, wherein after the receiving a service subscription request and generating a corresponding charging request according to the service subscription request, the method further comprises:
    将所述业务订阅请求中所包含的业务信息记录在所述计费平台的数据库中, 并设定所述业务信息的有效时长;Recording the service information contained in the service subscription request in the database of the charging platform, and setting the effective duration of the service information;
    若确定在所述有效时长内所述计费平台未响应所述业务订阅请求,则将所述业务订阅请求视为无效请求,并将所述业务信息从所述数据库中删除。If it is determined that the charging platform does not respond to the service subscription request within the valid time period, the service subscription request is regarded as an invalid request, and the service information is deleted from the database.
  6. 根据权利要求5所述的方法,其中,所述将根据所述计费请求生成的支付请求发送至第三方支付平台,包括:The method according to claim 5, wherein the sending the payment request generated according to the charging request to a third-party payment platform comprises:
    识别所述业务订阅请求所对应的业务标识,并根据所述业务标识在所述数据库中进行查询,以确定所述业务标识对应的计费规则;Identifying the service ID corresponding to the service subscription request, and querying the database according to the service ID to determine the charging rule corresponding to the service ID;
    根据所述计费规则确定对应的资费信息,以根据所述资费信息生成对应的支付请求。The corresponding tariff information is determined according to the charging rules, so as to generate a corresponding payment request according to the tariff information.
  7. 根据权利要求5或6所述的方法,其中,所述若接收到所述第三方支付平台响应所述支付请求发送的支付成功指令,则响应所述业务订阅请求所包含的目标业务之后,还包括:The method according to claim 5 or 6, wherein, if the payment success instruction sent by the third-party payment platform in response to the payment request is received, after responding to the target service included in the service subscription request, further include:
    根据所述支付请求,将所述目标业务的订阅成功信息记录在所述数据库中;Record the subscription success information of the target service in the database according to the payment request;
    当检测到数据同步指令时,同步所述数据库至与所述计费平台关联的系统中。When a data synchronization instruction is detected, the database is synchronized to the system associated with the charging platform.
  8. 根据权利要求5至7中任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 5 to 7, wherein the method further comprises:
    当检测到所述数据库新增业务时,将所述新增业务对应的业务信息同步至与所述计费平台关联的应用系统中。When a new service in the database is detected, the service information corresponding to the newly added service is synchronized to the application system associated with the charging platform.
  9. 一种电子设备,所述设备包括存储器、处理器、存储在所述存储器上并可在所述处理器上运行的程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,所述程序被所述处理器执行时实现如权利要求1至8中任一项所述的基于计费平台的计费方法的步骤。An electronic device that includes a memory, a processor, a program stored on the memory and capable of running on the processor, and data used to implement connection and communication between the processor and the memory Bus, when the program is executed by the processor, the steps of the charging method based on the charging platform according to any one of claims 1 to 8 are realized.
  10. 一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1至8中任一项所述的基于计费平台的计费方法的步骤。A storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any of claims 1 to 8 One of the steps of the charging method based on the charging platform.
PCT/CN2021/101644 2020-06-24 2021-06-22 Charging platform-based charging method, electronic device, and storage medium WO2021259291A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010589917.5 2020-06-24
CN202010589917.5A CN113839978A (en) 2020-06-24 2020-06-24 Charging method based on charging platform, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021259291A1 true WO2021259291A1 (en) 2021-12-30

Family

ID=78964647

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101644 WO2021259291A1 (en) 2020-06-24 2021-06-22 Charging platform-based charging method, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN113839978A (en)
WO (1) WO2021259291A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708120A (en) * 2023-04-12 2023-09-05 友帮信互联网技术(北京)有限公司 Service method and device for time online sharing service

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117094776A (en) * 2022-05-10 2023-11-21 中国移动通信有限公司研究院 Charging method, device, system and storage medium for data transaction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050246A1 (en) * 2005-08-24 2007-03-01 Paul Talavera Promotional advertising system and method for redeeming promotions using electronic customer credits
CN101072276A (en) * 2006-05-11 2007-11-14 华为技术有限公司 Billing method and system
CN102509214A (en) * 2011-10-28 2012-06-20 祝丹 Mobile phone ordering payment method based on digital television payment platform and system
CN111225402A (en) * 2018-11-26 2020-06-02 卓望数码技术(深圳)有限公司 Charging middleware testing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050246A1 (en) * 2005-08-24 2007-03-01 Paul Talavera Promotional advertising system and method for redeeming promotions using electronic customer credits
CN101072276A (en) * 2006-05-11 2007-11-14 华为技术有限公司 Billing method and system
CN102509214A (en) * 2011-10-28 2012-06-20 祝丹 Mobile phone ordering payment method based on digital television payment platform and system
CN111225402A (en) * 2018-11-26 2020-06-02 卓望数码技术(深圳)有限公司 Charging middleware testing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708120A (en) * 2023-04-12 2023-09-05 友帮信互联网技术(北京)有限公司 Service method and device for time online sharing service
CN116708120B (en) * 2023-04-12 2024-02-23 友帮信互联网技术(北京)有限公司 Service method and device for time online sharing service

Also Published As

Publication number Publication date
CN113839978A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
JP7144117B2 (en) Model training system and method and storage medium
JP2022000757A5 (en)
US9654456B2 (en) Service level digital rights management support in a multi-content aggregation and delivery system
KR100964525B1 (en) Apparatus and methods of open and closed package subscription
WO2021259291A1 (en) Charging platform-based charging method, electronic device, and storage medium
CN109068179A (en) A kind of multi-platform live broadcasting method, computer installation and computer readable storage medium
US9420030B2 (en) System and method for distributing web events via distribution channels
RU2456666C2 (en) Method and system for content categorisation
CN103942616B (en) Car insurance calculation quotation service system based on mobile internet
CN110517145B (en) Data transaction method based on multi-block chain and related equipment
WO2023005838A1 (en) Data sharing method and electronic device
US20220261776A1 (en) Content delivery systems that use blockchain to manage content
CN111309745A (en) Virtual resource processing method and device, electronic equipment and storage medium
CN109377220B (en) Block chain-based media data transaction method and system and computer storage medium
CN112184218B (en) Data processing method and device and data processing device
WO2022100155A1 (en) Interface authorization monitoring method, apparatus, computer device, and storage medium
CN113706091B (en) Intelligent remote auditing method, device, system, computer equipment and storage medium
CN110599176A (en) Data processing method and device based on block chain, storage medium and node equipment
CN111694970A (en) Data processing method, device and system
CN112181817B (en) Test method and test device for SOA architecture platform
CN104579701A (en) Real-time charging method, device and system
WO2021057516A1 (en) Control method, system, device, and medium of unified playback control system
CN112995244B (en) Subscription withholding method, resource access method and equipment
CN112214751A (en) Verification code generation method and device
CN114528589B (en) Outdoor media ecological management system and method based on block chain

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21830017

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21830017

Country of ref document: EP

Kind code of ref document: A1