CN110248324B - Method and apparatus for traffic sharing settlement - Google Patents

Method and apparatus for traffic sharing settlement Download PDF

Info

Publication number
CN110248324B
CN110248324B CN201810186317.7A CN201810186317A CN110248324B CN 110248324 B CN110248324 B CN 110248324B CN 201810186317 A CN201810186317 A CN 201810186317A CN 110248324 B CN110248324 B CN 110248324B
Authority
CN
China
Prior art keywords
user equipment
sharing
user
flow
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810186317.7A
Other languages
Chinese (zh)
Other versions
CN110248324A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201810186317.7A priority Critical patent/CN110248324B/en
Publication of CN110248324A publication Critical patent/CN110248324A/en
Application granted granted Critical
Publication of CN110248324B publication Critical patent/CN110248324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/765Linked or grouped accounts, e.g. of users or devices
    • H04M15/7657Linked or grouped accounts, e.g. of users or devices for closed subscriber group [CSG]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Abstract

The application aims to provide a method and equipment for traffic sharing settlement. Compared with the prior art, the method and the device have the advantages that the residual shared flow value of the first user equipment and the residual consumed flow values of one or more second user equipments sharing the flow of the first user equipment are sent to the first user equipment through the network equipment, and when the first user equipment monitors that the shared flow value reaches the residual shared flow value, the flow sharing of the second user equipment is finished, or when the first user equipment monitors that the consumed flow value of the second user equipment reaches the residual consumed flow value of the second user equipment, the flow sharing of the second user equipment is finished. In this way, traffic sharing between the user devices can be realized, and traffic settlement can be realized by monitoring traffic use.

Description

