CN111581483A - Charging method, electronic device and storage medium - Google Patents

Charging method, electronic device and storage medium Download PDF

Info

Publication number
CN111581483A
CN111581483A CN202010255687.9A CN202010255687A CN111581483A CN 111581483 A CN111581483 A CN 111581483A CN 202010255687 A CN202010255687 A CN 202010255687A CN 111581483 A CN111581483 A CN 111581483A
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.)
Granted
Application number
CN202010255687.9A
Other languages
Chinese (zh)
Other versions
CN111581483B (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

Images

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, a charging method includes: acquiring prestored temporary estimation plan information; the temporary estimation plan information comprises identification information of a charging order and charging time section information, and the charging order comprises identification information of charging resources; inquiring a charging data configuration table according to the temporary estimation 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 increased, the accuracy of the charging result is improved, and the expenditure presentation errors are reduced.

Description

Charging method, electronic device and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a charging method, an electronic device, and a storage medium.
Background
A charging data source of a charging system provided by a Content Delivery Network (CDN) service manufacturer reaches the charging system through a link, a log acquisition component performs bottom-layer log flow acquisition and analysis, data is transmitted to a big data component in an internal Remote Procedure Call (RPC) mode, the big data storage component performs reprocessing and aggregation operation on the data transmitted to the component, the aggregated data is stored in a distributed mode, and service inquiry is provided for an upper-layer charging system to perform real-time and offline inquiry calculation.
However, the inventors found that at least the following problems exist in the prior art: the CDN manufacturer billing is generally to bill in the beginning of the month and generally to accept a large amount of real-time query calculation in a billing system in the beginning of the month, so that the problems of slow performance, slow billing efficiency, long billing time and the like exist.
It is to be noted that the information disclosed in the above background section is only for enhancement of 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
An object of embodiments of the present invention is to provide a charging method, an electronic device, and a storage medium, which can improve query speed, improve accuracy of charging results, and reduce posting errors.
In order to solve the above technical problem, an embodiment of the present invention provides a charging method, including the following steps: acquiring prestored temporary estimation plan information; the temporary estimation plan information comprises identification information of a charging order and charging time section information, and the charging order comprises identification information of charging resources; inquiring a charging data configuration table according to the temporary estimation 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.
An embodiment of the present invention also provides an electronic device, including: 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.
Embodiments of the present invention also provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the charging method mentioned in the above embodiments.
Compared with the prior art, the electronic equipment calculates the charging result of the charging order based on the temporary estimation plan, can avoid the problems of slow application service and the like caused by system query due to early monthly expenditure, and improves the query speed. The electronic equipment carries out charging 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 the charging result is improved, and the expenditure 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; according to the query result, determining a charging result of the charging order, which 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 available time period information of charging data of the charging resources 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.
In addition, after determining the charging result of the charging order according to the query result, the charging method further includes: storing a charging result of the charging order; receiving a real-time query instruction; the real-time query instruction comprises identification information and query time period information of a real-time query order; judging whether a charging result corresponding to the real-time query order is stored or not; if the charging result corresponding to the real-time query order is stored, taking the corresponding charging result 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 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 includes: judging whether the solidified identification of the charging resource of the real-time inquiry order indicates to store the charging result; if yes, storing the charging result of the real-time inquiry charging order. In the embodiment, the charging data of the charging resources identified in advance is selectively solidified, so that the charging result is prevented from occupying too much memory.
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 greater 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 given in time, so that the problem of the link can be found in time.
In addition, 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 artificially marked unavailable time information. In the embodiment, the unavailable time of the data resource can be marked manually, so that the problems of charging errors and the like caused by unavailable charging data due to the change of the availability judgment standard are avoided.
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 indicates to delete or modify charging data of the charging resource.
In addition, the tentative estimation plan information also includes tentative estimation 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 estimation plan state information is changed to the completed state.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
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 diagram of a charging system according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and 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, what is meant is "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. In addition, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
The first embodiment of the invention relates to a charging method, which is applied to electronic equipment, such as a terminal, a server or a cloud server. The calculation method can be used in a plurality of fields such as the field of content distribution networks. As shown in fig. 1, the charging method includes:
step 101: and acquiring pre-stored temporary estimation plan information.
Specifically, the provisional estimate plan information includes identification information of a charging order including identification information of charging resources and charging period information. Wherein the identification information of the billing order is a unique identification of the billing order, for example, an Identification (ID) of the billing 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 artificially marked unavailable time information.
For example, the electronic device provides a tentative plan management interface that provides an accounting tentative function, where the accounting staff may add a tentative plan. The electronic device stores a list of temporary plan management, which may include the following columns: the ID of the tentative plan, the order type, the order item ID, the charging period information (i.e., the tentative estimation start time and the tentative estimation end time), the tentative estimation category, and the tentative estimation plan state. The ID of the temporary estimation plan is the unique identifier of the temporary estimation 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 identifier of each charging order, and in the temporary estimation plan of the common charging type of a plurality of charging orders, the order item IDs of the plurality of charging orders can be separated by commas. The provisional estimate start time is a billing start time of the billing order, and the provisional estimate end time is a billing end time of the billing order. The tentative estimation category may include two categories, namely an actual posting plan and a pre-decision tentative estimation plan for decision analysis. The tentative plan state includes a completed state and a tentative unavailable state. The completed status is used to indicate that the process is complete and a billing value check can be performed. The temporarily unavailable state is used to indicate that the calculation is temporarily not performed for various reasons and the billing value is unavailable.
It should be noted that, as those skilled in the art can understand, the order type, the tentative estimate category, and the tentative estimate plan status can be selectively set in the tentative estimate plan management list, and other items can also be set, which are not listed here.
In one embodiment, the tentative estimate plan information further includes tentative estimate plan state information. And after determining the charging result of the charging order according to the query result, changing the temporary estimation plan state information into the finished state.
Step 102: and inquiring a charging data configuration table according to the temporary estimation 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, for example, an Identity (ID) of the charging resource. The charging data of the charging resource indicates consumption data of the user. The available time period information of the charging data indicates the valid time of the charging data, that is, within the time period, the charging data is valid, and beyond the time period, the charging data is invalid.
In one embodiment, an electronic device provides a data configuration management page. The accounting staff may perform management of the charging data configuration table on the data source configuration management page, for example, perform basic operations such as adding, modifying, querying, and the like. The billing data configuration table may show the following contents: identification information of the charging resource (e.g., ID of the charging resource), charging 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 unusable time period information, manually flagged unusable time period information, curing identification information, and update time information. The data storage position information indicates a data storage position, the name of a data source indicates the service meaning of the data, the available time period information indicates that the charging data can be used for charging in the time period, and the charging data cannot be used for charging and paying out outside the time period. The automatically identified unusable time period information is determined by a collection component of billing data, during which time period the billing data is unusable for billing purposes. Because the collection component of the charging data compares the data, when the data are found to be inconsistent, the time slot is marked automatically. The manually marked unavailable time period information is manually marked. When the charging data in a certain time period needs to be repaired, the unavailable time of the charging data can be marked manually. For example, the unavailable time period in the available time period information may be manually marked at the time when the data is actually unavailable for the available time period due to a change in business negotiation requirements or data availability criteria.
It should be noted that, as can be understood by those skilled in the art, in practical applications, other items may also be added in the charging data configuration table, and this embodiment is not listed.
The manner in which the unavailable time period is automatically identified is exemplified below.
In one embodiment, the electronic device includes an availability time pushing interface, the data collected by the collecting component related to the charging data is confirmed to be complete through consistency comparison, integrity check and other means of each computer room, and when the data can be used for charging, the collecting component calls an availability time pushing service provided by the charging system to push the available time of the charging data to the electronic device. If the data collected by the collecting component is inconsistent after the consistency of all the computer rooms or the data integrity check is inconsistent, the unavailable time of the charging data can be pushed to the electronic equipment. The electronic equipment stores the available time period information or the unavailable time period information of the charging data into a memory of the electronic equipment, 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, after receiving a change instruction, the electronic device changes the billing data configuration table according to the change instruction; the change instruction indicates to delete or modify charging data of the charging resource.
It is worth mentioning that the electronic device may adjust the billing data configuration table based on the change instruction, so that the accounting staff may adjust the billing data configuration table.
Step 103: and determining the charging result of the charging order according to the query result.
In one embodiment, the query result includes billing data for the charging resource in the billing order and available time period information for the billing data for the charging resource in the billing order. The process that the electronic equipment determines 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 available time period information of charging data of the charging resources 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 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.
Alternatively, for the case where the availability indicator indicates that the billing value is not available, the electronic device may automatically trigger recalculation of the billing value after the billing data is restored.
It is worth mentioning that the availability indication of the charging value is determined and saved based on the available time period information, so that it can be determined whether the charging value is reliable.
In one embodiment, the electronic device receives charging data for respective charging resources; and if the pushing time of the charging data of each charging resource is determined to be greater 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 sends an alarm notice, so that an upstream component on the whole charging link can sense the data occurrence condition, and the root cause of the problem can be tracked chain by chain.
In one embodiment, the tentative estimate plan information further includes tentative estimate 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 estimation plan state information is changed to the completed state. Specifically, if the charging result of the charge order in the tentative estimate plan has not been calculated, the tentative estimate plan state information is changed to the unprocessed state. If the charging result of the charging order in the temporary estimation plan is being calculated, the state information of the temporary estimation plan is changed into the processing state. If the charging result is obtained through calculation, the plan state information is temporarily estimated to be the finished state.
It should be noted that the status information of the tentative estimation plans is updated in time, so that whether the calculation of each tentative estimation plan is completed can be known, and the management of each tentative estimation plan is facilitated.
The above description is only for illustrative purposes and does not limit the technical aspects of the present invention.
Compared with the prior art, in the charging method provided by the embodiment, the electronic device calculates the charging result of the charging order based on the tentative estimation plan, so that the problems of slow application service and the like caused by system query due to early monthly reimbursement can be avoided, and the query speed is improved. The electronic equipment carries out charging 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 the charging result is improved, and the expenditure errors are reduced.
A second embodiment of the present invention relates to a charging method. The embodiment is a further improvement of the first embodiment, and the specific improvements are as follows: after step 103, other related steps such as storing the charging result 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 herein. The following mainly introduces the differences:
step 201: and acquiring pre-stored temporary estimation plan information.
Step 202: and inquiring a charging data configuration table according to the temporary estimation 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 billing result storage of the tentative estimate plan for subsequent querying.
Step 205: and receiving a real-time query instruction.
Specifically, the real-time query instruction includes identification information and query time period information of the real-time query order. Real-time query instructions may be initiated when financial or other personnel need to query for usage charges.
Step 206: and judging whether a charging result corresponding to the real-time query 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 an embodiment, if the stored charging result has the same identification information of a certain charging result as the identification information of the real-time query order, 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 identification information identical to the identification information of the real-time query order exists, and if yes, determines whether the charging time period information of the charging result is identical to the query time period information of the real-time query order; if the real-time query order is the same as the real-time query order, determining that a charging result corresponding to the real-time query order exists, and taking the charging result as the charging result of the real-time query order; and if the charging result with the identification information identical to the identification information of the real-time query order does not exist, or the charging time period information of the charging result with the identical identification information is different from the query time period information of the real-time query order, determining that the charging result corresponding to the real-time query order does not exist.
Step 208: inquiring a charging data configuration table according to the real-time inquiry instruction 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 solidified identifier 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 inquiry charging order.
It is worth mentioning that the charging results are all solidified in the electronic device, so that the functions of intelligent bill auditing, bill detail data backtracking and export query in various situations can be carried out based on the charging results. And selectively solidifying the charging data of the charging resources identified in advance, thereby avoiding the charging result from occupying excessive memory.
In one embodiment, the electronic device provides a solidification result management page. The solidified result may include a charging result obtained based on the tentative estimation plan and a charging result obtained based on the real-time query order. The solidified result management page provides functions of inquiring, recalculating the charging, changing the availability identifier in the charging result into an indication that the charging value is unavailable, checking the charging information and the like for the charged and stored charging result. Meanwhile, intelligent analysis and accounting can be carried out based on historical charge-out results, and the management layer can carry out related work such as data mining and the like based on historical bills, so that the company can make future decisions to provide information support.
In one embodiment, the temporary estimate plan information is a temporary estimate plan table, and the charging method is applied to a charging system, a general 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 temporary estimate schedule input by the account staff to the database 3001 of the temporary estimate schedule of the billing system; the pushing module 302 is configured to update and push the availability time period of the charging data to a database 3002 of a charging data configuration table of the charging system in real time; the periodic batch pre-calculation module 303 is configured to pull the temporary estimate schedule configuration and the charging data configuration table, pre-calculate the charging result of the charging order according to the two configurations, and store the charging result in the storage database 3003 of the charging result. The external billing query interface module 304 is configured to determine whether a billing result corresponding to the real-time query order exists, and if the identification information and the query time period information of the real-time query order already exist in the temporary estimation schedule, read the billing result from the storage database 3003 of the billing result through the reading module 305. If the charging result does not exist, the external charging query interface module 304 completes the calculation of the charging value through the real-time charging module 306, and determines whether to store the charging value in the storage database of the charging result according to the solidified identifier 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 curing module 309 is used to provide a management interface for the billing result. Specifically, firstly, a front-end expenditure person synchronizes an expenditure plan (temporary estimate plan) to a charging system end in advance according to an expenditure cycle, and the charging system end provides page display and page operation functions for a synchronized temporary estimate plan table; each component on the charging link pushes the availability time period information of the charging data up to a charging system end, and the charging system end maintains the availability management, configuration and display functions of the charging data; the periodic batch pre-calculation module is combined with the temporary estimation schedule, the charging data and the availability time section information of the charging data, updates the charging value in the temporary estimation schedule at regular time and carries out solidification processing on the charging result; and if the front-end client inquires the charging value of the order in real time, the current inquired order and the inquiry time period exist in the solidification result table, directly acquiring the charging result from the storage database of the charging result. If the inquired order and the inquired time period do not have 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 above description is only for illustrative purposes and does not limit the technical aspects of the present invention.
Compared with the prior art, in the charging method provided by the embodiment, the electronic device calculates the charging result of the charging order based on the tentative estimation plan, so that the problems of slow application service and the like caused by system query due to early monthly reimbursement can be avoided, and the query speed is improved. The electronic equipment carries out charging 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 the charging result is improved, and the expenditure errors are reduced. In addition, after the charging result corresponding to the real-time query order does not exist in the stored charging result, the real-time query is carried out, so that the problems of overload, slow reaction and the like of electronic equipment caused by repeated same query can be avoided.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention relates to an electronic apparatus, as shown in fig. 4, including: at least one processor 401; and a memory 402 communicatively coupled to the at least one processor 401; wherein the memory 402 stores instructions executable by the at least one processor 401, the instructions being executable by the at least one processor 401 to enable the at least one processor 401 to perform the charging method as mentioned in the above embodiments.
The electronic device includes: one or more processors 401 and a memory 402, one processor 401 being exemplified in fig. 4. The processor 401 and the memory 402 may be connected by a bus or other means, and fig. 4 illustrates the connection by a bus as an example. Memory 402, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 401 executes various functional applications and data processing of the device by running non-volatile software programs, instructions and modules stored in the memory 402, that is, implements the above-described billing method.
The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a list of options, etc. Further, the 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 embodiments, memory 402 may optionally include memory located remotely from 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 the memory 402 and when executed by the one or more processors 401 perform the charging method of any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, has corresponding functional modules and beneficial effects of the execution method, and can refer to the method provided by the embodiment of the application without detailed technical details in the embodiment.
A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and 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 for 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 in practice.

Claims (10)

1. A charging method, comprising:
acquiring prestored temporary estimation plan information; the temporary estimation plan information comprises identification information of a charging order and charging time section information, and the charging order comprises identification information of charging resources;
inquiring a charging data configuration table according to the temporary estimation 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.
2. The charging method according to claim 1, wherein the query result includes charging data of 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:
calculating a charging value of the charging order according to charging data in the charging order;
determining an availability identifier of a charging value of the charging order according to available time period information of charging data of charging resources 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.
3. The billing method of claim 2, wherein after the determining the billing result of the billing order according to the query result, the billing method further comprises:
storing a charging result of the charging order;
receiving a real-time query instruction; the real-time query instruction comprises identification information and query time period information of a real-time query order;
judging whether a charging result corresponding to the real-time query order is stored or not;
if the charging result corresponding to the real-time query order is stored, taking the corresponding charging result 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 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; 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.
4. The billing method of claim 3, wherein after determining the billing result of the real-time query order, the billing method further comprises:
judging whether the solidified identification of the charging resource of the real-time query order indicates to store a charging result;
and if so, storing the charging result of the real-time inquiry charging order.
5. The charging method according to any one of claims 1 to 4, wherein 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 greater than the preset time delay time, sending an alarm prompt.
6. The charging method according to any one of claims 1 to 4, wherein the available time period information of the charging data comprises available time information fed back by a collection component of the charging data, unavailable time information of the collection component and artificially marked unavailable time information.
7. The charging method according to any one of claims 1 to 4, wherein the charging method further comprises:
after receiving a change instruction, changing the charging data configuration table according to the change instruction; the change instruction indicates to delete or modify charging data of the charging resource.
8. The charging method according to any one of claims 1 to 4, wherein the tentative estimate plan information further includes tentative estimate plan state information;
after determining the charging result of the charging order according to the query result, the charging method further includes:
and changing the temporary estimation plan state information into a finished state.
9. An electronic device, comprising: at least one processor; and the number of the first and second groups,
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 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the charging method of any one of claims 1 to 8.
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 true CN111581483A (en) 2020-08-25
CN111581483B 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)

