CN109150764B - Traffic management method, device, equipment and storage medium - Google Patents

Traffic management method, device, equipment and storage medium Download PDF

Info

Publication number
CN109150764B
CN109150764B CN201710463301.1A CN201710463301A CN109150764B CN 109150764 B CN109150764 B CN 109150764B CN 201710463301 A CN201710463301 A CN 201710463301A CN 109150764 B CN109150764 B CN 109150764B
Authority
CN
China
Prior art keywords
flow
characteristic information
clip
user characteristic
packets
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
CN201710463301.1A
Other languages
Chinese (zh)
Other versions
CN109150764A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710463301.1A priority Critical patent/CN109150764B/en
Publication of CN109150764A publication Critical patent/CN109150764A/en
Application granted granted Critical
Publication of CN109150764B publication Critical patent/CN109150764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/808User-type aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/822Collecting or measuring resource availability data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/826Involving periods of time
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a flow management method, a device, equipment and a storage medium, wherein the flow management method comprises the following steps: receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not; when the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information; and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip. The invention can effectively and accurately control the traffic sheet service, greatly relieve the system pressure, and simultaneously issue the traffic sheet through the traffic clip, and can issue the traffic sheet in real time, thereby preventing traffic charging errors.

Description

Traffic management method, device, equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for traffic management.
Background
With the rapid development of the internet, market competition is increasingly strong, and the conventional flow management products cannot meet the demands of operators. The flow management product mainly obtains the available flow of the user when receiving the user internet surfing request, and transmits the flow to the core network element according to the form of the flow sheet to realize the user flow internet surfing.
The existing traffic management method applies for a traffic slice with the size of 2-4M each time, sends the traffic slice to PCRF (Policy and Charging Rules Function, policy and charging rules function unit) of the core network, and then transmits the traffic slice to PGW (Private Data Network GateWay, packet data network gateway) through the PCRF to realize traffic deduction. However, in the existing traffic management method, the core network cannot make complex service judgment logic, so that the requirement on the size of the traffic piece is met, the traffic piece is too large to control traffic of the traffic piece accurately, and when the traffic piece is too small, the PCRF frequently requests to the traffic management service platform to apply for the traffic piece, so that the traffic piece cannot be issued at the time.
Therefore, the existing traffic management method has the problems that traffic control is not accurate enough and traffic slices cannot be issued at the same time.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a flow management method, a device, equipment and a storage medium, and aims to solve the technical problems that the existing flow management method is not accurate enough in flow sheet service control and cannot be issued at the same time.
In order to achieve the above object, the present invention provides a flow management method, including the steps of:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not;
when the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
Optionally, the step of generating a flow clip according to the user characteristic information and the all flow packets includes:
comparing the effective use time length of each flow packet in all the flow packets to obtain an effective time length, and calculating the total available flow in all the flow packets;
and generating a flow cartridge according to the user characteristic information, the validity period and the available total flow.
Optionally, after the step of determining whether the flow clip associated with the user feature information exists in the memory, the flow management method further includes:
when a flow cartridge clip associated with the user characteristic information exists in a memory, acquiring a flow use area in the flow cartridge clip;
Judging whether the user equipment position in the user characteristic information is in the flow using area or not;
and when the user equipment position in the user characteristic information is in the flow using area, deducting a flow sheet from the flow cartridge.
Optionally, before the step of deducting the flow sheet from the flow clip, the flow management method includes:
if the user equipment position in the user characteristic information is in the flow using area, judging whether the flow clip is in the effective period or not;
and if the flow cartridge clip is in the effective period, executing the step of deducting the flow sheet from the flow cartridge clip.
Optionally, the traffic management method further includes:
after the flow sheets in the flow cartridge clip are buckled, judging whether available flow packets exist in all the flow packets or not;
and refilling the flow cartridge according to the available flow packets when the available flow packets exist in all the flow packets.
Optionally, the traffic management method further includes:
receiving a priority adjustment request sent by user equipment, and performing priority adjustment on all flow packets according to the priority adjustment request;
And generating a flow cartridge according to all the adjusted flow packets and the user characteristic information.
In addition, to achieve the above object, the present invention also provides a flow management device, including:
the receiving judging module is used for receiving a surfing request sent by user equipment and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not;
the acquisition module is used for acquiring all flow packets associated with the user characteristic information when the flow clip associated with the user characteristic information does not exist in the memory;
and the generating module is used for generating a flow cartridge according to the user characteristic information and the all flow packets and deducting a flow sheet from the flow cartridge.
The present invention also provides a flow management device including: a memory, a processor, and a traffic management program stored on the memory and executable on the processor, the traffic management program when executed by the processor implementing the steps of:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not;
When the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
The present invention also provides a computer-readable storage medium having stored thereon a flow management program which when executed by a processor performs the steps of:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not;
when the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
The invention receives the internet surfing request sent by the user equipment, judges whether the memory has the flow clip related to the user characteristic information in the internet surfing request, then obtains all flow packets related to the user characteristic information when the memory does not have the flow clip related to the user characteristic information, finally generates the flow clip according to the user characteristic information and all the flow packets, and deducts the flow sheet from the flow clip.
Drawings
FIG. 1 is a schematic diagram of a device architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of the flow management method of the present invention;
FIG. 3 is a detailed flowchart of the step of selecting the traffic packets to be used from the total traffic packets according to the preset selection rule in FIG. 2;
FIG. 4 is a flow chart of a second embodiment of the flow management method of the present invention;
FIG. 5 is a flow chart of a third embodiment of the flow management method of the present invention;
FIG. 6 is a flow chart of a fourth embodiment of the flow management method of the present invention;
fig. 7 is a schematic functional block diagram of a first embodiment of the flow management device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: and receiving a surfing request sent by user equipment, judging whether a flow clip related to user characteristic information in the surfing request exists in a memory, acquiring all flow packets related to the user characteristic information when the flow clip related to the user characteristic information does not exist in the memory, generating the flow clip according to the user characteristic information and all the flow packets, and deducting a flow sheet from the flow clip.
In the existing traffic management method, the core network cannot make complex service judgment logic, so that the requirement on the size of a traffic slice is met, the traffic slice is too large to cause insufficient control of traffic slice services, and when the traffic slice is too small, the PCRF frequently requests a traffic slice to a traffic management service platform, so that the traffic slice cannot be issued in time.
In order to solve the problems, the invention provides a solution, the flow clip and the memory are introduced into the original system, the flow clip is stored in the memory, the control of the flow clip is realized in the memory, the separation of the flow sheet service and other services is realized, the flow sheet service can be effectively and accurately controlled, the system pressure is greatly relieved, meanwhile, the flow sheet is issued through the flow clip, the flow sheet can be issued in real time, the flow charging error is prevented, and the performance of the original system is effectively improved.
Referring to fig. 1, fig. 1 is a schematic device structure of a hardware running environment according to an embodiment of the present invention.
The device of the embodiment of the invention can be a PC, a mobile terminal device with a display function such as a smart phone, a tablet personal computer, a portable computer and the like, or a fixed terminal device.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the device may also include a camera, RF (Radio frequency) circuitry, sensors, audio circuitry, wiFi modules, and the like. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the device is stationary, and the device can be used for identifying the gesture of the device (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration identification related functions (such as pedometer and knocking), and the like; of course, the device may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
It will be appreciated by those skilled in the art that the device structure shown in fig. 1 is not limiting of the device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a traffic management program may be included in a memory 1005, which is a type of computer storage medium.
In the device shown in fig. 1, the processor 1001 may be configured to call a traffic management program stored in the memory 1005 and perform the following steps:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not;
when the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
Further, the step of generating a flow clip according to the user characteristic information and the all flow packets includes:
comparing the effective use time length of each flow packet in all the flow packets to obtain an effective time length, and calculating the total available flow in all the flow packets;
And generating a flow cartridge according to the user characteristic information, the validity period and the available total flow.
Further, the processor 1001 may call a traffic management program stored in the memory 1005, and further perform the following steps:
when a flow cartridge clip associated with the user characteristic information exists in a memory, acquiring a flow use area in the flow cartridge clip;
judging whether the user equipment position in the user characteristic information is in the flow using area or not;
and when the user equipment position in the user characteristic information is in the flow using area, deducting a flow sheet from the flow cartridge.
Further, the processor 1001 may call a traffic management program stored in the memory 1005, and further perform the following steps:
if the user equipment position in the user characteristic information is in the flow using area, judging whether the flow clip is in the effective period or not;
and if the flow cartridge clip is in the effective period, the flow sheet is deducted from the flow cartridge clip.
Further, the processor 1001 may call a traffic management program stored in the memory 1005, and further perform the following steps:
after the flow sheets in the flow cartridge clip are buckled, judging whether available flow packets exist in all the flow packets or not;
And refilling the flow cartridge according to the available flow packets when the available flow packets exist in all the flow packets.
Further, the processor 1001 may call a traffic management program stored in the memory 1005, and further perform the following steps:
receiving a priority adjustment request sent by user equipment, and performing priority adjustment on all flow packets according to the priority adjustment request;
and generating a flow cartridge according to all the adjusted flow packets and the user characteristic information.
The embodiments of the flow management device of the present invention are substantially the same as the embodiments of the flow management method described below, and are not described herein.
The invention provides a flow management method.
Referring to fig. 2, fig. 2 is a flow chart of a first embodiment of the flow management method according to the present invention.
In this embodiment, the flow management method includes:
step S101, receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not;
the flow management method is applied to a flow management device, the flow management device is applied to flow management equipment, the user equipment and the flow management equipment can conduct data interaction through a network interface, the user equipment comprises a mobile terminal and a fixed terminal, the flow management equipment comprises the mobile terminal and the fixed terminal, and the mobile terminal comprises a smart phone, a notebook computer, a tablet computer and the like. The traffic management equipment comprises a traffic clip controller, a safety latch module, a memory, a traditional service engine and the like, wherein the traffic clip controller is used for generating and destroying traffic clips, the safety latch module is used for verifying user identity information of an internet access request and characteristic information of the traffic clips and generating or destroying the traffic clips through the clip controller, the memory is used for storing the traffic clips and realizing traffic sheet issuing through the traffic clips, and the traditional service engine is used for receiving the internet access request sent by the user equipment and realizing other service logics for removing the traffic sheet issuing. The memory may be a high-speed memory engine redis or other conventional memory engines, and in this embodiment, a high-speed memory engine is preferred, and the use of the high-speed memory engine can improve the processing rate of the traffic slice and reduce the delay.
When a user needs to surf the internet, a data network in user equipment is started, at the moment, the user equipment acquires user characteristic information, writes the user characteristic information into an internet surfing request, then sends the internet surfing request to flow management equipment, the flow management equipment receives the internet surfing request sent by the user equipment and judges whether a flow clip related to the user characteristic information in the internet surfing request exists in a memory or not, and the user characteristic information comprises user identity information and user equipment position, wherein the user identity information comprises a user number and identity card information. Specifically, the traffic management device searches the memory for the traffic clip associated with the user feature information in the internet surfing request, if the associated traffic clip is queried, it may be determined that the traffic clip associated with the user feature information exists in the memory, and if the associated traffic clip is not queried, it may be determined that the traffic clip associated with the user feature information does not exist in the memory.
Step S102, when no flow clip associated with the user characteristic information exists in the memory, acquiring all flow packets associated with the user characteristic information;
and the traffic management equipment acquires all traffic packets associated with the user characteristic information in the internet surfing request by judging that the traffic clip associated with the user characteristic information does not exist in the memory, wherein all traffic packets comprise a failure traffic packet, an effective traffic packet, a national traffic packet, an intra-provincial traffic packet, a time-limited traffic packet and the like.
And step S103, generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
After the flow management device obtains all flow packages related to the user characteristic information in the internet surfing request, generating a flow clip according to the user characteristic information and all flow packages, and storing the flow clip into the memory, namely, the flow management device verifies the user characteristic information in the internet surfing request through a safety latch module, if the data returned by the safety latch module verify the existence of the flow clip, the flow clip generation request is sent to a clip controller, and the clip controller receives the flow clip generation request and generates the flow clip based on the user characteristic information and all flow packages in the flow clip generation request. Specifically, referring to fig. 3, fig. 3 is a schematic diagram of a refinement flow of step S103 illustrated in fig. 2, where step S103 includes:
step S1031, comparing the effective use time length of each flow packet in the all flow packets to obtain an effective time length, and calculating the total flow available in all flow packets;
and S1032, generating a flow clip according to the user characteristic information, the validity period and the available total flow.
The flow management device compares the effective use time of each flow packet in all the flow packets to obtain an effective period, calculates the available total flow in all the flow packets, generates a flow cartridge according to the user characteristic information, the effective period and the available total flow, deducts a flow sheet from the flow cartridge, and transmits the flow sheet to the PGW, wherein the effective period is the effective period of the flow cartridge. The user subsequently logs on the internet, and can deduct the flow at the PGW until the flow sheet is used up, at the moment, a flow sheet application is launched again, at the moment, the flow sheet application is transmitted to the safety latch module for characteristic information verification, if the verification is successful, the flow sheet is directly deducted in the flow cartridge of the user, the deducted flow sheet is issued to the PGW, and the deducted flow sheet at least comprises one. The flow cartridge clip comprises a flow sheet, characteristic information, an effective period and the like, wherein the effective period is the minimum effective use period of a flow packet.
The validity period can be the minimum validity period, the maximum validity period, the average validity period of all flow packets, and the validity period can be set independently according to the needs of users. For example, the full traffic packet includes: the total available flow is 550M, the effective period (minimum effective use period) is 10 days, the generated flow clip comprises 550M flow, the effective period (maximum effective use period) is 10 days, or the total available flow is 550M, the effective period (maximum effective use period) is 30 days, the generated flow clip comprises 550M flow, the effective period (maximum effective use period) is 30 days, the generated flow clip comprises 30M flow, the effective period (average effective use period) is 30 days, the effective period (average effective use period) is 26 days, and the generated flow clip comprises 550M flow.
It should be noted that, the flow management device only performs flow issuing record on the flow cartridge clip, and does not need to be specific to each flow packet, so that the processing logic complexity can be effectively reduced, meanwhile, the minimum effective duration is adopted to combine the flow packets, the processing pressure of traversing all flow packets required by each internet surfing request is reduced, the performance of the traditional service engine is improved, in addition, package combination is performed on the user flow packets only when the user first surfs the internet or the internet surfing attribute changes, and the combination operation is not required for the user without similar operation, thereby reducing the expenditure of the traditional service engine.
In a specific implementation, the traffic management device prioritizes each traffic packet in the all traffic packets according to the validity period and the valid usage area of the traffic packet, then selects a traffic packet with the highest priority from the all traffic packets, obtains the validity period and the traffic number of the traffic packet with the highest priority, and finally generates a traffic clip according to the validity period, the traffic number, the traffic packet with the highest priority and the user identity information, for example, all the traffic packets include: the flow rate of 100M with the validity period of 30 days, the flow rate of 100M with the validity period of 10 days, the flow rate of 200M with the validity period of 30 days, the national 50M flow rate with the validity period of 30 days and the national 100M flow rate with the validity period of 30 days are the flow rate of 100M with the highest priority, the generated flow rate clip comprises the flow rate of 100M, and the validity period of the flow rate clip can be 10 days, 30 days, 26 days and the like.
In this embodiment, the present invention receives a network access request sent by a user device, determines whether a flow clip associated with user feature information in the network access request exists in a memory, then obtains all flow packets associated with the user feature information when the flow clip associated with the user feature information does not exist in the memory, and finally generates a flow clip according to the user feature information and all the flow packets, and deducts a flow sheet from the flow clip.
Further, referring to fig. 4, a second embodiment of the flow management method according to the present invention is proposed based on the first embodiment, and is different from the foregoing embodiment in that, after the step S101, the flow management method further includes:
Step S104, when a flow cartridge clip associated with the user characteristic information exists in a memory, acquiring a flow use area in the flow cartridge clip;
step S105, judging whether the user equipment position in the user characteristic information is in the flow using area;
and step S106, when the user equipment position in the user characteristic information is in the flow using area, deducting a flow sheet from the flow cartridge.
The flow management device obtains a flow using area in the flow cartridge by judging that the flow cartridge associated with the user characteristic information exists in the memory, judges whether the user equipment position in the user characteristic information is in the flow using area, deducts a flow sheet from the flow cartridge and transmits the flow sheet to the PGW if the user equipment position in the user characteristic information is in the flow using area, destroys the flow cartridge if the user equipment position in the user characteristic information is not in the flow using area, obtains residual flow in the flow cartridge when destroying the flow cartridge, updates a corresponding flow packet, and regenerates the flow cartridge. For example, if the traffic usage area is a national area, it may be determined that the user equipment location in the user feature information is in the traffic usage area, and if the traffic usage area is a full-province area, it may be further determined whether the user equipment location in the user feature information is in the full-province area.
Further, after acquiring the traffic usage area in the traffic clip, the traffic management device determines whether the user equipment position in the user feature information is in the traffic usage area, if the user equipment position in the user feature information is in the traffic usage area, determines whether the traffic clip is in the valid period, if the traffic clip is in the valid period, deducts the traffic piece from the traffic clip, and transmits the traffic piece to the PGW, and if the traffic clip is not in the valid period, acquires an available traffic packet of the user equipment, and generates the traffic clip according to the available traffic packet and the user feature information.
In this embodiment, by checking whether the user equipment position in the user characteristic information is in the flow usage area of the flow cartridge, the invention can effectively solve the problem that the flow cartridge is not available due to the change of the user equipment position.
Further, referring to fig. 5, a third embodiment of the flow management method of the present invention is proposed based on the first or second embodiment described above, and is different from the previous embodiment in that the flow management method further includes:
step S107, judging whether available flow packets exist in all the flow packets after the flow sheets in the flow cartridge clip are buckled down;
Step S108, when available flow packets exist in all the flow packets, refilling the flow cartridge according to the available flow packets.
After the flow sheets in the flow cartridge clip are deducted, the flow management device judges whether available flow packets exist in all the flow packets, if yes, the flow cartridge clip is refilled according to the available flow packets, the validity period of the flow cartridge clip is modified, and if no available flow packets exist in all the flow packets, flow use information is issued to the user device.
In this embodiment, the present invention automatically generates a new flow clip when all the flow packets have available flow packets, so that the user can use the flow clip continuously, and meanwhile, when all the flow packets do not have available flow packets, the present invention issues flow usage information to the user equipment, so that the user can know that the flow is used up in time, and close the data network in time or purchase a new flow packet.
Further, the traffic management device receives a traffic query request sent by the user device, queries traffic information according to user identity information in the traffic query request, and then integrates the queried traffic information according to the effective duration of each traffic packet, namely, the integrated traffic information only comprises available traffic, about-to-fail traffic and next-time failure traffic, generates a display page according to the integrated traffic information, and finally issues the generated display page to the user device so that the user device can display the available traffic in the display page of the display page, and further displays the information about-to-fail traffic, the next-time failure traffic and the like. The invention integrates the flow information according to the effective duration, so that the integrated flow information is more concise and is more convenient for users to intuitively preview the flow use condition.
Further, referring to fig. 6, a fourth embodiment of the flow management method of the present invention is proposed based on the first, second or third embodiment described above, and is different from the previous embodiment in that the flow management method further includes:
step S109, receiving a priority adjustment request sent by user equipment, and performing priority adjustment on all flow packets according to the priority adjustment request;
and step S110, generating a flow clip according to all the adjusted flow packets and the user characteristic information.
The traffic management device receives a priority adjustment request sent by the user device, destroys a traffic clip associated with user identity information in the priority adjustment request, performs priority adjustment on traffic packets in all traffic packets according to the priority adjustment request, and finally generates the traffic clip according to all adjusted traffic packets and the user characteristic information. In a specific implementation, when a user changes a traffic package or changes position information, the safety latch judges that the verification is not passed, at the moment, the traffic clip of the user is destroyed, the residual traffic is backfilled to a traditional service engine, in addition, the user can send a traffic pause request through user equipment, and the traffic management equipment pauses a corresponding traffic packet based on the traffic pause request.
In the embodiment, the invention can realize manual adjustment of the flow priority, is convenient for a user to manually adjust the priority of the flow packet, and improves the user experience.
The present invention provides a flow management device, comprising:
referring to fig. 7, fig. 7 is a schematic functional block diagram of a first embodiment of a flow management device according to the present invention.
In this embodiment, the flow management device includes:
the receiving and judging module 101 is configured to receive a network access request sent by a user equipment, and judge whether a flow clip associated with user feature information in the network access request exists in a memory;
the flow management method is applied to a flow management device, the flow management device is applied to flow management equipment, the user equipment and the flow management equipment can conduct data interaction through a network interface, the user equipment comprises a mobile terminal and a fixed terminal, the flow management equipment comprises the mobile terminal and the fixed terminal, and the mobile terminal comprises a smart phone, a notebook computer, a tablet computer and the like. The traffic management equipment comprises a traffic clip controller, a safety latch module, a memory, a traditional service engine and the like, wherein the traffic clip controller is used for generating and destroying traffic clips, the safety latch module is used for verifying user identity information of an internet access request and characteristic information of the traffic clips and generating or destroying the traffic clips through the clip controller, the memory is used for storing the traffic clips and realizing traffic sheet issuing through the traffic clips, and the traditional service engine is used for receiving the internet access request sent by the user equipment and realizing other service logics for removing the traffic sheet issuing. The memory may be a high-speed memory engine redis or other conventional memory engines, and in this embodiment, a high-speed memory engine is preferred, and the use of the high-speed memory engine can improve the processing rate of the traffic slice and reduce the delay.
When a user needs to surf the internet, a data network in user equipment is started, at the moment, the user equipment acquires user characteristic information, writes the user characteristic information into an internet surfing request, then sends the internet surfing request to flow management equipment, the flow management equipment receives the internet surfing request sent by the user equipment and judges whether a flow clip related to the user characteristic information in the internet surfing request exists in a memory or not, and the user characteristic information comprises user identity information and user equipment position, wherein the user identity information comprises a user number and identity card information. Specifically, the traffic management device searches the memory for the traffic clip associated with the user feature information in the internet surfing request, if the associated traffic clip is queried, it may be determined that the traffic clip associated with the user feature information exists in the memory, and if the associated traffic clip is not queried, it may be determined that the traffic clip associated with the user feature information does not exist in the memory.
An obtaining module 102, configured to obtain all flow packets associated with the user feature information when there is no flow clip associated with the user feature information in the memory;
and the traffic management equipment acquires all traffic packets associated with the user characteristic information in the internet surfing request by judging that the traffic clip associated with the user characteristic information does not exist in the memory, wherein all traffic packets comprise a failure traffic packet, an effective traffic packet, a national traffic packet, an intra-provincial traffic packet, a time-limited traffic packet and the like.
And the generating module 103 is used for generating a flow cartridge according to the user characteristic information and the whole flow packets and deducting a flow sheet from the flow cartridge.
After the flow management device obtains all flow packages related to the user characteristic information in the internet surfing request, generating a flow clip according to the user characteristic information and all flow packages, and storing the flow clip into the memory, namely, the flow management device verifies the user characteristic information in the internet surfing request through a safety latch module, if the data returned by the safety latch module verify the existence of the flow clip, the flow clip generation request is sent to a clip controller, and the clip controller receives the flow clip generation request and generates the flow clip based on the user characteristic information and all flow packages in the flow clip generation request.
Specifically, the flow management device compares the effective use duration of each flow packet in the all flow packets to obtain an effective period, calculates the total available flow in the all flow packets, generates a flow clip according to the user characteristic information, the effective period and the total available flow, and finally deducts a flow sheet from the flow clip and transmits the flow sheet to the PGW, wherein the effective period is the effective period of the flow clip. The user subsequently logs on the internet, and can deduct the flow at the PGW until the flow sheet is used up, at the moment, a flow sheet application is launched again, at the moment, the flow sheet application is transmitted to the safety latch module for characteristic information verification, if the verification is successful, the flow sheet is directly deducted in the flow cartridge of the user, the deducted flow sheet is issued to the PGW, and the deducted flow sheet at least comprises one. The flow cartridge clip comprises a flow sheet, characteristic information, an effective period and the like, wherein the effective period is the minimum effective use period of a flow packet.
The validity period may be a minimum validity period or a maximum validity period, and in this embodiment, the validity period is preferably the minimum validity period. For example, the full traffic packet includes: the total available flow is 550M, the effective period (minimum effective use period) is 10 days, the generated flow clip comprises 550M flow, the effective period (maximum effective use period) is 10 days, or the total available flow is 550M, the effective period (maximum effective use period) is 30 days, the generated flow clip comprises 550M flow, the effective period (maximum effective use period) is 30 days, the generated flow clip comprises 30M flow, the effective period (average effective use period) is 30 days, or the effective period (average effective use period) is 26 days, the generated flow clip comprises 550M flow, and the effective period (maximum effective use period) is 26 days.
It should be noted that, the flow management device only performs flow issuing record on the flow cartridge clip, and does not need to be specific to each flow packet, so that the processing logic complexity can be effectively reduced, meanwhile, the minimum effective duration is adopted to combine the flow packets, the processing pressure of traversing all flow packets required by each internet surfing request is reduced, the performance of the traditional service engine is improved, in addition, package combination is performed on the user flow packets only when the user first surfs the internet or the internet surfing attribute changes, and the combination operation is not required for the user without similar operation, thereby reducing the expenditure of the traditional service engine.
In a specific implementation, the traffic management device prioritizes each traffic packet in the all traffic packets according to the validity period and the valid usage area of the traffic packet, then selects a traffic packet with the highest priority from the all traffic packets, obtains the validity period and the traffic number of the traffic packet with the highest priority, and finally generates a traffic clip according to the validity period, the traffic number, the traffic packet with the highest priority and the user identity information, for example, all the traffic packets include: the flow rate of 100M with the validity period of 30 days, the flow rate of 100M with the validity period of 10 days, the flow rate of 200M with the validity period of 30 days, the national 50M flow rate with the validity period of 30 days and the national 100M flow rate with the validity period of 90 days are the flow rate of 100M with the highest priority, the generated flow rate clip comprises the flow rate of 100M, and the validity period of the flow rate clip can be 10 days, 30 days, 26 days and the like.
In this embodiment, the present invention receives a network access request sent by a user device, determines whether a flow clip associated with user feature information in the network access request exists in a memory, then obtains all flow packets associated with the user feature information when the flow clip associated with the user feature information does not exist in the memory, and finally generates a flow clip according to the user feature information and all the flow packets, and deducts a flow sheet from the flow clip.
Further, the generating module is further configured to:
comparing the effective use time length of each flow packet in all the flow packets to obtain an effective time length, and calculating the total available flow in all the flow packets;
and generating a flow cartridge according to the user characteristic information, the validity period and the available total flow.
Further, the flow management device further includes:
the acquisition module is further used for acquiring a flow use area in the flow clip when the flow clip associated with the user characteristic information exists in the memory;
the receiving judging module is further used for judging whether the user equipment position in the user characteristic information is in the flow using area;
and the generating module is further used for deducting the flow sheet from the flow clip when the user equipment position in the user characteristic information is in the flow use area.
Further, the receiving judging module is further configured to judge whether the flow clip is in an validity period if the user equipment position in the user characteristic information is in the flow usage area;
and the generating module is also used for deducting the flow sheet from the flow clip if the flow clip is in the effective period.
Further, the flow management device further includes:
the receiving judging module is further used for judging whether available flow packets exist in all the flow packets after the flow sheets in the flow cartridge clip are buckled down;
and the filling module is used for refilling the flow cartridge according to the available flow packets when the available flow packets exist in the whole flow packets.
Further, the flow management device further includes:
the receiving and adjusting module is used for receiving a priority adjusting request sent by the user equipment and carrying out priority adjustment on all the flow packets according to the priority adjusting request;
and the generation module is also used for generating a flow clip according to all the adjusted flow packets and the user characteristic information.
The embodiments of the flow management device of the present invention are substantially the same as the embodiments of the flow management method described above, and will not be described herein.
In addition, an embodiment of the present invention further provides a computer readable storage medium, where a flow management program is stored, and when the flow management program is executed by a processor, the following steps are implemented:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not;
When the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
Further, the step of generating a flow clip according to the user characteristic information and the all flow packets includes:
comparing the effective use time length of each flow packet in all the flow packets to obtain an effective time length, and calculating the total available flow in all the flow packets;
and generating a flow cartridge according to the user characteristic information, the validity period and the available total flow.
Further, the flow management program when executed by the processor further implements the steps of:
when a flow cartridge clip associated with the user characteristic information exists in a memory, acquiring a flow use area in the flow cartridge clip;
judging whether the user equipment position in the user characteristic information is in the flow using area or not;
and when the user equipment position in the user characteristic information is in the flow using area, deducting a flow sheet from the flow cartridge.
Further, the flow management program when executed by the processor further implements the steps of:
if the user equipment position in the user characteristic information is in the flow using area, judging whether the flow clip is in the effective period or not;
and if the flow cartridge clip is in the effective period, the flow sheet is deducted from the flow cartridge clip.
Further, the flow management program when executed by the processor further implements the steps of:
after the flow sheets in the flow cartridge clip are buckled, judging whether available flow packets exist in all the flow packets or not;
and refilling the flow cartridge according to the available flow packets when the available flow packets exist in all the flow packets.
Further, the flow management program when executed by the processor further implements the steps of:
receiving a priority adjustment request sent by user equipment, and performing priority adjustment on all flow packets according to the priority adjustment request;
and generating a flow cartridge according to all the adjusted flow packets and the user characteristic information.
Embodiments of the computer readable storage medium of the present invention are substantially the same as the embodiments of the above-described traffic management method, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method of traffic management, the method comprising the steps of:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not, wherein the flow clip describes a mode of carrying out flow management by taking a flow sheet as a service unit by means of a clip mode and using the user characteristic information and all flow packets corresponding to the user characteristic information in the memory;
when the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
2. The traffic management method according to claim 1, wherein the step of generating a traffic clip from the user characteristic information and the entire traffic packet comprises:
Comparing the effective use time length of each flow packet in all the flow packets to obtain an effective time length, and calculating the total available flow in all the flow packets;
and generating a flow cartridge according to the user characteristic information, the validity period and the available total flow.
3. The method of traffic management according to claim 1, wherein after said step of determining whether there is a traffic clip associated with said user characteristic information in said memory, said method of traffic management further comprises:
when a flow cartridge clip associated with the user characteristic information exists in a memory, acquiring a flow use area in the flow cartridge clip;
judging whether the user equipment position in the user characteristic information is in the flow using area or not;
and when the user equipment position in the user characteristic information is in the flow using area, deducting a flow sheet from the flow cartridge.
4. The method of flow management according to claim 3, wherein prior to the step of deducting a flow sheet from the flow clip, the method of flow management comprises:
if the user equipment position in the user characteristic information is in the flow using area, judging whether the flow clip is in the effective period or not;
And if the flow cartridge clip is in the effective period, executing the step of deducting the flow sheet from the flow cartridge clip.
5. The traffic management method according to any one of claims 1 to 4, wherein the traffic management method further comprises:
after the flow sheets in the flow cartridge clip are buckled, judging whether available flow packets exist in all the flow packets or not;
and refilling the flow cartridge according to the available flow packets when the available flow packets exist in all the flow packets.
6. The traffic management method according to any one of claims 1 to 4, wherein the traffic management method further comprises:
receiving a priority adjustment request sent by user equipment, and performing priority adjustment on all flow packets according to the priority adjustment request;
and generating a flow cartridge according to all the adjusted flow packets and the user characteristic information.
7. A flow management device, the flow management device comprising:
the device comprises a receiving judging module, a receiving module and a processing module, wherein the receiving judging module is used for receiving a surfing request sent by user equipment and judging whether a flow clip related to user characteristic information in the surfing request exists in a memory or not, wherein the flow clip describes a mode of managing flow by taking a flow sheet as a service unit by means of a clip mode and the user characteristic information and all flow packets corresponding to the user characteristic information in the memory;
The acquisition module is used for acquiring all flow packets associated with the user characteristic information when the flow clip associated with the user characteristic information does not exist in the memory;
and the generating module is used for generating a flow cartridge according to the user characteristic information and the all flow packets and deducting a flow sheet from the flow cartridge.
8. The traffic management device according to claim 7, wherein the generation module is further configured to:
comparing the effective use time length of each flow packet in all the flow packets to obtain an effective time length, and calculating the total available flow in all the flow packets;
and generating a flow cartridge according to the user characteristic information, the validity period and the available total flow.
9. A traffic management device, the traffic management device comprising: a memory, a processor, and a traffic management program stored on the memory and executable on the processor, the traffic management program when executed by the processor implementing the steps of:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not, wherein the flow clip describes a mode of carrying out flow management by taking a flow sheet as a service unit by means of a clip mode and using the user characteristic information and all flow packets corresponding to the user characteristic information in the memory;
When the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
10. A computer readable storage medium having stored thereon a traffic management program which when executed by a processor performs the steps of:
receiving a surfing request sent by user equipment, and judging whether a flow clip associated with user characteristic information in the surfing request exists in a memory or not, wherein the flow clip describes a mode of carrying out flow management by taking a flow sheet as a service unit by means of a clip mode and using the user characteristic information and all flow packets corresponding to the user characteristic information in the memory;
when the flow clip associated with the user characteristic information does not exist in the memory, acquiring all flow packets associated with the user characteristic information;
and generating a flow cartridge clip according to the user characteristic information and the whole flow packets, and deducting a flow sheet from the flow cartridge clip.
CN201710463301.1A 2017-06-16 2017-06-16 Traffic management method, device, equipment and storage medium Active CN109150764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710463301.1A CN109150764B (en) 2017-06-16 2017-06-16 Traffic management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710463301.1A CN109150764B (en) 2017-06-16 2017-06-16 Traffic management method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109150764A CN109150764A (en) 2019-01-04
CN109150764B true CN109150764B (en) 2023-07-18

Family

ID=64804183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710463301.1A Active CN109150764B (en) 2017-06-16 2017-06-16 Traffic management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109150764B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618792A (en) * 2013-11-29 2014-03-05 华为技术有限公司 Data stream identification method and device
CN104053186A (en) * 2014-06-23 2014-09-17 中兴通讯股份有限公司 Flow control method and device
CN104869552A (en) * 2014-02-25 2015-08-26 华为技术有限公司 Method for reporting flow and device
WO2016184078A1 (en) * 2015-05-18 2016-11-24 中兴通讯股份有限公司 Service-specific data plan realization method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618792A (en) * 2013-11-29 2014-03-05 华为技术有限公司 Data stream identification method and device
CN104869552A (en) * 2014-02-25 2015-08-26 华为技术有限公司 Method for reporting flow and device
CN104053186A (en) * 2014-06-23 2014-09-17 中兴通讯股份有限公司 Flow control method and device
WO2015196599A1 (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Traffic control method and apparatus
WO2016184078A1 (en) * 2015-05-18 2016-11-24 中兴通讯股份有限公司 Service-specific data plan realization method and system
CN106303751A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 A kind of realization method and system orienting flow bag

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"3G业务计费系统方案设计及测试";庞志鹏;《中国优秀硕士学位论文全文数据库·信息科技辑》;20111215(第S2期);全文 *
"从客户研究角度挖掘促进移动互联网流量经营的措施与手段";王斌;《电信科学》;20120715(第07期);全文 *

Also Published As

Publication number Publication date
CN109150764A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN108509533B (en) Control method, device and equipment for screen shot file sharing and computer storage medium
US20190121828A1 (en) Information sending method, apparatus, and storage medium
US20160275486A1 (en) Device, system, and method for creating virtual credit card
US20160241589A1 (en) Method and apparatus for identifying malicious website
US10216915B2 (en) Authentication method and apparatus thereof
CN104077515A (en) Terminal device and terminal control program
CN108536490B (en) Application program starting method, mobile terminal and computer storage medium
US9408074B2 (en) Authentication system, electronic device, and authentication method
US9772711B2 (en) Input processing method and electronic device thereof
CN109922078B (en) Upgrade control method, mobile terminal and computer-readable storage medium
US20170228582A1 (en) Fingerprint authentication display device and authentication display method
WO2019072031A1 (en) Face recognition method and related product
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN109268936B (en) Control method and device of air conditioner, air conditioner and storage medium
WO2014180138A1 (en) Method and device for video processing
WO2014198116A1 (en) Method, apparatus and system for short message-based information push and mobile client supporting the same
US20170251138A1 (en) Video call method and device
CN110335386B (en) Identity authentication method, device, terminal and storage medium
US20190205976A1 (en) Account number registration method, apparatus, and system
WO2019140826A1 (en) Electronic red envelope gifting device and method and computer readable storage medium
EP3113051A1 (en) Method and apparatus for acquiring search results, computer program and recording medium
CN109688183B (en) Group control equipment identification method, device, equipment and computer readable storage medium
CN110634191A (en) Authentication method, apparatus, medium, and device
CN104836777A (en) Identity verification method and system
CN111160157B (en) Text extraction method based on DWG drawing and related products

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