CN112073202B - Information generation method and device, electronic equipment and computer readable medium - Google Patents

Information generation method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN112073202B
CN112073202B CN202010827130.8A CN202010827130A CN112073202B CN 112073202 B CN112073202 B CN 112073202B CN 202010827130 A CN202010827130 A CN 202010827130A CN 112073202 B CN112073202 B CN 112073202B
Authority
CN
China
Prior art keywords
traffic
flow
score value
information
value
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
CN202010827130.8A
Other languages
Chinese (zh)
Other versions
CN112073202A (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.)
Sinochem Information Technology Co Ltd
Original Assignee
Sinochem Information 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 Sinochem Information Technology Co Ltd filed Critical Sinochem Information Technology Co Ltd
Priority to CN202010827130.8A priority Critical patent/CN112073202B/en
Publication of CN112073202A publication Critical patent/CN112073202A/en
Application granted granted Critical
Publication of CN112073202B publication Critical patent/CN112073202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Abstract

The embodiment of the disclosure discloses an information generation method, an information generation device, electronic equipment and a computer readable medium. One embodiment of the method comprises: acquiring a flow information set of a computing device; acquiring a flow use information set of the computing equipment; determining a traffic type corresponding to each traffic use score value and a traffic grade score value corresponding to the traffic type included in the traffic use information set to obtain a traffic grade score value set; generating a flow charging weight set based on the flow use information set and the flow grade scoring value set; and generating a flow value transfer amount based on the flow charging weight set and the flow use information set. This embodiment improves the accuracy of the billing for the traffic usage.

Description

