CN114697861A - User position-based stream-free method, device and readable storage medium - Google Patents

User position-based stream-free method, device and readable storage medium Download PDF

Info

Publication number
CN114697861A
CN114697861A CN202210327338.2A CN202210327338A CN114697861A CN 114697861 A CN114697861 A CN 114697861A CN 202210327338 A CN202210327338 A CN 202210327338A CN 114697861 A CN114697861 A CN 114697861A
Authority
CN
China
Prior art keywords
flow
free
base station
charging
charging ticket
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.)
Pending
Application number
CN202210327338.2A
Other languages
Chinese (zh)
Inventor
陈豪
王九九
沈超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210327338.2A priority Critical patent/CN114697861A/en
Publication of CN114697861A publication Critical patent/CN114697861A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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/80Rating or billing plans; Tariff determination aspects
    • H04M15/8083Rating or billing plans; Tariff determination aspects involving reduced rates or discounts, e.g. time-of-day reductions or volume discounts
    • 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/82Criteria or parameters used for performing billing operations
    • H04M15/8214Data or packet based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Abstract

The application provides a user position-based stream-free method, a device and a readable storage medium, and relates to the technical field of communication. The method comprises the following steps: acquiring a user number and a base station number in a charging ticket; judging whether a flow-free list has the base station number according to the package identification corresponding to the user number, if so, setting a flow-free mark for the charging ticket, wherein the flow-free list stores the corresponding relation between the flow-free package identification and the base station number; and acquiring the cost of the charging ticket, and avoiding the cost of the charging ticket when a flow-free mark is arranged in the charging ticket. The method determines the flow-free area according to the package identification, determines the flow-free list according to the flow-free area and the base station number, and eliminates the charge of the charging ticket according to the flow-free list, thereby realizing the pretreatment of the flow-free area, enabling an operator to avoid the charge of the charging ticket only through the flow-free list, and improving the charge statistical efficiency.

Description