Method and apparatus for traffic sharing settlement
Technical Field
The application relates to the technical field of computers, in particular to a technology for flow sharing settlement.
Background
In the prior art, a mobile internet user purchases a flow package from an operator every month, the flow package is generally mainly flow package, holiday package, monthly package or flow package charged on time, the flow is generally used in a limited time, region limitation exists, and the flow is cleared when the flow is inexhaustible, so that the flow is wasted. Therefore, how to reasonably utilize the flow becomes an urgent problem to be solved.
Disclosure of Invention
The application aims to provide a method and equipment for traffic sharing settlement.
According to one aspect of the application, a method for traffic sharing settlement on a network device side is provided, wherein the method comprises the following steps:
sending the remaining shared flow value of a first user device and the remaining consumed flow values of one or more second user devices sharing the flow of the first user device to the first user device;
receiving a shared flow value about the first user equipment and consumption flow values of the one or more second user equipments, which are sent by the first user equipment.
Further, wherein the method further comprises:
determining a remaining shared flow value of the first user equipment and a remaining consumed flow value of the one or more second user equipments based on the shared flow value and the consumed flow value.
Further, wherein the method further comprises:
receiving a sharing planning value sent by first user equipment and a demand planning value sent by one or more second user equipment;
determining the remaining shared flow value of the first user equipment and the remaining consumed flow values of the one or more second user equipments specifically includes:
Determining a residual shared flow value of the first user equipment according to the sharing planning value of the first user equipment and the shared flow value of the first user equipment; and determining the residual consumption flow value of the one or more second user equipment according to the demand planning value of the one or more second user equipment and the consumption flow value of the one or more second user equipment. Further, wherein the method further comprises:
and when a preset condition is met, sending prompt information to the first user equipment and/or the one or more second user equipments.
Further, wherein the preset condition comprises any one of:
when the flow sharing is carried out, the network is disconnected;
when the secondary flow sharing is finished;
the first user equipment or the one or more second user equipments cancel traffic sharing.
Further, wherein the method further comprises:
determining payment mode information of the first user equipment and/or the second user equipment;
determining cost information of the first user equipment and/or the second user equipment based on the payment mode information;
and sending the expense information to the first user equipment and/or the one or more second user equipments.
Further, wherein the determining of the payment mode information of the first user equipment and/or the second user equipment comprises:
receiving payment mode information sent by the first user equipment and/or the second user equipment;
determining payment mode information of the first user equipment and/or the second user equipment based on payment mode information sent by the first user equipment or the second user equipment.
Further, wherein the determining of the payment mode information of the first user equipment and/or the second user equipment comprises:
and determining the payment mode information of the first user equipment and/or the second user equipment based on the traffic sharing record information of the first user equipment and the second user equipment.
Further, when the payment mode information is a non-free mode, the determining the fee information of the first user equipment and/or the second user equipment based on the payment mode information includes:
determining cost information of the first user equipment and/or the one or more second user equipments based on the remaining shared traffic information and the remaining consumed traffic information.
Further, wherein the method further comprises:
receiving first WiFi hotspot sharing information sent by the first user equipment, wherein the first WiFi hotspot is a personal WiFi hotspot created based on the first user equipment, and the first WiFi hotspot sharing information comprises identification information and access information of the first WiFi hotspot;
and sending WiFi hotspot sharing information corresponding to the first WiFi hotspot to the one or more second user equipment, so that the one or more second user equipment establishes wireless connection with the first WiFi hotspot based on the first WiFi hotspot sharing information.
Further, wherein the method further comprises:
and controlling wireless connection between the first user equipment and the one or more second user equipments according to the residual shared flow value of the first user equipment and the residual consumed flow values of the one or more second user equipments.
Further wherein the controlling the wireless connection between the first user equipment and the one or more second user equipments comprises:
when the residual consumption flow value of at least one second user equipment in the one or more second user equipments is zero, sending an instruction for disconnecting the first user equipment from the at least one second user equipment; or the like, or, alternatively,
When the remaining sharing flow value of the first user equipment is zero, sending an instruction for canceling a personal WiFi hotspot of the first user equipment and/or sending an instruction for disconnecting the connection between the first user equipment and the one or more second user equipments; or the like, or, alternatively,
when the connection between the first user equipment and the one or more second user equipments is disconnected and the remaining consumption flow value of the one or more second user equipments is greater than zero, sending WiFi hotspot sharing information corresponding to a second WiFi hotspot to the one or more second user equipments, so that the one or more second user equipments establish wireless connection with the second WiFi hotspot based on the second WiFi hotspot sharing information, wherein the second WiFi hotspot is a personal WiFi hotspot created based on other user equipments.
According to another aspect of the present application, there is also provided a method for traffic sharing settlement at a first user equipment, wherein the method includes:
receiving a remaining shared flow value of the first user equipment and remaining consumed flow values of one or more second user equipments sharing the flow of the first user equipment, which are sent by network equipment;
monitoring a shared flow value of the first user equipment and flow consumption values of the one or more second user equipments;
And adjusting the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result.
Further, adjusting the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result includes:
when detecting that the shared flow value of the first user equipment reaches the residual shared flow value, ending flow sharing for the one or more second user equipments; alternatively, the first and second electrodes may be,
and when detecting that the flow consumption value of any one of the one or more second user equipment reaches the residual flow consumption value of the second user equipment, ending the flow sharing of the second user equipment.
Further, wherein the method further comprises:
and sending the monitored sharing flow value of the first user equipment and the monitored consumption flow values of the one or more second user equipments to network equipment based on a preset rule.
Further, wherein the preset rule includes any one of:
reaching a preset time interval;
when the one or more second user equipment is monitored to finish using the sharing flow;
and when the traffic sharing of the one or more second user equipment is finished.
Further, wherein the method further comprises:
sending a sharing plan value to the network device, so that the network device determines a remaining sharing flow value of the first user device based on the sharing plan value.
Further, wherein the method further comprises:
sending payment mode information to the network device;
and when the payment mode information is in a non-free mode, receiving the fee information sent by the network equipment based on the non-free mode.
Further, wherein the method further comprises:
creating a first WiFi hotspot;
and sending first WiFi hotspot sharing information corresponding to the first WiFi hotspot to the network equipment, wherein the first WiFi hotspot sharing information comprises identification information and access information of the first WiFi hotspot, so that the one or more second user equipment establish wireless connection with the first WiFi hotspot based on the first WiFi hotspot sharing information.
Further, the adjusting, according to the monitoring result, the sharing behavior of the first user equipment to the one or more second user equipments includes:
when the remaining consumption flow value of at least one second user equipment in the one or more second user equipments is zero, receiving an instruction sent by the network equipment for disconnecting the connection between the first user equipment and the at least one second user equipment; or when the remaining shared flow value of the first user equipment is zero, receiving an instruction sent by the network equipment to cancel the personal WiFi hotspot of the first user equipment and/or sending an instruction to disconnect the connection between the first user equipment and the one or more second user equipments.
According to yet another aspect of the present application, there is also provided a computer readable medium having stored thereon computer readable instructions executable by a processor to implement the foregoing method
Compared with the prior art, the method and the device have the advantages that the residual sharing flow value of the first user equipment and the residual consumption flow values of one or more second user equipments sharing the flow of the first user equipment are sent to the first user equipment through the network equipment, and when the first user equipment monitors that the sharing flow value reaches the residual sharing flow value, the flow sharing of the second user equipment is finished, or when the first user equipment detects that the consumption flow value of the second user equipment reaches the residual consumption flow value of the second user equipment, the flow sharing of the second user equipment is finished. In this way, traffic sharing between the user devices can be realized, and traffic settlement can be realized by monitoring traffic use.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 illustrates a flow diagram of a method for traffic sharing settlement, according to an aspect of the subject application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
To further illustrate the technical means and effects adopted by the present application, the following description clearly and completely describes the technical solution of the present application with reference to the accompanying drawings and preferred embodiments.
Fig. 1 illustrates a flow diagram of a method for traffic sharing settlement provided by an aspect of the subject application. The method of this embodiment may be implemented by the first user equipment 1 and the network device 2 cooperating with each other. The method comprises the following steps:
s11, the network device 2 sends the remaining shared traffic value of the first user device 1 and the remaining consumed traffic values of one or more second user devices sharing the traffic of the first user device 1 to the first user device 1, and accordingly, the first user device 1 receives the remaining shared traffic value and the remaining consumed traffic values;
s12, the first user equipment 1 monitors a shared traffic value of the first user equipment and a traffic consumption value of each of the one or more second user equipments;
s13, the first user equipment 1 adjusts the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result; the user device includes a device capable of performing information interaction with a network device through a network, for example, the user device includes, but is not limited to, any mobile electronic product capable of performing human-computer interaction with a user through a touch panel, such as a smart phone, a tablet computer, and the like, and the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, and the like. In this application, the first user equipment includes user equipment sharing traffic, and the second user equipment includes user equipment sharing traffic using the first user equipment, and in this way, traffic sharing between the user equipment can be achieved.
Network devices include, but are not limited to, computers, network hosts, a single network server, multiple sets of network servers, or a cloud of multiple servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers.
In this embodiment, in the step S11, the remaining shared flow value of the first user equipment 1 and the remaining consumed flow value of each of the one or more second user equipments are recorded in the network equipment 2.
Here, the remaining shared traffic value includes an initial value when the first user equipment 1 performs initial sharing, for example, during initial sharing, the first user equipment 1 may automatically obtain an initial value of traffic to be shared by the first user equipment 1, or the first user equipment 1 may obtain an initial value of traffic to be shared input by a user, and send the initial value to the network equipment 2, so that the network equipment 2 records the initial value, and further, after the first user equipment 1 performs traffic sharing, the remaining shared traffic value includes a remaining traffic value after each traffic sharing; similarly, the remaining consumed flow value includes an initial value of the second user equipment at the time of the initial demand flow, and also includes a remaining demand flow value after the shared flow of the first user equipment 1 is used. Therefore, the remaining shared traffic value or the remaining consumed traffic value is continuously updated along with the sharing of traffic, that is, the remaining shared traffic value and the remaining consumed traffic value are continuously changed in the record of the network device, and the network device 2 continuously sends the updated remaining shared traffic value and the updated remaining consumed traffic value to the first user device 1.
In this embodiment, in step S12, the first user equipment 1 monitors the shared traffic value of the first user equipment 1 and the respective traffic consumption values of the one or more second user equipments.
Specifically, when the first user equipment 1 performs traffic sharing, it is to monitor a traffic sharing condition, specifically, the first user equipment 1 may directly monitor a shared traffic value thereof, or determine the shared traffic value thereof by monitoring a traffic consumption value of each of the second user equipments sharing the traffic thereof, for example, if the first user equipment performs traffic sharing on three second user equipments, the first user equipment may monitor traffic consumption values of the three second user equipments, for example, if the monitored traffic consumption values of the three second user equipments are N1, N2, and N3, the traffic sharing value of the first user equipment is N1+ N2+ N3.
Preferably, before the step S11, the method further includes: s14 (not shown), the first user equipment 1 sends the shared traffic value and the consumption traffic values of the one or more second user equipments to the network equipment 2, and accordingly, the network equipment 2 receives the shared traffic value and the consumption traffic values; s15 (not shown), the network device 2 determines, based on the shared traffic value and the consumed traffic value, a remaining shared traffic value of the first user equipment 1 and remaining consumed traffic values of one or more second user equipments sharing traffic of the first user equipment 1.
In this embodiment, when the first user equipment 1 performs traffic sharing, the shared traffic value and the consumed traffic values of one or more second user equipments may be recorded and sent to the network equipment 2, and then the remaining shared traffic value and the remaining consumed traffic value are determined by the network equipment 2.
Specifically, the latest remaining shared flow value related to the first user equipment 1 and the latest remaining consumed flow value of one or more second user equipments are recorded in the network equipment 2, and since the first user equipment 1 is constantly performing flow sharing, the remaining shared flow value is constantly changing, and similarly, the remaining consumed flow value is constantly changing, so that the network equipment 2 needs to determine and update the remaining shared flow value according to the flow sharing condition of the first user equipment 1, that is, the shared flow value, for example, the current remaining shared flow value is determined by subtracting the current shared flow value from the previous remaining shared flow value, and similarly, for each second user equipment, the current remaining consumed flow value can be determined by obtaining the consumed flow value of each second user equipment.
Preferably, the method further comprises: the first user equipment 1 sends a sharing plan value to the network equipment 2, and correspondingly, the network equipment 2 receives the sharing plan value sent by the first user equipment 1 and the demand plan value sent by the one or more second user equipments.
Here, the sharing plan value includes a total flow value that the sharer plans to share to other users, and the demand plan value includes a total flow value that each demander plans to use. The first user equipment 1 may send the sharing plan value to the network equipment 2 before sharing the traffic, and similarly, the one or more second user equipments send the demand plan value to the network equipment 2 before accepting the traffic sharing, so that the network equipment 2 records the demand plan value.
After the first user equipment 1 performs traffic sharing, the shared traffic value is sent to the network equipment 2, and accordingly, the network equipment 2 determines the remaining shared traffic value according to the recorded shared planning value and the shared traffic value. For example, the sharing rule value is subtracted by the corresponding sharing traffic value to determine the remaining sharing traffic value.
When the one or more second user equipments accept traffic sharing, the consumed traffic value is sent to the network equipment 2, and accordingly, the network equipment 2 determines the remaining consumed traffic value according to the recorded demand planning value and the consumed traffic value. For example, the consumption flow value is subtracted from the demand plan value of each second user equipment to determine a remaining consumption flow value for each second user equipment. Preferably, the step S14 further includes: the first user equipment 1 sends the monitored shared flow value of the first user equipment 1 and the monitored consumption flow values of the one or more second user equipments to network equipment based on a preset rule.
In this embodiment, the first user equipment 1 may continuously send the shared traffic value and the consumption traffic value of each of the one or more second user equipments to the network equipment 2 in the sharing process, where the first user equipment 1 may report the shared traffic value and the consumption traffic value of each of the one or more second user equipments to the network equipment in real time, and preferably, the preset rule includes any one of: reaching a preset time interval; when the one or more second user equipment is monitored to finish using the sharing flow; and when the traffic sharing of the one or more second user equipment is finished.
That is, in the present application, a manner of reporting the traffic by the first user equipment 1 is not limited, for example, a certain time interval may be preset, and in the traffic sharing process, when the time interval is reached, the first user equipment 1 may report the traffic; or reporting when it is detected that any one of the one or more second user equipments finishes using the shared traffic, where the traffic consumption of only one second user equipment may be reported when the second user equipment finishes using the shared traffic, or the traffic consumption of all the second user equipments may be reported, and this is not limited herein; or reporting when the first user equipment 1 finishes sharing the traffic of the one or more second user equipments.
The preset conditions are only examples, and other preset conditions which are present or may be applied in the future to the present application, such as the application, should also be included in the protection scope of the present application, and are included herein by reference.
Preferably, wherein the method further comprises: s16 (not shown), when a preset condition is satisfied, the network device 2 sends a prompt message to the first user device 1 and/or the one or more second user devices. Here, the prompt information is used for prompting related information in a traffic sharing process so as to facilitate a user to know the related information.
Preferably, the preset condition comprises any one of the following: when the flow sharing is carried out, the network is disconnected; when the secondary flow sharing is finished; the first user equipment 1 or the one or more second user equipments cancel traffic sharing.
In this embodiment, when a preset condition is met, the network device 2 may send a prompt message to the user device, for example, when the network is disconnected during traffic sharing, for example, due to a network failure or a manual disconnection, the prompt message may be sent to the user device to prompt a reason that the network of the user device is disconnected; or when the secondary traffic sharing is finished, sending a prompt message, where the network device 2 may prompt the current traffic consumption value of the second user device, or prompt the current traffic sharing value of the first user device 1 to the second user device, and so on; still alternatively, the first user equipment 1 or the one or more second user equipments prompt when canceling the traffic sharing, for example, may prompt the second user equipment of a remaining consumed traffic value, or prompt the first user equipment 1 of a remaining shared traffic value, and the like.
The preset conditions and the prompt messages are only examples, and other preset conditions and prompt messages that may be currently or later applied to the present application are also included in the scope of the present application, and are included herein by reference.
In this embodiment, in step S13, the first user equipment 1 adjusts the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result.
Preferably, wherein the step S13 includes: when detecting that the shared traffic value of the first user equipment 1 reaches the remaining shared traffic value, the first user equipment 1 finishes traffic sharing for the one or more second user equipments; alternatively, the first and second electrodes may be,
and when detecting that the flow consumption value of any one of the one or more second user equipments reaches the remaining flow consumption value of the second user equipment, the first user equipment 1 ends the flow sharing of the second user equipment.
In this embodiment, in the flow sharing process, the first user equipment 1 detects a shared flow value thereof and a remaining consumed flow value of each of one or more second user equipments, and when it is detected that the shared flow value reaches the remaining shared flow value, the flow sharing is ended, for example, if an initial shared flow value of the first user equipment 1 initially set by a user is N, the sharing is ended when a total shared flow value is detected to be N, and similarly, the first user equipment 1 detects a consumed flow value of each second user equipment, and when the remaining consumed flow value is reached, the flow sharing to the second user equipment is ended.
Preferably, wherein the method further comprises: s17 (not shown) the network device 2 determining payment mode information of the first user device 1 and/or the second user device; s18 (not shown) the network device 2 determining cost information of the first user device 1 and/or the second user device based on the payment pattern information; s19 (not shown), the network device 2 sends the cost information to the first user device 1 and the one or more second user devices.
In the application, in order to enable the user equipment to better share the traffic, the payment mode information may be set, for example, the payment mode information includes a free mode and a non-free mode.
In this embodiment, in the step S17, the network device 2 determines the payment mode information of the first user device 1 and/or the second user device, preferably, wherein the step S17 includes: the network device 2 receives the payment mode information sent by the first user device 1 and/or the second user device; then, based on the payment mode information sent by the first user equipment 1 and/or the second user equipment, the payment mode information of the first user equipment 1 and/or the second user equipment is determined.
In this embodiment, the payment mode information may be determined by the user equipment, that is, the user may autonomously select whether the mode is a free mode or a non-free mode, and the user equipment may send the payment mode information selected by the user to the network equipment 2, so that the network equipment 2 determines the payment mode information of the user equipment. For example, if at least one of the first user device and the second user device is in the non-free mode, the two user devices are determined to be in the non-free mode, and the method for determining the payment mode information is only an example, and other existing or future determination methods may be applied, and are also included in the scope of the present application.
In another embodiment, the step S17 includes: the network device 2 determines payment mode information of the first user device 1 and/or the second user device based on the traffic sharing record information of the first user device 1 and/or the second user device.
In this embodiment, the payment mode information is determined by the network device 2, where the network device 2 may determine the payment mode information of the user device based on the traffic sharing record of the user device, for example, by setting a traffic sharing threshold, when the traffic historically shared by the user device reaches the threshold, the payment mode of the user device is a free mode, and when the traffic historically shared by the user device reaches the threshold, the payment mode of the user device is a non-free mode; alternatively, when the user equipment has previously shared a certain value of traffic, when the traffic demanded by the user equipment is within the value, the user equipment may be in a free mode, that is, the user equipment may enjoy a traffic value equal to the previously shared traffic for free, and when the user equipment has not previously shared the traffic, the user equipment may determine that the payment mode information thereof is in a non-free mode, and the like.
The above-mentioned manner of determining the payment mode information is only an example, and other existing or future payment mode information, as applicable to the present application, should also be included in the scope of protection of the present application, and is included herein by reference.
Continuing in this embodiment, in step S18, the network device 2 determines cost information of the first user device 1 and/or the second user device based on the payment pattern information.
In this application, when the payment mode is a non-free mode, the network device 2 may determine the fee information of the user device based on the payment mode information, for example, a certain fee may be paid by using one unit of traffic, and accordingly, a certain fee may be obtained by sharing one unit of traffic, and therefore, preferably, the step S18 includes: the network device 2 determines cost information of the first user device 1 and/or the one or more second user devices based on the remaining shared traffic information and/or the remaining consumed traffic information. For example, the network device 2 determines the shared traffic value of the first user device 1 according to a difference between the initial shared traffic value and the remaining shared traffic value, and then determines the total cost information according to the cost information of the unit traffic.
Continuing in this embodiment, in step S19, the network device 2 sends the cost information to the first user device 1 and/or the one or more second user devices. Here, the settlement time of the fee information may be settled by time, or may be settled when the shared traffic is ended, and the like, and is not limited at all.
Preferably, the method further comprises: the first user equipment 1 creates a first WiFi hotspot, sets first WiFi hotspot sharing information corresponding to the first WiFi hotspot, wherein the first WiFi hotspot sharing information comprises identification information and access information of the first WiFi hotspot, the first user equipment 1 can realize traffic sharing through the first WiFi hotspot, after the first WiFi hotspot is created, the first user equipment 1 sends the first WiFi hotspot sharing information to the network equipment 2, and correspondingly, the network equipment 2 receives the first WiFi hotspot sharing information sent by the first user equipment 1.
Further, the network device 2 sends WiFi hotspot sharing information corresponding to the first WiFi hotspot to the one or more second user devices, so that the one or more second user devices establish wireless connection with the first WiFi hotspot based on the first WiFi hotspot sharing information.
Specifically, in the present application, the first user equipment 1 may implement traffic sharing in a form of creating a personal hotspot, where after the personal hotspot, that is, the first WiFi hotspot is created, the first user equipment 1 sends first WiFi hotspot sharing information corresponding to the hotspot to the network equipment 2, so that the first WiFi hotspot sharing information is recorded. The first WiFi hotspot sharing information comprises identification information and access information of a first WiFi hotspot, wherein the identification information is used for identifying the hotspot, and the access information is used for accessing the hotspot.
Further, the network device 2 may send the first WiFi hotspot sharing information to one or more second user devices sharing the traffic of the first user device 1, so that the one or more second user devices establish a wireless connection with the first WiFi hotspot based on the first WiFi hotspot sharing information, thereby enabling the first user device 1 to share the traffic to the one or more second user devices.
Preferably, wherein the method further comprises: and the network device 2 controls the wireless connection between the first user equipment and the one or more second user equipments according to the remaining shared flow value of the first user equipment 1 and the remaining consumed flow value of the one or more second user equipments.
Here, when performing traffic sharing between user equipments, the network device 2 controls a process of traffic sharing, and preferably, the controlling the wireless connection between the first user equipment 1 and the one or more second user equipments includes:
when the residual consumption flow value of at least one second user equipment in the one or more second user equipments is zero, sending an instruction for disconnecting the first user equipment from the at least one second user equipment; or the like, or, alternatively,
and when the remaining shared flow value of the first user equipment 1 is zero, sending an instruction for canceling the personal WiFi hotspot of the first user equipment 1 and/or sending an instruction for disconnecting the connection between the first user equipment and the one or more second user equipments.
Preferably, when the connection between the first user equipment and the one or more second user equipments is disconnected and the remaining consumption flow value of the one or more second user equipments is greater than zero, the network equipment 2 sends WiFi hotspot sharing information corresponding to a second WiFi hotspot to the one or more second user equipments, so that the one or more second user equipments establish a wireless connection with the second WiFi hotspot based on the second WiFi hotspot sharing information, where the second WiFi hotspot is a personal WiFi hotspot created based on other user equipments.
In this embodiment, when the first user equipment 1 finishes traffic sharing and one or more second user equipments have a demand for traffic, the first user equipment may also share traffic shared by other user equipments, where other user equipments may also perform traffic sharing as the first user equipment 1, for example, the other user equipments may create a second WiFi hotspot for traffic sharing and send WiFi hotspot sharing information corresponding to the hotspot to the network equipment 2 for recording, and the network equipment 2 may provide the WiFi hotspot sharing information to the one or more second user equipments having a demand for traffic, so that the one or more second user equipments establish wireless connection with the hotspot, thereby obtaining traffic of the other user equipments.
Compared with the prior art, the method and the device have the advantages that the residual sharing flow value of the first user equipment and the residual consumption flow values of one or more second user equipments sharing the flow of the first user equipment are sent to the first user equipment through the network equipment, and when the first user equipment monitors that the sharing flow value reaches the residual sharing flow value, the flow sharing of the second user equipment is finished, or when the first user equipment detects that the consumption flow value of the second user equipment reaches the residual consumption flow value of the second user equipment, the flow sharing of the second user equipment is finished. In this way, traffic sharing between the user devices can be realized, and traffic settlement can be realized by monitoring traffic use.
Furthermore, the embodiment of the present application also provides a computer readable medium, on which computer readable instructions are stored, and the computer readable instructions can be executed by a processor to implement the foregoing method.
An embodiment of the present application further provides a network device for traffic sharing and settlement, where the network device includes: one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the foregoing method.
For example, the computer readable instructions, when executed, cause the one or more processors to: sending the remaining shared flow value of a first user device and the remaining consumed flow values of one or more second user devices sharing the flow of the first user device to the first user device; receiving a shared flow value about the first user equipment and consumption flow values of the one or more second user equipments, which are sent by the first user equipment.
In addition, an embodiment of the present application further provides a user equipment for traffic sharing settlement, where the user equipment includes:
one or more processors; and
A memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the foregoing method.
For example, the computer readable instructions, when executed, cause the one or more processors to: receiving a remaining shared flow value of the first user equipment and remaining consumed flow values of one or more second user equipments sharing the flow of the first user equipment, which are sent by network equipment;
monitoring a shared flow value of the first user equipment and flow consumption values of the one or more second user equipments;
and adjusting the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (19)