Information generation method and device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to an information generation method, an information generation device, an electronic device, and a computer-readable medium.
Background
With the development of internet technology, many different software systems have emerged. Currently, the consumption of traffic by computing devices is increasing. It is desirable to reasonably improve the accuracy of the cost of calculating the flow consumption.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose an information generating method, apparatus, electronic device and computer readable medium to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an information generating method, including: acquiring a flow information set of a computing device, wherein the flow information includes a flow type, a software name group corresponding to the flow type, a flow grade score value corresponding to the flow grade, a flow value attribute value in unit time corresponding to the flow type, and a flow usage amount in unit time corresponding to the flow type; acquiring a flow use information set of the computing equipment, wherein the flow use information comprises the software name, a flow use score value corresponding to the software name and a flow use duration corresponding to the software name; determining a traffic type corresponding to each traffic use score value and a traffic grade score value corresponding to the traffic type included in the traffic use information set to obtain a traffic grade score value set; generating a flow charging weight set based on the flow use information set and the flow grade scoring value set; and generating a flow value transfer amount based on the flow charging weight set and the flow use information set.
In a second aspect, some embodiments of the present disclosure provide an information generating apparatus, the apparatus comprising: a first obtaining unit configured to obtain a set of traffic information of a computing device, wherein the traffic information includes a traffic type, a software name group corresponding to the traffic type, a traffic class score value corresponding to the traffic class, a traffic value attribute value per unit time corresponding to the traffic type, and a traffic usage per unit time corresponding to the traffic type; a second obtaining unit configured to obtain a traffic usage information set of the computing device, wherein the traffic usage information includes the software name, a traffic usage score value corresponding to the software name, and a traffic usage duration corresponding to the software name; a determining unit configured to determine a traffic type corresponding to each traffic use score included in the traffic use information set and a traffic grade score corresponding to the traffic type, to obtain a traffic grade score set; a first generating unit configured to generate a traffic charging weight set based on the traffic usage information set and the traffic level score value set; and a second generating unit configured to generate a traffic value transfer amount based on the traffic charging weight set and the traffic usage information set.
In some embodiments, the generating a traffic value transfer amount based on the set of traffic charging weights and the set of traffic usage information comprises:
determining the number of traffic types included in the traffic information set;
determining the number of traffic usage scoring values included in the set of traffic usage information;
generating a flow value transfer quantity by the following formula:
Figure BDA0002636633680000021
wherein C represents a traffic value transfer amount, m represents the number of traffic types included in the traffic information set, k represents the number of traffic usage information included in the traffic usage information set, Q represents a traffic value transfer amount i Indicates the flow rate usage in unit time, W, corresponding to the i-th flow rate type ij A traffic charging weight, t, indicating the jth traffic usage information corresponding to the ith traffic type j Indicates the traffic duration, P, of the jth traffic usage information i And the flow value attribute value in unit time corresponding to the ith flow type is represented.
In a third aspect, an embodiment of the present application provides an electronic device, where the network device includes: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as described in any implementation of the first aspect.
In a fourth aspect, the present application provides a computer readable medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
One of the above-described various embodiments of the present disclosure has the following advantageous effects: first, by acquiring a traffic information set of a computing device and a traffic usage information set of the computing device, a traffic type corresponding to each traffic usage score value included in the traffic usage information set and a traffic level score value corresponding to the traffic type may be accurately determined. Thus, a set of traffic level score values may be obtained. And then, generating a traffic charging weight set based on the traffic use information set and the traffic grade scoring value set. And generating a flow value transfer amount based on the flow charging weight set and the flow use information set. Optionally, the traffic charging weight set is generated by processing traffic usage scores of different software and scores corresponding to traffic types. Considering that different software consumes different flow rates, the flow rate charging weight is used as an important influence factor for calculating the flow rate value transfer amount. The flow value transfer amount can be generated by processing the flow use duration, the flow charging weight and the flow use amount in unit time of different flow types of different software. By the aid of the calculation mode, accuracy of calculating the flow value transfer quantity is improved. Optionally, the traffic value transfer amount is sent to a display device with a display function for display. And controlling the flow early warning equipment to perform flow early warning operation in response to the fact that the flow value transfer quantity meets the abnormal condition. Thus, it is advantageous to help the user to use the traffic appropriately.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of the information generation method of some embodiments of the present disclosure;
fig. 2 is a flow diagram of some embodiments of an information generation method according to some embodiments of the present disclosure;
fig. 3 is a flow diagram of some embodiments of an information generating apparatus according to some embodiments of the present disclosure;
FIG. 4 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of an information generation method of some embodiments of the present disclosure.
As shown in fig. 1, first, computing device 101 may determine a set of traffic level scores 104 from a set of traffic information 102 and a set of traffic usage information 103. The computing device 101 may then generate a set of traffic charging weights 105 from the set of traffic usage information 103 and the set of traffic level score values 104. Then, computing device 101 may generate traffic value transfer amount 106 based on traffic billing weight set 105 and traffic usage information set 103. Finally, optionally, computing device 101 may output flow value transfer amount 106 to display device 107.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules for providing distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of user equipment information in fig. 1 is merely illustrative. There may be any number of user equipment information, as implementation requires.
With continued reference to fig. 2, a flow 200 of some embodiments of an information generation method according to the present disclosure is shown. The information generation method comprises the following steps:
in step 201, a traffic information set of a computing device is obtained.
In some embodiments, an executing subject of the information generating method (e.g., the computing device 101 shown in fig. 1) may acquire the traffic information set of the computing device from the terminal by a wired connection manner or a wireless connection manner. The traffic information includes a traffic type, a software name group corresponding to the traffic type, a traffic class score value corresponding to the traffic class, a traffic value attribute value per unit time corresponding to the traffic type, and a traffic usage per unit time corresponding to the traffic type. The flow rate value attribute value is a price corresponding to the flow rate usage per unit time (for example, the flow rate usage per unit time: 2G/hour, and the corresponding price is "5 yuan").
As an example, the execution main body may send an application for acquiring a traffic information set of the computing device to the computing device terminal through a network, and the computing device terminal receives the application and transmits the traffic information set to the execution main body through the network. The traffic information may be:
{ flow type: high-speed type;
software name group: (A; B; C);
flow grade: grade 1;
flow grade rating value: 100 minutes;
flow value attribute value: 5 yuan;
flow usage per unit time: 2G/hour }.
Step 202, acquiring a flow usage set of the computing device.
In some embodiments, the executing entity of the information generating method may obtain the traffic usage set of the computing device from the terminal through a wired connection manner or a wireless connection manner. The traffic use information includes a software name, a traffic use score value corresponding to the software name, and a traffic use duration corresponding to the software name.
As an example, the execution main body may send, to a computing device terminal, an application for acquiring a traffic usage set of the computing device through a network, and the computing device terminal, receiving the application, transmits a usage traffic information set to the execution main body through the network. The traffic information may be:
{ software name: a;
traffic usage score value: 80 minutes;
the flow use time is as follows: 2 hours }.
Step 203, determining a traffic type corresponding to each traffic use score value included in the traffic use information set and a traffic grade score value corresponding to the traffic type, to obtain a traffic grade score value set.
In some embodiments, the execution body may obtain a traffic type, a software name group corresponding to the traffic type, a traffic class score value corresponding to the traffic class, a traffic value attribute value corresponding to the traffic type, and a traffic usage amount per unit time corresponding to the traffic type by obtaining the traffic information. And comparing the software name corresponding to the traffic use score value with the software names in the software name group to obtain the traffic type corresponding to the software name corresponding to the traffic use score value. And determining the traffic grade score value corresponding to the traffic type according to the traffic type, so that the traffic grade score value corresponding to the traffic use score value can be determined.
As an example, the traffic information may be:
{ flow type: high-speed type;
software name group: (A; B; C);
flow grade: grade 1;
flow grade rating value: 100 minutes;
flow value attribute value: 5 yuan;
flow rate usage per unit time: 2G/hour }.
The traffic usage information may be:
{ software name: a;
traffic usage scoring values: 80 minutes;
the flow use time is as follows: 2 hours }.
By comparing the software name included in the flow use information set with the software name in the software name group included in the flow information, it can be determined that the flow rate rating value corresponding to the flow use rating value "80 points" is "100 points".
And 204, generating a traffic charging weight set based on the traffic use information set and the traffic grade scoring value set.
In some embodiments, the execution body may generate the traffic charging weight set by various methods.
In some optional implementations of some embodiments, the executing entity may generate the traffic charging weight set by:
first, determining the number of traffic usage scores included in each piece of traffic usage information corresponding to the traffic level score in the traffic usage information set.
As an example, the traffic usage information set may be:
{ software name: a; traffic usage scoring values: 80 minutes; the flow use time is as follows: 2 hours };
{ software name: b; traffic usage score value: 90 minutes; the flow use time is as follows: 2 hours };
{ software name: c; traffic usage scoring values: 70 minutes; the flow use time is as follows: 2 hours }.
The traffic information may be:
{ flow type: high-speed type;
software name group: (A; B; C);
flow grade: grade 1;
flow grade rating value: 100 minutes;
flow value attribute value: 5 yuan;
flow usage per unit time: 2G/hour }.
The flow grade score values obtained are: 100 minutes.
Comparing the software name included in the upper traffic usage information set with the software name in the software name group included in the traffic information, it may be determined that the number of traffic usage score values included in each piece of traffic usage information corresponding to the traffic level score value in the traffic usage information set is: 3.
and secondly, performing data processing on the traffic use score value included in each piece of traffic use information in the traffic use information set and the traffic grade score value in the traffic grade score value set corresponding to the traffic use score value to generate a traffic charging weight, so as to obtain a traffic charging weight set.
In some optional implementations of some embodiments, the second step may include the following sub-steps:
inputting the number of traffic usage scores included in each piece of traffic usage information corresponding to the traffic rating score in the traffic usage information set, and the traffic usage scores and the traffic rating scores in the traffic rating score set corresponding to the traffic usage scores into the following equation to generate a traffic billing weight:
Figure BDA0002636633680000081
wherein W represents a traffic charging weight of the traffic usage information including the above traffic usage score value. X represents the traffic usage score value. N represents a traffic grade score value in the traffic grade score value set corresponding to the traffic use score value. t represents the number of traffic use score values included in each piece of traffic use information corresponding to the traffic level score value in the traffic use information set. M i A traffic usage score value representing the ith traffic usage information. Here, the value of the traffic charging weight retains two significant digits after the decimal point.
As an example, the traffic usage score value X may be "80". The traffic grade score value N in the traffic grade score value set corresponding to the traffic use score value is: "100". The number t of traffic use score values included in each piece of traffic use information corresponding to the traffic level score value in the traffic use information set is "3". Inputting the above values into a formula to generate a flow charging weight as follows:
Figure BDA0002636633680000091
and step 205, generating a traffic value transfer amount based on the traffic charging weight set and the traffic use information set.
In some embodiments, the execution agent may generate the flow value transfer amount in various ways. Here, the flow rate value transfer amount is a charge generated by a flow rate to be used (for example, a flow rate "5G" is used, and a flow rate charge "5 yuan" is generated).
In some optional implementations of some embodiments, the execution subject may generate the flow value transfer amount by:
the first step is to determine the number of traffic types included in the traffic information set.
As an example, the traffic information set may be:
{ traffic type: high-speed type;
software name group: (A; B; C);
and (4) flow grade: grade 1;
flow grade rating value: 100 minutes;
flow value attribute value: 5 yuan;
flow usage per unit time: 2G/hour }.
Determining the number of traffic types included in the traffic information set as: 1.
and secondly, determining the quantity of the traffic use scoring values included in the traffic use information set.
As an example, the traffic usage information set may be:
{ software name: a; traffic usage scoring values: 80 minutes; the flow use time is as follows: 2 hours };
{ software name: b; traffic usage scoring values: 90 minutes; the flow use time is as follows: 2 hours };
{ software name: c; traffic usage score value: 70 minutes; the flow use time is as follows: 2 hours }.
Determining the number of the traffic usage scoring values included in the traffic usage information set as: "3".
Thirdly, generating a flow value transfer quantity through the following formula:
Figure BDA0002636633680000101
where C represents the flow value transfer amount. m represents the number of traffic types included in the traffic information set. k represents the number of traffic usage information items included in the traffic usage information set. Q i And the flow rate usage amount per unit time corresponding to the ith flow rate type is shown. W ij And the flow charging weight represents the jth flow use information corresponding to the ith flow type. t is t j Indicating the traffic use duration of the jth traffic use information. P is i Denotes the ithAnd the flow value attribute value in unit time corresponding to the flow type is selected.
As an example, the number m of traffic types included in the above traffic information set may be "1". The number k of traffic usage score values included in the above-described traffic usage information set may be "3". Flow rate usage Q per unit time corresponding to the 1 st flow rate type 1 Is "2G/hr". The flow value attribute value P in unit time corresponding to the 1 st flow type 1 Is "5 yuan". The traffic duration t of the 1 st traffic utilization information 1 Is "2 hours". The traffic duration t of the 2 nd traffic information 2 Is "2 hours". The traffic duration t of the 3 rd traffic usage information 3 Is "2 hours". Generating a flow value transfer quantity by the following formula:
C=(2×2×0.29+2×2×0.33+2×2×0.375)×5=199。
the resulting flow value transfer was "19.9 yuan".
In some embodiments, the execution subject may generate the traffic charging weight set by processing traffic of different software using the score value and the score value corresponding to the traffic type. Considering that different software consumes different flow rates, the flow rate charging weight is used as an important influence factor for calculating the flow rate value transfer amount. The flow value transfer amount can be generated by processing the flow use duration, the flow charging weight and the flow use amount in unit time of different flow types of different software. By the aid of the calculation mode, accuracy of calculating the flow value transfer quantity is improved.
Optionally, the traffic value transfer amount is sent to a display device with a display function for display. And controlling the flow early warning equipment to perform flow early warning operation in response to the fact that the flow value transfer quantity meets the abnormal condition.
As an example, the above-described traffic value transfer amount "19.9 yuan" is transmitted to the display device "001" having a display function for display. The exception condition may be "greater than 15-tuple". The flow value transfer amount "19.9 yuan" meets the abnormal condition. And controlling the flow early warning equipment to carry out flow early warning operation by using the '002'.
One of the above various embodiments of the present disclosure has the following beneficial effects: first, by acquiring a traffic information set of a computing device and a traffic usage information set of the computing device, a traffic type corresponding to each traffic usage score value included in the traffic usage information set and a traffic level score value corresponding to the traffic type can be accurately determined. Thus, a set of traffic level score values may be obtained. And then, generating a traffic charging weight set based on the traffic use information set and the traffic grade scoring value set. And generating a flow value transfer amount based on the flow charging weight set and the flow use information set. Optionally, the traffic charging weight set is generated by processing traffic usage scores of different software and scores corresponding to traffic types. Considering that different software consumes different flow rates, the flow rate charging weight is used as an important influence factor for calculating the flow rate value transfer amount. The flow value transfer amount can be generated by processing the flow use duration, the flow charging weight and the flow use amount in unit time of different flow types of different software. By the aid of the calculation mode, accuracy of calculating the flow value transfer quantity is improved. Optionally, the traffic value transfer amount is sent to a display device with a display function for display. And controlling the flow early warning equipment to perform flow early warning operation in response to the fact that the flow value transfer quantity meets the abnormal condition. Thus, it is advantageous to use the flow rate reasonably. For example, the above-described traffic value transfer amount "19.9 yuan" is transmitted to the display device "001" having a display function for display. The exception condition may be "greater than 15-tuple". The flow value transfer amount "19.9 yuan" described above satisfies the abnormal condition. And controlling flow early warning equipment '002' to perform flow early warning. Thus, the user of the device can be reminded to use the flow reasonably.
With further reference to fig. 3, as an implementation of the above-described method for the above-described figures, the present disclosure provides some embodiments of an apparatus for information generation, which correspond to those of the method embodiments described above for fig. 2, and which may be applied in particular to various electronic devices.
As shown in fig. 3, the information generating apparatus 300 of some embodiments includes: a first acquisition unit 301, a second acquisition unit 302, a determination unit 303, a first generation unit 304, and a second generation unit 305. The first obtaining unit 301 is configured to obtain a traffic information set of a computing device, where the traffic information includes a traffic type, a software name group corresponding to the traffic type, a traffic class score value corresponding to the traffic class, a traffic value attribute value in unit time corresponding to the traffic type, and a traffic usage amount in unit time corresponding to the traffic type; a second obtaining unit 302, configured to obtain a set of traffic usage information of the computing device, where the traffic usage information includes the software name, a traffic usage score value corresponding to the software name, and a traffic usage duration corresponding to the software name; a determining unit 303, configured to determine a traffic type corresponding to each traffic usage score value included in the traffic usage information set and a traffic level score value corresponding to the traffic type, to obtain a traffic level score value set; a first generating unit 304, configured to generate a traffic charging weight set based on the traffic usage information set and the traffic level score value set; a second generating unit 305 configured to generate a traffic value transfer amount based on the traffic charging weight set and the traffic usage information set.
It will be understood that the units described in the apparatus 300 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 300 and the units included therein, and are not described herein again.
Referring now to FIG. 4, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1) 400 suitable for use in implementing some embodiments of the present disclosure is shown. The server shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other through a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 406 to communicate with other devices, either wirelessly or by wire, to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 4 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through communications device 409, or installed from storage device 408, or installed from ROM 402. The computer program, when executed by the processing apparatus 401, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described above in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the apparatus; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a flow information set of a computing device, wherein the flow information includes a flow type, a software name group corresponding to the flow type, a flow grade score value corresponding to the flow grade, a flow value attribute value in unit time corresponding to the flow type, and a flow usage amount in unit time corresponding to the flow type; acquiring a flow use information set of the computing equipment, wherein the flow use information comprises the software name, a flow use score value corresponding to the software name and a flow use duration corresponding to the software name; determining a traffic type corresponding to each traffic use score value and a traffic grade score value corresponding to the traffic type included in the traffic use information set to obtain a traffic grade score value set; generating a flow charging weight set based on the flow use information set and the flow grade scoring value set; and generating a flow value transfer amount based on the flow charging weight set and the flow use information set. Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, python, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a second acquisition unit, a determination unit, a first generation unit, and a second generation unit. The names of these units do not in some cases form a limitation on the unit itself, and for example, the second generating unit may also be described as "a unit that generates a traffic charging weight set based on the traffic usage information set and the traffic class score value set.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combinations of the above-mentioned features, and other embodiments in which the above-mentioned features or their equivalents are combined arbitrarily without departing from the spirit of the invention are also encompassed. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (7)

