Disclosure of Invention
The embodiment of the application aims to provide a flow transfer method and a flow transfer system, which are used for solving the problem of inconvenient flow sharing in the prior art.
In order to solve the technical problems, the present specification is implemented as follows:
in a first aspect, a traffic transfer method is provided, applied to a 5G message platform, and the method includes:
receiving a flow transfer request of a first user for a second user, wherein the flow 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 flow value for requesting transfer;
sending the flow transfer request to an operator platform so that the operator platform determines whether the flow 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 a first 5G message;
and sending a flow update instruction to the operator platform based on a second 5G message fed back by the first user to the first 5G message, so that the operator platform updates the flow data of the first user and the second user according to the flow update instruction.
Optionally, the traffic transfer request indicates the transfer direction indication information through an indication bit; or alternatively
The flow transfer request indicates the transfer direction indication information through the type or the identification of the flow transfer request; or alternatively
The flow transfer request indicates the transfer 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 flow transfer request.
Optionally, sending the determination result to the first user in a first 5G message includes:
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 accord with the preset transfer condition, a second 5G message template matched with the determined result is obtained, and a corresponding third 5G message is generated;
and sending the third 5G message to the first user.
Optionally, based on a second 5G message fed back by the first user to the first 5G message, sending a traffic update instruction to the operator platform, including:
acquiring data information in the second 5G message;
based on the data information, sending a traffic update instruction to the operator platform,
the flow update instruction comprises a flow update instruction of the first user and a flow update instruction of the second user.
In a second aspect, a traffic transfer method is provided, applied to an operator platform, and the method includes:
receiving a flow transfer request of a first user for a second user sent by a 5G message platform, wherein the flow 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 flow value for requesting transfer;
determining whether the flow transfer request meets a predetermined transfer condition;
and feeding back a 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 transfer request indicates the transfer direction indication information through an indication bit; or alternatively
The flow transfer request indicates the transfer direction indication information through the type or the identification of the flow transfer request; or alternatively
The flow transfer request indicates the transfer 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 flow transfer request.
Optionally, the transfer direction indication information indicates that the traffic transfer request is a traffic transfer request or a traffic transfer out request, and determining whether the traffic transfer request meets a predetermined transfer condition includes:
determining a relationship attribute between the first user and the second user based on the mobile phone number of the first user and the mobile phone number of the second user carried by the traffic transfer request;
based on the relation attribute, if the first user and the second user belong to the same relation area, acquiring a flow remaining value of the first user and a flow remaining value of the second user, and determining whether the flow transfer request meets a preset transfer condition or not based on the first flow remaining value and the second flow remaining value;
Based on the relationship attribute, if the first user and the second user are determined not to belong to the same relationship area, acquiring flow data of all users in the first relationship area to which the first user belongs and flow data of all users in the second relationship area to which the second user belongs, and determining whether the flow transfer request meets a predetermined transfer condition or not based on the flow data of all users in the first relationship area and the flow data of all users in the second relationship area, wherein the flow data comprises a flow ordering value, a flow using value and a flow 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 transfer request meets a predetermined transfer condition based on traffic data of all users in the first relationship area and 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 traffic data of all users in the first relationship area and traffic data of all users in the second relationship area;
Determining whether the flow request meets a predetermined transfer condition further comprises:
if the flow transfer request is determined to meet the first preset transfer condition, acquiring a flow remaining value of the first user and a flow remaining value of the second user;
determining whether the traffic transfer request meets the second predetermined transfer condition based on the traffic remaining value of the first user and the traffic remaining value of the second user;
and if the flow request is determined to meet the second preset transfer condition, determining that the flow request meets the preset transfer condition.
In a third aspect, a traffic transfer system is provided, comprising a 5G messaging platform and an operator platform,
the 5G message platform receives a flow transfer request of a first user for a second user, wherein the flow 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 flow value for requesting transfer; 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;
The 5G message platform sends the determination result to the first user through a first 5G message if the determination result meets a preset transfer condition; based on a second 5G message fed back by the first user to the first 5G message, sending a flow update instruction to the operator platform;
and the operator platform updates the flow data of the first user and the second user according to the flow update instruction.
In a fourth aspect, there is provided a flow diversion apparatus comprising a memory and a processor electrically connected to the memory, the memory storing a computer program executable by the processor to perform the steps of the method according to the first or second aspect when executed by the processor.
In a fifth aspect, there is provided a computer readable storage medium having stored thereon a computer program 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, the flow transfer request of the first user for the second user is received, and the flow transfer request carries the mobile phone number of the first user, the mobile phone number of the second user, transfer direction indication information and a flow value for requesting transfer; sending the flow transfer request to an operator platform so that the operator platform determines whether the flow 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 a first 5G message; based on a second 5G message fed back by the first user to the first 5G message, sending a flow update instruction to the operator platform so that the operator platform updates flow data of the first user and the second user according to the flow update instruction, and therefore the first user can give the flow to other mobile phone users through the 5G message; or the first user can receive the donated flow through receiving the 5G message, so that the mobile network content can be directly accessed through the terminal equipment of the user by using the transfer flow without hot spot access, and the convenience of flow sharing is improved.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application. The reference numerals 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 controls the description in the specification.
In order to solve the problems in the prior art, an embodiment of the present application provides a flow transfer method, and fig. 1 is a schematic flow chart of a flow transfer method according to a first embodiment of the present application, where the flow transfer method of the embodiment is applied to a 5G message platform.
As shown in fig. 1, the method comprises the following steps:
102, receiving a flow transfer request of a first user for a second user, wherein the flow 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 flow value for requesting transfer;
step 104, the flow transfer request is sent 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 is in accordance with a predetermined transfer condition, sending the determined result to the first user by using a first 5G message;
and step 108, based on a second 5G message fed back by the first user to the first 5G message, sending a flow update instruction to the operator platform, so that the operator platform updates the flow data of the first user and the second user according to the flow update instruction.
In the embodiment of the application, the first user and the second user are users related to flow transfer, for example, if the first user initiates a flow transfer request, the flow of the first user is presented to the second user by the first user or the flow of the second user is presented to the first user by the second user.
The traffic transfer request comprises a traffic transfer request for the first user to give the traffic to the second user, namely, the traffic transfer request is sent from the first user to the second user; and a flow transfer request for the first user to request the second user to give the flow, namely, the request flow is transferred from the second user to the first user.
The first user can select a second user through a short message inlet of the terminal equipment and then submit a flow transfer request, wherein the second user can be a user with the flow or a user with the flow. The second user is determined for the first user input, and can be selected from address books of the user terminal by the first user, or can be directly input by an input box, the second user is not limited to a friend list of the address books of the first user, and the number of the second users can be multiple.
Meanwhile, when the first user submits the flow transfer request, the first user may also request a transferred flow value, for example, a flow value requested to be transferred, i.e. a donated flow value, or a flow value requested to be transferred, i.e. a donated flow 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, namely indicating whether the requested gift traffic is transferred from the first user or the requested gift traffic is transferred to the first user.
Based on the solution provided in the foregoing embodiment, optionally, in step 102, the traffic transfer request indicates 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 the flow transfer request indicates the transfer 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 flow transfer request.
The flow diversion direction is indicated by a predetermined bit value of the flow diversion request, e.g., 0 for ingress and 1 for egress. Otherwise, the other way round.
The parameter of the predetermined field of the flow transfer request indicates the type or identity of the flow transfer request, for example, "type=in" indicates a roll-in, and "type=out" indicates a roll-out. Otherwise, the other way round.
The flow forwarding direction is indicated by 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 recorded in the flow forwarding request, for example, the mobile phone number is indicated as the user of the flow forwarding on the left side, and the mobile phone number is indicated as the user of the flow forwarding on the right side. 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 receiving and transmitting channel, and can access data and transmit the data to an 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, the operator platform may feed back the corresponding determination result to the 5G message platform when it is determined that the traffic transfer request meets the predetermined transfer condition or does not meet the predetermined transfer condition. Compliance refers to traffic transfer where the first user request may be performed, and non-compliance refers to traffic transfer where the first user request is not performed.
The determination as to whether or not the traffic diversion request meets the predetermined diversion condition is described later.
In step 106, the 5G message platform feeds back to the first user in the form of a 5G message according to the received determination result.
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 includes: 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 with the result content, the 5G message platform generates a corresponding 5G message according to a 5G message template matched with the result in accordance with the result content. After receiving the 5G message, the terminal device of the first user can execute corresponding operation according to the 5G message. In this step, the generated 5G message includes the corresponding indication content and the specific traffic transfer, and the operation control for picking up or giving away. The first user can click on an operation control in the 5G message to perform corresponding flow transfer operation. The operation control can comprise two types, wherein one type is a flow taking operation, namely a flow switching operation; one is a flow gifting operation, i.e., a flow roll-out. The performed operation specifically corresponds to the type of traffic transfer 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, a second 5G message template matched with the determined result is obtained, and a corresponding third 5G message is generated; and sending the third 5G message to the first user.
When the result content is inconsistent, the 5G message platform generates a corresponding 5G message according to a 5G message template matched with the inconsistent result, and the 5G message comprises the inconsistent result content, so that after the terminal equipment of the first user receives the 5G message, the terminal equipment can directly check the received 5G message to know a specific judgment result.
And the first user operates the control for picking up or giving away the first 5G message through the terminal equipment. Thereby feeding back the second 5G message to the 5G message platform.
Optionally, based on a second 5G message fed back by the first user to the first 5G message, sending a traffic update instruction to the operator platform, including: acquiring data information in the second 5G message; and sending a flow update instruction to an operator platform based on the data information, wherein the flow update instruction comprises a flow update instruction of the first user and a flow 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 flow update instruction to the operator platform according to the data information carried in the second 5G message, where the instruction includes a first user flow update instruction and a second user flow update instruction, the first user flow update instruction refers to updating the flow data of the first user, and the second user flow update instruction refers to updating the flow data of the second user. And the operator platform completes updating 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 subscription information, traffic usage information, and the like.
The 5G message platform may then generate a fourth 5G message corresponding to the traffic update operation and send the fourth 5G message to the first user to inform the first user that the requested traffic transfer is complete. For this step, after the operator platform performs the traffic update operation, the 5G message platform may generate a corresponding fourth 5G message according to the response of the operator platform; the 5G message platform may also be synchronized with the operation of sending the traffic update instruction to the operator platform in step 108, to generate a corresponding fourth 5G message.
In the embodiment of the application, the flow transfer request of the first user for the second user is received, and the flow transfer request carries the mobile phone number of the first user, the mobile phone number of the second user, transfer direction indication information and a flow value for requesting transfer; sending the flow transfer request to an operator platform so that the operator platform determines whether the flow 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 a first 5G message; based on a second 5G message fed back by the first user to the first 5G message, sending a flow update instruction to the operator platform so that the operator platform updates flow data of the first user and the second user according to the flow update instruction, and therefore the first user can give the flow to other mobile phone users through the 5G message; or the first user can receive the donated flow through receiving the 5G message, so that the mobile network content can be directly accessed through the terminal equipment of the user by using the transfer flow without hot spot access, and the convenience of flow sharing is improved.
Referring now to fig. 2, fig. 2 is a flow chart of a flow diversion method according to a second embodiment of the present application, where the flow diversion method is applied to an operator platform.
As shown in fig. 2, the method comprises the following steps:
step 202, receiving a flow transfer request of a first user for a second user sent by a 5G message platform, wherein the flow 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 flow value for requesting transfer;
step 204, determining whether the flow transfer request meets a predetermined transfer condition;
and step 206, feeding back the determined result to the 5G message platform so that the 5G message platform sends the determined result to the first user in a 5G message.
In step 202, the operator platform receives a traffic transfer request of a first user forwarded by the 5G message platform, and determines whether the traffic transfer request requests traffic transfer or traffic transfer according to transfer direction indication information carried by the traffic transfer request.
Optionally, the traffic transfer request indicates the transfer direction indication information through an indication bit; or,
the flow transfer request indicates the transfer direction indication information through the type or the identification of the flow transfer request; or,
The flow transfer request indicates the transfer 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 flow transfer request.
As described above, the traffic transfer request includes a traffic in request or a traffic out request.
In step 204, optionally, the diversion direction indication information indicates that the traffic diversion request is a traffic diversion request or a traffic diversion request, and determining whether the traffic diversion request meets a predetermined diversion condition includes:
determining a relationship attribute between the first user and the second user based on the mobile phone number of the first user and the mobile phone number of the second user carried by the traffic transfer request;
based on the relation attribute, if the first user and the second user belong to the same relation area, acquiring a flow remaining value of the first user and a flow remaining value of the second user, and determining whether the flow transfer request meets a preset transfer condition or not based on the first flow remaining value and the second flow remaining value;
based on the relationship attribute, if the first user and the second user are determined not to belong to the same relationship area, acquiring flow data of all users in the first relationship area to which the first user belongs and flow data of all users in the second relationship area to which the second user belongs, and determining whether the flow transfer request meets a predetermined transfer condition or not based on the flow data of all users in the first relationship area and the flow data of all users in the second relationship area, wherein the flow data comprises a flow ordering value, a flow using value and a flow remaining value.
In this embodiment, whether the request traffic is switched in or out, it is necessary 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 carrier platform may tag the attributes of the first user and the second user registering the mobile phone number, for example, that a certain user is a certain family member, a certain company employee, or has ordered a certain package. The relationship area may be divided by company, family, community, 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 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 tag of the first user is a family member of the first area and the relationship attribute tag of the second user is a family member of the second area, it may be determined that the first user and the second user do not belong to the same relationship area according to the relationship attribute tag.
And for the flow transfer between the users belonging to the same relation area, the operator platform respectively acquires the flow residual values of the first user and the second user, and determines whether the flow transfer conditions of the flow transfer-out or the flow transfer-in are met between the first user and the second user according to the acquired flow residual values of the first user and the second user.
Specifically, in one embodiment, when the first user requests to actively give the flow to the second user, that is, the flow is diverted, the flow remaining value of the first user should be greater than the flow remaining value of the second user, and the difference value of the two should be greater than the flow value of the request to divert, where it is determined that the flow diversion condition of the flow diversion or the flow diversion is met between the first user and the second user, otherwise, the flow diversion condition is not met.
When the first user requests the second user to give the flow, namely, the flow is turned in, the flow residual value of the second user is larger than the flow residual value of the first user, the difference value of the flow residual value and the flow residual value is larger than the flow value of the request to turn in, at the moment, the flow transfer condition which accords with the flow turning out or the flow turning in between the first user and the second user is determined, and otherwise, the flow transfer condition is not met.
Therefore, the flow surplus values of the first user and the second user are judged according to the preset rule, so that the flow transfer initiated by the user is supervised, and the influence on the normal use of the flow of the user related to the flow transfer is avoided.
Or in another embodiment, when the first user requests to give the flow to the second user, namely, the flow is turned out, the flow value of the first user is larger than the flow value requested to be turned out, and it is determined that the flow transfer condition of the flow turning out or the flow turning in is met between the first user and the second user, otherwise, the flow transfer condition is not met.
When the first user requests the second user to give the flow, namely, the flow is changed, the flow value of the second user is larger than the flow value of the request, at the moment, the flow transfer condition of the flow change-out or the flow change-in is determined to be met between the first user and the second user, and otherwise, the flow is not met.
If it is determined that the flow transfer request of the first user meets the flow transfer condition of the flow transfer out or the flow transfer in, in step 206, the operator platform feeds back the determination result meeting the flow 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 flow transfer request of the first user does not meet the flow transfer condition of the flow transfer out or the flow transfer in, in step 206, the operator platform feeds back the determination result that does not meet the flow 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 users not belonging to the same relation area, the operator platform respectively determines the user information of all the users in the two relation areas according to the relation areas corresponding to the first user or the second user.
For example, mobile phone numbers of all family members in a first area to which a first user belongs are acquired, and mobile phone numbers of all family members in a second area to which a second user belongs are acquired. And then, the operator platform acquires flow data corresponding to each user according to the mobile phone numbers of all the users, wherein the flow data comprises flow ordering values, flow using values, flow remaining values and the like of all the users.
Determining whether the traffic transfer request of the first user meets a predetermined transfer condition according to the traffic data specifically comprises: and determining whether the flow transfer request of the first user accords with the flow transfer condition of the flow transfer-out or the flow transfer-in according to the difference value of the total flow use value and the total flow residual value of all users in the first area of the first user and the total flow ordering value and the difference value of the total flow use value and the total flow residual value of all users in the second area of the second user and the total flow ordering value.
The method comprises the following steps: and when the difference between the sum of the traffic usage values and the sum of the traffic remaining values of all the users in the first area is smaller than zero and the average value of the traffic remaining values is larger than a preset proportion, such as 20% -30%, of the sum of the traffic ordering values, determining that the traffic transfer request meets the condition 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 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 should be greater than the flow value of the second user and the difference value of the two is greater than the flow value requested to be transferred, the flow transfer is judged to meet the predetermined transfer condition. Otherwise, judging coincidence.
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, judging coincidence.
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 corresponding determination result to the first user in the form of a 5G message.
In yet another embodiment, for traffic outgoing requests between users not belonging to the same relationship area, it is necessary to simultaneously satisfy a determination that the traffic outgoing request meets a predetermined diversion 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 a determination that the traffic outgoing request meets the predetermined diversion condition based on traffic remaining values of the first user and 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 transfer request meets a predetermined transfer condition based on traffic data of all users in the first relationship area and 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 flow request meets a predetermined transfer condition further comprises: if the flow transfer request is determined to meet the first preset transfer condition, acquiring a flow remaining value of the first user and a flow remaining value of the second user; determining whether the traffic transfer request meets the second predetermined transfer condition based on the traffic remaining value of the first user and the traffic remaining value of the second user; and if the flow request is determined to meet the second preset transfer condition, determining that the flow request meets the preset transfer condition.
In this embodiment, the step of determining whether the flow outgoing request between the first user and the second user meets the predetermined transfer condition based on the flow data of all the users in the first relationship area and the flow data of all the users in the second relationship area, and the step of determining whether the flow outgoing request between the first user and the second user meets the flow outgoing condition based on the flow remaining values of the first user and the second user may be performed simultaneously or may be performed in a sequential order, where the sequential order is not fixed. And judging that the flow output request meets the flow output condition only if one of the steps determines that the flow output request does not meet the flow output condition if the flow output request does not meet the flow output condition.
After the operator platform feeds back the determined result meeting the predetermined transfer condition to the 5G message platform, a flow update instruction fed back to the operator platform by the 5G message platform based on the flow transfer-out or flow transfer-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 update instruction.
The operator platform completes the flow data updating of different users according to the specific flow updating instruction, for example, the flow of the flow donor and the flow of the flow receiver are adjusted according to the flow value requested to be transferred, the adjusted flow values are the same, for example, the flow of the first user of the flow donor is reduced by 2G, and the flow of the second user serving as the flow receiver is increased by 2G.
In the embodiment of the application, a flow transfer request of a first user for a second user sent by a 5G message platform is received, wherein the flow 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 flow value for requesting transfer; determining whether the flow transfer request meets a predetermined transfer condition; and feeding back a determination result to the 5G message platform so that the 5G message platform sends the determination result to the first user through a 5G message, and therefore, in the realization process of realizing flow transfer based on the 5G message, the operator platform monitors the flow transfer, and the influence on the normal use of the flow of the user related to the flow transfer is avoided.
Optionally, the embodiment of the present application further provides a flow diversion system, and fig. 3 is a block diagram of the flow diversion system according to the embodiment of the present application.
As shown in fig. 3, traffic transfer system 1000 includes a 5G messaging platform 1200 and an operator platform 1400.
The 5G message platform 1200 receives a flow transfer request of a first user for a second user, where the flow 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 flow value for requesting transfer; 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;
the 5G message platform 1200 sends the determination result to the first user with a first 5G message if the determination result meets a predetermined transfer condition; based on a second 5G message fed back by the first user to the first 5G message, sending a flow update instruction to the operator platform;
the operator platform 1400 updates the traffic data of the first user and the second user according to the traffic update instruction.
Optionally, the embodiment of the present application further provides a flow diversion device, and fig. 4 is a block diagram of the flow diversion device according to the embodiment of the present application.
As shown in fig. 4, the flow diversion device 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 the computer program implements each process of any one of the foregoing flow diversion method embodiments and achieves the same technical effects, so that repetition is avoided and no further description is given here.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements each process of any one of the above embodiments of the flow transfer method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
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 application 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) comprising instructions for causing a terminal (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 application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.