Disclosure of Invention
The application provides a bill generation method, a bill generation device, a server and a storage medium, and aims to solve the technical problem that existing bill generation is not intelligent enough.
In a first aspect, the present application provides a bill generation method applied to a first server, where the bill generation method includes:
acquiring information of a plurality of flow cards, wherein the information comprises card numbers, periodic flow usage, tariff gears and flow gears corresponding to the tariff gears one by one, and the flow between the flow cards corresponding to the same flow gear can be shared;
selecting the tariff gear according to the periodic flow quantity, so that the average value of the periodic flow quantity of the flow cards of the same tariff gear is smaller than and closest to a preset flow threshold corresponding to the flow of the tariff gear;
and generating a bill file by the information of the flow card and a bill corresponding to the tariff gear selected by the flow card.
Preferably, the selecting the tariff gear according to the periodic flow usage so that the preset flow threshold corresponding to the flow of which the periodic flow usage of the flow card of the same tariff gear is smaller than and closest to the tariff gear includes:
sequencing flow gears in a descending order, wherein the flow gears comprise n flow gears, n is greater than or equal to 2 and is a positive integer, and the flow of the 1 st flow gear is the largest;
sequencing the flow cards in the sequence of the periodic flow consumption from large to small as an h-th flow sequence, wherein the flow cards comprise m, m is more than or equal to n, h is more than or equal to 1 and less than or equal to n-1, and h and m are positive integers;
when the average value of the first i periodic flow use amounts in the h flow sequence is larger than a preset flow threshold corresponding to the flow of the h flow gear, calculating the average value of the first i +1 periodic flow use amounts, wherein i is a positive integer, and i is smaller than or equal to the number of flow cards of the h flow sequence;
when the average value of the first i periodic flow quantities in the h flow sequence is smaller than a preset flow threshold corresponding to the flow of the h flow gear, selecting a charge gear corresponding to the h flow gear from the flow cards corresponding to the first i periodic flow quantities;
deleting the flow card of the tariff gear corresponding to the selected h flow gear from the h flow sequence to obtain an h +1 flow sequence;
when the average value of the previous i periodic flow quantities in the h +1 flow sequence is larger than a preset flow threshold corresponding to the flow of the h +1 flow gear, calculating the average value of the previous i +1 periodic flow quantities, wherein i is a positive integer, and i is less than or equal to the number of flow cards of the h +1 flow sequence;
when the average value of the first i periodic flow quantities in the h +1 flow sequence is smaller than a preset flow threshold corresponding to the flow of the h +1 flow gear, selecting a charge gear corresponding to the h +1 flow gear from a flow card corresponding to the first i periodic flow quantities;
and deleting the flow card of the tariff gear corresponding to the h +1 th flow gear from the flow sequence to obtain the h +1+1 th flow sequence.
Preferably, the bill generation method further includes:
and sending the bill file to a second server.
Preferably, the bill generation method further includes:
after the first preset time point, calculating the average value of the periodic flow quantity of the flow card of the expense gear corresponding to the h-th flow gear every second preset time period;
and if the average value of the periodic flow quantity of the flow card of the tariff gear corresponding to the selected h-th flow gear is larger than the preset variable flow threshold corresponding to the flow of the h-th flow gear, adjusting the tariff of the flow card which causes the average value of the periodic flow quantity of the flow card of the tariff gear corresponding to the selected h-th flow gear to be larger than the preset variable flow threshold corresponding to the flow of the h-th flow gear.
Preferably, if a preset flow threshold corresponding to the flow of the h-th flow gear is a and the flow of the h-th flow gear is b, the flow is detected
a=b*c,
Wherein c is more than 0 and less than 1.
Preferably, the information further includes a traffic card status, and the bill generation method further includes:
and when the state of the flow card is inactive, deleting the flow card.
Preferably, the format of the bill file is an excel file.
In a second aspect, the present application further provides a bill generation apparatus applied to a first server, where the bill generation apparatus includes:
the system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring information of a plurality of flow cards, the information comprises card numbers, periodic flow usage, tariff gears and flow gears corresponding to the tariff gears one to one, and the flow between the flow cards corresponding to the same flow gear can be shared;
the selection module is used for selecting the expense gear according to the periodic flow quantity, so that the periodic flow quantity of the flow card of the same expense gear is smaller than and closest to a preset flow threshold corresponding to the flow of the expense gear;
and the generating module is used for generating a bill file by the information of the flow card and a bill corresponding to the tariff gear selected by the flow card.
In a third aspect, the present application further provides a server, including:
a memory for storing a bill generation program;
and a processor, configured to implement the bill generation method according to the embodiment of the first aspect of the present application when executing the bill generation program.
In a fourth aspect, the present application further provides a storage medium, where the storage medium is a computer-readable storage medium, and a bill generation program is stored in the storage medium, where the bill generation program, when executed by a processor, implements the bill generation method according to the embodiment of the first aspect of the present application.
Compared with the prior art, the technical scheme provided by the application obtains the information of a plurality of flow cards, wherein the information comprises card numbers, periodic flow quantity, tariff gears and flow gears corresponding to the tariff gears one by one, and the flow between the flow cards corresponding to the same flow gear can be shared; selecting the tariff gear according to the periodic flow quantity, so that the average value of the periodic flow quantity of the flow cards of the same tariff gear is smaller than and closest to a preset flow threshold corresponding to the flow of the tariff gear; the information of the flow card and the bill corresponding to the charge gear selected by the flow card are generated into a bill file, so that the charge bill of the flow card can be automatically and intelligently generated, the generated charge bill is reasonable, the flow of the flow card is fully utilized, the flow of the flow card is not easy to be excessive, and no extra charge is generated.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a bill generating method according to a first embodiment of the present application, where the bill generating method can be executed by a bill generating device, and the bill generating device can be implemented by hardware and/or software to generate a bill of a charge level corresponding to a flow card, so as to make the charge level of the flow card reasonable and reduce unnecessary money waste. The bill generation method comprises the following steps:
s11: the method comprises the steps of obtaining information of a plurality of flow cards, wherein the information comprises card numbers, periodic flow usage, tariff gears and flow gears corresponding to the tariff gears one to one, and the flow between the flow cards corresponding to the same flow gear can be shared.
The flow is a digital record, which records the number of bytes consumed by a web page on an internet access device. The traffic card is a card capable of providing internet traffic for other devices, and includes, but is not limited to, an internet of things card and a SIM (subscriber identity Module) card. The flow card comprises a plurality of flow cards, for example, the flow card comprises 10 ten thousand flow cards. The information of the traffic card is stored in a database, which may be a database of the network operator side or a database of the own side. The network operator can be China Mobile, China Unicom or China telecom, etc. The card number is the number identification of the traffic card, such as the card number of the SIM card. The periodic traffic volume is a volume of traffic in a time period between the current time and the last data settlement time. For example, china unicom has 26 # 24 points of each month at the data settlement time of each month, and can adjust the tariff gear plan according to the use flow of the flow card at the current time interval of 26 # 24 points of each month before 12 noon on 25-26 days so as to reasonably control the cost. The tariff gear is the monthly consumption of one traffic card. Each tariff gear comprises a certain flow, and the more money the tariff gear has, the more flow the tariff gear corresponds to. In the bill generation method, if a plurality of cards are located at the same charge level, the flow of the plurality of cards at the same charge level can be shared, for example, the charge level of 2 cards is the same, the flow level of each card of 2 cards is 10GB (Gigabyte), if one card uses 19GB and the other card uses 0.9GB, and the total flow does not exceed 20GB, the extra charge does not need to be paid. It is understood that the information includes, but is not limited to, a card number, a periodic traffic volume, a tariff gear, and a traffic gear corresponding to the tariff gear one to one, and the information may further include a traffic card status, an activation date, and the like.
S12: and selecting the tariff gear according to the periodic flow quantity, so that the average value of the periodic flow quantity of the flow cards of the same tariff gear is smaller than and closest to a preset flow threshold corresponding to the flow of the tariff gear.
When the charge gear of the flow card is selected and adjusted, a certain time is left between the next data settlement time, a certain flow value needs to be reserved for the flow card for the continuous use of the flow card, and the flow card is prevented from exceeding the flow and needing to pay more charges. The preset flow threshold corresponding to the flow of the tariff gear is the threshold used for reserving a certain flow value for the flow card. And the preset flow threshold corresponding to the flow of the expense gear is smaller than the flow of the expense gear. And if the preset flow threshold corresponding to the flow of the flow gear is a and the flow of the flow gear is b, the a is b and c, wherein the 0 < c < 1. The value of c can be set according to the needs, for example, c can be 0.93, that is, 7% of the traffic is reserved for the traffic card. When the average value of the periodic flow usage of the flow cards in the same tariff gear is larger than the preset flow threshold corresponding to the flow of the tariff gear, it indicates that the flow of some of the flow cards is too much, and the tariff gear of the flow card using the too much flow needs to be adjusted to increase the flow. In order to make full use of the flow, the average value of the periodic flow usage of the flow cards of the same tariff gear is smaller than and closest to a preset flow threshold corresponding to the flow of the tariff gear.
Referring to fig. 2, specifically, selecting the tariff gear according to the periodic traffic volume so that the average value of the periodic traffic volumes of the traffic cards in the same tariff gear is smaller than and closest to a preset traffic threshold corresponding to the traffic of the tariff gear includes:
s121: the flow gears are sequenced from large to small, the flow gears comprise n, n is larger than or equal to 2 and is a positive integer, and the flow of the 1 st flow gear is the largest.
Each flow card comprises 1 flow gear, and after the flow gear of each flow card is obtained, the flow gears of the multiple flow cards can be sequenced. The number of flow gears is not limited. If 10 ten thousand flow cards include 5 flow gears, including 5GB, 8GB, 3GB, 1GB, 10GB, 1GB, respectively, then the flow gears after the sequencing are 10GB, 8GB, 5GB, 3GB and 1 GB. The flow rate of the flow gear of the first flow gear 10GB is the maximum.
S122: and sequencing the flow cards in the sequence of the periodic flow consumption from large to small as an h-th flow sequence, wherein the flow cards comprise m, m is more than or equal to n, h is more than or equal to 1 and less than or equal to n-1, and h and m are positive integers.
The periodic traffic volume may vary in size from one traffic card to another. After sorting, the whole is taken as the h-th flow sequence. h is first taken to be 1.
S123: and when the average value of the previous i periodic flow use in the h flow sequence is larger than the preset flow threshold corresponding to the flow of the h flow gear, calculating the average value of the previous i +1 periodic flow use, wherein i is a positive integer, and i is less than or equal to the number of flow cards of the h flow sequence.
The value of i is less than the total number of flow cards. i can be a value 1, and when the first periodic flow consumption is greater than a preset flow threshold corresponding to the flow of the h-th flow gear, an average value of the first 2 periodic flow consumptions is calculated.
It is understood that step S123 may be preceded by: and calculating the average value of the flow usage of the first i +1 periods in the h flow sequence.
S124: and when the average value of the first i periodic flow quantities in the h flow sequence is smaller than the preset flow threshold corresponding to the flow of the h flow gear, selecting the charge gear corresponding to the h flow gear from the flow card corresponding to the first i periodic flow quantities.
The average value of the first i periodic flow quantities is calculated one by one, and when the average value of the first 1 periodic flow quantities is larger than the preset flow threshold corresponding to the flow of the h-th flow gear, the average value of the first 2 periodic flow quantities is calculated until the average value of the first i periodic flow quantities in the h-th flow sequence is smaller than the preset flow threshold corresponding to the flow of the h-th flow gear. Therefore, when the average value of the first i periodic flow quantities in the h-th flow sequence is smaller than the preset flow threshold corresponding to the flow of the h-th flow gear, the average value of the first i periodic flow quantities is smaller than and closest to the preset flow threshold corresponding to the flow of the h-th flow gear. If the average value of the former 999 periodic flow rates is greater than the preset flow rate threshold corresponding to the flow rate of the 1 st flow rate gear, and the average value of the former 1000 periodic flow rates is greater than the preset flow rate threshold corresponding to the flow rate of the 1 st flow rate gear.
When the flow card corresponding to the first i periodic flow quantities selects the tariff gear corresponding to the h-th flow gear, if the flow card corresponding to the first 1000 periodic flow quantities selects the tariff gear corresponding to the 1 st flow gear 10GB, the tariff gear of the flow card corresponding to the first 1000 periodic flow quantities may already be the 1 st flow gear 10GB, or may be another tariff gear, such as the 2 nd flow gear 8GB or 5 GB.
S125: and deleting the flow card of the tariff gear corresponding to the selected h flow gear from the h flow sequence to obtain an h +1 flow sequence.
And if the flow cards of the first 1000 selected tariff gears corresponding to the 1 st flow gear 10GB are deleted from the 1 st flow gear, a 2 nd flow sequence is obtained.
S126: when the average value of the previous i periodic flow use amount in the h +1 flow sequence is larger than a preset flow threshold corresponding to the flow of the h +1 flow gear, calculating the average value of the previous i +1 periodic flow use amount, wherein i is a positive integer, and i is less than or equal to the number of flow cards of the h +1 flow sequence.
In S126, the same as S123, and no description is given in the non-application.
S127: when the average value of the previous i periodic flow quantities in the h +1 flow sequence is smaller than the preset flow threshold corresponding to the flow of the h +1 flow gear, selecting the charge gear corresponding to the h +1 flow gear from the flow cards corresponding to the previous i periodic flow quantities, wherein i is a positive integer, and i is smaller than or equal to the number of the flow cards of the h +1 flow sequence.
In S127, the same as S124, and no description is given in the non-application.
S128: and deleting the flow card of the tariff gear corresponding to the h +1 th flow gear from the flow sequence to obtain the h +1+1 th flow sequence.
In S128, the same as S125, and no description is given in the non-application.
The steps are repeated in sequence, so that all the flow cards can be in proper tariff gears, and the flow of the flow cards can be fully used.
S13: and generating a bill file by the information of the flow card and a bill corresponding to the tariff gear selected by the flow card.
The generated file can be viewed by operators. Preferably, the format of the bill file is an excel file.
The method for generating a bill provided by this embodiment obtains information of a plurality of traffic cards, where the information includes a card number, a periodic traffic amount, a tariff gear, and a traffic gear corresponding to the tariff gear, and where traffic between traffic cards corresponding to the same traffic gear may be shared; selecting the tariff gear according to the periodic flow quantity, so that the average value of the periodic flow quantity of the flow cards of the same tariff gear is smaller than and closest to a preset flow threshold corresponding to the flow of the tariff gear; the information of the flow card and the bill corresponding to the charge gear selected by the flow card are generated into a bill file, so that the charge bill of the flow card can be automatically and intelligently generated, the generated charge bill is reasonable, the flow of the flow card is fully utilized, the flow of the flow card is not easy to be excessive, and no extra charge is generated.
Preferably, the bill generation method further includes:
and sending the bill file to a second server.
The second server may be a network operator server, or a client server. When the bill file is sent to the network operator server, the network operator server can directly modify the tariff gear of the flow card according to the bill file. The billing file is sent to the client server, and the client may perform operations based on the billing file, such as the client determining whether the billing file is appropriate, the client sending the billing file to a network operator server, and so forth.
Preferably, the bill generation method further includes:
and when the state of the flow card is inactive, deleting the flow card.
And (4) the flow card is not used, the flow card is deleted, and the flow card is not managed any more.
Preferably, the bill generation method further includes:
after the first preset time point, calculating the average value of the periodic flow quantity of the flow card of the expense gear corresponding to the h-th flow gear every second preset time period;
and if the average value of the periodic flow quantity of the flow card of the tariff gear corresponding to the selected h-th flow gear is larger than the preset variable flow threshold corresponding to the flow of the h-th flow gear, adjusting the tariff of the flow card which causes the average value of the periodic flow quantity of the flow card of the tariff gear corresponding to the selected h-th flow gear to be larger than the preset variable flow threshold corresponding to the flow of the h-th flow gear.
The first preset time point can be set as required, for example, china unicom is 26/24 o 'clock per month at the monthly data settlement time, china unicom requires that the bill file is uploaded before 12 o' clock per 26 m.p. and the status is confirmed to be displayed as "completed", in order to monitor the possible change of the flow card, so that the charge is exceeded, the bill file can be generated again after the first time point to determine whether there is a problem. Such as the first time point may be 26 # 11 points per month. The second preset time period can be set as required, and if the second preset time period is 1h, the bill file is generated every 1 h. And when generating the bill file after the first preset time point, generating the bill file according to the bill corresponding to the information of the flow card and the tariff gear selected by the flow card in the bill file generated in the month. Specifically, in the bill file generated before the first preset time point in this month, for example, 1000 traffic cards are included, the traffic included in 200 selected tariff gears is 10GB, the traffic included in 300 selected tariff gears is 8GB, the traffic included in 500 selected tariff gears is 5GB, the average value of the periodic traffic of the traffic card having 10GB in the traffic included in 200 selected tariff gears is calculated, the average value of the periodic traffic of the traffic card having 8GB in the traffic included in 300 selected tariff gears is calculated, and the average value of the periodic traffic of the traffic card having 5GB in the traffic included in 500 selected tariff gears is calculated.
As time passes, the closer the time is to the monthly data settlement time, the closer the preset variable flow threshold is to the flow gear. The preset variable flow threshold is changed as required. And adjusting the tariff of the flow card which causes the average value of the periodic flow quantity of the flow card of the tariff gear corresponding to the selected h-th flow gear to be larger than the preset variable flow threshold value corresponding to the flow of the h-th flow gear, namely adjusting the flow card with the maximum periodic flow quantity change after generating the bill file. If the flow gears comprise 3 flow cards with 15GB, when the preset variable flow threshold is 14GB, and if a bill file is generated, the periodic flow quantity of the flow card A is 14.8GB, the periodic flow quantity of the flow card B is 13.1GB, the periodic flow quantity of the flow card C is 13.8GB, and the variation of the periodic flow quantity of the flow card C is maximum, so that the average value of the periodic flow quantity of the flow cards of the tariff gear corresponding to the h-th flow gear is larger than the preset variable flow threshold corresponding to the flow of the h-th flow gear, the tariff gear of the flow card C is changed. The fine adjustment is carried out aiming at the expense gears of a single or a certain number of flow cards, so that the situation that the flow of a certain or a certain number of flow cards is increased sharply in the following process can be avoided.
Referring to fig. 3, a second embodiment of the present application provides a bill generation apparatus, where the bill generation apparatus 20 is configured to implement the bill generation method of the foregoing embodiment, and the bill generation apparatus 20 includes:
the acquiring module 21 is configured to acquire information of a plurality of traffic cards, where the information includes card numbers, periodic traffic usage, tariff gears, and traffic gears corresponding to the tariff gears one to one, and where traffic between traffic cards corresponding to the same traffic gear may be shared;
the selecting module 22 is configured to select the tariff gear according to the periodic flow usage, so that the periodic flow usage of the flow card of the same tariff gear is smaller than and closest to a preset flow threshold corresponding to the flow of the tariff gear;
and the generating module 23 is configured to generate a bill file from the information of the traffic card and a bill corresponding to the tariff gear selected by the traffic card.
The bill generation device provided in this embodiment obtains information of a plurality of traffic cards, where the information includes a card number, a periodic traffic amount, a tariff gear, and a traffic gear corresponding to the tariff gear, where traffic between traffic cards corresponding to the same traffic gear may be shared; selecting the tariff gear according to the periodic flow quantity, so that the average value of the periodic flow quantity of the flow cards of the same tariff gear is smaller than and closest to a preset flow threshold corresponding to the flow of the tariff gear; the information of the flow card and the bill corresponding to the charge gear selected by the flow card are generated into a bill file, so that the charge bill of the flow card can be automatically and intelligently generated, the generated charge bill is reasonable, the flow of the flow card is fully utilized, the flow of the flow card is not easy to be excessive, and no extra charge is generated.
Preferably, the selection module 22 comprises:
the first sequencing unit is used for sequencing the flow gears in a descending order, wherein the flow gears comprise n flow gears, n is greater than or equal to 2 and is a positive integer, and the flow of the 1 st flow gear is the largest;
the second sorting unit is used for sorting the flow cards in the sequence of the periodic flow consumption from large to small as an h-th flow sequence, wherein the flow cards comprise m flow cards, m is more than or equal to n, h is more than or equal to 1 and less than or equal to n-1, and h and m are positive integers;
the first calculating unit is used for calculating the average value of the previous i +1 periodic flow quantities when the average value of the previous i periodic flow quantities in the h flow sequence is larger than a preset flow threshold corresponding to the flow of the h flow gear, wherein i is a positive integer, and i is smaller than or equal to the number of flow cards of the h flow sequence;
the first selection unit is used for selecting the charging gear corresponding to the h-th flow gear from the flow card corresponding to the first i periodic flow quantities when the average value of the first i periodic flow quantities in the h-th flow sequence is smaller than the preset flow threshold corresponding to the flow of the h-th flow gear;
the first deleting unit is used for deleting the flow card of the expense gear corresponding to the selected h flow gear from the h flow sequence to obtain an h +1 flow sequence;
the second calculation unit is used for calculating the average value of the previous i +1 periodic flow quantities when the average value of the previous i periodic flow quantities in the h +1 flow sequence is larger than a preset flow threshold corresponding to the flow of the h +1 flow gear, wherein i is a positive integer and is less than or equal to the number of flow cards of the h +1 flow sequence;
the second selection unit is used for selecting the charging gear corresponding to the h +1 th flow gear from the flow card corresponding to the first i periodic flow quantities when the average value of the first i periodic flow quantities in the h +1 th flow sequence is smaller than the preset flow threshold corresponding to the flow of the h +1 th flow gear;
and the second deleting unit is used for deleting the flow card of the tariff gear corresponding to the selected h +1 th flow gear from the flow sequence to obtain the h +1+1 th flow sequence.
Preferably, the bill generation apparatus further includes:
and the sending module is used for sending the bill file to a second server.
Preferably, the bill generation apparatus further includes:
the calculation module is used for calculating the average value of the periodic flow quantity of the flow card of the expense gear corresponding to the h-th flow gear every second preset time period after the first preset time point;
and the adjusting module is used for adjusting the charge of the flow card, which causes the average value of the periodic flow quantity of the flow card of the charge gear corresponding to the selected h-th flow gear to be greater than the preset variable flow threshold value corresponding to the flow of the h-th flow gear, if the average value of the periodic flow quantity of the flow card of the charge gear corresponding to the selected h-th flow gear is greater than the preset variable flow threshold value corresponding to the flow of the h-th flow gear.
Preferably, the bill generation apparatus further includes:
and the deleting module is used for deleting the flow card when the state of the flow card is inactive.
The product can execute the method provided by any embodiment of the application, and has the corresponding functional module and the beneficial effect of the execution method.
Referring to fig. 4, a third embodiment of the present application provides a server 40, and the server 40 can execute a bill generation method according to the above embodiments. The server 40 includes:
one or more processors 31 and memory 32. Here, one processor 31 is illustrated as an example.
The processor 31 and the memory 32 may be connected by a bus or other means, such as a bus.
The memory 32 is a non-volatile computer readable storage medium, and can be used to store a non-volatile software program, a non-volatile computer executable program, such as program instructions corresponding to a bill generation method in the above embodiments of the present application. The processor 31 executes various functional applications of a bill generation method and data processing by executing nonvolatile software program instructions stored in the memory 32, that is, implements a bill generation method in the above-described method embodiments.
The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like.
Further, the memory 32 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, the memory 32 may optionally include memory located remotely from the processor 31, and these remote memories may be connected to the processor 31 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.
The program instructions are stored in the memory 32 and, when executed by the one or more processors 31, perform the steps of a bill generation method in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has corresponding beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the above embodiments of the present application.
Embodiments of the present application also provide a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, such as a processor 31 in the figure, to enable the computer to perform the steps of a bill generation method in any of the above-mentioned method embodiments.
Embodiments of the present application further provide a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by one or more processors, such as the processor 31 in the figure, cause the computer to perform the steps of one of the method embodiments described above.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be performed by hardware associated with computer program instructions.
The present application also provides a storage medium, which includes a computer readable storage medium, and the above bill generation program may be stored in a computer readable storage medium, and when executed, the program may include the above flow of the implementation method of each bill generation method. The storage medium may include, among others, flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The storage medium may be a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like in other embodiments.
The modules or units described in the embodiments of the present application may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.