Cited By (2)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060174007A1 (en) * 2005-01-31 2006-08-03 International Business Machines Corporation Permanently activating resources based on previous temporary resource usage
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060174007A1 (en) * 2005-01-31 2006-08-03 International Business Machines Corporation Permanently activating resources based on previous temporary resource usage
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
龚电花;付丽苑;: "通信网络计费数据采集与传输系统" *

Cited By (3)

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

Also Published As

Publication number Publication date
CN111581483B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN110418022B (en) Method and device for adjusting flow package for multiple user identifications
CN104468259A (en) Method for automatically testing communication service expense
CN111581483A (en) Charging method, electronic device and storage medium
CN111507686B (en) Automatic budget system and method for engineering design change
CN111130810A (en) Charging method and device for cloud service usage package and related equipment
CN113112348A (en) Processing method and device of social security data, electronic equipment and storage medium
CA2747111C (en) Account and asset loader tool
CN111400283B (en) Data processing method, system, electronic equipment and storage medium
CN110297824B (en) Data recording method, device, equipment and storage medium based on resource transfer
CN114463100A (en) Order data processing method, device, equipment and storage medium
CN105656706B (en) Service data processing method and device
CN115099801A (en) Payment information processing method and device based on public cloud
CN112270537B (en) Multi-channel bill storage method, system and storage medium
CN111126899B (en) Automatic processing method and device for arbitration delay and computer equipment
CN113706107A (en) Accumulation fund payment method and device, electronic equipment and computer readable medium
CN109828884B (en) Hanging service data processing method, system, computer equipment and storage medium
CN111415263A (en) Data matching method and device
CN111429092A (en) Method, device and equipment for paying public accumulation fund and computer readable medium
CN114205764B (en) Traffic resource sharing method, device, equipment and computer readable storage medium
CN111680111B (en) Billing method and device, computer equipment and computer readable storage medium
CN115984016A (en) Data processing method and device, electronic equipment and storage medium
CN116245520A (en) Daily bill billing system, method, equipment and storage medium
CN115392885A (en) Automatic maintenance method and system for line information, electronic equipment and storage medium
CN115983923A (en) Pricing method, processing system, device and storage medium
CN113094120A (en) Event processing method and device

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