1. An information generating method, comprising:
acquiring a flow information set of a computing device, wherein the flow information comprises a flow type, a software name group corresponding to the flow type, a flow grade score value corresponding to the flow grade, a flow value attribute value in unit time corresponding to the flow type, and a flow usage amount in unit time corresponding to the flow type;
acquiring a flow use information set of the computing equipment, wherein the flow use information comprises the software name, a flow use score value corresponding to the software name and a flow use duration corresponding to the software name;
determining a traffic type corresponding to each traffic use score value and a traffic grade score value corresponding to the traffic type included in the traffic use information set to obtain a traffic grade score value set;
generating a flow charging weight set based on the flow use information set and the flow grade scoring value set;
and generating a flow value transfer amount based on the flow charging weight set and the flow use information set.
2. The method of claim 1, wherein the method further comprises:
sending the flow value transfer amount to a display device with a display function for display;
and controlling the flow early warning equipment to perform flow early warning operation in response to the fact that the flow value transfer quantity meets the abnormal condition.
3. The method of claim 2, wherein the generating a set of traffic charging weights based on the set of traffic usage information and the set of traffic level scoring values comprises:
determining the number of the traffic use score values included in each piece of traffic use information corresponding to the traffic grade score values in the traffic use information set;
and performing data processing on a traffic use score value included in each piece of traffic use information in the traffic use information set and a traffic grade score value in the traffic grade score value set corresponding to the traffic use score value to generate a traffic charging weight, so as to obtain a traffic charging weight set.
4. The method of claim 3, wherein the data processing the traffic usage score value included in each of the set of traffic usage information and the traffic rating score value of the set of traffic rating score values corresponding to the traffic usage score value to generate a traffic charging weight comprises:
inputting the number of traffic use scores included in each piece of traffic use information corresponding to the traffic grade score in the traffic use information set, the traffic use scores, and the traffic grade scores in the traffic grade score set corresponding to the traffic use scores into the following formula to generate a traffic charging weight:
Figure FDA0002636633670000021
wherein W represents a traffic charging weight of traffic usage information including the traffic usage score value, X represents the traffic usage score value, N represents a traffic level score value in the set of traffic level score values corresponding to the traffic usage score value, t represents a number of traffic usage score values included in each piece of traffic usage information corresponding to the traffic level score value in the set of traffic usage information, M represents a number of traffic usage score values included in each piece of traffic usage information corresponding to the traffic level score value i A traffic usage score value representing the ith traffic usage information.
5. An information generating apparatus comprising:
a first obtaining unit configured to obtain a flow information set of a computing device, wherein the flow information includes a flow type, a software name group corresponding to the flow type, a flow grade score value corresponding to the flow grade, a flow value attribute value per unit time corresponding to the flow type, and a flow usage amount per unit time corresponding to the flow type;
a second obtaining unit configured to obtain a set of traffic usage information of the computing device, wherein the traffic usage information includes the software name, a traffic usage score value corresponding to the software name, and a traffic usage duration corresponding to the software name;
a determining unit configured to determine a traffic type corresponding to each traffic use score value included in the traffic use information set and a traffic grade score value corresponding to the traffic type, to obtain a traffic grade score value set;
a first generating unit configured to generate a traffic charging weight set based on the traffic usage information set and the traffic level score value set;
a second generating unit configured to generate a traffic value transfer amount based on the traffic charging weight set and the traffic usage information set.
6. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
7. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202010827130.8A 2020-08-17 2020-08-17 Information generation method and device, electronic equipment and computer readable medium Active CN112073202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010827130.8A CN112073202B (en) 2020-08-17 2020-08-17 Information generation method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010827130.8A CN112073202B (en) 2020-08-17 2020-08-17 Information generation method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN112073202A CN112073202A (en) 2020-12-11
CN112073202B true CN112073202B (en) 2023-03-24