1. A method for traffic sharing settlement at a network device, wherein the method comprises:
sending a remaining shared flow value of a first user equipment and remaining consumed flow values of one or more second user equipments sharing the flow of the first user equipment to the first user equipment, wherein the remaining shared flow value comprises an initial value of the flow to be shared by the first user equipment and flow values remaining after flow sharing each time, and the remaining consumed flow value comprises an initial value of the second user equipment at the time of initial flow demand and further comprises remaining required flow values after sharing flows of other sharing equipments are used;
receiving a sharing flow value about the first user equipment and consumption flow values of the one or more second user equipments, which are sent by the first user equipment;
determining payment mode information of the first user equipment and/or the second user equipment;
determining cost information of the first user equipment and/or the second user equipment based on the payment mode information;
sending the cost information to the first user equipment and/or the one or more second user equipments;
Wherein the determining of the payment mode information of the first user equipment and/or the second user equipment comprises:
and determining the payment mode information of the first user equipment and/or the second user equipment based on the traffic sharing record information of the first user equipment and/or the second user equipment, wherein the payment mode information of the first user equipment or the second user equipment is determined to be a free mode if the traffic required by the user equipment is within the previously shared traffic value by comparing the payment mode information with the previously shared traffic value of the first user equipment or the second user equipment, and otherwise determined to be a non-free mode.
2. The method of claim 1, wherein the method further comprises:
determining a remaining shared flow value of the first user equipment and a remaining consumed flow value of the one or more second user equipments based on the shared flow value and the consumed flow value.
3. The method of claim 2, wherein the method further comprises:
receiving a sharing planning value sent by first user equipment and a demand planning value sent by one or more second user equipment;
Determining the remaining shared flow value of the first user equipment and the remaining consumed flow values of the one or more second user equipments, specifically:
determining a residual shared flow value of the first user equipment according to the sharing planning value of the first user equipment and the shared flow value of the first user equipment;
and determining the residual consumption flow value of the one or more second user equipment according to the demand planning value of the one or more second user equipment and the consumption flow value of the one or more second user equipment.
4. The method of claim 1, wherein the method further comprises:
and when a preset condition is met, sending prompt information to the first user equipment and/or the one or more second user equipments.
5. The method of claim 4, wherein the preset condition comprises any one of:
when the flow sharing is carried out, the network is disconnected;
when the secondary flow sharing is finished;
the first user equipment or the one or more second user equipments cancel traffic sharing.
6. The method of claim 1, wherein when the payment mode information is a non-free mode, the determining cost information of the first user device and/or the second user device based on the payment mode information comprises:
Determining cost information of the first user equipment and/or the one or more second user equipments based on the remaining shared traffic information and/or the remaining consumed traffic information.
7. The method of claim 1, wherein the method further comprises:
receiving first WiFi hotspot sharing information sent by the first user equipment, wherein the first WiFi hotspot is a personal WiFi hotspot created based on the first user equipment, and the first WiFi hotspot sharing information comprises identification information and access information of the first WiFi hotspot;
and sending WiFi hotspot sharing information corresponding to the first WiFi hotspot to the one or more second user equipment, so that the one or more second user equipment establishes wireless connection with the first WiFi hotspot based on the first WiFi hotspot sharing information.
8. The method as recited in claim 7, wherein the method further comprises:
and controlling wireless connection between the first user equipment and the one or more second user equipments according to the residual shared flow value of the first user equipment and the residual consumed flow values of the one or more second user equipments.
9. The method of claim 8, wherein the controlling the wireless connection between the first user device and the one or more second user devices comprises:
When the residual consumption flow value of at least one second user equipment in the one or more second user equipments is zero, sending an instruction for disconnecting the first user equipment from the at least one second user equipment; or the like, or, alternatively,
when the remaining sharing flow value of the first user equipment is zero, sending an instruction for canceling a personal WiFi hotspot of the first user equipment and/or sending an instruction for disconnecting the connection between the first user equipment and the one or more second user equipments; or the like, or, alternatively,
when the connection between the first user equipment and the one or more second user equipments is disconnected and the remaining consumption flow value of the one or more second user equipments is greater than zero, sending WiFi hotspot sharing information corresponding to a second WiFi hotspot to the one or more second user equipments, so that the one or more second user equipments establish wireless connection with the second WiFi hotspot based on the second WiFi hotspot sharing information, wherein the second WiFi hotspot is a personal WiFi hotspot created based on other user equipments.
10. A method for traffic sharing settlement at a first user equipment, wherein the method comprises:
receiving a remaining shared flow value of the first user equipment and remaining consumed flow values of one or more second user equipments sharing the flow of the first user equipment, wherein the remaining shared flow value includes an initial value of the flow to be shared by the first user equipment and remaining flow values after flow sharing each time, and the remaining consumed flow value includes an initial value of the second user equipment at an initial required flow and also includes remaining required flow values after shared flows of other sharing equipments are used;
Monitoring a shared flow value of the first user equipment and flow consumption values of the one or more second user equipments;
adjusting the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result;
receiving cost information of the first user equipment and/or the second user equipment, which is determined by the network equipment based on payment mode information, wherein the payment mode information is determined based on flow sharing record information of the first user equipment and/or the second user equipment, the payment mode information of the first user equipment or the second user equipment is determined to be a free mode by comparing with a previously shared flow value of the first user equipment or the second user equipment, and if the flow required by the user equipment is within the previously shared flow value, the payment mode information of the first user equipment or the second user equipment is determined to be a non-free mode, otherwise, the payment mode information is determined to be the non-free mode.
11. The method of claim 10, wherein adjusting the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result comprises:
when detecting that the shared flow value of the first user equipment reaches the residual shared flow value, ending flow sharing for the one or more second user equipments; alternatively, the first and second electrodes may be,
And when detecting that the flow consumption value of any one of the one or more second user equipment reaches the residual flow consumption value of the second user equipment, ending the flow sharing of the second user equipment.
12. The method of claim 10, wherein the method further comprises:
and sending the monitored sharing flow value of the first user equipment and the monitored consumption flow values of the one or more second user equipments to the network equipment based on a preset rule.
13. The method of claim 12, wherein the preset rule comprises any one of:
reaching a preset time interval;
when the one or more second user equipment is monitored to finish using the sharing flow;
and when the traffic sharing of the one or more second user equipment is finished.
14. The method of claim 12, wherein the method further comprises;
sending a sharing plan value to the network device, so that the network device determines a remaining sharing flow value of the first user device based on the sharing plan value.
15. The method of claim 10, wherein the method further comprises:
creating a first WiFi hotspot;
And sending first WiFi hotspot sharing information corresponding to the first WiFi hotspot to the network equipment, wherein the first WiFi hotspot sharing information comprises identification information and access information of the first WiFi hotspot, so that the one or more second user equipment establish wireless connection with the first WiFi hotspot based on the first WiFi hotspot sharing information.
16. The method of claim 15, wherein the adjusting the sharing behavior of the first user equipment to the one or more second user equipments according to the monitoring result comprises:
when the remaining consumption flow value of at least one second user equipment in the one or more second user equipments is zero, receiving an instruction sent by the network equipment for disconnecting the connection between the first user equipment and the at least one second user equipment; or when the remaining shared flow value of the first user equipment is zero, receiving an instruction sent by the network equipment to cancel the personal WiFi hotspot of the first user equipment and/or sending an instruction to disconnect the connection between the first user equipment and the one or more second user equipments.
17. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 16.
18. A network device for traffic sharing settlement, wherein the device comprises:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 9.
19. A user device for traffic sharing settlement, wherein the device comprises:
one or more processors; and
memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 10 to 16.
CN201810186317.7A 2018-03-07 2018-03-07 Method and apparatus for traffic sharing settlement Active CN110248324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810186317.7A CN110248324B (en) 2018-03-07 2018-03-07 Method and apparatus for traffic sharing settlement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810186317.7A CN110248324B (en) 2018-03-07 2018-03-07 Method and apparatus for traffic sharing settlement

Publications (2)

Publication Number Publication Date
CN110248324A CN110248324A (en) 2019-09-17
CN110248324B true CN110248324B (en) 2021-10-08

Family

ID=67882093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810186317.7A Active CN110248324B (en) 2018-03-07 2018-03-07 Method and apparatus for traffic sharing settlement

Country Status (1)

Country Link
CN (1) CN110248324B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179500A (en) * 2013-01-18 2013-06-26 南京安讯科技有限责任公司 Mobile phone traffic sharing method
CN103596121A (en) * 2013-10-30 2014-02-19 北京网河时代科技有限公司 Flow sharing method for wireless mobile networks
CN104301890A (en) * 2013-07-19 2015-01-21 富泰华工业(深圳)有限公司 Method and system for controlling sharing of wireless network access flow
CN104410993A (en) * 2014-10-31 2015-03-11 东莞宇龙通信科技有限公司 Method, device, terminal and system for flow monitoring
CN105228128A (en) * 2014-07-03 2016-01-06 中兴通讯股份有限公司 Surfing flow shares processing method, device and terminal
CN105657635A (en) * 2014-11-28 2016-06-08 广州市动景计算机科技有限公司 Terminal traffic sharing method and system
CN105682148A (en) * 2015-12-25 2016-06-15 科大讯飞股份有限公司 Traffic sharing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179500A (en) * 2013-01-18 2013-06-26 南京安讯科技有限责任公司 Mobile phone traffic sharing method
CN104301890A (en) * 2013-07-19 2015-01-21 富泰华工业(深圳)有限公司 Method and system for controlling sharing of wireless network access flow
CN103596121A (en) * 2013-10-30 2014-02-19 北京网河时代科技有限公司 Flow sharing method for wireless mobile networks
CN105228128A (en) * 2014-07-03 2016-01-06 中兴通讯股份有限公司 Surfing flow shares processing method, device and terminal
CN104410993A (en) * 2014-10-31 2015-03-11 东莞宇龙通信科技有限公司 Method, device, terminal and system for flow monitoring
CN105657635A (en) * 2014-11-28 2016-06-08 广州市动景计算机科技有限公司 Terminal traffic sharing method and system
CN105682148A (en) * 2015-12-25 2016-06-15 科大讯飞股份有限公司 Traffic sharing method and system

