CN108270582B - Method and device for processing traffic resources - Google Patents

Method and device for processing traffic resources Download PDF

Info

Publication number
CN108270582B
CN108270582B CN201611268267.4A CN201611268267A CN108270582B CN 108270582 B CN108270582 B CN 108270582B CN 201611268267 A CN201611268267 A CN 201611268267A CN 108270582 B CN108270582 B CN 108270582B
Authority
CN
China
Prior art keywords
flow
traffic
resources
communication
transaction
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
CN201611268267.4A
Other languages
Chinese (zh)
Other versions
CN108270582A (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Hubei Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Hubei 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 China Mobile Communications Group Co Ltd, China Mobile Group Hubei Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611268267.4A priority Critical patent/CN108270582B/en
Publication of CN108270582A publication Critical patent/CN108270582A/en
Application granted granted Critical
Publication of CN108270582B publication Critical patent/CN108270582B/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
    • 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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for processing flow resources, wherein the method comprises the following steps: establishing a flow resource pool comprising a plurality of types of flow resources; setting use priority and a transfer strategy for various flow resources; and setting a preset port for the flow resource pool, and providing various flow resource access services to the outside through the preset port. The embodiment of the invention sets the use priority and the transfer strategy for various flow resources by establishing the flow resource pool, provides various flow resource access services to the outside through the preset ports, can intensively process the dispersed flow resources, meets the consumption requirements of various aspects on the flow resources, not only shares the resources, but also does not influence each other when different ports are used, and can efficiently utilize the flow assets.

Description

Method and device for processing traffic resources
Technical Field
The present invention relates to the field of information technologies, and in particular, to a method and an apparatus for processing traffic resources.
Background
With the rapid development of information technology, traffic resources have become a very important resource for people's life. The current traffic resources are mainly managed and used in a free resource mode. The existing systems have different flow resource sources, are dispersedly stored in a plurality of places, have different use modes and have large management difficulty. The flow resource is difficult to allocate, cannot be shared and used by a plurality of users, and has low use efficiency and poor customer perception experience. For example, the existing service support system mainly stores the flow resource by using the flow free resource, the method is only better for flow package charging, but is difficult to share and process when flow allocation (such as flow red packet and gift service) and flow tariff package charging are required at the same time. The flow circulation channels are few, the external transaction is difficult, and the opening capability is insufficient. The existing service support system has no special transaction flow resource storage mode, and when the flow transaction is processed, the problem of flow resource conflict is usually processed by adopting locking and unlocking modes, so that the efficiency is not high.
As described above, the conventional traffic processing method has disadvantages of traffic resource dispersion, difficulty in sharing traffic resources, difficulty in traffic distribution transaction, and the like.
Disclosure of Invention
In view of one or more of the above problems, embodiments of the present invention provide a method and an apparatus for processing traffic resources.
In a first aspect, a method for processing traffic resources is provided, which includes the following steps:
establishing a flow resource pool comprising a plurality of types of flow resources;
setting use priority and a transfer strategy for various flow resources;
and setting a preset port for the flow resource pool, and providing various flow resource access services to the outside through the preset port.
In a second aspect, an apparatus for processing traffic resources is provided, including:
the device comprises an establishing unit, a processing unit and a processing unit, wherein the establishing unit is used for establishing a flow resource pool comprising a plurality of types of flow resources;
the strategy unit is used for setting the use priority and the transfer strategy for various flow resources;
and the setting unit is used for setting a preset port for the flow resource pool and providing various flow resource access services to the outside through the preset port.
The embodiment of the invention sets the use priority and the transfer strategy for various flow resources by establishing the flow resource pool, provides various flow resource access services to the outside through the preset ports, can intensively process the dispersed flow resources, meets the consumption requirements of various aspects on the flow resources, not only shares the resources, but also does not influence each other when different ports are used, and can efficiently utilize the flow assets.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a traffic resource processing method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of externally providing traffic resources by a traffic resource pool according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of an external provision of traffic resources by a traffic resource pool according to another embodiment of the present invention.
Fig. 4 is a schematic diagram of externally providing traffic resources when a traffic resource pool shares a conflict according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a hybrid payment processing flow according to an embodiment of the invention.
Fig. 6 is a schematic structural diagram of a traffic resource processing device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a schematic flow chart of a traffic resource processing method according to an embodiment of the present invention.
As shown in fig. 1, the method comprises the steps of: s110, establishing a flow resource pool comprising various types of flow resources; s120, setting use priority and transfer strategy for various flow resources; and S130, setting a preset port for the traffic resource pool, and providing various traffic resource access services to the outside through the preset port.
In this embodiment, a virtual traffic resource pool can be formed by classifying and combining various traffic resources (such as package resources, communication traffic, transaction traffic, and the like) of a customer in an operator. In addition, the conversion relation, the transfer strategy and the use sequence among the internal resources are defined, and the uniform traffic resource access service can be provided for the outside.
In this embodiment, the traffic may be network communication resources consumed by the customer for using the mobile phone internet access service of the telecom operator. The communication traffic may be traffic resources that the customer directly purchases. The communication flow is mainly used for internet consumption, is irrelevant to the package products ordered by the customers, and can be converted into transaction flow to carry out transaction operation. The transaction traffic may be traffic transacting to the outside. The transaction flow is mainly used for red packet issuing, gifting, payment and the like. When the transaction traffic is consumed on the internet, the transaction traffic must be converted into communication traffic. The package resource may be a free-flow resource contained in a base package product ordered by the customer to the operator. The package resource is mainly used for communication consumption. The traffic resource pool can be a traffic resource set formed by effectively organizing and converging various traffic assets of a client in an operator system, and provides a centralized and uniform access consumption mode for a user so as to improve the resource utilization efficiency and improve the client perception.
In some embodiments, step S110 may include the following sub-steps: acquiring various original flow resources; classifying and/or combining the obtained various original flow resources to generate various types of flow resources; and generating a traffic resource pool based on the plurality of types of traffic resources.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In some embodiments, step S130 may include the steps of: setting a first port and a second port for a flow resource pool; providing a service for traffic consumption generated by surfing the internet through a first port; the service for traffic charges and transfers caused by traffic transactions is provided through the second port.
The embodiment of the invention sets the use priority and the transfer strategy for various flow resources by establishing the flow resource pool, provides various flow resource access services to the outside through the preset ports, can intensively process the dispersed flow resources, meets the consumption requirements of various aspects on the flow resources, not only shares the resources, but also does not influence each other when different ports are used, and can efficiently utilize the flow assets.
Fig. 2 is a schematic diagram of externally providing traffic resources by a traffic resource pool according to an embodiment of the present invention.
As shown in fig. 2, the traffic resource pool 10 includes various types of traffic resources, which are package resources, communication traffic, transaction traffic, and the like. The traffic resource pool 10 is provided with a B port 102 (first port) and an a port 101 (second port).
Wherein package resources, communication traffic, and transaction traffic may be switched in or out. When a client uses communication traffic, it can use traffic resources in the traffic resource pool from two portals (also called ports, i.e., a port 101 and B port 102) and induce traffic variation. When the client is on line and consumes, the client can charge and wholesale price through the port B. At this point, package resources are used preferentially and traffic is used sub-optimally. When the client participates in the transaction, the flow transaction can be carried out through the A port. The flow transaction may be charged or paid out.
In this embodiment, when using communication services, the client can use the traffic resource pool from two portals and cause traffic variation. One is to use the mobile internet to access the internet by itself to generate traffic consumption (referred to as port B). And secondly, the flow expenditure and the switching-in (called as port A for short) caused by participation in the flow transaction simultaneously meet the consumption requirements on the flow resources in two aspects by using the operation service provided by the flow resource pool, share the resources and do not influence each other when used in different directions, and the flow assets of the user are efficiently utilized.
Fig. 3 is a schematic diagram of an external provision of traffic resources by a traffic resource pool according to another embodiment of the present invention.
As shown in fig. 3, the traffic resource pool 10 includes 3 types of traffic resources, which are package resources, communication traffic, and transaction traffic, respectively. The traffic resource pool 10 is provided with a port B (first port) and a port a (second port). The implementation can charge and wholesale price through the port B and carry out flow transaction through the port A.
Wherein the package resource may be generated by a product order. The package resource may be, for example: basic packets, optional packets, oil-adding packets, quarterly packets, annual packets and the like of the flow. The communication traffic may be generated by top-up. The communication traffic may be, for example: general purpose packages, special purpose packages, directional packages, etc. The transaction traffic may be, for example, a traffic red packet or the like.
Therefore, various flow resources are aggregated in the flow resource pool, unified access service operation is provided for the outside, the outside does not need to specifically know the specific use details of various resources in the flow resource pool, and only needs to put forward a resource request, and the resource pool allocates various flow resources to meet the resource consumption requirement.
In this embodiment, a plurality of traffic resources obtained by a customer from various sources (such as ordering packages, participating in traffic transactions, etc.) in an operator are organized into a virtual traffic resource pool in a tree-like manner, and the resource pool provides access operations to the externally provided traffic resources through unified entries (ports a and B) in two directions.
In some embodiments, the traffic resource pool 10 may provide unified traffic service operation for outside, and the service and operation for traffic mainly include: the operation of the port A mainly comprises flow inquiry, reservation, deduction, release, return, conversion and the like. The operations performed on the port B mainly include flow query, reservation, deduction, release, return and the like. The internal operations mainly include flow merging, splitting, converting, giving, carrying, clearing and the like.
In some embodiments, the priority of use of the multiple types of traffic resources includes: the priority of use of the package resource is higher than the priority of use of the communication traffic; the usage priority of the communication traffic is higher than the usage priority of the transaction traffic.
In other alternative embodiments, the priority of the traffic resource may be preset, and the priority of the traffic resource may be set as follows. In a first mode, package resources > communication traffic > transaction traffic can be set according to the use priority of various resources. In the second mode, the usage priority of the resources of the same type can be set to be a directional packet, a special packet and a general packet. Third, the priority can be customized or according to some rule (e.g., fail first and use first).
In this embodiment, when a client consumes internet through the B port, traffic is deducted according to specific internet consumption data, package resources are preferentially used, communication traffic is used only when the package resources are used up, and after communication traffic is used up, if the client has transaction traffic, the transaction traffic is converted into communication traffic for use (in order not to affect the use of the transaction traffic by the a port, the transaction traffic is issued to the communication traffic by using a pre-determined and reserved allocation strategy); transaction traffic must be diverted to communication traffic for on-line consumption (automatic or manual diversion).
In some embodiments, the wipe down policy may include the following three policies: and in the first strategy, when an internet traffic request is received, various types of traffic resources are used according to the use priority, and a traffic account book is updated. When the transaction flow is used, the transaction flow is converted into the communication flow and then used. And the second strategy is that when a flow transaction request is received, transaction flow is used, and a flow account book is updated. And thirdly, when the operation request is received, performing corresponding flow operation according to the operation request.
In this embodiment, performing the corresponding traffic operation according to the operation request may include the following three operations: the first operation, querying available traffic: and inquiring the concrete conditions of various available traffic resources in the traffic resource pool. Second operation, communication flow recharge: and charging the purchased or transferred traffic into the communication traffic in the traffic resource pool. Third operation, subscription traffic: ordered oil-in-bags, season packs, year packs, etc. are added to the package resources.
Fig. 4 is a schematic diagram of externally providing traffic resources when a traffic resource pool shares a conflict according to an embodiment of the present invention.
As a modified embodiment of the embodiment shown in fig. 1, the embodiment of fig. 1 may be added with: the method for processing the problem of the shared conflict of the client flow resource pool. In this embodiment, the method for processing the problem of the client traffic resource pool sharing conflict may include the following steps:
when receiving a use application of communication flow from the first port and/or the second port, allocating a reserved value corresponding to the value of the applied flow to the communication flow; subtracting the reserved value from the initial value of the communication flow to obtain the balance of the communication flow; calculating the sum of the reserved value and the balance, and judging whether the calculated sum is equal to the initial value; and when the judgment result is not equal, indicating that the current first port and the current second port simultaneously apply for using the communication traffic to cause application conflict, and abandoning the allocation made for the communication traffic.
In this embodiment, when the traffic resource pool shares resources, the user may perform traffic transaction while surfing the internet, so that a resource sharing conflict may occur. In the traditional solution, in order to prevent resource sharing conflict, a mode of locking resources is generally adopted, and the processing mode has the phenomena of high locking cost, low efficiency and deadlock generation. In the invention, the modes of resource isolation, mutual conversion and application reservation are adopted, different resources are accessed through different inlets (the port A is extremely high in concurrency and frequent in use, the port B is low in concurrency at ordinary times and has more participants), the utilization rate of the resources is improved through the modes of resource conversion and application reservation, in a high-concurrency environment, hot spots generated by locking are avoided, and good experience of what you see is what you get is provided for clients.
Referring to fig. 4, fig. 4 illustrates a usage traffic scenario. The service scenario is as follows: when the customer package resource is used up, the communication flow is needed to be used, and when the customer transaction flow is used up, the communication flow (transfer easy flow) is needed to be used. When the client accesses the internet, the deduction communication flow and the reserved communication flow are transferred into the transaction flow so as to be used for the client to carry out transaction.
For the above scenario, when the client performs internet surfing and red packet operation at the same time and needs to use communication traffic, the traffic resource pool is used in the following manner.
Step 1: when the client continues to surf the internet, the client needs to apply for the use flow in real time from the communication flow through the port B; meanwhile, the transaction flow of the client is used up, and when the red packet issuing operation is performed, the flow needs to be applied in real time to the communication flow through the port A for transaction.
Step 2: the client resource pool receives the request for applying to use the communication flow at the same time, firstly, the remaining available flow of the communication flow is inquired and calculated (the remaining value is the remaining value-sigma (the state of the reserved record is incomplete)), the algorithm does not adopt a locking mode to lock the remaining value for operation, but adopts a mode of accumulating the reserved record and calculating the remaining flow in real time, the result is checked again after the flow is distributed, if the result is not changed, the flow distribution is successful, if the result is changed, the current distribution is abandoned for retry again until the result is successful, if the remaining flow is enough, the flow is reserved for B in the communication flow for surfing the internet (the reserved record is increased), and the flow is reserved for A for issuing the red packet (the reserved record is increased). The reserved record comprises attributes of an application object (A/B), application time, a reserved value, an actual use value, a reserved state, completion time and the like, and is used for calculating the residual amount of the communication flow in real time.
The following describes an embodiment of calculating the remaining amount.
1. A, inquiring residual communication traffic: account ID 111, remaining value: 500M; initially recording without reservation; the remaining value returned at this time is 500M.
2. A, internet consumption application flow 100M, adding reservation records: [ subject: a, applying for reserved flow: 100M ]; when the transaction is successful, the check is inquired again to check whether the remaining flow value (500M-sum (reserved value) should be 400M) +100M is equal to 500M, if equal to 500M, the transaction is successful if only A applies for the flow, otherwise, the transaction is successful if other parties apply for the flow, and the current result needs to be abandoned for retrying.
3. B, issuing a red packet application flow 200M, and inquiring the residual flow as follows: 400M (═ 500M-sum (a reservation value ═ 100M)), add reservation record: [ subject: b, applying for reserved flow: 200M ]; when the transaction is successful, the check is inquired again to check whether the remaining flow value (500M-sum (reserved value) should be 200M) +200M is equal to 400M, if equal to 400M, the transaction is successful, if only B applies for the flow, no conflict exists, otherwise, the other party applies for the flow, a conflict exists, and the current result needs to be abandoned for retrying.
And step 3: transferring the reserved flow for A into transaction flow, and performing red packet operation; and at the same time, updating the communication traffic balance value (deducting the reservation value, and at the same time, modifying the reservation record state to completion).
And 4, step 4: and (4) carrying out deduction operation on the traffic reserved for the B when the Internet surfing is finished, and updating the communication traffic balance value (deducting the reserved value and modifying the reserved record state to be finished).
And 5: if the reserved value is not actually used up, the unused portion may also be dropped back into the communication traffic.
Step 6: the method can reserve the communication flow by adopting a pre-judging mode besides applying for the communication flow in real time, wherein the communication flow is automatically reserved in the communication flow or converted into the flow for flow transaction in a confirmation prompting mode when the residual quantity of the transaction flow is lower than a certain threshold value by adopting an event triggering or timing mode.
Therefore, the traffic can be fully shared, the traffic is not influenced mutually, the traffic is used efficiently, and the customer perception is good (what you see is what you get).
As a modified embodiment of the embodiment of fig. 1, the following steps may be added to the embodiment of fig. 1: and dynamically converting various traffic resources to balance the capacity of the various traffic resources.
In this embodiment, package resources, communication traffic, and transaction traffic may be dynamically converted. Transaction traffic must be converted to communication traffic for use, and for package resources, communication traffic, transactions can only be conducted if converted to transaction traffic. If the package resource, the communication flow and the transaction flow are all fixed and unchangeable, when the flow of one party is insufficient, the flow conversion is carried out, the delay occurs in the flow conversion, certain operation time is also needed, and the user experience is influenced. Therefore, package resources, communication traffic and transaction traffic should be reasonably and dynamically converted, and the situation of traffic resource pool sharing conflict can be reduced as much as possible.
In the specific implementation, the flow dynamic conversion comprises the following steps:
step 1, obtaining the current transaction flow, communication flow and package resource quantity of the user, wherein the quantities are D, T, X respectively.
And 2, setting the lowest threshold value of the transaction flow as D1 and the lowest threshold value of the package resource as X1.
And 3, performing dynamic flow conversion according to the relation between D, T, X and D1 and X1:
when D is present<D1And X is not less than X1At this time, the traffic flow is insufficient, and if T is not 0, the traffic flow is diverted from the traffic flow
Figure BDA0001201050050000091
When the transaction flow is up, if T is 0, the communication flow is not existed at the moment, and the transaction flow is transferred from the package resource
Figure BDA0001201050050000092
To the traffic flow;
when D is present<D1And X<X1At this time, the transaction flow and the package flow are both insufficient, and if T is not 0, the transaction flow and the package flow are switched out from the communication flow
Figure BDA0001201050050000093
To traffic flow, diverted from traffic flow
Figure BDA0001201050050000094
If T is 0, the transaction flow and the package flow are not converted;
when D is more than or equal to D1And X is not less than X1At this time, the transaction flow and the package flow are both sufficient, and the transaction flow and the package flow are not converted;
when D is more than or equal to D1And X<X1At this time, the package flow is insufficient, and if T is not 0, the package flow is switched out of the communication flow
Figure BDA0001201050050000095
When the flow rate of the package is up, if T is 0, the flow rate is indicated to be not communicated at the moment, and the flow rate is transferred from the transaction flow rate
Figure BDA0001201050050000096
To package flow.
Through the dynamic conversion process, the transaction flow and the package flow can be in a balanced state. In general, the calculation and dynamic conversion process is performed once a day.
As a modified embodiment of the embodiment of fig. 1, the following steps may be added to the embodiment of fig. 1: and setting payment function attributes for various flow resources to provide a mixed payment mode of flow, cash and points.
Fig. 5 is a schematic diagram of a hybrid payment processing flow according to an embodiment of the invention.
In this embodiment, the BOSS system may provide the payment function to the outside by using the flow resource as a monetization resource, like the cash pre-deposit resource and the credit resource, and may also provide a mixed payment mode of flow, cash and credit. The specific flow of the mixed payment is as follows:
s501, after selecting commodities in a CRM system mall, a user submits an order and initiates a purchase request.
S502, the CRM system mall enters a payment link, the user is prompted to select a payment mode, and the user selects a mobile payment account to carry out mixed payment.
And S503, carrying out mixed payment login authentication by the CRM system mall.
S504, the user inputs the payment account, the password and the verification code to log in.
S505, the CRM system mall authentication process (payment account confirmation).
S506, the CRM system mall returns the authentication result to the user.
And S507, if the authentication is successful, displaying a payment home page, and if the authentication is failed, prompting the user to perform other selections.
S508, the CRM system mall initiates a payment account balance inquiry request to the BOSS system.
And S509, inquiring the balance of available cash, points and flow accounts by the BOSS system according to the payment account provided by the CRM system mall.
S510, the BOSS system returns a query processing result to the CRM system mall, and the query processing result comprises the following steps: account information, cash balance, point balance, flow balance.
S511, the CRM system mall refreshes the home page and displays available cash, points, flow and the like under the payment account.
S512, the user initiates a payment proportion setting request.
And S513, configuring the payment proportion of cash, points and flow according to the setting of the user by the CRM system mall.
And S514, the CRM system performs payment order processing.
And S515, the CRM system initiates a payment deduction request to the BOSS system.
And S516, the BOSS system deducts cash, points and flow from the payment account of the user.
And S517, the BOSS system collects cash from the payment account of the merchant.
S518, the BOSS system feeds back the deduction result to the CRM system.
And S519, the CRM system carries out payment order completion processing.
S520, the CRM system mall confirms that the payment is successful.
And S521, the CRM system mall sends a payment short message to the user.
S522, the payment is completed.
The following lists several common application scenarios of the present invention:
the first scenario is a traffic consumption scenario. When a customer uses a mobile phone to go online, the flow resource pool is used in the following manner. Firstly, using flow resources in ordered packages, when the packages are used up; then using the communication flow, when the communication flow is used up; and finally using the transaction traffic (converted to communication traffic usage).
The second scenario is a traffic trading scenario. When the customer charges the flow in the business hall or the network hall, the flow resource pool is used in the following mode. And charging the traffic into communication traffic for self-consumption internet surfing. The traffic is charged into the transaction traffic for subsequent traffic transactions (e.g., red envelope, referral, payment, etc.).
The third scenario is a traffic trading scenario. When the client performs the red packet service operation, the flow resource pool is used in the following manner. And inquiring available traffic in the transaction traffic and performing reservation. And segmenting the reserved flow, and packaging into red packets for distribution. And carrying out deduction or release operation on the reserved transaction flow according to the red packet pickup condition.
Fig. 6 is a schematic structural diagram of a traffic resource processing device according to an embodiment of the present invention.
As shown in fig. 6, the processing device 60 of the traffic resource may include: a building unit 601, a strategy unit 602 and a setting unit 603. The establishing unit 601 may be configured to establish a traffic resource pool including multiple types of traffic resources; the policy unit 602 may be configured to set a usage priority and a transfer policy for various traffic resources; the setting unit 603 may be configured to set a preset port for the traffic resource pool, and provide various traffic resource access services to the outside through the preset port.
It should be noted that the implementation manner of the functional units shown in the present embodiment may be hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
In some embodiments, the establishing unit 601 may include: the device comprises an acquisition module, a classification module and a generation module. The acquisition module can be used for acquiring various original flow resources; the classification module can be used for classifying and/or combining the acquired various original flow resources to generate various types of flow resources; the generation module may generate the traffic resource pool based on the plurality of types of traffic resources.
In some embodiments, the multiple types of traffic resources include: package resources, communication traffic, and transaction traffic.
In some embodiments, the priority of use of the multiple types of traffic resources includes: the priority of use of the package resource is higher than the priority of use of the communication traffic; the usage priority of the communication traffic is higher than the usage priority of the transaction traffic.
In some embodiments, the scratch-out policy may include:
in some embodiments, the wipe down policy may include the following three policies:
and in the first strategy, when an internet traffic request is received, various types of traffic resources are used according to the use priority, and a traffic account book is updated. When the transaction flow is used, the transaction flow is converted into the communication flow and then used.
And the second strategy is that when a flow transaction request is received, transaction flow is used, and a flow account book is updated.
And thirdly, when the operation request is received, performing corresponding flow operation according to the operation request.
In some embodiments, the setting unit 603 is further configured to: setting a first port and a second port for a flow resource pool; providing a service for traffic consumption generated by surfing the internet through a first port; the service for traffic charges and transfers caused by traffic transactions is provided through the second port.
As a modified embodiment of the embodiment of fig. 6, the embodiment of fig. 6 may be added with: the device comprises a measuring unit, a calculating unit and a distributing unit. The detection unit can be used for detecting the use condition of various flow resources; the calculating unit may be configured to, when it is detected that a certain type of traffic resources is simultaneously applied for through the first port and the second port, accumulate a first reserved traffic resource and a second reserved traffic resource of the certain type of traffic resources, and calculate a remaining traffic resource of the certain type of traffic resources; the allocating unit may be configured to allocate the first reserved traffic resource to the first port and allocate the second reserved traffic resource to the second port when the calculated remaining traffic resource satisfies the first reserved traffic resource and the second reserved traffic resource.
As still another modified example of the embodiment of fig. 6, a collation unit may be added on the basis of the above-described embodiment. The checking unit may be configured to check the assignment result after the assignment of the first port and the second port is completed.
As a further variant of the embodiment of fig. 6, an equalization unit may be added on the basis of the above-described embodiment. The balancing unit can be used for dynamically converting various traffic resources to balance the capacity of the various traffic resources.
In some embodiments, the setting unit 603 may also be configured to set payment function attributes for various types of traffic resources to provide a mixed payment mode of traffic, cash, points.
It should be noted that the apparatuses in the foregoing embodiments can be used as execution subjects in the methods in the foregoing embodiments, and can implement corresponding flows in the methods. The contents in the above embodiments may be referred to and quoted from each other, and for brevity, the contents are not described in detail again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A method for processing traffic resources is characterized by comprising the following steps:
establishing a traffic resource pool comprising a plurality of types of traffic resources, wherein the plurality of types of traffic resources comprise: package resources, communication traffic, and transaction traffic;
dynamically converting various types of traffic resources in the traffic resource pool to balance the capacities of the various types of traffic resources;
Setting use priority and a transfer strategy for various flow resources;
setting a preset port for the flow resource pool, and providing various flow resource access services to the outside through the preset port;
and the flow resources except the package resources comprise the communication flow, and the package resources and the communication flow can be used for external transaction operation after being converted into the transaction flow.
2. The method according to claim 1, wherein said establishing a traffic resource pool comprising a plurality of types of traffic resources comprises the steps of:
acquiring various original flow resources;
classifying and/or combining the obtained various original flow resources to generate various flow resources;
generating the traffic resource pool based on the plurality of types of traffic resources.
3. The method of claim 2, wherein the priority of use of the multiple types of traffic resources comprises:
the priority of use of the package resource is higher than the priority of use of the communication traffic;
the usage priority of the communication traffic is higher than the usage priority of the transaction traffic.
4. The method of claim 3, wherein the wipe strategy comprises:
When an internet traffic request is received, using various types of traffic resources according to the use priority, and updating a traffic book, wherein when the transaction traffic is used, the transaction traffic is converted into the communication traffic and then used;
when a flow transaction request is received, using the transaction flow and updating a flow account book;
and when receiving the operation request, performing corresponding flow operation according to the operation request.
5. The method according to any one of claims 1 to 4, wherein a predetermined port is provided for the traffic resource pool, and the various types of traffic resource access services are provided to the outside through the predetermined port, and the method comprises the following steps:
setting a first port and a second port for the flow resource pool;
providing a service for traffic consumption generated by surfing the internet through the first port;
and providing services for flow expenditure and diversion caused by flow transaction through the second port.
6. The method of claim 5, further comprising:
when receiving a use application of the communication traffic from the first port and/or the second port, allocating a reserved value corresponding to the applied traffic value to the communication traffic; subtracting the reserved value from the initial value of the communication flow to obtain the balance of the communication flow;
Calculating the sum of the reserved value and the balance, and judging whether the calculated sum is equal to the initial value;
and when the judgment result is not equal, indicating that the first port and the second port simultaneously apply for using the communication traffic to cause application conflict, and abandoning the allocation made for the communication traffic.
7. The method of claim 1, wherein dynamically converting multiple types of traffic resources within the traffic resource pool comprises:
acquiring the quantity D of the transaction flow, the quantity T of the communication flow and the quantity X of the package resource;
setting a lowest threshold of the transaction flow to be D1, and a lowest threshold of the package resource to be X1;
when D is present<D1, when X is larger than or equal to X1, judging whether the number T of the communication traffic is 0, if T is not 0, transferring the communication traffic
Figure FDA0003093838650000021
The quantity communication flow is equal to the transaction flow, and if T is 0, the flow is transferred from the package resource
Figure FDA0003093838650000022
A quantity of package resources to the transaction flow;
when D is present<D1, and X<X1, determining whether the number T of the communication flow is 0, if not, transferring from the communication flow
Figure FDA0003093838650000031
Transferring a volume of communication traffic to the transaction traffic and transferring volume of communication traffic from the transaction traffic
Figure FDA0003093838650000032
The amount of communication flow is transmitted to the package resource, and if T is 0, the transaction flow and the package flow are not converted;
when D is larger than or equal to D1 and X is larger than or equal to X1, the transaction flow and the package flow are not converted;
when D is not less than D1 and X is not less than<X1, judging whether the number T of the communication traffic is 0, if not, transferring from the communication traffic
Figure FDA0003093838650000033
The communication flow of the quantity reaches the package flow, and if T is 0, the communication flow is transferred from the transaction flow
Figure FDA0003093838650000034
Volume transaction traffic to the package traffic.
8. The method of claim 1, further comprising the steps of:
and setting payment function attributes for the various flow resources to provide a mixed payment mode of flow, cash and points.
9. An apparatus for processing traffic resources, comprising:
an establishing unit, configured to establish a traffic resource pool including multiple types of traffic resources, where the multiple types of traffic resources include: package resources, communication traffic, and transaction traffic;
the checking unit is used for dynamically converting various types of traffic resources in the traffic resource pool so as to balance the capacities of the various types of traffic resources;
The strategy unit is used for setting the use priority and the transfer strategy for various flow resources;
the setting unit is used for setting a preset port for the flow resource pool and providing various flow resource access services to the outside through the preset port;
and the flow resources except the package resources comprise the communication flow, and the package resources and the communication flow can be used for external transaction operation after being converted into the transaction flow.
10. The apparatus of claim 9, wherein the establishing unit comprises:
the acquisition module is used for acquiring various original flow resources;
the classification module is used for classifying and/or combining the acquired various original flow resources to generate the various flow resources;
and the generating module is used for generating the flow resource pool based on the plurality of types of flow resources.
11. The apparatus of claim 9, wherein the priority of use of the multiple types of traffic resources comprises:
the priority of use of the package resource is higher than the priority of use of the communication traffic;
the usage priority of the communication traffic is higher than the usage priority of the transaction traffic.
12. The apparatus of claim 11, wherein the wipe strategy comprises:
when an internet traffic request is received, using various types of traffic resources according to the use priority, and updating a traffic book, wherein when the transaction traffic is used, the transaction traffic is converted into the communication traffic and then used;
when a flow transaction request is received, using the transaction flow and updating a flow account book;
and when receiving the operation request, performing corresponding flow operation according to the operation request.
13. The apparatus according to any one of claims 9-12, wherein the setting unit is further configured to:
setting a first port and a second port for the flow resource pool;
providing a service for traffic consumption generated by surfing the internet through the first port;
and providing services for flow expenditure and diversion caused by flow transaction through the second port.
14. The apparatus of claim 13, further comprising:
the distribution unit is used for distributing a reserved value corresponding to the applied flow value to the communication flow when receiving the application for the use of the communication flow from the first port and/or the second port;
A calculating unit, configured to subtract the reserved value from the initial value of the communication traffic to obtain a balance of the communication traffic,
calculating the sum of the reserved value and the balance;
a judging unit configured to judge whether the calculated sum is equal to the initial value;
and the abandoning unit is used for indicating the first port and the second port to simultaneously apply for using the communication traffic to cause application conflict when the judgment results are not equal, and abandoning the allocation made for the communication traffic.
15. The apparatus of claim 9, wherein the setting unit is further configured to:
and setting payment function attributes for the various flow resources to provide a mixed payment mode of flow, cash and points.
CN201611268267.4A 2016-12-31 2016-12-31 Method and device for processing traffic resources Active CN108270582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611268267.4A CN108270582B (en) 2016-12-31 2016-12-31 Method and device for processing traffic resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611268267.4A CN108270582B (en) 2016-12-31 2016-12-31 Method and device for processing traffic resources

Publications (2)

Publication Number Publication Date
CN108270582A CN108270582A (en) 2018-07-10
CN108270582B true CN108270582B (en) 2021-09-28

Family

ID=62771210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611268267.4A Active CN108270582B (en) 2016-12-31 2016-12-31 Method and device for processing traffic resources

Country Status (1)

Country Link
CN (1) CN108270582B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148055A (en) * 2019-12-30 2020-05-12 珠海市小源科技有限公司 Method and device for processing traffic red packet and storage medium
CN113316108A (en) * 2021-05-21 2021-08-27 苏州优行网络技术有限公司 Method for processing global communication flow division distribution
CN117641273A (en) * 2022-06-15 2024-03-01 金钱猫科技股份有限公司 Traffic sharing method, system and storage device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9215239B1 (en) * 2012-09-28 2015-12-15 Palo Alto Networks, Inc. Malware detection based on traffic analysis
CN104796868A (en) * 2014-01-16 2015-07-22 中兴通讯股份有限公司 Service package use notifying and sending methods and devices, and server
CN105101270B (en) * 2014-05-12 2019-02-01 宇龙计算机通信科技(深圳)有限公司 Flow management device and flow managing method for terminal
CN106162576B (en) * 2015-03-30 2020-08-04 腾讯科技(深圳)有限公司 Mobile terminal network flow display method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"中国移动的流量优先级顺序";百度知道;《百度知道,https://zhidao.baidu.com/question/1863953701044441427.html》;20160730;第1页 *
"手机营业厅流量共享怎么查剩余流量";困了就睡1212;《百度文库https://jingyan.baidu.com/article/3c343ff7fe77970d36796310.html》;20160721;第7页-第12页 *
"浙江移动分享流量红包给小伙伴们";霜糖落;《百度经验》;20150511;第1-12页 *

Also Published As

Publication number Publication date
CN108270582A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
CN108764868B (en) Block chain node proxy reconciliation method and block reconciliation proxy node
KR101826969B1 (en) Burst mode control
CN106209953B (en) Order information processing method, device and system
CN107527222B (en) Information processing method, device and system
US20140379564A1 (en) Cloud service integration pay trading system
CN108270582B (en) Method and device for processing traffic resources
Das et al. A QoS and profit aware cloud confederation model for IaaS service providers
CN110135922A (en) A kind of method and apparatus of business processing
CN108881043A (en) Distribution method, device, equipment and the storage medium of portfolio in shared set meal
CN110493754A (en) A kind of SIM card resource allocation methods, system, terminal device and storage medium
US20200014632A1 (en) Resource path monitoring
CN106408096A (en) Data processing method in online ticketing system and online ticketing system
CN105160532A (en) Palm vein authentication based payment management method, apparatus and system
CN113935507A (en) Foreign currency cash exchange reservation method and device based on block chain
CN109389396A (en) Transportation card account automatic charging method, device, equipment and computer storage medium
CN111177274A (en) Article leasing method and device based on block chain, server and storage medium
KR101259345B1 (en) System and method for managing a donation of communication service rights
CN112633954A (en) Rights and interests processing method and device based on block chain
CN111862478A (en) Vehicle operation method and device
CN111861611B (en) Resource processing method and device based on block chain, electronic equipment and storage medium
CN112270466A (en) Operation method and device of vehicle charging device
CN110599146B (en) Data processing method, device, terminal, node equipment and storage medium
CN110795237B (en) Resource processing method, device, electronic equipment and medium
CN112036850A (en) Digital asset data access method and device and digital asset transaction system
CN110008441A (en) Data interactive 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