Family

ID=73662030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010827130.8A Active CN112073202B (en) 2020-08-17 2020-08-17 Information generation method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN112073202B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349340B (en) * 2013-07-29 2018-08-28 腾讯科技(深圳)有限公司 The surfing flow monitoring method and device of mobile terminal
CN106332183B (en) * 2015-07-03 2020-12-29 中兴通讯股份有限公司 Flow control method, flow control processing device and terminal
US10271244B2 (en) * 2015-12-22 2019-04-23 Sandvine Corporation System and method for managing traffic detection
CN106506817A (en) * 2016-10-20 2017-03-15 北京小米移动软件有限公司 Flow monitoring method, device and terminal unit
CN109996202B (en) * 2018-01-02 2021-04-13 中国移动通信有限公司研究院 Flow charging method and device
CN110752936A (en) * 2019-10-28 2020-02-04 斑马网络技术有限公司 Flow charging method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112073202A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN115081960B (en) Regional hollow rate information generation method and device, electronic equipment and computer medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN115085196B (en) Power load predicted value determination method, device, equipment and computer readable medium
CN115293657B (en) Carbon emission index information generation method, apparatus, electronic device, and medium
CN111683156A (en) Information pushing method and device, electronic equipment and computer readable medium
CN115640285A (en) Power abnormality information transmission method, device, electronic apparatus, and medium
CN116388112B (en) Abnormal supply end power-off method, device, electronic equipment and computer readable medium
CN117035842A (en) Model training method, traffic prediction method, device, equipment and medium
CN112019406B (en) Flow monitoring method and device, electronic equipment and computer readable medium
CN112073202B (en) Information generation method and device, electronic equipment and computer readable medium
CN113760178A (en) Cache data processing method and device, electronic equipment and computer readable medium
CN112667119A (en) Measuring point batch correlation method and device, electronic equipment and computer readable medium
CN112804164B (en) Flow information generation method and device, electronic equipment and computer readable medium
CN112015997B (en) Page display method and device, electronic equipment and computer readable medium
CN116757443B (en) Novel power line loss rate prediction method and device for power distribution network, electronic equipment and medium
CN116800834B (en) Virtual gift merging method, device, electronic equipment and computer readable medium
CN114792258B (en) Information generation method and device, electronic equipment and computer readable medium
CN112734962B (en) Attendance information generation method and device, computer equipment and readable storage medium
CN116894538B (en) Node carbon emission information generation method and device, electronic equipment and medium
CN116862319B (en) Power index information generation method, device, electronic equipment and medium
CN112235167B (en) Flow alarm method, device, electronic equipment and computer readable medium
CN114040014B (en) Content pushing method, device, electronic equipment and computer readable storage medium
CN113077351A (en) Information pushing method and device applied to insurance industry, electronic equipment and medium
CN112328131A (en) Information display method and device, electronic equipment and computer readable medium
CN112597359A (en) Method, apparatus, device and medium for determining leakage maintenance time of device component

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