Also Published As

Publication number Publication date
CN110248324A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
US11411846B2 (en) Method and a device for hotspot leasing
CN108734452B (en) Internet resource transfer method, account transfer method and device
CN109274667A (en) A kind of copyright issue based on block chain deposits card method and system
CN111046164B (en) Method and equipment for updating book to be read
EP3437273A1 (en) Time-based adjustable load balancing
US20180089297A1 (en) Data Copy Method and Device
CN111008885A (en) Method, equipment and medium for managing and sharing charge pal based on block chain
CN104601493A (en) Bandwidth adjustment method and system and intelligent pipe platform
CN106408096A (en) Data processing method in online ticketing system and online ticketing system
CN111192070B (en) Storage service metering method and system, computer system and readable storage medium
CN109740307A (en) A kind of right management method and equipment
CN110248324B (en) Method and apparatus for traffic sharing settlement
CN112419040A (en) Credit anti-fraud identification method, credit anti-fraud identification device and storage medium
CN112114804A (en) Application program generation method, device and system
CN105095310A (en) Data processing method, first server, second server and data processing system
CN105227532A (en) A kind of blocking-up method of malicious act and device
CN116167082A (en) Data processing method and device, electronic equipment and storage medium
CN105790975A (en) Service processing operation execution method and device
CN115330399A (en) Data response method and device for order abnormal termination
CN111615091B (en) Traffic card opening method and device based on smart watch
CN109462868B (en) Method and equipment for inquiring target information by wireless access point
CN109245938B (en) Method and equipment for executing resource configuration operation of user
CN107404397B (en) Method and equipment for determining user service state information
US10623430B2 (en) Risk area determination in communication network
CN111478886A (en) Traffic guidance and claim settlement service data processing method, device and client

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