CN111581483B - Charging method, electronic equipment and storage medium - Google Patents

Charging method, electronic equipment and storage medium Download PDF

Info

Publication number
CN111581483B
CN111581483B CN202010255687.9A CN202010255687A CN111581483B CN 111581483 B CN111581483 B CN 111581483B CN 202010255687 A CN202010255687 A CN 202010255687A CN 111581483 B CN111581483 B CN 111581483B
Authority
CN
China
Prior art keywords
charging
order
result
data
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010255687.9A
Other languages
Chinese (zh)
Other versions
CN111581483A (en
Inventor
刘杰群
何豪亮
林福艺
许志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN202010255687.9A priority Critical patent/CN111581483B/en
Publication of CN111581483A publication Critical patent/CN111581483A/en
Application granted granted Critical
Publication of CN111581483B publication Critical patent/CN111581483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; 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
    • G06Q20/14Payment architectures specially adapted for billing systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention relates to the field of data processing and discloses a charging method, electronic equipment and a storage medium. In some embodiments of the present application, the charging method includes: acquiring temporary estimation plan information stored in advance; the tentative plan information comprises identification information of a charging order and charging time period information, and the charging order comprises identification information of charging resources; inquiring a charging data configuration table according to the tentative plan information; the charging data configuration table comprises identification information of charging resources, charging data of the charging resources and available time period information of each charging data; and determining the charging result of the charging order according to the query result. In the embodiment, the query speed can be improved, the accuracy of the charging result is improved, and the account-out error is reduced.

Description

Charging method, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of data processing, in particular to a charging method, electronic equipment and a storage medium.
Background
The charging system provided by the content delivery network (Content Delivery Network, CDN) service manufacturer has charging data source reaching the charging system through one link, the log acquisition component performs lower log flow acquisition analysis, and transmits data to the big data component in an internal remote procedure call (Remote Procedure Call, RPC) mode, the big data storage component further transmits the data transmitted to the big data storage component to perform reprocessing, aggregation operation and the like, and the aggregated data is stored in a distributed mode, and provides service inquiry to the upper charging system for real-time and offline inquiry calculation.
However, the inventors found that there are at least the following problems in the prior art: the billing of CDN manufacturers is generally performed at the beginning of the month, and a large amount of real-time query calculation is generally carried out in a monthly billing system, so that the problems of slow performance, slow billing efficiency, long billing time and the like exist.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a charging method, electronic equipment and a storage medium, so that the query speed can be improved, the accuracy of a charging result can be improved, and the billing error can be reduced.
In order to solve the above technical problems, an embodiment of the present invention provides a charging method, including the following steps: acquiring temporary estimation plan information stored in advance; the tentative plan information comprises identification information of a charging order and charging time period information, and the charging order comprises identification information of charging resources; inquiring a charging data configuration table according to the tentative plan information; the charging data configuration table comprises identification information of charging resources, charging data of the charging resources and available time period information of each charging data; and determining the charging result of the charging order according to the query result.
The embodiment of the invention also provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the charging method as mentioned in the above embodiments.
The embodiment of the invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the charging method mentioned in the above embodiment.
Compared with the prior art, the embodiment of the invention has the advantages that the electronic equipment calculates the charging result of the charging order based on the tentative plan, so that the problems of slow application service and the like caused by system inquiry due to early-month account discharging can be avoided, and the inquiry speed is improved. The electronic equipment charges based on the charging data and the available time period information of the charging data, so that the problem of charging errors caused by charging by using unavailable charging data in the charging process can be avoided, the accuracy of a charging result is improved, and the account discharging errors are reduced.
In addition, the query result comprises charging data of the charging resources in the charging order and available time period information of the charging data of the charging resources in the charging order; determining a charging result of the charging order according to the query result, including: calculating a charging value of the charging order according to the charging data in the charging order; determining an availability identifier of a charging value of the charging order according to the available time period information of the charging data of the charging resource in the charging order and the charging time period information; and determining the charging result of the charging order according to the charging value of the charging order and the availability identifier of the charging value of the charging order.
In addition, after determining the charging result of the charging order according to the query result, the charging method further comprises the following steps: storing a charging result of the charging order; receiving a real-time query instruction; the real-time inquiry command comprises identification information of real-time inquiry orders and inquiry time period information; judging whether a charging result corresponding to the real-time inquiry order is stored or not; if the charging result corresponding to the real-time inquiry order is stored, the corresponding charging result is used as the charging result of the real-time inquiry order; if the charging result corresponding to the real-time query order is not stored, inquiring a charging data configuration table according to the real-time query instruction to obtain charging data of charging resources in the real-time query order and available time period information of the charging data of the charging resources in the real-time query order; and determining the charging result of the real-time query order according to the charging data of the charging resources in the real-time query order and the available time period information of the charging data of the charging resources in the real-time query order.
In addition, after determining the charging result of the real-time query order, the charging method further comprises the following steps: judging whether the solidification identification of the charging resource of the real-time query order indicates to store the charging result; if yes, storing the charging result of the real-time query charging order. In this embodiment, the charging data of the pre-identified charging resource is selectively cured, so as to avoid the excessive occupation of the memory by the charging result.
In addition, the charging method further comprises the following steps: receiving charging data of each charging resource; and if the pushing time of the charging data of each charging resource is determined to be longer than the preset time delay time, sending an alarm prompt. In the embodiment, when the charging data pushing time is longer than the time delay time, the alarm is timely given, so that the problem of the link can be found conveniently in time.
In addition, the available time period information of the charging data comprises available time information fed back by the collecting component of the charging data, unavailable time information of the collecting component and manually marked unavailable time information. In this embodiment, the unavailable time of the data resource may be manually marked, so as to avoid the problem of charging error caused by the unavailable charging data due to the change of the availability judgment standard.
In addition, the charging method further comprises the following steps: after receiving the change instruction, changing the charging data configuration table according to the change instruction; the change instruction instructs to delete or modify charging data of the charging resource.
In addition, the tentative plan information also includes tentative plan state information; after determining the charging result of the charging order according to the query result, the charging method further comprises the following steps: the tentative plan state information is changed to a completed state.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a flowchart of a charging method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a charging method according to a second embodiment of the present invention;
fig. 3 is a schematic structural view of a charging system according to a second embodiment of the present invention;
fig. 4 is a schematic structural view of an electronic device according to a third embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to".
In the description of the present disclosure, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
The first embodiment of the invention relates to a charging method applied to electronic equipment, such as a terminal, a server or a cloud server. The computing method can be used in a plurality of fields such as the field of content distribution network. As shown in fig. 1, the charging method includes:
step 101: and acquiring temporary estimation plan information stored in advance.
Specifically, the tentative plan information includes identification information of a charging order and charging period information, and the charging order includes identification information of a charging resource. Wherein the identification information of the charging order is a unique identification of the charging order, e.g. an Identification (ID) of the charging order. The billing period information may indicate a start time of the billing order and an end time of the billing order.
In one embodiment, the available time period information of the billing data includes available time information fed back by the collection component of the billing data, unavailable time information of the collection component, and manually marked unavailable time information.
For example, the electronic device provides a tentative plan management interface that provides an accounting tentative function, at which an accounting person can add a tentative plan. The electronic device stores a tentative plan management list, which may include the following: the ID of the tentative plan, the order type, the order item ID, charging period information (i.e., tentative start time and tentative end time), the tentative category, and the tentative plan status. The ID of the tentative plan is a unique identifier of the tentative plan, and the order types comprise a single charging order charging type and a plurality of charging order common charging types. The order item ID is a unique identification of each charging order, and in a tentative plan of a common charging type of a plurality of charging orders, the order item IDs of the plurality of charging orders may be separated by commas. The tentative start time is a charging start time of the charging order, and the tentative end time is a charging end time of the charging order. The tentative category may include two kinds, i.e., an actual billing plan and a pre-determined tentative plan for decision analysis. The tentative plan state includes a completed state and a tentative unavailable state. The completed state is used to indicate that the process is complete and that a billing value review can be made. The temporarily unavailable state is used to indicate that the billing value is temporarily unavailable because calculation is not performed for various reasons.
It should be noted that, as will be understood by those skilled in the art, the order type, the tentative category and the tentative plan state may be selectively set in the tentative plan management list, and other items may also be set, which are not listed here.
In one embodiment, the tentative plan information further includes tentative plan state information. After determining the charging result of the charging order according to the query result, the tentative plan state information is changed to a completed state.
Step 102: and inquiring the charging data configuration table according to the tentative plan information.
Specifically, the charging data configuration table includes identification information of the charging resource, charging data of the charging resource, and available period information of each charging data. Wherein the identification information of the charging resource is a unique identification of the charging resource, e.g. an Identity (ID) of the charging resource. The billing data of the billing resource indicates consumption data of the user. The available time period information of the charging data indicates the effective time of the charging data, namely, in the time period, the charging data is effective, and beyond the time period, the charging data is ineffective.
In one embodiment, an electronic device provides a data configuration management page. The accounting staff can manage the charging data configuration table in the data source configuration management page, for example, basic operations such as adding, modifying, inquiring and the like are performed. The content that the charging data configuration table can show includes the following several columns: identification information of the billing resource (e.g., ID of the billing resource), billing data, and available period information. Optionally, the charging data configuration table may further include: any one or more of data storage location information, data source name, automatically identified unavailable period information, manually marked unavailable period information, cure identification information, and update time information. The data storage location information indicates a data storage location, the data source name indicates a service meaning of the data, and the available time period information indicates that charging data can be used for charging in the time period, and charging data cannot be used for charging and billing out outside the time period. The automatically identified unavailable period information is determined by a collection component of billing data during which the billing data is unavailable for billing. And when the data is inconsistent, the time period is automatically marked by the collection component of the charging data. The manually marked unavailable period information is manually marked. When the charging data of a certain time period needs to be repaired, the unavailable time of the charging data can be marked manually. For example, the unavailable period in the available period information may be manually marked at this time due to the fact that the data is unavailable for the available period after the business negotiation requirements or the data availability determination criteria change.
It should be noted that, as will be understood by those skilled in the art, in practical application, other items may be added to the charging data configuration table, which is not necessarily listed in this embodiment.
The manner in which the unavailable period is automatically identified is illustrated below.
In one embodiment, the electronic device includes an availability time pushing interface, the collection component related to the charging data confirms that the data is complete through means such as consistency comparison, integrity check and the like of each machine room, and the data can be used for charging, and the collection component invokes an availability time pushing service provided by the charging system to push the availability time of the charging data to the electronic device. If the consistency comparison of the data collected by the collecting assembly is inconsistent or the data integrity check is inconsistent, the unavailable time of the charging data is pushed to the electronic equipment. The electronic device stores the available time period information or the unavailable time period information of the charging data into a memory of the electronic device, and provides a data source configuration management page based on the available time period information or the unavailable time period information of the charging data.
In one embodiment, the electronic device changes the charging data configuration table according to the change instruction after receiving the change instruction; the change instruction instructs to delete or modify charging data of the charging resource.
It should be noted that the electronic device may adjust the charging data configuration table based on the change instruction, so that the accounting personnel may adjust the charging data configuration table.
Step 103: and determining the charging result of the charging order according to the query result.
In one embodiment, the query results include billing data for the billing resource in the billing order and available time period information for the billing data for the billing resource in the billing order. The process of the electronic equipment for determining the charging result of the charging order according to the query result comprises the following steps: calculating a charging value of the charging order according to the charging data in the charging order; determining an availability identifier of a charging value of the charging order according to the available time period information of the charging data of the charging resource in the charging order and the charging time period information; the availability identifier of the charging value is used for indicating whether the charging value is accurate or not; and determining the charging result of the charging order according to the charging value of the charging order and the availability identifier of the charging value of the charging order.
Alternatively, when the availability identifier indicates that the charging value is not available, the electronic device may automatically trigger to recalculate the charging value after the charging data is recovered.
It is worth mentioning that the availability identification of the charging value is determined and saved based on the available time period information, so that it is possible to determine whether the charging value is reliable.
In one embodiment, an electronic device receives billing data for each billing resource; and if the pushing time of the charging data of each charging resource is determined to be longer than the preset time delay time, sending an alarm prompt. Specifically, the electronic device may configure the delay criteria for each charging data according to the delay characteristics of the charging data. If the pushing time of the charging data exceeds the time delay standard, the unavailable early warning service of the charging data source can send an alarm notice, so that an upstream component on the whole charging link can sense the occurrence condition of the data, and the root cause of the problem can be tracked chain by chain.
In one embodiment, the tentative plan information further includes tentative plan state information; after determining the charging result of the charging order according to the query result, the charging method further comprises the following steps: the tentative plan state information is changed to a completed state. Specifically, if the charging result of the charging order in the tentative plan is not calculated yet, the tentative plan state information is changed to an unprocessed state. If the charging result of the charging order in the tentative plan is being calculated, the tentative plan state information is changed to the in-process state. If the charging result is obtained through calculation, the plan state information is tentatively estimated to be the completed state.
It is worth mentioning that the state information of the tentative plans is updated in time, so that whether the tentative plans are calculated or not can be known, and management of the tentative plans is facilitated.
The foregoing is merely illustrative, and is not intended to limit the technical aspects of the present invention.
Compared with the prior art, the charging method provided by the embodiment of the invention has the advantages that the electronic equipment calculates the charging result of the charging order based on the tentative plan, so that the problems of slow application service and the like caused by system inquiry due to early payment in the month can be avoided, and the inquiry speed is improved. The electronic equipment charges based on the charging data and the available time period information of the charging data, so that the problem of charging errors caused by charging by using unavailable charging data in the charging process can be avoided, the accuracy of a charging result is improved, and the account discharging errors are reduced.
A second embodiment of the invention relates to a charging method. This embodiment is a further improvement over the first embodiment, and the specific improvements are: after step 103, other relevant steps such as storing charging results are added.
Specifically, as shown in fig. 2, the present embodiment includes steps 201 to 208, wherein steps 201 to 203 are substantially the same as steps 101 to 103 in the first embodiment, and are not repeated here. The differences are mainly described below:
step 201: and acquiring temporary estimation plan information stored in advance.
Step 202: and inquiring the charging data configuration table according to the tentative plan information.
Step 203: and determining the charging result of the charging order according to the query result.
Step 204: and storing the charging result of the charging order.
Specifically, the electronic device stores the charging result storage of the tentative plan for subsequent query.
Step 205: and receiving a real-time query instruction.
Specifically, the real-time query instruction includes identification information of the real-time query order and query time period information. When a financial or other person needs to inquire about the use fee, a real-time inquiry instruction may be initiated.
Step 206: and judging whether a charging result corresponding to the real-time inquiry order is stored.
Specifically, if the charging result corresponding to the real-time query order is stored, step 207 is executed, and if the charging result corresponding to the real-time query order is not stored, step 208 is executed.
Step 207: and taking the corresponding charging result as the charging result of the real-time inquiry order.
In one embodiment, if the presence identification information of a certain charging result is the same as the identification information of the real-time query order in the stored charging results, determining that the charging result corresponding to the real-time query order exists, and using the charging result as the charging result of the real-time query order.
In another embodiment, the electronic device first determines whether a charging result with the same identification information as that of the real-time query order exists, and if yes, determines whether charging time period information of the charging result is the same as that of the real-time query order; if the real-time inquiry orders are the same, determining that charging results corresponding to the real-time inquiry orders exist, and taking the charging results as charging results of the real-time inquiry orders; if the fact that the charging result with the same identification information as the real-time query order does not exist is determined, or the charging time period information of the charging result with the same identification information is different from the query time period information of the real-time query order, the fact that the charging result corresponding to the real-time query order does not exist is determined.
Step 208: inquiring a charging data configuration table according to the real-time inquiry command to obtain charging data of charging resources in the real-time inquiry order and available time period information of the charging data of the charging resources in the real-time inquiry order; and determining the charging result of the real-time query order according to the charging data of the charging resources in the real-time query order and the available time period information of the charging data of the charging resources in the real-time query order.
In one embodiment, after determining the charging result of the real-time query order, the electronic device determines whether the cured identification of the charging resource of the real-time query order indicates to store the charging result; if yes, storing the charging result of the real-time query charging order.
It is worth mentioning that the charging results are all solidified in the electronic equipment, so that the functions of intelligent bill checking, supporting backtracking of bill detail data in various situations, deriving and inquiring and the like can be performed based on each charging result. And selectively solidifying the charging data of the pre-identified charging resources to avoid the excessive occupation of the memory by the charging result.
In one embodiment, the electronic device provides a curing results management page. The curing result can comprise a charging result obtained based on the tentative plan and a charging result obtained based on the real-time inquiry order. The solidified result management page provides functions of inquiring, reckoning, changing the availability mark in the charging result into an indication that the charging value is not available, checking charging information and the like for the charged and stored charging result. Meanwhile, intelligent analysis and accounting can be performed based on historical account-out results, and a management layer can perform related works such as data mining and the like based on historical bills so as to provide information support for future decisions of companies.
In one embodiment, the tentative plan information is a tentative plan table, and the charging method is applied to a charging system, where the overall design diagram of the charging system is shown in fig. 3, and the charging system includes eight module contents, specifically as follows: the synchronization module 301 is configured to synchronize the tentative schedule input by the accounting personnel to the database 3001 of the tentative schedule of the charging system; the pushing module 302 is configured to update and push the availability time period of the charging data to the database 3002 of the charging data configuration table of the charging system in real time; the periodic lot size pre-calculation module 303 is configured to pull a tentative schedule configuration and a billing data configuration table, pre-calculate a billing result of the billing order according to the two configurations, and store the billing result in the storage database 3003 of the billing result. The external charging inquiry interface module 304 is configured to determine whether a charging result corresponding to the real-time inquiry order exists, and if the identification information and the inquiry time period information of the real-time inquiry order already exist in the tentative schedule, the reading module 305 reads the charging result from the storage database 3003 of the charging result. If not, the external charging inquiry interface module 304 completes the calculation of the charging value through the real-time charging module 306, and decides whether to store in the storage database of the charging result according to the solidification identification of the charging data after the calculation is completed. The presentation module 307 is used to provide a tentative plan management interface. The configuration module 308 is used to provide a data configuration management page. The solidification module 309 is used to provide a management interface for the charging results. Specifically, firstly, a financial staff who issues accounts at the front end synchronizes an accounting plan (tentative plan) to a charging system end in advance according to an accounting period, and the charging system end provides page display and page operation functions for the synchronized tentative plan; each component on the charging link always pushes the availability time period information of the charging data up to the charging system end, and the charging system end maintains the charging data availability management, configuration and display functions; the periodic batch pre-calculation module is used for updating the charging value in the tentative schedule at regular time by combining the tentative schedule, the charging data and the charging data availability time period information, and solidifying the charging result; if the front-end client inquires the charging value of the order in real time, the currently inquired order and the inquiring time period are already in the solidified result table, the charging value, the currently inquired order and the inquiring time period are directly obtained from a storage database of the charging result. If the queried order and the query time period do not exist in the storage database of the charging result, the charging system is required to perform real-time calculation, and the real-time calculation result is updated to the storage database of the charging result.
The foregoing is merely illustrative, and is not intended to limit the technical aspects of the present invention.
Compared with the prior art, the charging method provided by the embodiment of the invention has the advantages that the electronic equipment calculates the charging result of the charging order based on the tentative plan, so that the problems of slow application service and the like caused by system inquiry due to early payment in the month can be avoided, and the inquiry speed is improved. The electronic equipment charges based on the charging data and the available time period information of the charging data, so that the problem of charging errors caused by charging by using unavailable charging data in the charging process can be avoided, the accuracy of a charging result is improved, and the account discharging errors are reduced. In addition, after the charging result corresponding to the real-time query order does not exist in the stored charging results, the real-time query is performed, so that the problems of overload of electronic equipment, slow response and the like caused by repeated query can be avoided.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A third embodiment of the present invention relates to an electronic device, as shown in fig. 4, including: at least one processor 401; and a memory 402 communicatively coupled to the at least one processor 401; the memory 402 stores instructions executable by the at least one processor 401, and the instructions are executed by the at least one processor 401, so that the at least one processor 401 can perform the charging method as mentioned in the above embodiment.
The electronic device includes: one or more processors 401, and a memory 402, one processor 401 being illustrated in fig. 4. The processor 401, the memory 402 may be connected by a bus or otherwise, in fig. 4 by way of example. Memory 402 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 401 executes various functional applications of the device and data processing, i.e., implements the above-described billing method, by running non-volatile software programs, instructions and modules stored in the memory 402.
Memory 402 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store a list of options, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some implementations, the memory 402 may optionally include memory located remotely from the processor 401, which may be connected to an external device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in memory 402 that, when executed by one or more processors 401, perform the charging methods of any of the method embodiments described above.
The product may perform the method provided by the embodiment of the present application, and have the corresponding functional module and beneficial effect of performing the method, and technical details not described in detail in the embodiment of the present application may be referred to the method provided by the embodiment of the present application.
A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (9)

1. A charging method, comprising:
acquiring temporary estimation plan information stored in advance; the tentative plan information comprises identification information of a charging order and charging time period information, and the charging order comprises identification information of charging resources;
inquiring a charging data configuration table according to the tentative plan information; the charging data configuration table comprises identification information of charging resources, charging data of the charging resources and available time period information of each charging data;
determining a charging result of the charging order according to the query result;
the query result comprises charging data of the charging resources in the charging order and available time period information of the charging data of the charging resources in the charging order;
the determining the charging result of the charging order according to the query result comprises the following steps:
calculating a charging value of the charging order according to the charging data in the charging order;
determining an availability identifier of a charging value of the charging order according to the available time period information of the charging data of the charging resource in the charging order and the charging time period information;
and determining a charging result of the charging order according to the charging value of the charging order and the availability identifier of the charging value of the charging order.
2. A charging method according to claim 1, wherein after said determining a charging result of said charging order based on a query result, said charging method further comprises:
storing a charging result of the charging order;
receiving a real-time query instruction; the real-time inquiry command comprises identification information of real-time inquiry orders and inquiry time period information;
judging whether a charging result corresponding to the real-time inquiry order is stored or not;
if the charging result corresponding to the real-time query order is stored, the corresponding charging result is used as the charging result of the real-time query order;
if the charging result corresponding to the real-time query order is not stored, inquiring the charging data configuration table according to the real-time query instruction to obtain charging data of charging resources in the real-time query order and available time period information of the charging data of the charging resources in the real-time query order; and determining a charging result of the real-time query order according to the charging data of the charging resources in the real-time query order and the available time period information of the charging data of the charging resources in the real-time query order.
3. A charging method according to claim 2, wherein after determining the charging result of the real-time query order, the charging method further comprises:
judging whether the solidification identification of the charging resource of the real-time query order indicates to store a charging result or not;
if yes, storing the charging result of the real-time query charging order.
4. A charging method according to any one of claims 1 to 3, characterized in that the charging method further comprises:
receiving charging data of each charging resource;
and if the pushing time of the charging data of each charging resource is determined to be longer than the preset time delay time, sending an alarm prompt.
5. A charging method according to any of claims 1 to 3, wherein the available time period information of the charging data comprises available time information fed back by a collection component of charging data, unavailable time information of the collection component and manually marked unavailable time information.
6. A charging method according to any one of claims 1 to 3, characterized in that the charging method further comprises:
after receiving the change instruction, changing the charging data configuration table according to the change instruction; the change instruction instructs to delete or modify charging data of the charging resource.
7. A charging method according to any one of claims 1 to 3, wherein the tentative plan information further includes tentative plan state information;
after determining the charging result of the charging order according to the query result, the charging method further comprises:
and changing the tentative plan state information into a completed state.
8. An electronic device, comprising: at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the charging method of any one of claims 1 to 7.
9. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the charging method of any one of claims 1 to 7.
CN202010255687.9A 2020-04-02 2020-04-02 Charging method, electronic equipment and storage medium Active CN111581483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010255687.9A CN111581483B (en) 2020-04-02 2020-04-02 Charging method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010255687.9A CN111581483B (en) 2020-04-02 2020-04-02 Charging method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111581483A CN111581483A (en) 2020-08-25
CN111581483B true CN111581483B (en) 2024-04-05

Family

ID=72122495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010255687.9A Active CN111581483B (en) 2020-04-02 2020-04-02 Charging method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111581483B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111968302B (en) * 2020-08-28 2022-08-12 支付宝(杭州)信息技术有限公司 Payment reminding method and device
CN116132204B (en) * 2021-11-09 2024-04-09 中国联合网络通信集团有限公司 Data processing method, device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516199A (en) * 2017-08-01 2017-12-26 携程旅游信息技术(上海)有限公司 Container charging method, apparatus and system, equipment, the storage medium of cloud platform
CN108717656A (en) * 2018-06-11 2018-10-30 上海云会贸易有限公司 A kind of taxi management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8074223B2 (en) * 2005-01-31 2011-12-06 International Business Machines Corporation Permanently activating resources based on previous temporary resource usage

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516199A (en) * 2017-08-01 2017-12-26 携程旅游信息技术(上海)有限公司 Container charging method, apparatus and system, equipment, the storage medium of cloud platform
CN108717656A (en) * 2018-06-11 2018-10-30 上海云会贸易有限公司 A kind of taxi management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
龚电花 ; 付丽苑 ; .通信网络计费数据采集与传输系统.中国教育技术装备.2009,(04),全文. *

Also Published As

Publication number Publication date
CN111581483A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN111581483B (en) Charging method, electronic equipment and storage medium
CN108665330B (en) Method and device for monitoring order in service link
CN107644340A (en) Risk Identification Method, client device and risk recognition system
CN104468259A (en) Method for automatically testing communication service expense
CN102404126A (en) Charging method of cloud computing during application process
CN111130810B (en) Charging method and device for cloud service usage package and related equipment
CN109584390A (en) A kind of highway charging system based on micro services
CN105389657A (en) Method and system for supervising account fund
CN111507686B (en) Automatic budget system and method for engineering design change
CN109919676A (en) A kind of intelligent environment protection bag accounting management method and system
CN102075896B (en) Price previewing method and system
CN111127008A (en) Method and device for preventing repeated payment
CA2747111C (en) Account and asset loader tool
CN106530084B (en) Information processing method and server
CN112163948A (en) Method, system, equipment and storage medium for separately-moistening calculation
CN114463100A (en) Order data processing method, device, equipment and storage medium
CN103258259A (en) Staff coordinated management method based on positional information technology
CN105573821A (en) Ceilometer-based dynamic charging method for cloud virtual machine
WO2020006936A1 (en) Fund management method and apparatus, computer device, and computer-readable storage medium
CN111815239B (en) Error complement order statistics method, device and computer readable storage medium
CN111126899B (en) Automatic processing method and device for arbitration delay and computer equipment
CN107515777A (en) The management method and device of resources of virtual machine in cloud system
CN112737796A (en) Cross-region user communication charge transfer method, device, equipment, medium and product
CN111415263A (en) Data matching method and device
CN112001705A (en) Accounting management system for equipment charging

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant