CN108270582A - The treating method and apparatus of floating resources - Google Patents
The treating method and apparatus of floating resources Download PDFInfo
- Publication number
- CN108270582A CN108270582A CN201611268267.4A CN201611268267A CN108270582A CN 108270582 A CN108270582 A CN 108270582A CN 201611268267 A CN201611268267 A CN 201611268267A CN 108270582 A CN108270582 A CN 108270582A
- Authority
- CN
- China
- Prior art keywords
- flow
- floating resources
- communication flows
- port
- floating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1432—Metric aspects
- H04L12/1435—Metric aspects volume-based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
Abstract
The invention discloses a kind for the treatment of method and apparatus of floating resources, wherein, this method includes the following steps:Establish the floating resources pond for including a plurality of types of floating resources;All kinds of floating resources are set using with priority and transfers strategy;Default port is set, and externally provides all kinds of floating resources access services by default port for floating resources pond.The embodiment of the present invention is by establishing floating resources pond, all kinds of floating resources are set using with priority and transfers strategy, all kinds of floating resources access services are externally provided by default port, the floating resources of dispersion can be focused on, meet many-sided consumption demand to floating resources simultaneously, not only shared resource but also different port using when be independent of each other, can efficiently utilize flow assets.
Description
Technical field
The present invention relates to information technology field more particularly to a kind for the treatment of method and apparatus of floating resources.
Background technology
With the fast development of information technology, floating resources have become a kind of very important resource of people's life.Mesh
Preceding floating resources are mainly managed and are used by the way of free resource.The floating resources source of existing system is different, point
It dissipates and is stored in multiple places, occupation mode is different, and management difficulty is big.Floating resources are difficult to allot, it is impossible to be multiple uses
Side is shared to be used, and service efficiency is low, and Quality of Experience is poor.As existing business support system is mainly come with flow free resource
Floating resources are stored, which only uses preferably for flow package charging, but for needing to carry out flow assignment (such as flow simultaneously
Red packet represents business) and the charging of flow tariff package using when be just difficult to shared processing.Flow circulation is few, external exchange
Difficulty, open ability are insufficient.Current business support system does not have dedicated transaction flow resource location mode, in processing flow
During transaction, generally use locks and unlocking manner handles flow resource conflict problem, inefficient.
It is above-mentioned it is found that existing flow processing mode is disperseed there is floating resources, floating resources to be difficult to shared and flow
The deficiencies of negotiation is difficult.
Invention content
In view of above-described one or more problem, an embodiment of the present invention provides a kind of processing methods of floating resources
And device.
In a first aspect, providing a kind of processing method of floating resources, include the following steps:
Establish the floating resources pond for including a plurality of types of floating resources;
All kinds of floating resources are set using with priority and transfers strategy;
Default port is set, and externally provides all kinds of floating resources access services by default port for floating resources pond.
Second aspect provides a kind of processing unit of floating resources, including:
Unit is established, for establishing the floating resources pond for including a plurality of types of floating resources;
Policy unit, for all kinds of floating resources to be set using with priority and transfers strategy;
Setting unit for setting default port for floating resources pond, and externally provides all kinds of flows by default port
Resource access service.
The embodiment of the present invention is set using all kinds of floating resources priority and transfers plan by establishing floating resources pond
Slightly, all kinds of floating resources access services are externally provided by default port, the floating resources of dispersion can be focused on, simultaneously
Meet many-sided consumption demand to floating resources, not only shared resource but also different port using when be independent of each other, can be efficient
Utilize flow assets.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention
Attached drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the schematic flow chart of the processing method of the floating resources of one embodiment of the invention.
Fig. 2 is that the floating resources pond of one embodiment of the invention externally provides the schematic diagram of floating resources.
Fig. 3 is that the floating resources pond of another embodiment of the present invention externally provides the schematic diagram of floating resources.
Fig. 4 externally provides the schematic diagram of floating resources when being the floating resources pond sharing conflict of one embodiment of the invention.
Fig. 5 is the mixed payment process flow schematic diagram of one embodiment of the invention.
Fig. 6 is the structure diagram of the processing unit of the floating resources of one embodiment of the invention.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is the schematic flow chart of the processing method of the floating resources of one embodiment of the invention.
As shown in Figure 1, this method includes the following steps:S110 establishes the flow money for including a plurality of types of floating resources
Source pond;S120 is set using all kinds of floating resources priority and transfers strategy;S130, for the default end of floating resources pond setting
Mouthful, and externally provide all kinds of floating resources access services by default port.
In the present embodiment, by by client operator various floating resources (such as set meal resource, communication flows, friendship
Easy flow etc.) by classification, combination, virtual floating resources pond can be formed.In addition, the conversion defined between internal resource is closed
It is, transfers strategy and using sequence, unified floating resources access service can be externally provided.
In the present embodiment, the flow network that can be client consume when using the handset netting service of telecom operators
The communication resource.Communication flows can be the floating resources that client directly buys.The communication flows is mainly used for carrying out online consumption,
Unrelated with the set meal product that client orders, changing into transaction flow just can externally be traded operation.Transaction flow can be external
The flow that portion is traded.Transaction flow is mainly used for red packet granting, represents, pays.When transaction flow carries out online consumption
It must be converted into communication flows.Set meal resource can be free included in basic set meal product that client orders to operator
Floating resources.Set meal resource is mainly used for communication consumption.Floating resources pond can be that client is various in business system
Flow assets effectively organize, converge the floating resources set formed, and providing centralized and unified access to user consumes
Mode, to improve resource utilization and promote client perception.
In some embodiments, step S110 can include following sub-step:Obtain a variety of former floating resources;To acquired
A variety of former floating resources classified and/or combined, generate a plurality of types of floating resources;It is provided based on a plurality of types of flows
Source, generation floating resources pond.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, expression may have three kinds of passes
System, for example, A and/or B, can represent:Individualism A exists simultaneously A and B, these three situations of individualism B.
In some embodiments, step S130 may comprise steps of:For floating resources pond, first port and the are set
Two-port netwerk;The service consumed for produced flow of surfing the Internet is provided by first port;It is provided by second port for flow
Flow caused by transaction pays the service with being transferred to.
The embodiment of the present invention is set using all kinds of floating resources priority and transfers plan by establishing floating resources pond
Slightly, all kinds of floating resources access services are externally provided by default port, the floating resources of dispersion can be focused on, simultaneously
Meet many-sided consumption demand to floating resources, not only shared resource but also different port using when be independent of each other, can be efficient
Utilize flow assets.
Fig. 2 is that the floating resources pond of one embodiment of the invention externally provides the schematic diagram of floating resources.
As shown in Fig. 2, floating resources pond 10 includes a plurality of types of floating resources, it is set meal resource, communication flows respectively
With transaction flow etc..Floating resources pond 10 is provided with B mouths 102 (first port) and A mouths 101 (second port).
Wherein, set meal resource, communication flows and transaction flow can be transferred to or produce.Client is using communication service
When, (port can be also referred to as, i.e., from two entrances:102) A mouths 101 and B mouthfuls using the floating resources in floating resources pond and cause stream
Amount changes.During client's online consumption, B mouthfuls of progress charging wholesale prices can be passed through.At this point, set meal resource is preferentially used, communication stream
Amount is used by suboptimum.When client participates in business, A mouthfuls of progress flow transaction can be passed through.Flow transaction can be filled with or pay.
In the present embodiment, client using floating resources pond and can cause stream when using communication service from two entrances
Amount changes.It is consumed (referred to as B mouthfuls) first, generating flow using mobile Internet oneself online.Cause second is that participating in flow transaction
Flow expenditure with being transferred to (referred to as A mouthful), the operation service provided by using floating resources pond simultaneously to meet in terms of two
Consumption demand to floating resources, not only shared resource but also different directions using when be independent of each other, efficiently utilize the flow of oneself
Assets.
Fig. 3 is that the floating resources pond of another embodiment of the present invention externally provides the schematic diagram of floating resources.
As shown in figure 3, floating resources pond 10 includes the floating resources of 3 types, be respectively set meal resource, communication flows and
Transaction flow.Floating resources pond 10 is provided with B mouthfuls (first ports) and A mouthfuls (second ports).This implementation can pass through B mouthfuls of progress
Charging wholesale price passes through A mouthfuls of progress flow transaction.
Wherein, set meal resource can be generated by product subscription.Set meal resource for example can be:It wraps, is optional in the basis of flow
Packet, the packet that refuels, season packet, year packet etc..Communication flows can be generated by supplementing with money.Communication flows for example can be:It is general to wrap, is special
Packet, orientation packet etc..Transaction flow is such as can be flow red packet.
It has polymerize all kinds of floating resources in floating resources pond as a result, provides unified access service operation to external, outside
Portion does not need to specifically know the specifically used details of all kinds of resources in floating resources pond, it is only necessary to resource request is proposed, by resource
Pond distributes all kinds of floating resources and meets resources requirement.
In the present embodiment, client is obtained in operator by various sources (such as order set meal, participate in flow transaction)
The various flow rate resource taken is organized into virtual floating resources pond with tree-like manner, and resource pool is entered by unified both direction
(A mouthfuls, B mouthfuls) of mouth externally to provide the accessing operations of floating resources.
In some embodiments, floating resources pond 10 can externally provide unified traffic service operation, to the clothes of flow
Business mainly has with operation:Operation to A mouthfuls of progress, mainly inquires, reserves, reduces, discharges, returns, converts including flow.It is right
The operation of B mouthfuls of progress, mainly inquires, reserves, reduces, discharges, returns including flow.It is main to wrap to the operation that inside carries out
Flow is included to merge, split, convert, give, carry down, reset.
In some embodiments, the use priority of a plurality of types of floating resources includes:The use of set meal resource is preferential
Grade is higher than the use priority of communication flows;The use priority of communication flows is higher than the use priority of transaction flow.
In other optional embodiments, the priority of floating resources can be preset, and the use of floating resources is preferential
Grade can be configured as follows.Mode one for the use priority of all kinds of resources, can set set meal resource>It is logical
Letter flow amount>Transaction flow.Mode two for the use priority of similar resource, can set orientation packet>Spectacle case>General packet.
Mode three, priority can be self-defined or regular (such as according to certain:It first fails and first uses).
In the present embodiment, when client is by B mouthfuls of online consumption, flow is carried out according to specific online consumption data and is reduced,
Preferentially using set meal resource, just using communication flows when set meal resource is used up, communication flows after use, is handed over if client also has
Transaction flow is then converted to communication flows and is used (not influence A mouthfuls of using to transaction flow, transaction flow by easy flow
Amount is issued to communication flows by using anticipation, reserved strategy of transferring);Transaction flow must be transferred to communication flows and could be used for
Online consumption (automatic or manual is transferred to).
In some embodiments, following three strategies can be included by transferring strategy:Strategy one, please when receiving surfing flow
When asking, according to use priority using all types of floating resources, and flow account book is updated.Wherein, when using transaction flow,
Transaction flow is first converted into communication flows, then is used.Strategy two, when receiving flow transaction request, uses transaction
Flow, and update flow account book.When receiving operation requests, corresponding discharge operation is carried out according to operation requests for strategy three.
In the present embodiment, following three kinds operations can be included by carrying out corresponding discharge operation according to operation requests:The first
Utilizable flow is inquired in operation:The concrete condition of all kinds of utilizable flow resources in query flows resource pool.Second of operation, leads to
Letter flow amount is supplemented with money:The flow bought or represented is filled into the communication flows in floating resources pond.The third operation, orders stream
Amount:The oiling packet of order, season packet, year packet etc. are increased in set meal resource.
Fig. 4 externally provides the schematic diagram of floating resources when being the floating resources pond sharing conflict of one embodiment of the invention.
As a variant embodiment of embodiment illustrated in fig. 1, can increase on the basis of Fig. 1 embodiments:Client flows
The problem of measuring resource pool sharing conflict processing method.In the present embodiment, it is handled the problem of customer traffic resource pool sharing conflict
Method may include steps of:
When receive from first port and/or second port to the request for utilization of communication flows when, for communication flows point
With reserved value corresponding with applied flow number;The initial value of communication flows is subtracted into reserved value, obtains the remaining of communication flows
Volume;Calculate reserved value and the remaining sum and, and judgement calculated and it is whether equal with initial value;When judging result etc.
When, indicate that current first port and second port apply simultaneously using the communication flows and application caused to conflict, and abandon for
The distribution that the communication flows is done.
In the present embodiment, in shared resource, user can carry out flow transaction while online in floating resources pond,
It therefore can there are the phenomenon that resource-sharing conflict.In traditional solution, resource-sharing conflict in order to prevent is generally taken to money
There is the phenomenon that locking low cost high efficiency and generation deadlock in the mode that source locks, this processing mode.In the present invention, we adopt
It is resource isolation, the mutually reserved mode of conversion, application, accessing operation is carried out to different resources by different entrances
(A mouthfuls of concurrencies are high using frequent.B mouthfuls usually concurrency is low but participant is more), at the same it is pre- by the conversion and application of resource
The mode stayed improves the utilization rate of resource, in the environment of high concurrent, not only avoids the hot spot for locking and generating, but also to client
With the good experience of " What You See Is What You Get ".
With reference to figure 4, Fig. 4 is shown using flow business scenario.The business scenario is:Client's set meal resource is finished, and is needed
Using communication flows, client trading flow is finished, and needs to use communication flows (turning transaction flow).When client surfs the Internet, reduce logical
Letter flow amount and reserved communication flows are transferred in transaction flow, so that client is traded.
For above-mentioned scene, client is carrying out online and red packet operation simultaneously, when being required to using communication flows, uses stream
The mode for measuring resource pool is as follows.
Step 1:The set meal resource of client has used, and when client continues online, needs by B mouthfuls to communication flows
It goes to apply using flow in real time;The transaction flow of client has used simultaneously, when carrying out providing red packet operation, needs to pass through A
Application flow is used to be traded in real time in mouth to communication flows.
Step 2:Customer resources pond receives request of the application using communication flows simultaneously, inquires and calculate communication flows first
Remaining utilizable flow (remaining value=remaining sum value-∑ (reserved value the state of record [reserved be unfinished]), this algorithm does not use
Locking mode is operated to lock remaining sum value, but the cumulative reserved mode for recording and calculating in real time is taken to calculate residual stream
Amount distributes checked result again after flow, and assignment of traffic is successful if without variation, if result changes, abandons this sub-distribution
Retried again until success), if residual flow is enough, (increase for surfing the Internet for B reservation traffics in communication flows
Reserved record), it is used to provide red packet (increasing reserved record) for A reservation traffics.Reserved record includes applying for object (A/B), Shen
Please the attributes such as time, reserved value, actual use value, reservation state, deadline, for calculating the residue of communication flows in real time
Amount.
Embodiment is set forth below and illustrates the realization method for calculating surplus.
1st, the remaining communication flows of A inquiries:Account book ID:111, remaining value:500M;It is initial to be recorded without reserved;It returns at this time
Remaining value is 500M.
2nd, A online consumption application flow 100M increases reserved record:[object:A applies for reservation traffic:100M];It is handing over
When easily successful, (the 500M- summations (reserved value) of remaining flow value are checked in inquiry again:Should be 400M) whether+100M be equal to
500M, if equal to 500M explanations only have A applying for flow, there is no conflicts, merchandise successfully, conversely, explanation has other sides to exist
Apply for flow, there is conflict, need to abandon current results to be retried.
3rd, B provides red packet application flow 200M, and inquiry residual flow is:400M (=500M- summations (A reserved values=
100M)), increase reserved record:[object:B applies for reservation traffic:200M];When merchandising successfully, inquiry verification is remaining again
Flow value (500M- sum (reserved value):Should be 200M) whether+200M is equal to 400M, if equal to 400M explanations only have B
In application flow, there is no conflicts, merchandise successfully, conversely, explanation has other sides applying for flow, there is conflict, need to abandon
Current results are retried.
Step 3:It is transferred in transaction flow for the A flows reserved, carries out red packet operation;Update communication flows remaining sum value simultaneously
(reduce reserved value, while change reserved recording status to complete).
Step 4:It carries out reducing operation at the end of online for the B flows reserved, while updates communication flows remaining sum value (button
Subtract reserved value, while change reserved recording status to complete).
Step 5:If reserved value has not used actually, the part being not used can also be returned to communication flows
In.
Step 6:In addition to application communication flows in real time, communication flows can also be reserved by the way of anticipation:Pass through thing
Part triggers or the mode of timing, automatic or remind the mode confirmed to leading to when the surplus of transaction flow is less than some threshold values
Reserved and conversion flow is gone to merchandise for flow in letter flow amount.
The present embodiment causes flow that can fully share as a result, is independent of each other, effective use, and client perception is good, and (finding is
Gained).
As a variant embodiment of Fig. 1 embodiments, following steps can be increased on the basis of Fig. 1 embodiments:It is right
All kinds of floating resources carry out dynamic translation, with the capacity of balanced all kinds of floating resources.
In the present embodiment, set meal resource, communication flows and transaction flow can carry out dynamic translation.Transaction flow is necessary
Being converted to communication flows can just use, and for set meal resource, communication flows, being only converted into transaction flow can just carry out
Transaction.If all it is changeless between set meal resource, communication flows and transaction flow, until wherein side's underfed
When, flow conversion is just carried out, and flow conversion will appear delay, it is also desirable to certain operating time influences whether user experience.
Therefore should set meal resource, communication flows and transaction flow be reasonably subjected to dynamic translation, can also reduces floating resources to the greatest extent
The situation of pond sharing conflict.
During specific implementation, flow dynamics conversion includes the following steps:
Step 1, the quantity for obtaining the current transaction flow of user, communication flows and set meal resource, respectively D, T, X.
Step 2 sets the lowest threshold of transaction flow as D1, and the lowest threshold of set meal resource is X1.
Step 3 makes flow dynamics conversion according to the relationship of D, T, X and D1, X1:
Work as D<D1, and X >=X1, illustrate that transaction flow is insufficient at this time, if T is not 0, produces from communication flowsTo transaction flow, if T is 0, illustrate then to produce from set meal resource without communication flows at this timeTo transaction flow;
Work as D<D1, and X<X1, illustrate that transaction flow at this time and set meal flow are insufficient, if T is not 0, from communication flows
It producesTo transaction flow, produced from communication flowsTo set meal resource, if T is 0, transaction flow
It is not converted between set meal flow;
As D >=D1, and X >=X1, illustrate that transaction flow at this time and set meal flow are sufficient, transaction flow and set meal flow it
Between not convert;
As D >=D1, and X<X1, illustrate set meal underfed at this time, if T is not 0, produced from communication flowsTo set meal flow, if T is 0, illustrate then to produce from transaction flow without communication flows at this timeTo set meal flow.
By above-mentioned dynamic translation process, it is ensured that be in a kind of equilibrium state between transaction flow and set meal flow.
Under normal circumstances, primary calculate and dynamic translation process is carried out within one day.
As a variant embodiment of Fig. 1 embodiments, following steps can be increased on the basis of Fig. 1 embodiments:For
All kinds of floating resources set payment function attribute, to provide the mixed payment pattern of flow, cash, integration.
Fig. 5 is the mixed payment process flow schematic diagram of one embodiment of the invention.
In the present embodiment, BOSS systems can be provided floating resources as a kind of monetization resource with cash advance deposit
Source, integration resource equally externally provide payment function, can also provide the mixed payment pattern of flow, cash, integration.Mixing branch
The idiographic flow paid is as follows:
S501, user submit order after commodity are selected in crm system store, initiate purchase request.
S502, crm system store enter payment link, and user is prompted to select the means of payment, and user selects mobile payment account
Family carries out mixed payment.
S503, crm system store carry out mixed payment login authentication.
S504, user input payment account, password, identifying code, are logged in.
S505, crm system store authentication processing (disbursement account confirmation).
Authentication result is returned to user by S506, crm system store.
S507 shows payment homepage if certification success, user is prompted to carry out other selections if failure.
Disbursement account inquiry into balance request is initiated in S508, crm system store to BOSS systems.
The disbursement account that S509, BOSS system are provided according to crm system store inquires available cash, integration, flow account
This remaining sum.
S510, BOSS system to crm system store return query processing as a result, including:Account information, closing balance, product
Divide remaining sum, flow remaining sum.
Homepage is refreshed in S511, crm system store, shows available cash, integration, flow etc. under disbursement account.
S512, user initiate Payment Proportion setting request.
The Payment Proportion of cash, integration, flow is configured by the setting of user for S513, crm system store.
S514, crm system carry out pay invoice processing.
S515, crm system initiate to pay request of withholing to BOSS systems.
S516, BOSS system carry out the disbursement account of user cash, integration, flow and withhold.
S517, BOSS system carry out the disbursement account of trade company the gathering of cash.
S518, BOSS system feedback withhold result to crm system.
S519, crm system carry out pay invoice completion processing.
S520, crm system store, which confirms, to be paid successfully.
S521, crm system store send payment short message to user.
S522, payment are completed.
The common several application scenarios of the present invention are set forth below out:
First scene consumes scene for flow.When client carries out upper online using mobile phone, the mode in floating resources pond is used
It is as follows.The floating resources in the set meal ordered are used first, when set meal resource is finished;Then using communication flows, in communication stream
When amount is finished;Finally use transaction flow (being converted into communication flows use).
Second scene is flow transaction scene.When client supplements with money in business hall or net Room progress flow, provided using flow
The mode in source pond is as follows.Flow is filled with communication flows, for surfing the Internet from consumption.Flow is filled with transaction flow, for follow-up
Carry out flow transaction (such as red packet is represented, paid).
Third scene is flow transaction scene.Client uses the mode in floating resources pond when carrying out red packet business operation
It is as follows.The utilizable flow in transaction flow is inquired, and is reserved.Reserved flow is split, is packaged into red packet progress
It provides.Situation is got according to red packet, operation is reduced or discharged to reserved transaction flow.
Fig. 6 is the structure diagram of the processing unit of the floating resources of one embodiment of the invention.
As shown in fig. 6, the processing unit 60 of floating resources can include:Establish unit 601, policy unit 602 and setting
Unit 603.Wherein, unit 601 is established to can be used for establishing the floating resources pond for including a plurality of types of floating resources;It is tactful single
Member 602 can be used for being set using all kinds of floating resources priority and transfer strategy;Setting unit 603 can be used for for flow
The default port of resource pool setting, and externally provide all kinds of floating resources access services by default port.
It should be noted that the realization method of functional unit shown in the present embodiment can be hardware, software, firmware or
Person's combination thereof.When realizing in hardware, electronic circuit, application-specific integrated circuit (ASIC), appropriate may, for example, be
Firmware, plug-in unit, function card etc..When being realized with software mode, element of the invention is used to perform required task
Program or code segment.Either code segment can be stored in machine readable media or the number by being carried in carrier wave program
It is believed that number being sent in transmission medium or communication links." machine readable media " can include being capable of storage or transmission information
Any medium.The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM
(EROM), floppy disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can via such as because
The computer network of special net, Intranet etc. is downloaded.
In some embodiments, establishing unit 601 can include:Acquisition module, sort module and generation module.Wherein,
Acquisition module can be used for obtaining a variety of former floating resources;Sort module can be used for acquired a variety of former floating resources into
Row classification and/or combination, generate a plurality of types of floating resources;Generation module can be based on a plurality of types of floating resources, raw
Into floating resources pond.
In some embodiments, a plurality of types of floating resources include:Set meal resource, communication flows and transaction flow.
In some embodiments, the use priority of a plurality of types of floating resources includes:The use of set meal resource is preferential
Grade is higher than the use priority of communication flows;The use priority of communication flows is higher than the use priority of transaction flow.
In some embodiments, transferring strategy can include:
In some embodiments, following three strategies can be included by transferring strategy:
Strategy one, when receiving surfing flow request, according to use priority using all types of floating resources, and more
New flow account book.Wherein, when using transaction flow, transaction flow is first converted into communication flows, then used.
Strategy two, when receiving flow transaction request, using transaction flow, and updates flow account book.
When receiving operation requests, corresponding discharge operation is carried out according to operation requests for strategy three.
In some embodiments, setting unit 603 is additionally operable to:For floating resources pond, first port and second port are set;
The service consumed for produced flow of surfing the Internet is provided by first port;It is provided by second port and caused for flow transaction
Flow expenditure and the service that is transferred to.
As a variant embodiment of Fig. 6 embodiments, can increase on the basis of Fig. 6 embodiments:It surveys unit, calculate
Unit and allocation unit.Wherein, detection unit can be used for detecting the service condition of all kinds of floating resources;Computing unit can be used
In when detect certain class floating resources is applied for by first port and second port simultaneously when, add up certain class floating resources first
Reservation traffic resource and the second reservation traffic resource, and calculate the residual flow resource of certain class floating resources;Allocation unit can be with
For when the residual flow resource calculated meets the first reservation traffic resource and the second reservation traffic resource, first to be reserved
Floating resources distribute to first port, by the second reservation traffic resource allocation to second port.
As another variant embodiment of Fig. 6 embodiments, verification unit can be increased on the basis of above-described embodiment.
Wherein, verification unit can be used for after for first port and second port distribution, checking allocation result.
As another variant embodiment of Fig. 6 embodiments, balanced unit can be increased on the basis of above-described embodiment.
Wherein, balanced unit can be used for carrying out dynamic translation to all kinds of floating resources, with the capacity of balanced all kinds of floating resources.
In some embodiments, setting unit 603 can be also used for setting payment function attribute for all kinds of floating resources, with
The mixed payment pattern of flow, cash, integration is provided.
It should be noted that the device of the various embodiments described above can as the executive agent in the method for the various embodiments described above,
It can realize the corresponding flow in each method.Content in above-mentioned each embodiment can be referred to and be quoted mutually, for letter
Clean, content repeats no more in this respect.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation
It may be combined or can be integrated into another system or some features can be ignored or does not perform.In addition, shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection or electricity, the connection of mechanical or other forms.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (19)
1. a kind of processing method of floating resources, which is characterized in that include the following steps:
Establish the floating resources pond for including a plurality of types of floating resources;
All kinds of floating resources are set using with priority and transfers strategy;
Default port is set for the floating resources pond, and passes through the default port all kinds of floating resources is externally provided and deposit
Take service.
2. according to the method described in claim 1, it is characterized in that, described establish the flow for including a plurality of types of floating resources
Resource pool includes the following steps:
Obtain a variety of former floating resources;
Acquired a variety of former floating resources are classified and/or combined, generate a plurality of types of floating resources;
Based on a plurality of types of floating resources, the floating resources pond is generated.
3. according to the method described in claim 2, it is characterized in that, a plurality of types of floating resources include:Set meal resource,
Communication flows and transaction flow.
4. the according to the method described in claim 3, it is characterized in that, use priority packet of a plurality of types of floating resources
It includes:
The use priority of the set meal resource is higher than the use priority of the communication flows;
The use priority of the communication flows is higher than the use priority of the transaction flow.
5. according to the method described in claim 4, it is characterized in that, the strategy that transfers includes:
When receiving surfing flow request, according to the use priority using all types of floating resources, and flow is updated
Account book, wherein, when using the transaction flow, the transaction flow is first converted into the communication flows, then used;
When receiving flow transaction request, using the transaction flow, and flow account book is updated;
When receiving operation requests, corresponding discharge operation is carried out according to operation requests.
6. method according to any one of claims 1-5, which is characterized in that for the default end of floating resources pond setting
Mouthful, and all kinds of floating resources access services are externally provided by the default port, include the following steps:
For the floating resources pond, first port and second port are set;
The service consumed for produced flow of surfing the Internet is provided by the first port;
Flow expenditure caused by merchandising for flow and the service being transferred to are provided by the second port.
7. it according to the method described in claim 6, it is characterized in that, further includes:
When receive from the first port and/or second port to the request for utilization of the communication flows when, be described logical
Believe assignment of traffic reserved value corresponding with applied flow number;
The initial value of the communication flows is subtracted into the reserved value, obtains the remaining sum of the communication flows;
Calculate the reserved value and the remaining sum and, and judgement calculated and it is whether equal with the initial value;
When judging result does not wait, indicate presently described first port and second port apply simultaneously using the communication flows and
Application is caused to conflict, and abandons the distribution done by the communication flows.
It is 8. according to the method described in claim 3, it is characterized in that, further comprising the steps of:
Dynamic translation is carried out to a plurality of types of floating resources in the floating resources pond, with balanced a plurality of types of streams
Measure the capacity of resource.
9. according to the method described in claim 8, it is characterized in that, a plurality of types of flows in the floating resources pond are provided
Source carries out dynamic translation and includes the following steps:
Obtain the quantity X of the quantity D of the transaction flow, the quantity T of the communication flows and the set meal resource;
The lowest threshold for setting the transaction flow is D1, and the lowest threshold of the set meal resource is X1;
Work as D<D1, and during X >=X1, whether the quantity T for judging the communication flows is 0, if T is not 0, from the communication stream
It is produced in amountThe communication flows of quantity if T is 0, is produced to the transaction flow from the set meal resourceThe set meal resource of quantity is to the transaction flow;
Work as D<D1, and X<X1When, whether the quantity T for judging the communication flows is 0, if T is not 0, from communication flows transfer
Go outThe communication flows of quantity is produced to the transaction flow from the communication flowsQuantity is led to
Letter flow amount if T is 0, is not converted to the set meal resource between the transaction flow and the set meal flow;
As D >=D1, and X >=X1When, it is not converted between the transaction flow and the set meal flow;
As D >=D1, and X<X1When, whether the quantity T for judging the communication flows is 0, if T is not 0, from the communication stream
It is produced in amountThe communication flows of quantity, if T is 0, is produced to the set meal flow from the transaction flowThe transaction flow of quantity is to the set meal flow.
It is 10. according to the method described in claim 1, it is characterized in that, further comprising the steps of:
Payment function attribute is set for all kinds of floating resources, to provide the mixed payment pattern of flow, cash, integration.
11. a kind of processing unit of floating resources, which is characterized in that including:
Unit is established, for establishing the floating resources pond for including a plurality of types of floating resources;
Policy unit, for all kinds of floating resources to be set using with priority and transfers strategy;
Setting unit for setting default port for the floating resources pond, and passes through described in the external offer in the default port
All kinds of floating resources access services.
12. according to the devices described in claim 11, which is characterized in that the unit of establishing includes:
Acquisition module, for obtaining a variety of former floating resources;
Sort module, for acquired a variety of former floating resources to be classified and/or combined, generation is described a plurality of types of
Floating resources;
Generation module based on a plurality of types of floating resources, generates the floating resources pond.
13. device according to claim 12, which is characterized in that a plurality of types of floating resources include:Set meal provides
Source, communication flows and transaction flow.
14. device according to claim 13, which is characterized in that the use priority of a plurality of types of floating resources
Including:
The use priority of the set meal resource is higher than the use priority of the communication flows;
The use priority of the communication flows is higher than the use priority of the transaction flow.
15. device according to claim 14, which is characterized in that the strategy that transfers includes:
When receiving surfing flow request, according to the use priority using all types of floating resources, and flow is updated
Account book, wherein, when using the transaction flow, the transaction flow is first converted into the communication flows, then used;
When receiving flow transaction request, using the transaction flow, and flow account book is updated;
When receiving operation requests, corresponding discharge operation is carried out according to operation requests.
16. according to the device described in any one of claim 11-15, which is characterized in that the setting unit is additionally operable to:
For the floating resources pond, first port and second port are set;
The service consumed for produced flow of surfing the Internet is provided by the first port;
Flow expenditure caused by merchandising for flow and the service being transferred to are provided by the second port.
17. device according to claim 16, which is characterized in that further include:
Allocation unit, for the use Shen to the communication flows from the first port and/or second port ought to be received
Please when, by communication flows distribution with applying for the corresponding reserved value of flow number;
Computing unit for the initial value of the communication flows to be subtracted the reserved value, obtains the remaining sum of the communication flows,
Calculate the reserved value and the remaining sum and;
Whether judging unit is being calculated and equal with the initial value for judging;
Unit is abandoned, for when judging result does not wait, indicating that presently described first port and second port apply using simultaneously
The communication flows and application is caused to conflict, and abandon the distribution done by the communication flows.
18. device according to claim 13, which is characterized in that further include:
Unit is checked, for carrying out dynamic translation to a plurality of types of floating resources in the floating resources pond, with balanced institute
State the capacity of a plurality of types of floating resources.
19. device according to claim 18, which is characterized in that the setting unit is additionally operable to:
Payment function attribute is set for all kinds of floating resources, to provide the mixed payment pattern of flow, cash, integration.
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 true CN108270582A (en) | 2018-07-10 |
CN108270582B 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) |
Cited By (3)
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 |
CN115086898A (en) * | 2022-06-15 | 2022-09-20 | 金钱猫科技股份有限公司 | Traffic sharing method, system and storage device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796868A (en) * | 2014-01-16 | 2015-07-22 | 中兴通讯股份有限公司 | Service package use notifying and sending methods and devices, and server |
CN105101270A (en) * | 2014-05-12 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Traffic managing device and traffic managing method for terminal |
US9215239B1 (en) * | 2012-09-28 | 2015-12-15 | Palo Alto Networks, Inc. | Malware detection based on traffic analysis |
CN106162576A (en) * | 2015-03-30 | 2016-11-23 | 腾讯科技(深圳)有限公司 | A kind of mobile terminal network flow indication method and device |
-
2016
- 2016-12-31 CN CN201611268267.4A patent/CN108270582B/en active Active
Patent Citations (4)
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 |
CN105101270A (en) * | 2014-05-12 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Traffic managing device and traffic managing method for terminal |
CN106162576A (en) * | 2015-03-30 | 2016-11-23 | 腾讯科技(深圳)有限公司 | A kind of mobile terminal network flow indication method and device |
Non-Patent Citations (3)
Title |
---|
困了就睡1212: ""手机营业厅流量共享怎么查剩余流量"", 《百度文库HTTPS://JINGYAN.BAIDU.COM/ARTICLE/3C343FF7FE77970D36796310.HTML》 * |
百度知道: ""中国移动的流量优先级顺序"", 《百度知道,HTTPS://ZHIDAO.BAIDU.COM/QUESTION/1863953701044441427.HTML》 * |
霜糖落: ""浙江移动分享流量红包给小伙伴们"", 《百度经验》 * |
Cited By (4)
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 |
CN115086898A (en) * | 2022-06-15 | 2022-09-20 | 金钱猫科技股份有限公司 | Traffic sharing method, system and storage device |
CN115086898B (en) * | 2022-06-15 | 2023-12-29 | 金钱猫科技股份有限公司 | Traffic sharing method, system and storage device |
Also Published As
Publication number | Publication date |
---|---|
CN108270582B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE49334E1 (en) | Multifactorial optimization system and method | |
Zhang et al. | Auction-based resource allocation in cognitive radio systems | |
CN102024234B (en) | Electronic transaction service platform | |
CN108734574A (en) | A kind of across the chain operating method and block chain management system of block chain | |
Yoon et al. | Demand and capacity sharing decisions and protocols in a collaborative network of enterprises | |
CN109522362A (en) | Incomplete markets synchronous method, system and equipment based on block chain data | |
CN109547530A (en) | Region common recognition method, system and equipment | |
CN108764868A (en) | Block chain node-agent account checking method and block reconciliation agent node | |
CN110009326A (en) | Accounting system, transaction and its processing method, terminal, system, device and medium | |
JP2004502243A5 (en) | ||
CN109005220B (en) | Service implementation method of Internet of things terminal and Internet of things access gateway | |
CN104573835A (en) | Online knowledge transaction reservation system and method | |
CN107480999A (en) | A kind of high in the clouds implementation method of polymorphic distribution chain | |
CN108230011A (en) | Integration processing method and device based on block chain technology | |
CN109426955A (en) | Target object providing method, apparatus and system | |
CN108270582A (en) | The treating method and apparatus of floating resources | |
CN108320173A (en) | Integration processing method and device based on block chain technology | |
CN110288341A (en) | Capital chain information tracing method, system, server and readable storage medium storing program for executing | |
CN111177274B (en) | Block chain-based item leasing method, device, server and storage medium | |
CN113256302A (en) | Resource information interaction method based on cloud manufacturing platform | |
CN110490734A (en) | Trading group building, broadcasting method and system, equipment and storage medium | |
KR101027105B1 (en) | System for intermediating outsourcing idle facility of industry and method thereof | |
CN110503470A (en) | A kind of method for running and system of product sales promotion | |
CN110060163A (en) | Method of commerce, system, medium and the device of podcast chain based on ether mill | |
CN113034192B (en) | Block chain-based point transaction 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 |