User position-based stream-free method, device and readable storage medium
Technical Field
The present application relates to communications technologies, and in particular, to a user location-based stream-free method, device, and readable storage medium.
Background
The operator of the mobile internet charges the user through the charging system after the user uses the flow, the charging system charges according to the charging ticket, the charging ticket comprises the user number, the flow size, the target ip address and other information, and the flow-free technology deducts the flow needing to be exempted from charging in the charging ticket.
The current flow-free technology usually performs flow-free on a destination ip address, that is, during charging, a specific destination ip address is exempted from a charging rule for browsing records of a user. For example, when a user browses a video website, the charging system charges and avoids the target ip address in the user flow as the flow of the website ip, and the user can avoid streaming when browsing the video website.
The prior art has certain limitations in use, and can only avoid streaming according to a target ip address, but cannot realize streaming according to a user position, for example, when an enterprise wants to realize streaming for own employees in a work unit area, as an employee benefit or a work service requirement, the prior art cannot meet the requirement.
Disclosure of Invention
The application provides a user position-based stream-free method, device and readable storage medium, which are used for solving the problem that in the prior art, stream-free can only be carried out through a target ip address.
In a first aspect, the present application provides a user location-based stream-exempting method, including:
acquiring a user number and a base station number in a charging ticket, wherein the base station number is the number of a base station generating the charging ticket;
judging whether the base station number exists in a flow-free list or not according to the package identification corresponding to the user number, if so, setting a flow-free mark for the charging ticket, wherein the flow-free list stores the corresponding relation between the flow-free package identification and the base station number;
and acquiring the cost of the charging ticket, and avoiding the cost of the charging ticket when a flow-free mark is arranged in the charging ticket.
In a possible design, before the determining whether the base station number exists in the flow-free list according to the package identifier corresponding to the user number, the method further includes:
acquiring a flow-free area corresponding to the package identification;
judging whether a base station exists in the area free of stream;
and if so, storing the corresponding relation between the base station number corresponding to the base station and the package identification into the flow-free list.
In one possible design, the determining whether a base station exists in the flow-exempt area includes:
acquiring a longitude and latitude range of the flow-free area;
judging whether the longitude and latitude belong to the longitude and latitude range or not according to the longitude and latitude corresponding to the base station number;
and if so, determining that the base station exists in the flow-free area.
In one possible design, if there is no base station in the flow-exempt area, the method further includes:
and expanding the latitude and longitude range of the flow-free area in equal proportion until the base station exists in the flow-free area.
In a possible design, before the determining whether the base station number exists in the flow-free list according to the package identifier corresponding to the user number, the method further includes: based on the acquired user number, a package identification corresponding to the user number is searched in a user number and package identification corresponding table, and the identification of the package enjoying free flow is stored in the corresponding table.
In one possible design, the package enjoying exemption is a package of preset APP exemption.
In a possible design, the charging ticket further includes a timestamp, the charge of the charging ticket is obtained, and when the charging ticket is provided with the flow-free flag, the charge of the charging ticket is avoided, including:
when the flow-free mark is set in the charging ticket, acquiring a timestamp in the charging ticket;
and judging whether the timestamp is in a preset time period, and if not, eliminating the cost of the charging ticket, wherein the preset time period is a time period when the total flow is greater than the preset flow.
In a second aspect, the present application provides a user location-based stream-exempt device, including:
the call ticket processing module is used for acquiring a user number and a base station number in a charging call ticket, wherein the base station number is the number of a base station generating the charging call ticket;
the position marking module is used for judging whether the base station number exists in a flow-free list according to the package identification corresponding to the user number, if so, setting a flow-free mark for the charging ticket, wherein the flow-free list stores the corresponding relation between the flow-free package identification and the base station number;
and the charging module is used for acquiring the cost of the charging ticket and eliminating the cost of the charging ticket when the flow-free mark is arranged in the charging ticket.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement a user location-based stream exempt method.
In a fourth aspect, the present application provides a computer-readable storage medium having computer-executable instructions stored thereon for implementing a user location-based stream-exempt method when executed by a processor.
According to the flow-free method and device based on the user position, the user number and the base station number in the charging ticket are obtained, and the base station number is the number of the base station generating the charging ticket; judging whether a base station number exists in a flow-free list or not according to a package identification corresponding to a user number, if so, setting a flow-free mark for a charging ticket, wherein the flow-free list stores the corresponding relation between the flow-free package identification and the base station number; the method comprises the steps of obtaining the charge of a charging ticket, avoiding the charge of the charging ticket when a flow-free mark is arranged in the charging ticket, determining a package mark according to a user number, determining a flow-free area according to the package mark, determining a flow-free list according to the flow-free area and a base station number, and avoiding the charge of the charging ticket according to the flow-free list, so that the preprocessing effect of the flow-free area based on the position setting is achieved, an operator can avoid the charge of the charging ticket only through the flow-free list, and the charge statistical efficiency is improved. By aiming at the users meeting the flow-free rule, the user number and the user position are required to meet the limitation of the flow-free package, and the users are required to use the flow-free package at different peaks as much as possible, so that the bad user experience of network speed blockage, slowness and the like caused by flow overload in a peak period is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of a typical application scenario of the user location-based stream-free method according to the present application;
fig. 2 is a first flowchart illustrating a flow exempting method based on a user location according to the present application;
FIG. 3 is a second flowchart illustrating a flow-free method based on a user location according to the present application;
FIG. 4 is a schematic structural diagram of a streaming-free device based on a user location according to the present application;
fig. 5 is a schematic structural diagram of the electronic device based on the user location exemption.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
The terms referred to in this application are explained first:
the user number: the unique identification of the operator for personal communication and charging is not changed by the user position and the used terminal.
Numbering the base stations: means a code which is uniquely identified by the operator to each base station, wherein the base station refers to a radio transceiver station which performs information transmission with a mobile telephone terminal through a mobile communication switching center in a certain radio coverage area.
Package identification: refers to a unique identification of each package combination for an operator, wherein the package is a specific communication service provided by the operator based on user requirements.
Fig. 1 is a schematic view of a typical application scenario of the user location-based stream-exempting method according to the present application. As shown in fig. 1, the scenario includes a stream-exempt area, a base station, and a user using a terminal. The flow-free area is a longitude and latitude range which is contained in the flow-free package and is predetermined by the user and the operator. The base station and the non-flow area do not necessarily have a one-to-one corresponding coverage area, and the non-flow area may be included in the coverage area of a certain base station or may include the coverage areas of several base stations. There is no fixed relation between the user using the terminal and the flow-free area, and the user using the terminal can leave or enter the flow-free area at any time.
The data transmission method between the terminal and the base station used by the user in the present application may be applicable to different network formats, for example, may be applicable to Global System of Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), and future 5G network formats. Optionally, the communication system may be a system in a scenario of high-reliability and Low-Latency Communications (URLLC) transmission in a 5G communication system.
Therefore, optionally, the Base Station may be a Base Transceiver Station (BTS) and/or a Base Station Controller in GSM or CDMA, a Base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a Base Station (gNB) in a future 5G Network, and the like, and the application is not limited herein.
The terminal device may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device may also be a smart watch, a tablet computer, or the like.
The following embodiment will use a specific implementation manner to describe how to perform flow exemption based on the user location, and the application scenario of the embodiment is not limited to the scenario shown in fig. 1, and the embodiment is not particularly limited herein, and belongs to the protection scope of the embodiment of the present invention as long as charging exemption can be performed based on the user location. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a first flowchart illustrating a user location-based flow-exempting method according to the present application. The execution main body of the embodiment is a terminal, and the terminal can be a mobile phone, a tablet, a smart watch with a display screen and the like. As shown in fig. 2, the method for exempting from streaming based on user location includes:
s201, acquiring a user number and a base station number in a charging ticket, wherein the base station number is the number of a base station generating the charging ticket;
the operator records the communication process of the user one by one to form a charging ticket, in the embodiment, the charging ticket comprises a user number for uniquely identifying the user and a base station number for uniquely identifying the cost generated by the user, the charging ticket is corresponding to the specific user by acquiring the user number, the statistical data volume is reduced, the base station number corresponds to the use position of the user because the position of the base station is fixed longitude and latitude, and whether the user number generates the charging ticket in the specific longitude and latitude range can be sorted out from numerous charging tickets by acquiring the base station number.
S202, judging whether the base station number exists in a flow-free list or not according to the package identification corresponding to the user number, if so, setting a flow-free mark for the charging ticket, wherein the flow-free list stores the corresponding relation between the package identification of the flow-free list and the base station number.
In this embodiment, the package identifier is a package service item identifier with a preset flow-exempting area, and in a charging system of an operator, a user number is matched with the package identifier to determine whether the user number can enjoy flow-exempting services, so that only part of the user number is limited to enjoy flow-exempting services, and the phenomenon that unauthorized users can also enjoy flow-exempting services within the flow-exempting area, which causes excessive flow in the area and reduces the speed, thereby affecting the use experience of the users is avoided.
The flow-free list comprises a user number and a base station number corresponding to the user number, the user number is a number with the flow-free package identification, and the base station number is a number of all base stations covering a flow-free area.
When the acquired user number has a package mark, searching all base station numbers matched with the package mark in a free flow list, then returning a charging ticket, and matching the base station number acquired by the charging ticket with the searched base station number:
when the base station number acquired by the charging ticket belongs to the searched base station number, the charging ticket does not need to be charged, and at the moment, a flow-free mark needs to be marked on the charging ticket, so that the charges are prevented from being counted during charging.
And when the base station number acquired by the charging ticket does not belong to the searched base station number, the charging ticket is indicated to be charged, and at the moment, the charging ticket does not need to be processed, so that the charging ticket is normally charged.
S203, obtaining the charge of the charging ticket, and avoiding the charge of the charging ticket when the charging ticket is provided with the flow-free mark.
In the specific embodiment, the charging system carries out charging statistics on any user number, still executes the function of accumulated charging, accumulates the charge of the charging ticket one by one, and avoids the charge of the charging ticket without the flow mark if and only if the charging ticket has the flow mark-free, thereby completing the flow-free operation based on the user position.
In the flow-free method based on the user location provided by this embodiment, the user number and the base station number in the charging ticket are obtained, and the base station number is the number of the base station generating the charging ticket; judging whether a flow-free list has the base station number according to the package identification corresponding to the user number, if so, setting a flow-free mark for the charging ticket, wherein the flow-free list stores the corresponding relation between the flow-free package identification and the base station number; and acquiring the cost of the charging ticket, and avoiding the cost of the charging ticket when a flow-free mark is arranged in the charging ticket. And acquiring flow-free area information corresponding to the package identification according to the package identification corresponding to the user number, wherein the flow-free area corresponds to the base station number determined by the geographic position, so that the flow-free area can be associated with the charging ticket of the user number through the base station number, thereby realizing the marking of the charging ticket free of charge and further realizing the flow-free function.
Fig. 3 is a schematic flow chart of the flow-free method based on the user location according to the present application. As shown in fig. 3, the method includes:
s301, obtaining a user number in the charging ticket, and searching a package identification corresponding to the user number in a user number and package identification corresponding table.
In this embodiment, the correspondence table stores an identifier of a package enjoying free flow, the package is a specific charging rule formulated by an operator based on a specific user requirement, and the specific charging rule specifically refers to exempting charges in the free flow area in this embodiment, so that the obtained user number can be preliminarily determined through the correspondence table, whether the user number is included in the free flow package range is determined, if yes, the next free flow area determination can be performed, and if not, no further processing is performed, and charging is performed directly.
Optionally, the package enjoying free flow stored in the correspondence table is a preset APP free flow package.
S302, a flow-free area corresponding to the package identification is obtained, and the longitude and latitude range of the flow-free is determined according to the flow-free area.
Specifically, after the user number is judged to belong to the flow-free package range, the area of the user number using the flow is continuously determined, whether the user number uses the flow in the area specified by the flow-free package is judged, if yes, the next charging exempting operation can be carried out, and if not, the user number is not further processed, and the charging is directly carried out.
The flow-free area is a geographical range predetermined by a user and an operator, so that the flow-free area can be divided and limited by a generally used longitude and latitude range, and converted into the flow-free longitude and latitude range.
S303, acquiring the base station number in the charging ticket, and determining the longitude and latitude corresponding to the base station number according to the base station number.
The method comprises the steps that a base station uploads and downloads the flow used by a user, and a charging ticket records the flow used condition of the user through the base station, so that the base station number with a unique position identifier can be obtained from the charging ticket, and the longitude and latitude coverage range covered by signals are fixed because the physical position of the base station is fixed, so that the determined longitude and latitude can be corresponded to through the base station number, and the association can be obtained between the longitude and latitude range determined by a flow-free area, and the position subordination relationship can be judged between the base station number and the longitude and latitude range.
S304, matching the longitude and latitude with the flow-free longitude and latitude range, judging whether the longitude and latitude belongs to the flow-free longitude and latitude range, and if so, storing the corresponding relation between the base station number corresponding to the base station and the package identification in the flow-free list.
In this embodiment, it is necessary to determine whether a base station exists in the exempt area. Specifically, when the longitude and latitude are within the range of the longitude and latitude of the flow-free region, the base station number corresponding to the longitude and latitude is shown to be within the flow-free region, at the moment, the base station number is matched with the flow-free package corresponding to the flow-free region, a flow-free list corresponding to the base station number and the package identification is established, and the flow-free list is stored, so that direct searching and matching in a subsequent service process are facilitated, the waste of operation resources caused by repeated comparison operation is avoided, and the operation burden of a processor is reduced.
In the specific implementation process, the longitude and latitude range of the flow-free area may not overlap with the longitude and latitude of the base station, but the longitude and latitude coverage range covered by the base station signal overlaps with the longitude and latitude range, at this time, the longitude and latitude coverage range needs to be matched with the longitude and latitude range, whether the longitude and latitude coverage range belongs to the flow-free longitude and latitude range is judged, and if so, the base station number corresponding to the longitude and latitude coverage range is stored in the flow-free list.
Optionally, the number of base stations stored corresponding to one flow-free area may not be limited to one, and may be multiple. Aiming at the condition that the flow-free area is covered by a plurality of base stations simultaneously, no matter which base station the user is in, the flow-free rule is met as long as the base station has a record on the flow-free list, the condition that the user does not enjoy the corresponding package service in the package range is avoided, and the good sensitivity of the user to the service is reduced.
In the specific implementation process, if the flow-free area does not have a base station, proportionally expanding the latitude and longitude range of the flow-free area until the latitude and longitude coverage range can completely contain the latitude and longitude range, and storing the base station number corresponding to the expanded latitude and longitude coverage range into a flow-free list as a flow-free judgment basis.
S305, setting a flow-free mark for the charging ticket according to the base station number corresponding to the flow-free list, and avoiding the charge of the charging ticket when the obtained charging ticket carries the flow-free mark.
In the specific implementation process, the user number and the base station number of the charging ticket are obtained, the package mark is used for determining that the user is a flow-free package user, and then whether the charging ticket is provided with a flow-free mark or not is determined through the base station number, so that the charging ticket with the flow-free mark can be exempted from the cost during charging, and the flow-free operation based on the user position is realized.
According to the flow-free method based on the user position, the package identification is determined according to the user number, the flow-free area is determined according to the package identification, the flow-free list is determined according to the flow-free area and the base station number, and the charge of the charging ticket is eliminated according to the flow-free list, so that the pretreatment of the flow-free area is realized, an operator can eliminate the charge of the charging ticket only through the flow-free list, and the charge statistical efficiency is improved.
In a specific implementation process, the user location-based stream-exempting method may include the following possible implementation manners.
One possible implementation is: the charging ticket also comprises a timestamp.
Specifically, the charge of the charging ticket is obtained, and when a flow-free mark is set in the charging ticket, a timestamp in the charging ticket is obtained;
judging whether the timestamp is in a preset time period or not, wherein the preset time period is a time period when the total flow is greater than the preset flow, and when the timestamp is not in the preset time period, eliminating the cost of the charging ticket; and when the time stamp is within the preset time period, normally charging.
The acquisition mode of the preset time period comprises the following steps: the method comprises the steps of obtaining total flow of unit time in a flow-free area, comparing the total flow of the unit time with preset flow of the unit time, when the total flow of the unit time is larger than the preset flow and the larger condition exceeds an error time threshold, judging that the current moment is flow loading peak time, recording the current moment and prolonging the current moment to a preset peak time interval to serve as a preset time period, and meanwhile sending the preset time period to a flow-free user to remind the flow-free user of peak staggering use and avoid extra expense, wherein the preset peak time interval is a fixed unit time interval which is set manually, and the interval duration is determined according to historical data of the loading peak time interval.
According to the flow-free method provided by the embodiment, for the user meeting the flow-free rule, the user number and the user position are required to meet the limitation of the flow-free package, and the user is required to use the flow-free package at a wrong peak as much as possible, so that bad user experiences such as network speed blockage, slowness and the like caused by flow overload in a peak period are avoided, and the evaluation of the user on an operator is influenced.
Fig. 4 is a schematic structural diagram of the flow-free device based on the user location according to the present application, and as shown in fig. 4, the present application provides a flow-free device based on the user location, including:
a ticket processing module 401, configured to obtain a user number and a base station number in a charging ticket, where the base station number is a number of a base station that generates the charging ticket;
a location marking module 402, configured to determine whether the base station number exists in a flow-free list according to a package identifier corresponding to the user number, and if so, set a flow-free mark for the charging ticket, where a corresponding relationship between the package identifier of the flow-free list and the base station number is stored in the flow-free list;
and the charging module 403 is configured to obtain the cost of the charging ticket, and when the flow-free flag is set in the charging ticket, the cost of the charging ticket is avoided.
The call ticket module 401 is connected with the position marking module 402, and the charging module 403 is connected with the position marking module 402.
In one possible design, the position marking module 402 is specifically configured to:
acquiring a flow-free area corresponding to the package identification;
judging whether a base station exists in the flow-free area or not;
and if so, storing the corresponding relation between the base station number corresponding to the base station and the package identification into the flow-free list.
In one possible design, the position marking module 402 is specifically configured to:
acquiring a longitude and latitude range of the flow-free area;
judging whether the longitude and latitude belong to the longitude and latitude range or not according to the longitude and latitude corresponding to the base station number;
and if so, determining that the base station exists in the exempt area.
In a possible design, if there is no base station in the exempt area, the location marking module 402 is specifically configured to:
and expanding the latitude and longitude range of the flow-free area in equal proportion until the base station exists in the flow-free area.
In one possible design, the position marking module 402 is specifically configured to: based on the acquired user number, a package identification corresponding to the user number is searched in a user number and package identification corresponding table, and the identification of the package enjoying free flow is stored in the corresponding table. In another possible design, the package enjoying free-flow is a preset APP free-flow package.
In a possible design, the ticket processing module 401 is further specifically configured to obtain a timestamp in a charging ticket, and the position marking module 402 is specifically configured to: acquiring the charge of the charging ticket, and acquiring a timestamp in the charging ticket when a flow-free mark is set in the charging ticket;
and judging whether the timestamp is in a preset time period, and if not, eliminating the cost of the charging ticket, wherein the preset time period is a time period when the total flow is greater than the preset flow.
The flow-exempting device provided by this embodiment may be used to execute the flow-exempting method based on the user location, and the implementation principle and technical effect thereof are similar, and this embodiment is not described herein again.
The division of the above structural units is only one logical function division, and other division manners may be available in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory 502 (ROM), a Random Access Memory 502 (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Fig. 5 is a schematic structural diagram of an electronic device based on a user location exemption stream according to the present application, and as shown in fig. 5, the electronic device provided by the present application includes: a processor 501, and a memory 502 communicatively coupled to the processor 501; the electronic device further comprises a communication component 503; the processor 501, the memory 502, and the communication unit 503 are connected by a bus 504.
In a specific implementation process, the memory 502 stores computer-executable instructions, and the at least one processor 501 executes the computer-executable instructions stored in the memory 502 to implement a user location-based stream exemption method.
For a specific implementation process of the processor 501, reference may be made to the above method embodiments, which implement the similar principle and technical effect, and this embodiment is not described herein again.
In the above embodiments, it should be understood that the Processor 501 may be a Central Processing Unit (CPU), other general-purpose processors 501, a Digital Signal Processor 501 (DSP), an Application Specific Integrated Circuit (ASIC), etc. The general purpose processor 501 may be a microprocessor 501 or the processor 501 may be any conventional processor 501 or the like. The steps of the method disclosed in connection with the present invention may be embodied directly in the hardware processor 501, or in a combination of the hardware and software modules in the processor 501.
The memory 502 may comprise high-speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The present application further provides a computer-readable storage medium having computer-executable instructions stored thereon for implementing a user location-based stream-exempt method when executed by a processor.
The present application further provides a computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, implement a user location-based flow-free method.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in an electronic device or a host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method for exempting from streaming based on user location, comprising:
acquiring a user number and a base station number in a charging ticket, wherein the base station number is the number of a base station generating the charging ticket;
judging whether a flow-free list has the base station number according to the package identification corresponding to the user number, if so, setting a flow-free mark for the charging ticket, wherein the flow-free list stores the corresponding relation between the flow-free package identification and the base station number;
and acquiring the cost of the charging ticket, and avoiding the cost of the charging ticket when a flow-free mark is arranged in the charging ticket.
2. The method according to claim 1, wherein before determining whether the base station number exists in a flow-free list according to the package identifier corresponding to the user number, the method further comprises:
acquiring a flow-free area corresponding to the package identification;
judging whether a base station exists in the flow-free area or not;
and if so, storing the corresponding relation between the base station number corresponding to the base station and the package identification into the flow-free list.
3. The method of claim 2, wherein the determining whether the base station exists in the flow-exempt area comprises:
acquiring a longitude and latitude range of the flow-free area;
judging whether the longitude and latitude belong to the longitude and latitude range or not according to the longitude and latitude corresponding to the base station number;
and if so, determining that the base station exists in the flow-free area.
4. The method of claim 2, wherein if no base station exists in the exempt area, the method further comprises:
and expanding the latitude and longitude range of the flow-free area in equal proportion until the base station exists in the flow-free area.
5. The method according to claim 1, wherein before determining whether the base station number exists in a flow-free list according to the package identifier corresponding to the user number, the method further comprises: based on the acquired user number, a package identification corresponding to the user number is searched in a user number and package identification corresponding table, and the identification of the package enjoying free flow is stored in the corresponding table.
6. The method of claim 5, wherein the package enjoying free-flow is a preset APP free-flow package.
7. The method of claim 1, wherein the charging ticket further comprises a timestamp, the obtaining of the charge of the charging ticket, and when the charging ticket is provided with a flow-free flag, the removing of the charge of the charging ticket comprises:
when the flow-free mark is set in the charging ticket, acquiring a timestamp in the charging ticket;
and judging whether the timestamp is in a preset time period, and if not, eliminating the cost of the charging ticket, wherein the preset time period is a time period when the total flow is greater than the preset flow.
8. A stream exemption device based on user location, comprising:
the call ticket processing module is used for acquiring a user number and a base station number in a charging call ticket, wherein the base station number is the number of a base station generating the charging call ticket;
the position marking module is used for judging whether the base station number exists in a flow-free list according to the package identification corresponding to the user number, if so, setting a flow-free mark for the charging ticket, wherein the flow-free list stores the corresponding relation between the flow-free package identification and the base station number;
and the charging module is used for acquiring the charge of the charging ticket, and eliminating the charge of the charging ticket when the flow-free mark is arranged in the charging ticket.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any of claims 1 to 7.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the method of any one of claims 1 to 7.
CN202210327338.2A 2022-03-30 2022-03-30 User position-based stream-free method, device and readable storage medium Pending CN114697861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210327338.2A CN114697861A (en) 2022-03-30 2022-03-30 User position-based stream-free method, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210327338.2A CN114697861A (en) 2022-03-30 2022-03-30 User position-based stream-free method, device and readable storage medium

Publications (1)

Publication Number Publication Date
CN114697861A true CN114697861A (en) 2022-07-01

Family

ID=82141976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210327338.2A Pending CN114697861A (en) 2022-03-30 2022-03-30 User position-based stream-free method, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114697861A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469434A (en) * 2010-11-18 2012-05-23 中国移动通信集团辽宁有限公司 Charging method, position information analysis device and system
CN106533708A (en) * 2017-01-17 2017-03-22 深圳恒远智信科技有限公司 Method for changing data business charging strategy, scene server and user equipment
CN106789120A (en) * 2016-12-12 2017-05-31 中兴通讯股份有限公司 A kind of charge on traffic method, system and control server
CN109327815A (en) * 2018-10-25 2019-02-12 中国联合网络通信集团有限公司 A kind of the income calculation method and device of logical station
CN110198530A (en) * 2019-05-31 2019-09-03 中国联合网络通信集团有限公司 Exempt from scheduling processing method, device, equipment and the storage medium of traffic service
WO2021018021A1 (en) * 2019-07-31 2021-02-04 华为技术有限公司 Charging method, charging system, and communication device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469434A (en) * 2010-11-18 2012-05-23 中国移动通信集团辽宁有限公司 Charging method, position information analysis device and system
CN106789120A (en) * 2016-12-12 2017-05-31 中兴通讯股份有限公司 A kind of charge on traffic method, system and control server
CN106533708A (en) * 2017-01-17 2017-03-22 深圳恒远智信科技有限公司 Method for changing data business charging strategy, scene server and user equipment
CN109327815A (en) * 2018-10-25 2019-02-12 中国联合网络通信集团有限公司 A kind of the income calculation method and device of logical station
CN110198530A (en) * 2019-05-31 2019-09-03 中国联合网络通信集团有限公司 Exempt from scheduling processing method, device, equipment and the storage medium of traffic service
WO2021018021A1 (en) * 2019-07-31 2021-02-04 华为技术有限公司 Charging method, charging system, and communication device

Similar Documents

Publication Publication Date Title
CN107925876B (en) Node and method for handling mobility procedures of a wireless device
EP3214861A1 (en) Method, device and system for detecting fraudulent user
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
CN105359600A (en) Method for updating RPLMN information, and user equipment
CN106488427A (en) Execute the method, apparatus and system of network registry
CN108632863B (en) Traffic early warning method and device and server
CN109118360B (en) Block chain account checking method, device, equipment and storage medium
CN105306383A (en) Message push method, terminal and push server
US10390210B2 (en) Access method, user equipment and server
JP4357495B2 (en) How to set the time on your mobile device
US7603120B2 (en) Method and apparatus for communications network management
CN103220646A (en) Method and system for finding mobile terminal device based on short message
CN109413637B (en) Electromagnetic interference control method, related device, related equipment and storage medium
CN108391223A (en) A kind of method and device of determining lost contact user
CN111857606B (en) Data storage method, device, computer equipment and storage medium
CN111526255B (en) Voice communication method, device, terminal and storage medium
CN104754767A (en) State update method and equipment
CN114697861A (en) User position-based stream-free method, device and readable storage medium
CN108881392B (en) Method and device for updating service characteristic database
CN114268970A (en) Network capability opening method, equipment and storage medium
CN108898419B (en) Reward information processing method and device and block link points
CN110708665B (en) Method and device for determining home area of access network equipment
CN114793325A (en) Short message charging method and device for VoLTE terminal user and electronic equipment
EP4221304A1 (en) Communication method and apparatus, and device and storage medium
KR100845325B1 (en) Method for changing the msisdn using the ota(over-the-air activation) in wcdma(wideband code division multiple access) mobile phone

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