CN114980211A - Flow transfer method and system - Google Patents

Flow transfer method and system Download PDF

Info

Publication number
CN114980211A
CN114980211A CN202210586521.4A CN202210586521A CN114980211A CN 114980211 A CN114980211 A CN 114980211A CN 202210586521 A CN202210586521 A CN 202210586521A CN 114980211 A CN114980211 A CN 114980211A
Authority
CN
China
Prior art keywords
traffic
user
transfer
message
request
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
Application number
CN202210586521.4A
Other languages
Chinese (zh)
Other versions
CN114980211B (en
Inventor
何丽琼
谭俊
胡文辉
吴华挚
李刚
思媛
吴灏
吴少求
张水胜
詹育艺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Internet Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210586521.4A priority Critical patent/CN114980211B/en
Publication of CN114980211A publication Critical patent/CN114980211A/en
Application granted granted Critical
Publication of CN114980211B publication Critical patent/CN114980211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a flow transfer method and a system, and the scheme provided by the application comprises the following steps: receiving a traffic forwarding request of a first user for a second user, wherein the traffic forwarding request carries a mobile phone number of the first user, a mobile phone number of the second user, forwarding direction indication information and a traffic value requested to be forwarded; sending the traffic transfer request to an operator platform so that the operator platform can determine whether the traffic transfer request meets a preset transfer condition; if the determined result fed back by the operator platform meets a preset transfer condition, sending the determined result to the first user by using a first 5G message; and sending a traffic updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user, so that the operator platform can update traffic data of the first user and the second user according to the traffic updating instruction.

Description

Flow transfer method and system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and a system for traffic transfer.
Background
With the development of smart phone technology and mobile communication technology, traffic gradually becomes a main data service in mobile phone communication services. Therefore, the smartphone user has a higher and higher dependency on traffic data.
Currently, a smartphone user will purchase traffic at the operator to enable access to mobile network content. However, the traffic purchased by the existing smart phone user can only be used alone, and other smart phone users want to use the traffic to access the mobile network content, but only use the network sharing of the smart phone user, that is, the smart phone user activates the mobile network sharing function, for example, other smart phone users can access the shared network through a hot spot access mode to access the mobile network content.
Disclosure of Invention
An object of the embodiments of the present application is to provide a traffic transfer method and system, so as to solve the problem of inconvenient traffic sharing in the prior art.
In order to solve the above technical problem, the present specification is implemented as follows:
in a first aspect, a traffic transfer method is provided, which is applied to a 5G message platform, and the method includes:
receiving a traffic transfer request of a first user for a second user, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred;
sending the traffic transfer request to an operator platform so that the operator platform can determine whether the traffic transfer request meets a preset transfer condition;
if the determined result fed back by the operator platform meets the preset transfer condition, sending the determined result to the first user by using a first 5G message;
and sending a traffic updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user, so that the operator platform can update traffic data of the first user and the second user according to the traffic updating instruction.
Optionally, the traffic forwarding request indicates the forwarding direction indication information by an indication bit; or
The traffic transfer request indicates the transfer direction indication information through the type or the identification of the traffic transfer request; or
And the traffic forwarding request indicates the forwarding direction indication information through the sequence of the mobile phone number of the first user and the mobile phone number of the second user in the traffic forwarding request.
Optionally, sending the determination result to the first user in a first 5G message, including:
acquiring a first 5G message template matched with the determination result, and generating a corresponding first 5G message;
and sending the first 5G message to the first user.
Optionally, the method further comprises:
if the determined result fed back by the operator platform does not meet the preset transfer condition, acquiring a second 5G message template matched with the determined result, and generating a corresponding third 5G message;
and sending the third 5G message to the first user.
Optionally, sending a traffic update instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user, where the sending includes:
acquiring data information in the second 5G message;
sending a traffic update instruction to the operator platform based on the data information,
wherein the traffic update instruction comprises a traffic update instruction of the first user and a traffic update instruction of the second user.
In a second aspect, a traffic transfer method is provided, which is applied to an operator platform, and the method includes:
receiving a traffic transfer request of a first user for a second user, which is sent by a 5G message platform, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred;
determining whether the flow transfer request meets a preset transfer condition;
feeding back the determination result to the 5G message platform so that the 5G message platform sends the determination result to the first user in a 5G message.
Optionally, the traffic forwarding request indicates the forwarding direction indication information by an indication bit; or
The traffic transfer request indicates the transfer direction indication information through the type or the identification of the traffic transfer request; or
And the traffic forwarding request indicates the forwarding direction indication information through the sequence of the mobile phone number of the first user and the mobile phone number of the second user in the traffic forwarding request.
Optionally, the forwarding direction indication information indicates that the traffic forwarding request is a traffic forwarding request or a traffic forwarding request, and determining whether the traffic forwarding request meets a predetermined forwarding condition includes:
determining a relationship attribute between the first user and the second user based on the traffic forwarding request carrying the mobile phone number of the first user and the mobile phone number of the second user;
based on the relationship attribute, if the first user and the second user are determined to belong to the same relationship area, acquiring a flow residual value of the first user and a flow residual value of the second user, and determining whether the flow transfer request meets a predetermined transfer condition based on the first flow residual value and the second flow residual value;
based on the relationship attribute, if it is determined that the first user and the second user do not belong to the same relationship region, acquiring traffic data of all users in a first relationship region to which the first user belongs and traffic data of all users in a second relationship region to which the second user belongs, and determining whether the traffic transfer request meets a predetermined transfer condition based on the traffic data of all users in the first relationship region and the traffic data of all users in the second relationship region, wherein the traffic data includes a traffic order value, a traffic usage value and a traffic remaining value.
Optionally, the diversion direction indication information indicates that the traffic diversion request is a traffic diversion request, the predetermined diversion conditions include a first predetermined diversion condition and a second predetermined diversion condition,
determining whether the traffic forwarding request meets a predetermined forwarding condition based on the traffic data of all users in the first relationship area and the traffic data of all users in the second relationship area, including: determining whether the traffic forwarding request meets the first predetermined forwarding condition based on traffic data of all users in the first relationship area and traffic data of all users in the second relationship area;
determining whether the traffic request meets a predetermined diversion condition, further comprising:
if the flow transfer request is determined to meet the first preset transfer condition, acquiring a flow residual value of the first user and a flow residual value of the second user;
determining whether the traffic diversion request meets the second predetermined diversion condition based on the traffic surplus value of the first user and the traffic surplus value of the second user;
and if the traffic request is determined to meet the second predetermined transfer condition, determining that the traffic request meets the predetermined transfer condition.
In a third aspect, a traffic transfer system is provided, comprising a 5G message platform and an operator platform,
the 5G message platform receives a traffic transfer request of a first user for a second user, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred; sending the traffic transfer request to the operator platform;
the operator platform determines whether the flow transfer request meets a preset transfer condition or not, and feeds back a determination result to the 5G message platform;
if the determination result meets the preset transfer condition, the 5G message platform sends the determination result to the first user by using a first 5G message; sending a flow updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user;
and the operator platform updates the flow data of the first user and the second user according to the flow updating instruction.
In a fourth aspect, a flow diversion apparatus is provided, comprising a memory and a processor electrically connected to the memory, the memory storing a computer program executable by the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first or second aspect.
In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method according to the first or second aspect.
In the embodiment of the application, a traffic transfer request of a first user for a second user is received, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred; sending the traffic transfer request to an operator platform so that the operator platform can determine whether the traffic transfer request meets a preset transfer condition; if the determined result fed back by the operator platform meets the preset transfer condition, sending the determined result to the first user by using a first 5G message; sending a traffic updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user, so that the operator platform updates traffic data of the first user and the second user according to the traffic updating instruction, and thus, the first user can give traffic to other mobile phone users through the 5G message; or the first user can receive the given traffic by receiving the 5G message, so that the mobile network content can be accessed by using the transfer traffic directly through the terminal equipment of the user without accessing through a hot spot, and the convenience of traffic sharing is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flow chart of a traffic diversion method according to a first embodiment of the present application.
Fig. 2 is a schematic flow chart of a traffic diversion method according to a second embodiment of the present application.
Fig. 3 is a block diagram showing a configuration of a traffic diversion system according to an embodiment of the present application.
Fig. 4 is a block diagram showing a configuration of a flow diversion apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. The reference numbers in the present application are only used for distinguishing the steps in the scheme and are not used for limiting the execution sequence of the steps, and the specific execution sequence is described in the specification.
In order to solve the problems in the prior art, an embodiment of the present application provides a traffic forwarding method, and fig. 1 is a schematic flow diagram of the traffic forwarding method according to a first embodiment of the present application, where the traffic forwarding method according to the embodiment is applied to a 5G message platform.
As shown in fig. 1, the method comprises the following steps:
102, receiving a traffic forwarding request of a first user for a second user, wherein the traffic forwarding request carries a mobile phone number of the first user, a mobile phone number of the second user, forwarding direction indication information and a traffic value requested to be forwarded;
104, sending the flow transfer request to an operator platform so that the operator platform can determine whether the flow transfer request meets a preset transfer condition;
step 106, if the determined result fed back by the operator platform meets a preset transfer condition, sending the determined result to the first user by using a first 5G message;
step 108, based on the second 5G message fed back to the first 5G message by the first user, sending a traffic update instruction to the operator platform, so that the operator platform updates the traffic data of the first user and the second user according to the traffic update instruction.
In this embodiment, the first user and the second user are users related to traffic diversion, for example, if the first user initiates a traffic diversion request, the traffic of the first user is donated to the second user by the first user, or the traffic of the second user is donated to the first user by the second user is requested by the first user.
The flow transfer request comprises a flow transfer-out request for giving the flow to the second user by the first user, namely the flow is requested to be transferred out from the first user to the second user; a traffic forwarding request is also included in which the first user requests the second user to donate traffic, i.e., requests traffic to be forwarded from the second user to the first user.
The first user can select a second user through a short message inlet of the terminal device and then submit a flow transfer request, wherein the second user can be a user given the flow or a user given the flow. The second user determines the input of the first user, the first user may select from the address list of the user terminal, or the second user may directly input the input in the input box, the second user is not limited to the address list friend list of the first user, and the number of the second users may be multiple.
Meanwhile, when submitting the traffic transfer request, the first user may also request the transferred traffic value, for example, the requested in-flow traffic value, i.e., the donated traffic value, or the requested out-flow traffic value, i.e., the donated traffic value. The flow value, the mobile phone number of the first user and the mobile phone number of the second user are all included in the flow transfer request and submitted to the 5G message platform.
The traffic transfer request also carries transfer direction indication information, that is, indicates whether to request donation traffic to be transferred from the first user or to request donation traffic to be transferred to the first user.
Based on the solution provided in the foregoing embodiment, optionally, in step 102, the traffic forwarding request indicates the forwarding direction indication information through an indication bit; or, the traffic transfer request indicates the transfer direction indication information through the type or the identifier of the traffic transfer request; or, the traffic forwarding request indicates the forwarding direction indication information through the sequence of the mobile phone number of the first user and the mobile phone number of the second user in the traffic forwarding request.
The traffic diversion direction is indicated by the value of a predetermined bit of the traffic diversion request, e.g., 0 for a roll-in and 1 for a roll-out. Otherwise, the other way round.
The type or identification of the traffic diversion request is indicated by a parameter of a predetermined field of the traffic diversion request, for example, "type in" indicates a diversion, and "type out" indicates a diversion. Otherwise, the other way round.
And indicating the traffic forwarding direction by recording the sequence of the field of the mobile phone number of the first user and the field of the mobile phone number of the second user in the traffic forwarding request, for example, the mobile phone number on the left side represents a user who forwards the traffic, and the mobile phone number on the right side represents a user who forwards the traffic. Otherwise, the other way round.
It should be noted that the present application is not limited to the above-described specific embodiments.
The 5G message platform is a 5G message transceiving channel, and can access data and transmit the data to the operator platform.
In step 104, the 5G message platform forwards the received traffic transfer request submitted by the first user to the operator platform, and the operator platform determines whether the traffic transfer request submitted by the first user meets a predetermined transfer condition.
For example, if it is determined that the traffic forwarding request meets the predetermined forwarding condition or does not meet the predetermined forwarding condition, the operator platform feeds back the corresponding determination result to the 5G message platform. The conformity means that the traffic transfer requested by the first user can be performed, and the nonconformity means that the traffic transfer requested by the first user is not performed.
The determination as to whether the traffic diversion request meets the predetermined diversion condition is described later below.
In step 106, the 5G message platform feeds back the determination result to the first user in the form of a 5G message.
And if the determined result fed back by the operator platform meets the preset transfer condition, sending the determined result to the first user by using a first 5G message.
Optionally, sending the determination result to the first user in a first 5G message, including: acquiring a first 5G message template matched with the determination result, and generating a corresponding first 5G message; and sending the first 5G message to the first user.
And the 5G message platform receives the feedback result, and when the result content is in accordance, the 5G message platform generates a corresponding 5G message according to the 5G message template matched with the result in accordance. After receiving the 5G message, the terminal device of the first user may perform a corresponding operation according to the 5G message. In this step, the generated 5G message includes corresponding instruction content and specific traffic diversion, pick-up or donation operation controls. The first user can click the operation control in the 5G message to perform corresponding flow transfer operation. The operation control can comprise two types, one type is flow obtaining operation, namely flow switching-in; one is traffic donation operation, i.e., traffic roll-out. The executed operation is specifically corresponding to the traffic transfer type requested by the first user.
Optionally, the method further comprises:
if the determined result fed back by the operator platform does not accord with the preset transfer condition, acquiring a second 5G message template matched with the determined result, and generating a corresponding third 5G message; and sending the third 5G message to the first user.
The 5G message platform receives the feedback result, when the result content is inconsistent, the 5G message platform generates a corresponding 5G message according to the 5G message template matched with the inconsistent result, and the 5G message comprises the inconsistent result content, so that the terminal device of the first user can directly check the received 5G message to know a specific judgment result after receiving the 5G message.
And the first user operates the control for getting or giving away the received first 5G message through the terminal equipment. Thereby, the second 5G message is fed back to the 5G message platform.
Optionally, sending a traffic update instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user, where the sending includes: acquiring data information in the second 5G message; and sending a traffic update instruction to an operator platform based on the data information, wherein the traffic update instruction comprises the traffic update instruction of the first user and the traffic update instruction of the second user.
In step 108, the 5G message platform receives the operation result fed back by the first user according to the second 5G message fed back by the first user, and sends a traffic update instruction to the operator platform according to the data information carried in the second 5G message, where the instruction includes a first user traffic update instruction and a second user traffic update instruction, the first user traffic update instruction is to update traffic data of the first user, and the second user traffic update instruction is to perform a traffic data update operation on the second user. And the operator platform completes the updating of the corresponding user flow data according to the received corresponding updating instruction. Updating specifically refers to modifying traffic data of the user, such as traffic remaining information, traffic ordering information, traffic usage information, and the like.
Then, the 5G message platform may generate a fourth 5G message corresponding to the traffic update operation, and send the fourth 5G message to the first user to notify that the traffic transfer requested by the first user is completed. For this step, after the operator platform performs the traffic update operation, the 5G message platform generates a corresponding fourth 5G message according to the response of the operator platform; or the 5G message platform may synchronize with the operation of sending the traffic update instruction to the operator platform in step 108, and generate a corresponding fourth 5G message.
In the embodiment of the application, a traffic transfer request of a first user for a second user is received, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred; sending the traffic transfer request to an operator platform so that the operator platform can determine whether the traffic transfer request meets a preset transfer condition; if the determined result fed back by the operator platform meets the preset transfer condition, sending the determined result to the first user by using a first 5G message; sending a traffic updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user, so that the operator platform updates traffic data of the first user and the second user according to the traffic updating instruction, and thus, the first user can give traffic to other mobile phone users through the 5G message; or the first user can receive the given traffic by receiving the 5G message, so that the mobile network content can be accessed by using the transfer traffic directly through the terminal equipment of the user without accessing through a hot spot, and the convenience of traffic sharing is improved.
Referring now to fig. 2, fig. 2 is a schematic flowchart of a traffic transfer method according to a second embodiment of the present application, where the traffic transfer method of this embodiment is applied to an operator platform.
As shown in fig. 2, the method comprises the following steps:
step 202, receiving a traffic forwarding request of a first user for a second user, sent by a 5G message platform, where the traffic forwarding request carries a mobile phone number of the first user, a mobile phone number of the second user, forwarding direction indication information, and a traffic value requested to be forwarded;
step 204, determining whether the flow transfer request meets a preset transfer condition;
step 206, feeding back the determination result to the 5G message platform, so that the 5G message platform sends the determination result to the first user in a 5G message.
In step 202, the operator platform receives the traffic transfer request of the first user forwarded by the 5G message platform, and determines whether the traffic transfer request requests traffic transfer-out or traffic transfer-in according to the transfer direction indication information carried in the traffic transfer request.
Optionally, the traffic forwarding request indicates the forwarding direction indication information by an indication bit; alternatively, the first and second electrodes may be,
the traffic transfer request indicates the transfer direction indication information through the type or the identification of the traffic transfer request; alternatively, the first and second electrodes may be,
and the traffic forwarding request indicates the forwarding direction indication information through the sequence of the mobile phone number of the first user and the mobile phone number of the second user in the traffic forwarding request.
As described above, the traffic transfer request includes a traffic in-request or a traffic out-request.
In step 204, optionally, the forwarding direction indication information indicates that the traffic forwarding request is a traffic forwarding request or a traffic forwarding request, and determining whether the traffic forwarding request meets a predetermined forwarding condition includes:
determining a relationship attribute between the first user and the second user based on the traffic forwarding request carrying the mobile phone number of the first user and the mobile phone number of the second user;
based on the relationship attribute, if the first user and the second user are determined to belong to the same relationship area, acquiring a flow residual value of the first user and a flow residual value of the second user, and determining whether the flow transfer request meets a predetermined transfer condition based on the first flow residual value and the second flow residual value;
based on the relationship attribute, if it is determined that the first user and the second user do not belong to the same relationship region, acquiring traffic data of all users in a first relationship region to which the first user belongs and traffic data of all users in a second relationship region to which the second user belongs, and determining whether the traffic transfer request meets a predetermined transfer condition based on the traffic data of all users in the first relationship region and the traffic data of all users in the second relationship region, wherein the traffic data includes a traffic order value, a traffic usage value and a traffic remaining value.
In this embodiment, whether the traffic is requested to be switched in or out, it needs to first determine whether the first user and the second user belong to the same relationship area according to the relationship attribute between the two users. The operator platform may perform tag definition on attributes of the first user and the second user registered with the mobile phone number, for example, a certain user is a certain family member, a certain company employee, or a certain package is ordered. The relationship area may be divided into company units, family units, community units, or the like.
If the relationship attribute label of the first user is a family member of the first area, and the relationship attribute label of the second user is also a family member of the first area, the first user and the second user can be determined to belong to the same relationship area according to the relationship attribute label.
If the relationship attribute label of the first user is a family member in the first area and the relationship attribute label of the second user is a family member in the second area, the first user and the second user do not belong to the same relationship area according to the relationship attribute label.
And for the traffic transfer between the users belonging to the same relationship area, the operator platform respectively acquires the traffic residual values of the first user and the second user, and determines whether the traffic transfer conditions of the traffic transfer-out or the traffic transfer between the first user and the second user are met or not according to the acquired traffic residual values of the first user and the second user.
Specifically, in one embodiment, when the first user requests to actively donate traffic to the second user, that is, the traffic is forwarded, the remaining traffic value of the first user should be greater than the remaining traffic value of the second user, and the difference between the remaining traffic value and the remaining traffic value should be greater than the traffic value requested to be forwarded, it is determined that the traffic forwarding condition of the traffic forwarding or the traffic forwarding is met between the first user and the second user, otherwise, it is determined that the traffic forwarding condition is not met.
When a first user requests a second user to give a flow, namely, the flow is switched in, the flow residual value of the second user is larger than the flow residual value of the first user, and the difference value of the flow residual value and the flow residual value is larger than the flow value requested to be switched in, the flow switching condition of flow switching-out or flow switching-in between the first user and the second user is determined, otherwise, the flow switching condition is not met.
Therefore, the flow residual values of the first user and the second user are judged according to the preset rule, so that the flow transfer initiated by the users is supervised, and the influence on the normal use of the flow of the users related to the flow transfer is avoided.
Or, in another embodiment, when the first user requests to actively donate traffic to the second user, that is, the traffic is transferred out, the traffic value of the first user is greater than the traffic value requested to be transferred out, and it is determined that the traffic transfer condition for the traffic transfer-out or the traffic transfer between the first user and the second user is met, otherwise, the traffic transfer condition is not met.
When the first user requests the second user to give away the flow, namely the flow is switched in, the flow value of the second user is larger than the flow value requested to be switched in, and at the moment, the condition that the flow is switched out or switched in between the first user and the second user is determined to be met, otherwise, the condition is not met.
If it is determined that the traffic transfer request of the first user meets the traffic transfer condition for traffic transfer-out or traffic transfer-in, in step 206, the operator platform feeds back the determination result meeting the traffic transfer condition to the 5G message platform, and the 5G message platform feeds back the determination result to the first user in the form of a 5G message.
If it is determined that the traffic transfer request of the first user does not conform to the traffic transfer condition for traffic transfer-out or traffic transfer, in step 206, the operator platform feeds back the determination result that does not conform to the traffic transfer condition to the 5G message platform, and the 5G message platform feeds back the determination result to the first user in the form of a 5G message.
And for the traffic transfer between the users which do not belong to the same relationship area, the operator platform respectively determines the user information of all the users in the two relationship areas according to the relationship area corresponding to the first user or the second user.
For example, the mobile phone numbers of all family members in a first area to which a first user belongs are acquired, and the mobile phone numbers of all family members in a second area to which a second user belongs are acquired. Then, the operator platform obtains the traffic data corresponding to each user according to the mobile phone numbers of all users, and the traffic data includes the traffic order values, the traffic use values, the traffic remaining values and the like of all users.
Determining whether the traffic transfer request of the first user meets a predetermined transfer condition according to the traffic data, specifically including: and determining whether the flow transfer request of the first user meets the flow transfer condition of flow transfer-out or flow transfer-in according to the difference value between the total flow usage value and the total flow residual value of all users in the first area of the first user and the total flow order value, and the difference value between the total flow usage value and the total flow residual value of all users in the second area of the second user and the total flow order value.
The method specifically comprises the following steps: and when the difference value of the sum of the traffic usage values and the sum of the traffic surplus values of all the users in the first area is less than zero and the average value of the traffic surplus values is greater than the sum of the traffic ordering values of a preset proportion, such as 20% -30%, determining that the traffic transfer request meets the conditions of traffic transfer-out or traffic transfer-in. Otherwise, it is not.
Likewise, in step 206, the operator platform feeds back the corresponding determination result to the 5G message platform, so that the 5G message platform sends the determination result to the first user in a 5G message.
In another embodiment, for traffic transfer between users that do not belong to the same relationship area, if the transfer direction indication information indicates that the traffic transfer request is a traffic transfer-out request, the operator platform may further determine whether the traffic transfer request meets a predetermined transfer condition based on the traffic remaining value of the first user and the traffic remaining value of the second user.
Specifically, when the flow value of the first user is larger than the flow value of the second user and the difference value between the two is larger than the flow value requested to be transferred, the flow transfer is judged to meet the preset transfer condition. Otherwise, the judgment is in line.
Or when the flow value of the first user is larger than the flow value requested to be transferred, judging that the flow transfer meets the preset transfer condition. Otherwise, the judgment is in line.
At this time, in step 206, the operator platform feeds back the corresponding determination result to the 5G message platform, and the 5G message platform feeds back the determination result to the first user in the form of a 5G message.
In yet another embodiment, for a traffic roll-out request between users not belonging to the same relationship area, it is required to simultaneously satisfy that the traffic roll-over request is determined to meet a predetermined roll-over condition based on traffic data of all users in the first relationship area and traffic data of all users in the second relationship area, and that the traffic roll-over request is determined to meet the predetermined roll-over condition based on the traffic remaining value of the first user and the traffic remaining value of the second user.
Optionally, the diversion direction indication information indicates that the traffic diversion request is a traffic diversion request, and the predetermined diversion conditions include a first predetermined diversion condition and a second predetermined diversion condition.
Determining whether the traffic forwarding request meets a predetermined forwarding condition based on the traffic data of all users in the first relationship area and the traffic data of all users in the second relationship area, including: and determining whether the traffic transfer request meets the first preset transfer condition or not based on the traffic data of all users in the first relation area and the traffic data of all users in the second relation area.
Determining whether the traffic request meets a predetermined diversion condition, further comprising: if the flow transfer request is determined to meet the first preset transfer condition, acquiring a flow residual value of the first user and a flow residual value of the second user; determining whether the traffic diversion request meets the second predetermined diversion condition based on the traffic surplus value of the first user and the traffic surplus value of the second user; and if the traffic request is determined to meet the second predetermined transfer condition, determining that the traffic request meets the predetermined transfer condition.
In this embodiment, the step of determining whether the traffic forwarding request between the first user and the second user meets the predetermined forwarding condition based on the traffic data of all users in the first relationship area and the traffic data of all users in the second relationship area, and the step of determining whether the traffic forwarding request between the first user and the second user meets the traffic forwarding condition based on the remaining traffic values of the first user and the second user may be performed simultaneously or in a sequential order, where the sequential order is not fixed. And judging that the flow is not met if one of the steps determines that the flow is not met, and judging that the flow transfer-out request is in accordance with the flow transfer-out condition if the two steps both meet the corresponding preset flow transfer-out condition.
After the operator platform feeds back the determination result meeting the predetermined transfer condition to the 5G message platform, a traffic update instruction fed back to the operator platform by the 5G message platform based on the traffic roll-out or traffic roll-in operation executed by the first user is received. And the operator platform updates the flow data of the first user and the second user according to the received flow updating instruction.
The operator platform completes the traffic data update of different users according to the specific traffic update instruction, for example, according to the traffic value requested to be transferred, the traffic of the traffic donor and the traffic of the recipient are adjusted, the adjusted traffic values are the same, for example, the traffic of the first user of the traffic donor is reduced by 2G, and the traffic of the second user as the traffic recipient is increased by 2G.
In the embodiment of the application, a traffic transfer request of a first user for a second user is sent by a 5G message platform, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred; determining whether the flow transfer request meets a preset transfer condition; and feeding back the determination result to the 5G message platform so that the 5G message platform sends the determination result to the first user in a 5G message, and therefore, in the implementation process of implementing traffic transfer based on the 5G message, the operator platform supervises the traffic transfer, and the influence on the normal use of the traffic of the user related to the traffic transfer is avoided.
Optionally, an embodiment of the present application further provides a flow transfer system, and fig. 3 is a block diagram of a structure of the flow transfer system according to the embodiment of the present application.
As shown in fig. 3, traffic transfer system 1000 includes 5G message platform 1200 and operator platform 1400.
The 5G message platform 1200 receives a traffic forwarding request of a first user for a second user, where the traffic forwarding request carries a mobile phone number of the first user, a mobile phone number of the second user, forwarding direction indication information, and a traffic value requested to be forwarded; sending the traffic transfer request to the operator platform;
the operator platform 1400 determines whether the traffic transfer request meets a predetermined transfer condition, and feeds back a determination result to the 5G message platform;
if the determination result is in accordance with a predetermined transfer condition, the 5G message platform 1200 sends the determination result to the first user by using a first 5G message; sending a flow updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user;
the operator platform 1400 updates the traffic data of the first user and the second user according to the traffic update instruction.
Optionally, an embodiment of the present application further provides a flow diversion apparatus, and fig. 4 is a block diagram of a structure of the flow diversion apparatus according to the embodiment of the present application.
As shown in fig. 4, the flow diversion apparatus 2000 includes a memory 2200 and a processor 2400 electrically connected to the memory 2200, where the memory 2200 stores a computer program that can be executed by the processor 2400, and when the computer program is executed by the processor, the computer program implements each process of any one of the above-mentioned embodiments of the flow diversion method, and can achieve the same technical effect, and is not described again here to avoid repetition.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any one of the above embodiments of the traffic transfer method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A traffic transfer method is applied to a 5G message platform and comprises the following steps:
receiving a traffic forwarding request of a first user for a second user, wherein the traffic forwarding request carries a mobile phone number of the first user, a mobile phone number of the second user, forwarding direction indication information and a traffic value requested to be forwarded;
sending the traffic transfer request to an operator platform so that the operator platform can determine whether the traffic transfer request meets a preset transfer condition;
if the determined result fed back by the operator platform meets the preset transfer condition, sending the determined result to the first user by using a first 5G message;
and sending a traffic updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user, so that the operator platform can update traffic data of the first user and the second user according to the traffic updating instruction.
2. The method of claim 1,
the flow transfer request represents the transfer direction indication information through an indication bit; or
The traffic transfer request indicates the transfer direction indication information through the type or the identification of the traffic transfer request; or alternatively
And the traffic forwarding request indicates the forwarding direction indication information through the sequence of the mobile phone number of the first user and the mobile phone number of the second user in the traffic forwarding request.
3. The method of claim 1, wherein sending the determination to the first user in a first 5G message comprises:
acquiring a first 5G message template matched with the determination result, and generating a corresponding first 5G message;
and sending the first 5G message to the first user.
4. The method of claim 1, further comprising:
if the determined result fed back by the operator platform does not meet the preset transfer condition, acquiring a second 5G message template matched with the determined result, and generating a corresponding third 5G message;
and sending the third 5G message to the first user.
5. The method of claim 1, wherein sending a traffic update instruction to the operator platform based on a second 5G message fed back by the first user to the first 5G message comprises:
acquiring data information in the second 5G message;
sending a traffic update instruction to the operator platform based on the data information,
wherein the traffic update instruction comprises a traffic update instruction of the first user and a traffic update instruction of the second user.
6. A traffic transfer method is applied to an operator platform, and the method comprises the following steps:
receiving a traffic transfer request of a first user for a second user, which is sent by a 5G message platform, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred;
determining whether the flow transfer request meets a preset transfer condition;
feeding back the determination result to the 5G message platform so that the 5G message platform sends the determination result to the first user in a 5G message.
7. The method of claim 6,
the flow transfer request represents the transfer direction indication information through an indication bit; or
The traffic transfer request indicates the transfer direction indication information through the type or the identification of the traffic transfer request; or
And the traffic forwarding request indicates the forwarding direction indication information through the sequence of the mobile phone number of the first user and the mobile phone number of the second user in the traffic forwarding request.
8. The method according to claim 6 or 7, wherein the transfer direction indication information indicates that the traffic transfer request is a traffic transfer-in request or a traffic transfer-out request,
determining whether the traffic diversion request meets a predetermined diversion condition, including:
determining a relationship attribute between the first user and the second user based on the traffic forwarding request carrying the mobile phone number of the first user and the mobile phone number of the second user;
based on the relationship attribute, if the first user and the second user are determined to belong to the same relationship area, acquiring a flow residual value of the first user and a flow residual value of the second user, and determining whether the flow transfer request meets a predetermined transfer condition based on the first flow residual value and the second flow residual value;
based on the relationship attribute, if it is determined that the first user and the second user do not belong to the same relationship region, acquiring traffic data of all users in a first relationship region to which the first user belongs and traffic data of all users in a second relationship region to which the second user belongs, and determining whether the traffic transfer request meets a predetermined transfer condition based on the traffic data of all users in the first relationship region and the traffic data of all users in the second relationship region, wherein the traffic data includes a traffic order value, a traffic usage value and a traffic remaining value.
9. The method of claim 8, wherein the diversion direction indication information indicates that the traffic diversion request is a traffic diversion request, the predetermined diversion conditions comprising a first predetermined diversion condition and a second predetermined diversion condition,
determining whether the traffic forwarding request meets a predetermined forwarding condition based on the traffic data of all users in the first relationship area and the traffic data of all users in the second relationship area, including: determining whether the traffic transfer request meets the first predetermined transfer condition based on the traffic data of all users in the first relation area and the traffic data of all users in the second relation area;
determining whether the traffic request meets a predetermined diversion condition, further comprising:
if the flow transfer request is determined to meet the first preset transfer condition, acquiring a flow residual value of the first user and a flow residual value of the second user;
determining whether the traffic diversion request meets the second predetermined diversion condition based on the traffic surplus value of the first user and the traffic surplus value of the second user;
and if the traffic request is determined to meet the second predetermined transfer condition, determining that the traffic request meets the predetermined transfer condition.
10. A traffic transfer system is characterized by comprising a 5G message platform and an operator platform,
the 5G message platform receives a traffic transfer request of a first user for a second user, wherein the traffic transfer request carries a mobile phone number of the first user, a mobile phone number of the second user, transfer direction indication information and a traffic value requested to be transferred; sending the traffic transfer request to the operator platform;
the operator platform determines whether the flow transfer request meets a preset transfer condition or not, and feeds back a determination result to the 5G message platform;
if the determination result meets the preset transfer condition, the 5G message platform sends the determination result to the first user by using a first 5G message; sending a flow updating instruction to the operator platform based on a second 5G message fed back to the first 5G message by the first user;
and the operator platform updates the flow data of the first user and the second user according to the flow updating instruction.
CN202210586521.4A 2022-05-27 2022-05-27 Flow transfer method and system Active CN114980211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210586521.4A CN114980211B (en) 2022-05-27 2022-05-27 Flow transfer method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210586521.4A CN114980211B (en) 2022-05-27 2022-05-27 Flow transfer method and system

Publications (2)

Publication Number Publication Date
CN114980211A true CN114980211A (en) 2022-08-30
CN114980211B CN114980211B (en) 2023-10-27

Family

ID=82955442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210586521.4A Active CN114980211B (en) 2022-05-27 2022-05-27 Flow transfer method and system

Country Status (1)

Country Link
CN (1) CN114980211B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744501A (en) * 2016-03-31 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Data traffic sharing method and management server
CN105813048A (en) * 2015-12-15 2016-07-27 深圳市思享云创新技术有限公司 Method, apparatus and system for sharing flow
CN105828390A (en) * 2016-04-01 2016-08-03 乐视控股(北京)有限公司 Flow sharing method and apparatus
US20170187888A1 (en) * 2015-12-29 2017-06-29 Verizon Patent And Licensing Inc. Mobile peer-to-peer data balance transfer
CN108737977A (en) * 2018-05-15 2018-11-02 商客通尚景科技江苏有限公司 A kind of intelligent flow dissemination system and order processing method
CN108924880A (en) * 2018-07-06 2018-11-30 弗兰威尔信息科技(苏州)有限公司 It is a kind of can automatic flow cutting transfer flow distributing system and its distribution method
CN110418022A (en) * 2018-04-28 2019-11-05 华为技术有限公司 The method and device of flow package is adjusted for multiple user identifiers
CN110876123A (en) * 2018-08-30 2020-03-10 北京三星通信技术研究有限公司 Flow acquiring, providing, sharing, calibrating and transferring method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105813048A (en) * 2015-12-15 2016-07-27 深圳市思享云创新技术有限公司 Method, apparatus and system for sharing flow
US20170187888A1 (en) * 2015-12-29 2017-06-29 Verizon Patent And Licensing Inc. Mobile peer-to-peer data balance transfer
CN105744501A (en) * 2016-03-31 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Data traffic sharing method and management server
CN105828390A (en) * 2016-04-01 2016-08-03 乐视控股(北京)有限公司 Flow sharing method and apparatus
CN110418022A (en) * 2018-04-28 2019-11-05 华为技术有限公司 The method and device of flow package is adjusted for multiple user identifiers
CN108737977A (en) * 2018-05-15 2018-11-02 商客通尚景科技江苏有限公司 A kind of intelligent flow dissemination system and order processing method
CN108924880A (en) * 2018-07-06 2018-11-30 弗兰威尔信息科技(苏州)有限公司 It is a kind of can automatic flow cutting transfer flow distributing system and its distribution method
CN110876123A (en) * 2018-08-30 2020-03-10 北京三星通信技术研究有限公司 Flow acquiring, providing, sharing, calibrating and transferring method and equipment

Also Published As

Publication number Publication date
CN114980211B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN107889069B (en) Short message gateway selection method, device, server and readable storage medium
CN108595207A (en) A kind of gray scale dissemination method, regulation engine, system, terminal and storage medium
CN112752240A (en) Direct communication processing method and device, relay terminal and remote terminal
CN110177348B (en) Flow authorization control method and device
TW201832176A (en) Method for obtaining logistics document information, and related device
CN109919739A (en) Supply and demand service matching method, device, equipment and computer readable storage medium
US20230300099A1 (en) Message communication method and storage medium storing program
CN110798349B (en) Configuration distribution and receiving method, equipment and computer readable storage medium
CN110753323B (en) Card resource allocation method and server
CN114980211A (en) Flow transfer method and system
CN108616883A (en) Wireless access point connection method and its equipment
US7924838B1 (en) Advanced service architecture for next generation network services and intelligent data network router
WO2017097138A1 (en) Notification message processing method and device
CN105379323A (en) Method, device and system for controlling total quantity of online attached users
CN112685613B (en) Resource package query method and device and information processing system
CN101616497B (en) Method for realizing short message on-demand service, user identification card and unit
US20020107921A1 (en) Work-flow cooperation processing apparatus, work-flow cooperation processing system, work-flow-system cooperation method, program therefor, and recording medium therefor
CN102986173A (en) Method for setting message status and converged internet protocol message (CPM) traffic server
CN110519714A (en) Short message approval processing method and device, electronic equipment and storage medium
CN105260373A (en) Information processing apparatus and method
WO2022116565A1 (en) Operation request response processing method and apparatus, and computer readable storage medium
CN112069474B (en) Method for using and forgetting user data and third-party trusted server
EP4231606A1 (en) System for providing chatbot services in integrated way
WO2021135693A1 (en) Communication method and device
CN107040904A (en) The menu item of control short message shows the method and apparatus recalled

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