WO2017000617A1 - Communication frequency control method and apparatus - Google Patents

Communication frequency control method and apparatus Download PDF

Info

Publication number
WO2017000617A1
WO2017000617A1 PCT/CN2016/078478 CN2016078478W WO2017000617A1 WO 2017000617 A1 WO2017000617 A1 WO 2017000617A1 CN 2016078478 W CN2016078478 W CN 2016078478W WO 2017000617 A1 WO2017000617 A1 WO 2017000617A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
target
control
granularity
preset policy
Prior art date
Application number
PCT/CN2016/078478
Other languages
French (fr)
Chinese (zh)
Inventor
王志松
章璐
戴志刚
倪明
杨维
穆凌江
权海斌
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017000617A1 publication Critical patent/WO2017000617A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions

Definitions

  • the present invention relates to the field of communications, and in particular to a communication frequency control method and apparatus.
  • the harassment communication generally has at least one of the following characteristics: 1. A certain communication message is initiated in a large amount in a short time; 2. A certain geographical location (the mobile network often represents a geographical location by a cell, a base station, an end office, etc., and the fixed network often uses IP, end office, etc. represent geographic location, and can also use city, street, shopping mall, latitude and longitude to indicate geographic location) to initiate a large amount of information in a short period of time. Harassment communication involves various data services such as telephone, SMS, and MMS (such as basic data services such as http and FTP) and other Internet services, causing harassment or malicious attacks on ordinary users.
  • MMS such as basic data services such as http and FTP
  • harassing calls are typically characterized by: 1.
  • a phone initiates a large number of calls in a short period of time (each call is called a call); 2.
  • a geographic location initiates a large number of calls in a short period of time.
  • the frequency of harassing calls refers to the number of times a user initiates a telephone call or receives a telephone call within a statistical period. For example, the maximum number of times a call can be initiated within 1 minute is 10 times.
  • the message frequency of the harassment message (including short message, MMS, Weibo, BBS, etc.) refers to the number of times the user sends a message in a statistical period. For example, the maximum number of outgoing short messages allowed in one minute is 10.
  • the operator discovers a certain geographic location (such as an IP address segment, a base station, and a building) through a charging bill, a call log, and the like to initiate a large number of calls in a short period of time.
  • a certain geographic location such as an IP address segment, a base station, and a building
  • the IP address is taken as an example.
  • Control object [192.168.10.2, 192.168.10.21] (can also be a single user number, a single IP address, etc.); statistical granularity: 5 minutes; number of calls (threshold): 20 times; length of control :3 days.
  • the communication network After receiving the command, the communication network starts counting from the next statistical granularity and counts the number of calls sent in the IP segment. Statistics can be separately counted for each individual IP address (refer to the user-initiated calls included in the 19 IPs mentioned above, and the maximum number of calls allowed per IP is 20). Or you can also count the entire IP address segment in the instruction. When the number of outgoing calls from an IP reaches 21 times within a statistical granularity, the call is rejected. The statistics of the previous granularity are cleared at the beginning of each granularity, and statistics and control are re-executed.
  • the telephone service is taken as an example to describe the control method of the communication frequency in the related art.
  • traditional communication networks such as PSTN, PLMN
  • telephone switches are usually deployed by region.
  • a user or a geographically initiated call always passes through a telephone switch (such as an end office in the PSTN).
  • the telephone exchange provides telephone service.
  • the instructions issued by the operator through the upper management system are sent to a switch, which can perform complete statistics and control on the statistical objects required in the above instructions.
  • the current network technology can generally bind a certain user's multiple calls before and after to a certain telephone switch.
  • this switch can get all the call information of the specified user, but in the current network, when the user is distributed to the switch, the following occurs: the user registers with switch A in the previous hour and registers with switch B one hour later.
  • the reason is that in the network, the user data does not have a fixed binding relationship with the switch device.
  • the network always allocates an actual switch device to handle the service of the user when the user registers with the network, that is, the user and the switch.
  • a device is a dynamic binding relationship.
  • One solution in the related art is to modify the traffic distribution policy (or load balancing mechanism) in the POOL networking to support the distribution of user traffic by geographical location to a specific switch (or the management object involved). All communication traffic is directed to a specific communication device). For example, there are three switches in the POOL, the new distribution policy causes the outgoing call from the base station 1 to fall to the switch 1, and the call from the base station 2 falls to the switch 2.
  • the scheme is applicable to the small amount of traffic control of the user, but it is no longer applicable when the traffic volume of the controlling user is large. Because the number of calls in different geographical locations is different (and unpredictable), sharing traffic to different switches by geographical location will result in uneven load on multiple switches and affect network stability. Therefore, this solution does not have engineering feasibility in commercial networks.
  • the embodiment of the invention provides a communication frequency control method and device, so as to at least solve the problem that the communication frequency control cannot be performed on the modern communication network by user and by geographical location in the related art.
  • a communication frequency control method including: receiving, by a central control device a communication message sent by the information device, wherein the communication message carries information of the target communication request, the target communication service requested by the target communication request is a communication service for performing communication frequency control, and the communication device includes one or more communication devices;
  • the control device sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, wherein the control instruction is set to instruct the communication device to perform control on the communication frequency of the target communication service.
  • the central control device receives a preset policy sent by the management system of the communication network.
  • the central control device sends the control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, including: the central control device records the target communication according to the target The statistical result within the specified time granularity and the preset policy send a control instruction to the communication device, wherein the target communication record is a communication record corresponding to the target communication request.
  • the central control device sends the control command to the communication device according to the statistical result of the target communication record in the specified time granularity and the preset policy, including: the central control device identifies the target communication record according to the preset policy, and is within the specified time granularity. The number of times the target communication record is identified is counted, and a statistical value is obtained, wherein the preset policy is set to specify a statistical number threshold of the target communication service and the target communication service within a specified time granularity; the central control device performs the statistical value and the statistical number threshold. Comparing; and in the case where the statistical value reaches the statistical number threshold, the central control device sends a control command to the communication device.
  • the method further includes: the communication device rejecting the target communication request according to the control instruction, to perform control on the communication frequency of the target communication service.
  • the communication device rejecting the target communication request according to the control instruction includes: within a time period, the communication device rejects the target communication request according to the control instruction.
  • the method further includes: the central control device identifying the target communication from the plurality of communication records carried by the communication message according to the preset policy. Record, where the preset policy is set to specify the target communication service.
  • the method further includes: the communication device receiving the preset policy, where the preset policy is set to specify the target communication service; and the communication device is configured according to the preset policy.
  • the target communication request is identified in the communication request, and the target communication record is acquired, wherein the target communication record is a communication record corresponding to the target communication request; and the communication device generates a communication message carrying the target communication record.
  • the method further includes: The communication device counts the first number of times, and generates a communication message carrying the first number of times according to the time sub-granularity, wherein the first number is the number of times the communication device identifies the target communication request within the time sub-granularity; the central control device statistics a second number of times, and generating a control command when the second number reaches a statistical number threshold, wherein the second number is the sum of the number of times the central control device receives the first number of times within the specified time granularity, and the time sub-granularity is less than the specified time granularity.
  • the method further includes: the communication device Receiving a preset policy, wherein the preset policy is set to specify a target communication service; the communication device identifies the target communication request from the plurality of communication requests according to the preset policy; and the communication device generates the communication message carrying the target communication request.
  • the communication message also carries a preset policy.
  • a communication frequency control apparatus comprising: a receiving module configured to receive a communication message sent by a communication device, wherein the communication message carries information of a target communication request, and the target communication request
  • the requested target communication service is a communication service for performing communication frequency control
  • the communication device includes one or more communication devices
  • the sending module is configured to send the communication result to the communication device according to the statistical result of the communication message within a specified time granularity and a preset policy.
  • a control instruction wherein the control instruction is set to instruct the communication device to perform control on a communication frequency of the target communication service.
  • the central control device receives the communication message sent by the communication device, where the communication message carries the information of the target communication request, and the target communication service requested by the target communication request is the communication service to be executed for the communication frequency control, and the communication is performed.
  • the device includes one or more communication devices; the central control device sends a control instruction to the communication device according to the statistical result of the communication message within a specified time granularity and a preset policy, wherein the control instruction is set to indicate the communication frequency of the communication device to the target communication service.
  • the implementation of the control solves the problem that the communication frequency control of the modern communication network cannot be performed by the user and the geographical location according to the related art, and then the communication is performed by the central control device according to the statistical result of the communication message within the specified time granularity and the preset policy.
  • the device sends a control command to instruct the communication device to perform control on the communication frequency of the target communication service, thereby achieving the effect of performing communication frequency control on the modern communication network by user and by geographical location.
  • FIG. 1 is a flowchart of a communication frequency control method according to a first embodiment of the present invention
  • FIG. 2 is a networking diagram of a system configured to perform a communication frequency control method according to a second embodiment of the present invention
  • FIG. 3 is a schematic diagram of a communication frequency control method according to a second embodiment of the present invention.
  • FIG. 4 is a networking diagram of a system configured to perform a communication frequency control method according to a third embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a communication frequency control method according to a third embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a communication frequency control method according to a fourth embodiment of the present invention.
  • FIG. 7 is a networking diagram of a system configured to perform a communication frequency control method according to a fifth embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a communication frequency control method according to a fifth embodiment of the present invention.
  • FIG. 11 is a networking diagram of a system configured to perform a communication frequency control method according to a sixth embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a communication frequency control method according to a sixth embodiment of the present invention.
  • FIG. 13 is a networking diagram of a system configured to perform a communication frequency control method according to a seventh embodiment of the present invention.
  • FIG. 14 is a schematic diagram of a communication frequency control method according to a seventh embodiment of the present invention.
  • Figure 15 is a schematic diagram of a communication frequency control apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a communication frequency control method according to a first embodiment of the present invention. As shown in FIG. 1, the method includes the following steps S102 to S104:
  • Step S102 The central control device receives the communication message sent by the communication device, where the communication message carries the information of the target communication request, and the target communication service requested by the target communication request is the communication service to be controlled for the communication frequency, and the communication device includes a Or multiple communication devices.
  • the communication service includes a telephone service, a message service, a data service, an internet service, and the like.
  • the target communication service (control object) may be a communication service determined according to the originating user of the communication service, the target user (communication object), the location of the communication terminal, and the like.
  • the target communication service is the telephone service of the target user, and the communication device is a telephone exchange.
  • Step S104 The central control device sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, wherein the control instruction is set to instruct the communication device to perform control on the communication frequency of the target communication service.
  • the preset policy is a preset setting to instruct the communication device to perform control on the communication frequency of the target communication service.
  • the policy may be pre-configured in the central control device, configured in the communication device and transmitted by the communication device to the central control device, or generated by a third party (eg, a management system of the communication network) and sent to the central control device.
  • the communication message sent by the communication device is received by the central control device; the central control device sends the control command to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, which solves the problem that the related technology cannot be modernized.
  • the communication network implements the problem of communication frequency control according to the user and the geographical location, and then sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy by the central control device to indicate the communication device to the target communication.
  • the communication frequency of the service is executed and controlled, and the effect of the communication frequency control by the user and the geographical location is realized for the modern communication network.
  • the central control device receives a preset policy sent by the management system of the communication network.
  • the central control device receives the preset policy and sends a control command to the communication device according to the preset policy and the communication message.
  • the central control device sends the control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, including: the central control device records the target communication according to the target The statistical result within the specified time granularity and the preset policy send a control instruction to the communication device, wherein the target communication record is a communication record corresponding to the target communication request.
  • the communication device acquires the target communication request, acquires the target communication record corresponding to the target communication request, and generates a communication message carrying the target communication record (that is, the information carrying the target communication request).
  • the central control device sends a control instruction to the communication device according to the statistical result and the preset policy of the target communication record within the specified time granularity.
  • the central control device sends the control instruction to the communication device according to the target communication record and the preset policy, including: the central control device identifies the target communication record according to the preset policy, and performs the number of times the target communication record is identified within the specified time granularity. Statistics, the statistical value is obtained, wherein the preset policy is set to specify a statistical number threshold of the target communication service and the target communication service within a specified time granularity; the central control device compares the statistical value with the statistical number threshold; and the statistical value reaches the statistics In the case of the number of thresholds, the central control device sends a control command to the communication device.
  • the central control device can identify the target communication record according to the preset policy, and perform statistics on the number of times the target communication record is identified. And the preset number of statistics in the specified time granularity is specified in the preset policy.
  • the statistical number threshold is the maximum number of times the target communication record is identified within the specified time granularity (the number of communications allowed to be initiated and terminated within the statistical granularity). If the maximum value is reached, the central control device sends a control command to the communication device.
  • the central control device when the central control device recognizes the number of times the target user's call request (target communication request) within the specified time granularity reaches the statistical number threshold, sends a control command to the telephone exchange to indicate that the telephone exchange rejects The call of the target user.
  • the method further includes: the communication device rejecting the target communication request according to the control instruction, to perform control on the communication frequency of the target communication service.
  • the communication device rejecting the target communication request according to the control instruction includes: within the duration, the communication device rejects the target communication request according to the control instruction.
  • the communication device may reject the re-received target communication request for the subsequent duration.
  • the communication message can be re-generated according to the received target communication request (or its corresponding communication record) and sent to the central control device, which re-stats and performs the control.
  • the duration can be set to 3 days, and after more than 3 days, the control command is invalid; or the control command is not configured, that is, the control command is permanently valid.
  • a new control command may also be sent by the central control device to inform the communication device that the communication frequency control can be restarted.
  • the method further includes: the central control device identifies the target pass from the plurality of communication records carried by the communication message according to the preset policy.
  • the communication device only receives the communication request and generates a corresponding communication record without identifying the communication request (ie, not determining which of the communication records is the target communication record) and transmitting all communication records to the central controlling device.
  • the central control device identifies the received communication record according to a preset policy to identify the target communication record, and sends a control instruction to the communication device according to the statistical result and the preset policy of the target communication record within the specified time granularity.
  • the method further includes: the communication device receiving the preset policy, where the preset policy is set to specify the target communication service; and the communication device is configured according to the preset policy.
  • the target communication request is identified in the communication request, and the target communication record is acquired, wherein the target communication record is a communication record corresponding to the target communication request; and the communication device generates a communication message carrying the target communication record.
  • the communication device can receive a preset policy, which can be provided by a third party (eg, a management system of the communication network) or forwarded to it by the central control device.
  • a preset policy the communication device may identify the received communication request to determine which is the target communication request, generate a target communication record corresponding to the target communication request, and generate a communication message carrying the target communication record.
  • the preset policy is further set to specify the specified time granularity, the temporal sub-granularity, and the statistical number threshold of the target communication service within the specified time granularity.
  • the method further includes: the communication device counting the first number of times, and generating, according to the time sub-granularity, the communication message carrying the first number of times, wherein the first time is the communication device at the time The number of times the target communication request is identified in the sub-granularity; the central control device counts the second number of times, and generates a control command when the second number reaches the statistical number threshold, wherein the second number is received by the central control device within the specified time granularity The sum of the first number of times, the time sub-granularity is less than the specified time granularity.
  • the preset policy specifies two statistical time granularities (ie, temporal sub-granularity and specified temporal granularity).
  • the time sub-granularity is smaller than the specified time granularity.
  • the time sub-granularity is 1 minute and the specified time granularity is 10 minutes.
  • the communication device counts the number of times (first number of times) the target communication request is identified within each minute and sends it (carrying in the communication message) to the central control device.
  • the central control device may record the sum of the first times received in 10 minutes (the second number of times) at the time point when the communication message is received for the first time.
  • a control command is sent to the communication device instructing the communication device to reject the target communication request within the next 2 minutes.
  • Each communication service may have a different statistical granularity (time sub-granularity or specified time granularity).
  • a telephone call is generally a minimum statistical unit of 1 minute and 5 minutes, and some communication services, such as data communication based services, may need to reach a statistical granularity of seconds.
  • the method further includes: the communication device receiving the preset policy, where the preset policy is set to specify the target communication service; The device identifies the target communication request from the plurality of communication requests according to the preset policy; the communication device generates a communication message carrying the target communication request.
  • communication frequency control may require very complicated strategies, such as whether the credit rating of the user, whether the calling or called user is roaming, whether the calling and called users are in the same geographical area (administrative area), whether the calling and called users are friendly (such as Family account), involving high-risk numbers (exemption-free numbers), etc.; control operations are no longer a fixed frequency (number of communications per unit time); when the call meets different strategies, the frequency threshold is also different (such as long-distance calls) The threshold is different from the threshold set by the local call; or it may be required to disconnect the high-risk call in real time (ie forcibly shutting down the communication service).
  • the communication message also carries a preset policy.
  • the preset policy may only be sent to the communication device, and the communication device generates a communication message (such as a target communication request or its corresponding communication record) carrying the information of the preset policy and the target communication request.
  • the communication frequency control method can be applied to a communication network for various communication services (such as voice calls, video calls, short messages, multimedia messages, http data services, etc.) to the number of occurrences per unit time ( That is, the communication frequency is controlled.
  • the method not only supports user-controlled but also controls by geographical location, and can control the communication frequency of suspected harassing telephone users and harassing telephones to reduce malicious communication behavior;
  • the communication frequency is controlled to ensure the normal operation of the network and the normal execution of most communication services; and solve the problem that the communication frequency control of the modern communication network cannot be performed by users and by geographical location in the related art.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • FIG. 2 is a networking diagram of a system configured to perform a communication frequency control method according to a second embodiment of the present invention, which may be a preferred embodiment of the embodiment shown in FIG. 1.
  • the system includes:
  • the communication device is a device in the telecommunication network that is responsible for connecting or processing various communication services; the CCP is a device added for the main function of frequency control, and a CCP device must exist in the network, which receives the control command upwards and collects each downward Call information uploaded by the communication device.
  • the central control device in the embodiment shown in FIG. 1 can be implemented by the CCP in this embodiment; the communication device can be implemented by the communication device in this embodiment, and the control instruction can be adopted in this embodiment. The implementation of the control instructions (as well as in subsequent embodiments, will not be described again).
  • the reason for the introduction of the CCP is that there must be a central device in the network to summarize all the communication traffic involved in each management object (that is, the target communication service in the first embodiment) before the decision can be made: 1. Specify Whether the communication traffic of the managed object has exceeded the threshold; 2. Whether it is necessary to trigger the control of the specified control object.
  • the CCP's management and control strategy may be complex, not only based on the amount of communication traffic per unit time, but also based on the management object or the other side. The user's service level, call charge information, current network load and other parameters are used to judge the control decision. Therefore, the control strategy is concentrated on a central device (ie, CCP), which is used to determine whether to trigger the control.
  • control command is only issued to the CCP and does not need to be released to each communication device.
  • the main functions played by the CCP and the communication device in this embodiment are:
  • the main functions of the CCP 1. Identify which communication records involve the controlled objects; 2. Count the communication behavior of the controlled objects according to the statistical granularity; 3. After the threshold is exceeded, notify each communication device.
  • each communication device sends a Call History Record (CHR) to the CCP when receiving a communication request.
  • CHR Call History Record
  • the POP will perform call statistics according to the statistical granularity required in the control command. If the statistical threshold is reached, a control message is sent to all communication devices (including the subscriber number or geographic location, the end time point of the granularity). Thereafter, before the termination time point, the communication device checks whether the subscriber number or the geographical location matches each time a communication request is received, and if it matches, the call is rejected (for example, the call is rejected before 15:00, and the call is opened after 15:00). New statistical granularity). When the next statistical granularity begins, the new call request is forwarded to the CCP by the communication device. Repeat this process until the required length of control is reached in the control order.
  • CHR Call History Record
  • the communication device does not need to send any CHR to the CCP.
  • the CCP finds that a controlled object reaches the threshold of the granularity, it can send a prohibition message (control message) to the communication device first, and then the communication device prohibits the communication behavior of the controlled object.
  • the CCP finds that the granularity has expired, it sends an permission message (control message) to the communication device, and then the communication device allows the communication behavior of the managed object, and then restarts reporting the communication record to the CCP.
  • control message returned by the CCP must carry a time point (or other information indicating the granularity of the current statistics), so that the communication device learns the statistical granularity information.
  • FIG. 4 is a networking diagram of a system configured to perform a communication frequency control method according to a third embodiment of the present invention.
  • This embodiment can be used as a preferred embodiment of the embodiment shown in FIG.
  • the control instructions are not only issued to the CCP, but also to the various communication devices.
  • the networking mode of the communication device allows the various types of communication services initiated and terminated by the management object to be handled by different communication devices (for example, many users accessed by a certain base station, the calls are handled by different mobile switches respectively)
  • the control instructions for the same control object shall be sent to all communication devices in the network.
  • the primary role played by the CCP and the communication device is:
  • the main functions of the CCP 1. Count the communication behavior of the controlled object according to the statistical granularity; 2. Notify the communication devices after the threshold is exceeded.
  • the main functions of the communication device 1. When processing the communication request, it is identified whether the controlled object is involved. If it is involved, the molecular granularity is broken according to the statistical granularity, and then the communication quantity of each sub-granularity is sent to the CCP. 2, when the CCP wants The control behavior is executed when the communication behavior of a controlled object is prohibited before the specified time.
  • This embodiment performs most of the statistical work by distributed communication devices (such as telephone switches), and the CCP only performs the final summary work.
  • the communication device and the CCP can only periodically transmit the number of communication times that the controlled user can occur every minute (or other small time period), which reduces the bandwidth requirement.
  • This embodiment distributes the high-load work to each device separately, improves the network reliability, effectively solves the problem of single-point performance bottleneck and the formation of a single fault point, which can increase the cost of hardware and software, and can support more control users.
  • FIG. 5 is a schematic diagram of a communication frequency control method according to a third embodiment of the present invention. As shown in Figure 5,
  • the communication device picks up the communication request.
  • the communication device internally records the control instructions, and the CCP internally records the control instructions.
  • the communication device finds that the communication user, location or object is a control object (that is, it recognizes that the communication service meets the requirements of the control instruction, for example, the initiator is controlled).
  • the communication device splits the statistical granularity in the control command and splits it into several sub-granularities.
  • the communication device receives the communication request, and counts the number of communication requests within each sub-time granularity, and reports the number of communication requests (ie, traffic) once per sub-time granularity. For example, the statistical granularity is 5 minutes and the sub-granularity is 1 minute.
  • the communication device counts the number of communication requests received within one minute in a one-minute cycle, and reports the number of communication requests (ie, traffic) per minute.
  • the communication device reports a message to the CCP, which contains the following key information: the management object identifier (such as the user number), the length of the sub-granularity period (such as 1 minute), and the traffic occurring within the sub-granularity.
  • the CCP divides the statistical granularity in the control command into several sub-granularities according to the same granularity splitting strategy of the communication device.
  • the CCP After receiving the messages reported by all communication devices, the CCP accumulates the traffic of each sub-granularity for each management object within a statistical granularity. At the beginning of each sub-granularity, each communication device recalculates the traffic of the managed object within each sub-granularity. At the end of the sub-granularity, the message is reported to the CCP.
  • the CCP continuously accumulates the sub-granularity traffic. If the sum of the traffic has exceeded the threshold before the time required for the statistical granularity is reached, the control granularity of the statistical granularity is triggered.
  • the CCP sends a control message to all communication devices to indicate that a certain control service is prohibited for a certain control object before the specified statistical granularity (also indicated by a time point, for example, 15:00).
  • the communication device receives a communication request from the management object. Since the specified statistical granularity is not reached (for example, it is not until 15:00), the communication request is rejected, and the failure response is returned (may not return any response).
  • the statistical granularity expires (for example, the time point to 15:00), each communication device restarts to count the traffic according to the sub-granularity, and reports the CCP to accept the control message of the CCP.
  • the communication request refers to the first signaling in the session; in the non-session communication service, the communication request refers to all communication signaling.
  • the split sub-granularity can be shortened, for example, from 1 minute to half a minute. It is also possible to automatically adopt different sub-granularity for different management objects according to the user's historical call frequency.
  • FIG. 6 is a schematic diagram of a communication frequency control method according to a fourth embodiment of the present invention.
  • This embodiment can be used as a preferred embodiment of the embodiment shown in FIG.
  • each communication device may also not perform the operation of splitting the granularity and counting the number of communications locally, but only checking whether the communication request is related to the control object, and if relevant, reporting the CHR.
  • the CCP accumulates the number of CHRs received according to the statistical granularity. If the threshold is exceeded, each communication device is notified to perform the control operation.
  • a time point (for example, 15:00) may be carried, because: each control The statistical granularity of the objects is different, and the time points for starting the control are also different, which causes some devices to fail to accurately calculate the start and end time points of each statistical granularity (for example, when the statistical granularity start time is received from the first control object) When a communication request can start calculations).
  • the clock between the communication device and the CCP can be aligned, and the complexity of the internal business logic processing of the communication device is reduced, and the pressure on the CPU of a large number of timers of the device is alleviated.
  • the above-mentioned time point may not be carried in the control message returned above.
  • FIG. 7 is a networking diagram of a system configured to perform a communication frequency control method according to a fifth embodiment of the present invention.
  • This embodiment can be used as a preferred embodiment of the embodiment shown in FIG.
  • each communication device forwards a communication request to the CCP in real time when it receives a communication request involving a management object (the communication request may carry all necessary communication information).
  • the CCP decides by policy whether this communication is allowed. For example, when a certain type of communication request reaches a threshold in the statistical granularity, a prohibition response is returned, or the communication device that requests the request is denied the current communication service.
  • the operator may require more complicated policies for communication frequency control, such as according to the user's credit rating, whether the primary and called users are roaming, whether the primary and called users are in the same geographical area (administrative area), whether the primary and called users are Is a friendly relationship (such as a family account), involves high-risk numbers (exemption-free numbers), etc.; control operations are no longer a fixed frequency (number of communications per unit time); when the call meets different strategies, the frequency threshold is different (For example, the threshold of the long-distance call is different from the threshold of the local call setting); or the high-risk call may be required to be disconnected in real time (that is, the communication service is forcibly closed). Therefore, it is proposed in this embodiment that all communication devices immediately forward the received communication request to the CCP, and if the CCP allows the communication service, a successful response is returned, after which the communication device executes the normal communication service logic.
  • FIG. 8 is a schematic diagram of a communication frequency control method according to a fifth embodiment of the present invention.
  • the communication device 1 receives the communication request and determines that it is related to the management object, it forwards the communication request to the CCP.
  • the CCP determines that the communication request should be prohibited according to the local policy or through a dedicated policy server (for example, the long-distance type call reaches the threshold), and instructs the communication device 1 to reject the communication.
  • the communication device 1 then returns a failure response to the initiator.
  • the communication device locally cannot forward the communication request to the CCP because it lacks a complete policy and cannot accurately determine whether the communication request involves the management object.
  • the communication device When the communication device needs to reject a certain communication, it can return a failure response, or directly discard the communication. Seeking (because the initiator may perform different retransmission strategies for different communication services).
  • the CCP When the CCP finds that the communication behavior of a controlled object has reached the threshold of the current statistical granularity, it may return a control message to each communication device to request that certain communication behavior of the controlled object be prohibited before the specified time point.
  • a communication category (such as a voice call, a video call, a short message, a multimedia message, an http data service, etc.) may be carried to implement communication frequency control according to the communication service category. Whether the communication category needs to be carried depends on whether the network networking and the operator need fine-grained control. For example, when different communication services are handled by different communication devices, the communication category may not be carried.
  • the start and end time of the statistical granularity may be fixed following the time unit, or may be started as the statistical granularity starting point after receiving the first communication request of the management object. You can choose from two different strategies:
  • Strategy 1 The statistical granularity is set to 1 hour, and the start time of each statistical point is fixed in the time unit. There are 24 statistical granularities in one day, starting from 0:00, 12:00, 2:...23.
  • Strategy 2 The statistical granularity is set to 1 hour, and the start time of each statistical point is calculated from the receipt of the management object or all calls. For example, if a communication device receives the first call of a management object at 11:42, the start point is 11:42, and the CCP and all communication devices should use 11:42 as the starting point of the current statistical granularity.
  • Strategy 1 requires all communication devices and CCPs to set a unified statistical granularity for specific management objects, as long as each device and CCP can synchronize in time.
  • Strategy 2 is more complicated to implement. When the first call of the management object falls on the communication device 1, other communication devices must also start statistics at this point, and each communication device point needs to synchronize the call information about the management object.
  • FIG. 9 is a basic architectural diagram of an IMS network. As shown in FIG. 9, the IMS network needs to perform call frequency control and message frequency control on the IP address or IP address segment.
  • the main network elements of the IMS include: a Call Session Control Function (CSCF), a Home Subscriber Server (HSS), and an Application Server (AS).
  • CSCF Call Session Control Function
  • HSS Home Subscriber Server
  • AS Application Server
  • the CSCF is divided into three types: S-CSCF (Serving-Call Session Control Function, Service CSCF), I-CSCF (Interrogating-Call Session Control Function, Query CSCF), and P-CSCF (Proxy-Call Session Control Function, Agent CSCF).
  • the P-CSCF can be located in the access network of the user's current location, and serves as the first contact network element for the user to access the IMS network, and forwards the SIP call signaling of the user to the IMS core network (SIP signaling is used as the call control in the IMS network).
  • Signaling protocol, SIP is the Session Initiation Protocol, initial session protocol).
  • the I-CSCF can complete the internal information hiding function of the network and support network security. As the core call control entity, the S-CSCF performs basic call control functions and provides an interface with the application server.
  • the HSS records the user information and service data of each IMS user, cooperates with the CSCF to complete the routing function, and provides authentication and authorization functions.
  • User subscription data is stored in the HSS and downloaded to the S-CSCF when the user registers.
  • the user subscription data stores the information triggering rule (IFC) of the user and the address information of the AS providing the service.
  • IFC information triggering rule
  • industry The service data is downloaded from the HSS to the AS when the user registers, and is used by the AS to complete the user service processing.
  • the user's IFC data is downloaded from the HSS to the S-CSCF when the user registers, for the S-CSCF to select the AS.
  • the AS provides various call-type services to users, such as basic voice, video services, and supplementary services.
  • the S-CSCF selects an AS according to the IFC information of each user to perform supplementary services of the user.
  • IP-SM-GW IP-Short-Message-Gateway
  • IP-SM-GW IP-Short-Message-Gateway
  • S-CSCF selects an IP-SM-GW to process the short message service of the user according to the IFC information of each user.
  • FIG. 10 is a schematic diagram of a POOL networking architecture of an IMS network.
  • a user-initiated call or short message is forwarded to an intermediate call control entity I-CSCF of the core network through the P-CSCF of the access network.
  • the I-CSCF forwards to a service call control entity S-CSCF.
  • the S-CSCF needs to forward the call or message to an application server AS or short message gateway.
  • the I-CSCF, the S-CSCF, the application server AS, and the short message gateway are all POOL networking. There is no absolute binding relationship between the user and these devices. Take AS as an example. Multiple calls from a user are distributed to different ASs for processing.
  • the S-CSCF in the related art utilizes the IFC mechanism and the DNS technology when forwarding the call to the AS, and can bind the user to an AS by using the DNS.
  • it is impossible to bind to an AS by geographical location such as IP, base station, and city). The reason is that each geographical location is discrete and the number is very large.
  • the existing IFC triggering rules cannot represent hundreds or thousands of geographical location information.
  • the operator has to control the frequency of calls for 20 IP addresses separately, and hopes to distribute 20 IP addresses evenly to 3 ASs in the POOL. Since the user is allowed to move to other geographical locations, no one can predict how many users will be accessed under an IP address (especially when the access point uses fixed broadband plus NAT to translate IP addresses, multiple accesses are allowed under the same IP address). Users), resulting in uneven traffic on multiple ASs in POOL, affecting network stability.
  • FIG. 11 is a networking diagram of a system configured to perform a communication frequency control method according to a sixth embodiment of the present invention.
  • This embodiment can be used as a preferred embodiment of the embodiment shown in FIG.
  • this embodiment provides a networking diagram of the frequency management and control of the call service performed by the application server AS and the CCP.
  • the control command is sent to all ASs and CCPs in the POOL, so that each AS counts the communication frequency of the same control object according to a unified time unit, and then sends it to the CCP when the sub-granularity expires.
  • FIG. 12 is a diagram showing a communication frequency control method according to a sixth embodiment of the present invention. As shown in FIG. 12, after receiving the control command, each communication device (AS) and CCP starts to set a timer in a fixed time unit after recording the control object and the statistical granularity information, and starts statistical communication behavior.
  • AS communication device
  • CCP starts to set a timer in a fixed time unit after recording the control object and the statistical granularity information, and starts statistical communication behavior.
  • the control command requires the call frequency control of the base station 1.
  • the granularity of the control is 5 minutes, and each AS splits it into 5 sub-granularity.
  • each communication device and CCP set up a timer to start counting.
  • the process of performing communication frequency control includes the following steps:
  • the AS receives a call request at 14:55:3 seconds.
  • the AS finds that the call needs to be managed, and the counter is +1 in the sub-granularity.
  • the AS receives the N call requests of the specified control object before 14:55:59 seconds, then the counter +N in the sub-granularity.
  • a message is sent to the CCP: the control object number or geographic location, the last sub-granularity information (optional field, if the AS and the CCP can be synchronized in statistical granularity, it is not needed), Call frequency of sub-granularity (N+1 times).
  • the AS restarts a sub-granularity statistics from 14:56:0 seconds.
  • the CCP accumulates the call frequency value received from each AS for the same management object within the control granularity (14:55:00 seconds to 15:00:0 seconds). For example, at the end of the sub-granularity of 14:57:59 seconds, the new frequency value reported by each AS is received, and after counting, a control object is found within 3 minutes from 14:55:0 seconds to 14:57:59. The call frequency value has exceeded the threshold.
  • the control decision made by the CCP is: From the current point to 15:00:00 seconds, the call of the above-mentioned management object should be rejected.
  • the CCP returns a control message to each AS, requesting that the call that occurred before 15:00:00 seconds for the above-mentioned control object (user or geographic location) should be rejected.
  • the AS receives a call request from the above-mentioned management object at 14:58:23 seconds, and the AS rejects the call and returns a failure response.
  • each AS After arriving at 15:00:00 seconds, each AS returns to the starting point of this embodiment, re-establishes the sub-granularity for statistics, and the CCP counts according to a new statistical granularity.
  • This embodiment enables quasi-real time control of the communication frequency. For example, a control order requires only 20 calls within 5 minutes. During the implementation process, the following situation occurred:
  • control object made 24 calls in the first 3 minutes, and then the call was forbidden 2 minutes later.
  • This embodiment treats a portion of the frequency statistics to the AS for processing, reducing the performance load on the CCP.
  • the split sub-granularity may be shortened.
  • the sub-grain size can be reduced from 1 minute to half a minute. It is also possible to automatically adopt different sub-granularity for different management objects according to the user's historical call frequency.
  • the logic of sub-granularity splitting can be placed entirely within each AS, independent of the CCP.
  • FIG. 13 is a networking diagram of a system arranged to perform a communication frequency control method according to a seventh embodiment of the present invention.
  • This embodiment can be used as a preferred embodiment of the embodiment shown in FIG.
  • a short message gateway and CCP are provided.
  • the control command is sent to all short message gateways and CCPs in the POOL, so that each short message gateway counts the communication frequency of the same control object according to a unified time unit, and then sends the CCP to the CCP when the sub-granularity expires. .
  • Figure 14 is a diagram showing a communication frequency control method according to a seventh embodiment of the present invention.
  • the CCP starts to set up the timer in a fixed time unit after recording the control object and the statistical granularity information, and starts to count the communication behavior.
  • the short message gateway After receiving the control command, the short message gateway only records the management object information (such as CHR).
  • control command requires message frequency control for the short message sent by the base station 1.
  • the granularity of the control is 5 minutes.
  • the CCP sets up a timer to start statistics.
  • the process of performing communication frequency control includes the following steps:
  • the short message gateway receives a short message at 14:55:3 seconds.
  • the short message gateway finds that this short message needs to be controlled (by user, location or object).
  • the short message gateway immediately reports a message to the CCP, carrying relevant information of the short message (such as CHR).
  • the CCP will +1 the counter of this managed object.
  • the CCP returns a control message to the short message gateway, requesting it to perform message control on the specified control object before 15:00.
  • the short message gateway receives another short message.
  • the short message gateway receives another short message.
  • a communication frequency control device is also provided, which is configured to implement the above-described embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • Figure 15 is a schematic diagram of a communication frequency control apparatus according to an embodiment of the present invention. As shown in FIG. 15, the apparatus includes: a receiving module 20 and a transmitting module 40.
  • the receiving module 20 is configured to receive a communication message sent by the communication device, where the communication message carries information of the target communication request, and the target communication service requested by the target communication request is a communication service for performing communication frequency control, and the communication device includes a Or multiple communication devices.
  • the sending module 40 is configured to send a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, wherein the control instruction is set to instruct the communication device to perform control on the communication frequency of the target communication service.
  • the receiving module 20 receives the communication message sent by the communication device, and the sending module 40 sends a control command to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, thereby solving the problem that the modern communication network cannot be pressed.
  • the user performs the communication frequency control problem according to the geographic location, and then sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy by the sending module 40 to indicate the communication of the communication device to the target communication service.
  • the frequency execution control achieves the effect of implementing communication frequency control on the modern communication network by user and by geographical location.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the communication frequency control method and apparatus have the following beneficial effects: the central control device sends a control command to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy.
  • the effect of performing communication frequency control on the modern communication network by user and by geographical location is achieved.

Landscapes

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

Abstract

The embodiments of the present invention provide a communication frequency control method and apparatus. The method comprises: a central control device receives a communication message sent by a communication device, wherein the communication message carries information about a target communication request, a target communication service requested by the target communication request is a communication service on which communication frequency control is to be performed, and the communication device comprises one or more communication devices; the central control device sends a control instruction to the communication device according to statistics of the communication message in a specific time increment and a preset policy, wherein the control instruction is set to instruct the communication device to control a communication frequency of the target communication service. The embodiments of the present invention resolve the problem of incapability in implementing communication frequency control according to users and geographical locations for a modern communication network in the related art.

Description

通信频度控制方法及装置Communication frequency control method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种通信频度控制方法及装置。The present invention relates to the field of communications, and in particular to a communication frequency control method and apparatus.
背景技术Background technique
在通信网络中,经常存在骚扰通信。骚扰通信一般具有以下至少之一的特征:1、某种通信消息在短时间内大量发起;2、某个地理位置(移动网络常以小区、基站、端局等表示地理位置,固定网络常以IP、端局等表示地理位置,也可以用城市、街道、商场、经纬度等表示地理位置)在短时间内发起大量信息。骚扰通信涉及电话、短信、彩信等各种数据业务(如http、FTP等基本数据业务)以及其它互联网业务,造成对普通用户的骚扰或者恶意攻击。In communication networks, there are often harassing communications. The harassment communication generally has at least one of the following characteristics: 1. A certain communication message is initiated in a large amount in a short time; 2. A certain geographical location (the mobile network often represents a geographical location by a cell, a base station, an end office, etc., and the fixed network often uses IP, end office, etc. represent geographic location, and can also use city, street, shopping mall, latitude and longitude to indicate geographic location) to initiate a large amount of information in a short period of time. Harassment communication involves various data services such as telephone, SMS, and MMS (such as basic data services such as http and FTP) and other Internet services, causing harassment or malicious attacks on ordinary users.
相关技术中采用了各种办法来识别、拦截骚扰通信,但是很多时候将骚扰通信与正常通信完全区分开并不是一件简单的事情。当无法明确识别出某个用户是否是恶意用户时,一般要求对该用户(或按地理位置)的某类通信业务(包括电话业务、消息业务、数据业务、互联网业务)的频度进行控制。Various methods have been used in the related art to identify and intercept harassment communications, but in many cases it is not a simple matter to completely distinguish harassment communication from normal communication. When it is not possible to clearly identify whether a user is a malicious user, it is generally required to control the frequency of a certain type of communication service (including telephone service, message service, data service, and Internet service) of the user (or by geographical location).
例如,骚扰电话,骚扰电话的典型特征是:1、某个话机在短时间内发起大量呼叫(每拨打一次电话称为一次呼叫);2、某个地理位置在短时间内发起大量呼叫。骚扰电话的频度(呼叫频度)是指用户在一个统计周期内发起电话呼叫或接收电话呼叫的次数。比如在1分钟内允许发起呼叫的最大次数为10次。再例如,骚扰消息(包括短消息、彩信、微博、BBS发言等)的消息频度是指用户在一个统计周期内发出消息的次数。比如在1分钟内允许短消息的最大发出条数为10条。For example, harassing calls, harassing calls are typically characterized by: 1. A phone initiates a large number of calls in a short period of time (each call is called a call); 2. A geographic location initiates a large number of calls in a short period of time. The frequency of harassing calls (call frequency) refers to the number of times a user initiates a telephone call or receives a telephone call within a statistical period. For example, the maximum number of times a call can be initiated within 1 minute is 10 times. For another example, the message frequency of the harassment message (including short message, MMS, Weibo, BBS, etc.) refers to the number of times the user sends a message in a statistical period. For example, the maximum number of outgoing short messages allowed in one minute is 10.
伴随电信诈骗、垃圾电话、垃圾短信、电信营销等行为日益严重,为了对恶意通信行为进行有效管控,相关技术中开始对通信频度进行控制。With the increasingly serious behaviors such as telecom fraud, spam calls, spam messages, and telecom marketing, in order to effectively control malicious communication behavior, the related technologies began to control the communication frequency.
具体来说,运营商通过计费话单、呼叫日志等手段发现某个地理位置(如一个IP地址段、一个基站、一个大楼)在短时间内发起大量呼叫。在明确鉴别为骚扰电话之前,需要对这个地理位置(这里以IP地址为例)下发起的呼叫进行呼叫管控。Specifically, the operator discovers a certain geographic location (such as an IP address segment, a base station, and a building) through a charging bill, a call log, and the like to initiate a large number of calls in a short period of time. Before explicitly identifying the harassing call, it is necessary to conduct call control on the call initiated under this geographic location (here, the IP address is taken as an example).
首先,运营商通过上层管控系统下达指令给通信网络。例如,具体的指令如下:管控对象:【192.168.10.2,192.168.10.21】(也可以是单个用户号码、单个IP地址等);统计粒度:5分钟;呼叫次数(阈值):20次;管控时长:3天。通信网络收到命令后,从下一个统计粒度开始,对该IP段内发出的呼叫次数进行统计。统计时可针对每个单独的IP地址分别进行统计(指上述的19个IP包括的用户发起的呼叫,每个IP允许的呼叫次数上限均为20次)。或者也可针对指令中整个IP地址段进行统计。当一个统计粒度内从某个IP的呼出次数达到21次,则拒绝呼叫。每个粒度开始时清空上个粒度的统计结果,并重新进行统计与控制。 First, the operator issues instructions to the communication network through the upper management system. For example, the specific instructions are as follows: Control object: [192.168.10.2, 192.168.10.21] (can also be a single user number, a single IP address, etc.); statistical granularity: 5 minutes; number of calls (threshold): 20 times; length of control :3 days. After receiving the command, the communication network starts counting from the next statistical granularity and counts the number of calls sent in the IP segment. Statistics can be separately counted for each individual IP address (refer to the user-initiated calls included in the 19 IPs mentioned above, and the maximum number of calls allowed per IP is 20). Or you can also count the entire IP address segment in the instruction. When the number of outgoing calls from an IP reaches 21 times within a statistical granularity, the call is rejected. The statistics of the previous granularity are cleared at the beginning of each granularity, and statistics and control are re-executed.
下面以电话业务为例,对相关技术中的通信频度的控制方法进行说明。在传统的通信网络中(如PSTN、PLMN),电话交换机通常是按地域部署,某个用户、某个地理位置发起的呼叫总会经过某个电话交换机(如PSTN中的端局),经由该电话交换机提供电话业务。通常运营商通过上层管控系统下达的指令会下发至某个交换机,该交换机可以对上述指令中所要求的统计对象进行完全的统计和控制。In the following, the telephone service is taken as an example to describe the control method of the communication frequency in the related art. In traditional communication networks (such as PSTN, PLMN), telephone switches are usually deployed by region. A user or a geographically initiated call always passes through a telephone switch (such as an end office in the PSTN). The telephone exchange provides telephone service. Usually, the instructions issued by the operator through the upper management system are sent to a switch, which can perform complete statistics and control on the statistical objects required in the above instructions.
但是在现代的通信网络(软交换网络、3G网络、IMS网络等)中,实现通信频度的控制存在较大的难度。由于在现代的通信网络中,电话业务被完全上移到一个核心网处理,用户接入地只有一个简单的网络接入设备(如Volte网络中的P-CSCF、代理CSCF),并且用户会在不同地理位置、不同接入设备间移动,所以此时只有核心网能得到指定统计对象的全部呼叫信息。通常,在整个核心网中存在许多电话交换机(一般称为POOL组网模式)。交换机存在多个的原因至少有两点:1,容灾;2,全网话务量太大导致必须将话务量负荷分担到多个电话交换机上。However, in modern communication networks (softswitch networks, 3G networks, IMS networks, etc.), it is difficult to control the communication frequency. Since in the modern communication network, the telephone service is completely moved up to a core network, the user accesses only a simple network access device (such as the P-CSCF in the Volte network, the proxy CSCF), and the user will Different geographical locations and different access devices move, so only the core network can get all the call information of the specified statistical object. Typically, there are many telephone exchanges (generally referred to as POOL networking modes) throughout the core network. There are at least two reasons for the existence of multiple switches: 1. Disaster tolerance; 2. The traffic on the entire network is too large, so that the traffic load must be shared to multiple telephone switches.
如果按用户进行呼叫频度控制,当前的网络技术一般可以实现将某个用户的前后多次呼叫绑定到某个电话交换机上处理。从技术上来说,这个交换机能得到指定用户的所有呼叫信息,但当前网络中在分发用户到交换机时会发生如下情况:用户在前一小时注册到交换机A,而后一小时注册到交换机B。原因在于,在网络中,用户数据并没有与交换机设备有固定的绑定关系,网络总是在用户注册到网络中时才会分配一个实际上的交换机设备处理此用户的业务,即用户与交换机设备是一种动态的绑定关系。这种动态绑定关系对于网络流量的均匀分担是有益的,但是这样带来的后果是,任何单个电话交换机都无法得到某用户的全部呼叫信息。同样地,在按特定地理位置进行呼叫频度控制时,由于话务量总是按用户均匀分担到多个电话交换机上,所以任何单个电话交换机都无法得到指定地理位置发出的所有的呼出信息。If the call frequency control is performed by the user, the current network technology can generally bind a certain user's multiple calls before and after to a certain telephone switch. Technically, this switch can get all the call information of the specified user, but in the current network, when the user is distributed to the switch, the following occurs: the user registers with switch A in the previous hour and registers with switch B one hour later. The reason is that in the network, the user data does not have a fixed binding relationship with the switch device. The network always allocates an actual switch device to handle the service of the user when the user registers with the network, that is, the user and the switch. A device is a dynamic binding relationship. This dynamic binding relationship is beneficial for even sharing of network traffic, but the consequence of this is that no single caller can get all the call information for a particular user. Similarly, when the call frequency control is performed in a specific geographic location, since the traffic is always evenly distributed to multiple telephone exchanges by the user, any single telephone exchange cannot obtain all the outgoing information sent by the specified geographical location.
相关技术中存在的一种方案是通过修改POOL组网中的话务分发策略(或负载均衡机制),令其支持按地理位置分发用户话务量到特定的交换机上(或将管控对象涉及的所有通信业务量都导向到某个指定的通信设备)。例如,POOL内有三个交换机,新的分发策略让基站1发出的呼出落到交换机1,而基站2发出的呼叫落到交换机2。One solution in the related art is to modify the traffic distribution policy (or load balancing mechanism) in the POOL networking to support the distribution of user traffic by geographical location to a specific switch (or the management object involved). All communication traffic is directed to a specific communication device). For example, there are three switches in the POOL, the new distribution policy causes the outgoing call from the base station 1 to fall to the switch 1, and the call from the base station 2 falls to the switch 2.
该方案在管控用户的话务量较小时尚可适用,但在管控用户的话务量较大时则不再适用。因为不同地理位置下呼叫量不同(且无法预知),按地理位置分担话务到不同交换机,会导致多个交换机负荷不均匀,影响网络稳定。所以这个方案在商用网络中不具有工程上的可行性。The scheme is applicable to the small amount of traffic control of the user, but it is no longer applicable when the traffic volume of the controlling user is large. Because the number of calls in different geographical locations is different (and unpredictable), sharing traffic to different switches by geographical location will result in uneven load on multiple switches and affect network stability. Therefore, this solution does not have engineering feasibility in commercial networks.
针对相关技术中无法对现代通信网络按用户、按地理位置实行通信频度控制的问题,目前尚未提出有效的解决方案。In view of the problem that the communication frequency control of the modern communication network cannot be performed by users and by geographical location in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种通信频度控制方法及装置,以至少解决相关技术中无法对现代通信网络按用户、按地理位置实行通信频度控制的问题。The embodiment of the invention provides a communication frequency control method and device, so as to at least solve the problem that the communication frequency control cannot be performed on the modern communication network by user and by geographical location in the related art.
根据本发明的一个实施例,提供了一种通信频度控制方法,包括:中央控制设备接收通 信设备发送的通信消息,其中,通信消息携带有目标通信请求的信息,目标通信请求所请求的目标通信业务为待执行通信频度控制的通信业务,通信设备包括一个或者多个通信设备;中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,其中,控制指令设置为指示通信设备对目标通信业务的通信频度执行控制。According to an embodiment of the present invention, a communication frequency control method is provided, including: receiving, by a central control device a communication message sent by the information device, wherein the communication message carries information of the target communication request, the target communication service requested by the target communication request is a communication service for performing communication frequency control, and the communication device includes one or more communication devices; The control device sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, wherein the control instruction is set to instruct the communication device to perform control on the communication frequency of the target communication service.
可选地,中央控制设备接收通讯网络的管理系统发送的预设策略。Optionally, the central control device receives a preset policy sent by the management system of the communication network.
可选地,在通信消息携带有目标通信记录的情况下,中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令包括:中央控制设备按照目标通信记录在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,其中,目标通信记录为目标通信请求对应的通信记录。Optionally, in a case that the communication message carries the target communication record, the central control device sends the control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, including: the central control device records the target communication according to the target The statistical result within the specified time granularity and the preset policy send a control instruction to the communication device, wherein the target communication record is a communication record corresponding to the target communication request.
可选地,中央控制设备按照目标通信记录在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令包括:中央控制设备按照预设策略识别目标通信记录,并在指定时间粒度内对识别到目标通信记录的次数进行统计,得到统计值,其中,预设策略设置为指定目标通信业务和目标通信业务在指定时间粒度内的统计次数阈值;中央控制设备将统计值和统计次数阈值进行比较;以及在统计值达到统计次数阈值的情况下,中央控制设备向通信设备发送控制指令。Optionally, the central control device sends the control command to the communication device according to the statistical result of the target communication record in the specified time granularity and the preset policy, including: the central control device identifies the target communication record according to the preset policy, and is within the specified time granularity. The number of times the target communication record is identified is counted, and a statistical value is obtained, wherein the preset policy is set to specify a statistical number threshold of the target communication service and the target communication service within a specified time granularity; the central control device performs the statistical value and the statistical number threshold. Comparing; and in the case where the statistical value reaches the statistical number threshold, the central control device sends a control command to the communication device.
可选地,在中央控制设备向通信设备发送控制指令之后,该方法还包括:通信设备按照控制指令拒绝目标通信请求,以对目标通信业务的通信频度执行控制。Optionally, after the central control device sends the control instruction to the communication device, the method further includes: the communication device rejecting the target communication request according to the control instruction, to perform control on the communication frequency of the target communication service.
可选地,在控制指令还设置为指定通信设备拒绝目标通信请求的时长的情况下,通信设备按照控制指令拒绝目标通信请求包括:在时长内,通信设备按照控制指令拒绝目标通信请求。Optionally, in the case that the control instruction is further set to specify the length of time that the communication device rejects the target communication request, the communication device rejecting the target communication request according to the control instruction includes: within a time period, the communication device rejects the target communication request according to the control instruction.
可选地,在中央控制设备按照目标通信记录以及预设策略向通信设备发送控制指令之前,该方法还包括:中央控制设备按照预设策略从通信消息携带的多个通信记录中识别出目标通信记录,其中,预设策略设置为指定目标通信业务。Optionally, before the central control device sends the control instruction to the communication device according to the target communication record and the preset policy, the method further includes: the central control device identifying the target communication from the plurality of communication records carried by the communication message according to the preset policy. Record, where the preset policy is set to specify the target communication service.
可选地,在中央控制设备接收通信设备发送的通信消息之前,该方法还包括:通信设备接收预设策略,其中,预设策略设置为指定目标通信业务;通信设备根据预设策略,从多个通信请求中识别目标通信请求,并获取目标通信记录,其中,目标通信记录为目标通信请求对应的通信记录;通信设备生成携带有目标通信记录的通信消息。Optionally, before the central control device receives the communication message sent by the communication device, the method further includes: the communication device receiving the preset policy, where the preset policy is set to specify the target communication service; and the communication device is configured according to the preset policy. The target communication request is identified in the communication request, and the target communication record is acquired, wherein the target communication record is a communication record corresponding to the target communication request; and the communication device generates a communication message carrying the target communication record.
可选地,在预设策略还设置为指定指定时间粒度、时间子粒度以及目标通信业务在指定时间粒度内的统计次数阈值的情况下,在通信设备接收预设策略之后,该方法还包括:通信设备统计第一次数,并按照时间子粒度生成携带有第一次数的通信消息,其中,第一次数为通信设备在时间子粒度内识别到目标通信请求的次数;中央控制设备统计第二次数,并在第二次数达到统计次数阈值时生成控制指令,其中,第二次数为中央控制设备在指定时间粒度内接收到的第一次数的次数之和,时间子粒度小于指定时间粒度。Optionally, after the preset policy is further configured to specify the specified time granularity, the time sub-granularity, and the statistical number of times of the target communication service within the specified time granularity, after the communication device receives the preset policy, the method further includes: The communication device counts the first number of times, and generates a communication message carrying the first number of times according to the time sub-granularity, wherein the first number is the number of times the communication device identifies the target communication request within the time sub-granularity; the central control device statistics a second number of times, and generating a control command when the second number reaches a statistical number threshold, wherein the second number is the sum of the number of times the central control device receives the first number of times within the specified time granularity, and the time sub-granularity is less than the specified time granularity.
可选地,在中央控制设备接收通信设备发送的通信消息之前,该方法还包括:通信设备 接收预设策略,其中,预设策略设置为指定目标通信业务;通信设备根据预设策略,从多个通信请求中识别目标通信请求;通信设备生成携带有目标通信请求的通信消息。Optionally, before the central control device receives the communication message sent by the communication device, the method further includes: the communication device Receiving a preset policy, wherein the preset policy is set to specify a target communication service; the communication device identifies the target communication request from the plurality of communication requests according to the preset policy; and the communication device generates the communication message carrying the target communication request.
可选地,通信消息中还携带有预设策略。Optionally, the communication message also carries a preset policy.
根据本发明的另一实施例,提供了一种通信频度控制装置,包括:接收模块,设置为接收通信设备发送的通信消息,其中,通信消息携带有目标通信请求的信息,目标通信请求所请求的目标通信业务为待执行通信频度控制的通信业务,通信设备包括一个或者多个通信设备;发送模块,设置为根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,其中,控制指令设置为指示通信设备对目标通信业务的通信频度执行控制。According to another embodiment of the present invention, there is provided a communication frequency control apparatus, comprising: a receiving module configured to receive a communication message sent by a communication device, wherein the communication message carries information of a target communication request, and the target communication request The requested target communication service is a communication service for performing communication frequency control, the communication device includes one or more communication devices, and the sending module is configured to send the communication result to the communication device according to the statistical result of the communication message within a specified time granularity and a preset policy. And a control instruction, wherein the control instruction is set to instruct the communication device to perform control on a communication frequency of the target communication service.
通过本发明实施例,中央控制设备接收通信设备发送的通信消息,其中,通信消息携带有目标通信请求的信息,目标通信请求所请求的目标通信业务为待执行通信频度控制的通信业务,通信设备包括一个或者多个通信设备;中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,其中,控制指令设置为指示通信设备对目标通信业务的通信频度执行控制,解决了相关技术中无法对现代通信网络按用户、按地理位置实行通信频度控制的问题,进而通过中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,以指示通信设备对目标通信业务的通信频度执行控制,达到了对现代通信网络按用户、按地理位置实行通信频度控制的效果。According to the embodiment of the present invention, the central control device receives the communication message sent by the communication device, where the communication message carries the information of the target communication request, and the target communication service requested by the target communication request is the communication service to be executed for the communication frequency control, and the communication is performed. The device includes one or more communication devices; the central control device sends a control instruction to the communication device according to the statistical result of the communication message within a specified time granularity and a preset policy, wherein the control instruction is set to indicate the communication frequency of the communication device to the target communication service. The implementation of the control solves the problem that the communication frequency control of the modern communication network cannot be performed by the user and the geographical location according to the related art, and then the communication is performed by the central control device according to the statistical result of the communication message within the specified time granularity and the preset policy. The device sends a control command to instruct the communication device to perform control on the communication frequency of the target communication service, thereby achieving the effect of performing communication frequency control on the modern communication network by user and by geographical location.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明第一实施例的通信频度控制方法的流程图;1 is a flowchart of a communication frequency control method according to a first embodiment of the present invention;
图2是根据本发明第二实施例的设置为执行通信频度控制方法的系统的组网图;2 is a networking diagram of a system configured to perform a communication frequency control method according to a second embodiment of the present invention;
图3是根据本发明第二实施例的通信频度控制方法的示意图;3 is a schematic diagram of a communication frequency control method according to a second embodiment of the present invention;
图4是根据本发明第三实施例的设置为执行通信频度控制方法的系统的组网图;4 is a networking diagram of a system configured to perform a communication frequency control method according to a third embodiment of the present invention;
图5是根据本发明第三实施例的通信频度控制方法的示意图;FIG. 5 is a schematic diagram of a communication frequency control method according to a third embodiment of the present invention; FIG.
图6是根据本发明第四实施例的通信频度控制方法的示意图;6 is a schematic diagram of a communication frequency control method according to a fourth embodiment of the present invention;
图7是根据本发明第五实施例的设置为执行通信频度控制方法的系统的组网图;7 is a networking diagram of a system configured to perform a communication frequency control method according to a fifth embodiment of the present invention;
图8是根据本发明第五实施例的通信频度控制方法的示意图;FIG. 8 is a schematic diagram of a communication frequency control method according to a fifth embodiment of the present invention; FIG.
图9是IMS网络的基本架构图;9 is a basic architectural diagram of an IMS network;
图10是IMS网络的POOL组网架构图;10 is a POOL networking diagram of an IMS network;
图11是根据本发明第六实施例的设置为执行通信频度控制方法的系统的组网图; 11 is a networking diagram of a system configured to perform a communication frequency control method according to a sixth embodiment of the present invention;
图12是根据本发明第六实施例的通信频度控制方法的示意图;FIG. 12 is a schematic diagram of a communication frequency control method according to a sixth embodiment of the present invention; FIG.
图13是根据本发明第七实施例的设置为执行通信频度控制方法的系统的组网图;FIG. 13 is a networking diagram of a system configured to perform a communication frequency control method according to a seventh embodiment of the present invention; FIG.
图14是根据本发明第七实施例的通信频度控制方法的示意图;FIG. 14 is a schematic diagram of a communication frequency control method according to a seventh embodiment of the present invention; FIG.
图15是根据本发明实施例的通信频度控制装置的示意图。Figure 15 is a schematic diagram of a communication frequency control apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种通信频度控制方法的示意图。图1是根据本发明第一实施例的通信频度控制方法的流程图,如图1所示,该方法包括如下步骤S102至步骤S104:A schematic diagram of a communication frequency control method is provided in this embodiment. 1 is a flowchart of a communication frequency control method according to a first embodiment of the present invention. As shown in FIG. 1, the method includes the following steps S102 to S104:
步骤S102,中央控制设备接收通信设备发送的通信消息,其中,通信消息携带有目标通信请求的信息,目标通信请求所请求的目标通信业务为待执行通信频度控制的通信业务,通信设备包括一个或者多个通信设备。Step S102: The central control device receives the communication message sent by the communication device, where the communication message carries the information of the target communication request, and the target communication service requested by the target communication request is the communication service to be controlled for the communication frequency, and the communication device includes a Or multiple communication devices.
该步骤中,通信业务包括电话业务、消息业务、数据业务、互联网业务等。目标通信业务(控制对象)可以是根据通信业务发起用户、目标用户(通信对象)、通信终端所在位置等确定的通信业务。例如,目标通信业务为目标用户的电话业务,通信设备为电话交换机。In this step, the communication service includes a telephone service, a message service, a data service, an internet service, and the like. The target communication service (control object) may be a communication service determined according to the originating user of the communication service, the target user (communication object), the location of the communication terminal, and the like. For example, the target communication service is the telephone service of the target user, and the communication device is a telephone exchange.
步骤S104,中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,其中,控制指令设置为指示通信设备对目标通信业务的通信频度执行控制。Step S104: The central control device sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, wherein the control instruction is set to instruct the communication device to perform control on the communication frequency of the target communication service.
该步骤中,预设策略是预先设置的设置为指示通信设备对目标通信业务的通信频度执行控制的策略。该策略可以预先配置于中央控制设备,配置于通信设备中并由通信设备发送至中央控制设备,或者由第三方(例如通讯网络的管理系统)生成并发送至中央控制设备。In this step, the preset policy is a preset setting to instruct the communication device to perform control on the communication frequency of the target communication service. The policy may be pre-configured in the central control device, configured in the communication device and transmitted by the communication device to the central control device, or generated by a third party (eg, a management system of the communication network) and sent to the central control device.
根据该实施例,通过中央控制设备接收通信设备发送的通信消息;中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,解决了相关技术中无法对现代通信网络按用户、按地理位置实行通信频度控制的问题,进而通过中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,以指示通信设备对目标通信业务的通信频度执行控制,达到了对现代通信网络按用户、按地理位置实行通信频度控制的效果。According to the embodiment, the communication message sent by the communication device is received by the central control device; the central control device sends the control command to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, which solves the problem that the related technology cannot be modernized. The communication network implements the problem of communication frequency control according to the user and the geographical location, and then sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy by the central control device to indicate the communication device to the target communication. The communication frequency of the service is executed and controlled, and the effect of the communication frequency control by the user and the geographical location is realized for the modern communication network.
可选地,中央控制设备接收通讯网络的管理系统发送的预设策略。在该实施例中中央控制设备接收预设策略,并按照该预设策略以及通信消息向通信设备发送控制指令。 Optionally, the central control device receives a preset policy sent by the management system of the communication network. In this embodiment, the central control device receives the preset policy and sends a control command to the communication device according to the preset policy and the communication message.
可选地,在通信消息携带有目标通信记录的情况下,中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令包括:中央控制设备按照目标通信记录在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,其中,目标通信记录为目标通信请求对应的通信记录。Optionally, in a case that the communication message carries the target communication record, the central control device sends the control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, including: the central control device records the target communication according to the target The statistical result within the specified time granularity and the preset policy send a control instruction to the communication device, wherein the target communication record is a communication record corresponding to the target communication request.
在该实施例中,通信设备获取目标通信请求,获取目标通信请求对应的目标通信记录,并生成携带有目标通信记录的通信消息(也即携带有目标通信请求的信息)。中央控制设备根据该目标通信记录在指定时间粒度内的统计结果和预设策略向通信设备发送控制指令。In this embodiment, the communication device acquires the target communication request, acquires the target communication record corresponding to the target communication request, and generates a communication message carrying the target communication record (that is, the information carrying the target communication request). The central control device sends a control instruction to the communication device according to the statistical result and the preset policy of the target communication record within the specified time granularity.
可选地,中央控制设备按照目标通信记录以及预设策略向通信设备发送控制指令包括:中央控制设备按照预设策略识别目标通信记录,并在指定时间粒度内对识别到目标通信记录的次数进行统计,得到统计值,其中,预设策略设置为指定目标通信业务和目标通信业务在指定时间粒度内的统计次数阈值;中央控制设备将统计值和统计次数阈值进行比较;以及在统计值达到统计次数阈值的情况下,中央控制设备向通信设备发送控制指令。Optionally, the central control device sends the control instruction to the communication device according to the target communication record and the preset policy, including: the central control device identifies the target communication record according to the preset policy, and performs the number of times the target communication record is identified within the specified time granularity. Statistics, the statistical value is obtained, wherein the preset policy is set to specify a statistical number threshold of the target communication service and the target communication service within a specified time granularity; the central control device compares the statistical value with the statistical number threshold; and the statistical value reaches the statistics In the case of the number of thresholds, the central control device sends a control command to the communication device.
在该实施例中,由于预设策略中指定了目标通信业务,因此,中央控制设备可按照预设策略识别目标通信记录,并对识别到目标通信记录的次数进行统计。并且预设策略中指定了在指定时间粒度内的统计次数阈值,统计次数阈值为预先设置的指定时间粒度内识别出目标通信记录的次数的最大值(统计粒度内允许发起、终结的通信次数),如果达到该最大值,则中央控制设备向通信设备发送控制指令。In this embodiment, since the target communication service is specified in the preset policy, the central control device can identify the target communication record according to the preset policy, and perform statistics on the number of times the target communication record is identified. And the preset number of statistics in the specified time granularity is specified in the preset policy. The statistical number threshold is the maximum number of times the target communication record is identified within the specified time granularity (the number of communications allowed to be initiated and terminated within the statistical granularity). If the maximum value is reached, the central control device sends a control command to the communication device.
例如,对于骚扰电话的识别,当中央控制设备在指定时间粒度内识别出目标用户的呼叫请求(目标通信请求)的次数达到统计次数阈值,则向电话交换机发送控制指令,以指示电话交换机拒绝之后该目标用户的呼叫。For example, for the identification of the harassment call, when the central control device recognizes the number of times the target user's call request (target communication request) within the specified time granularity reaches the statistical number threshold, sends a control command to the telephone exchange to indicate that the telephone exchange rejects The call of the target user.
可选地,在中央控制设备向通信设备发送控制指令之后,该方法还包括:通信设备按照控制指令拒绝目标通信请求,以对目标通信业务的通信频度执行控制。Optionally, after the central control device sends the control instruction to the communication device, the method further includes: the communication device rejecting the target communication request according to the control instruction, to perform control on the communication frequency of the target communication service.
可选地,在控制指令还设置为指定通信设备拒绝目标通信请求的时长的情况下,通信设备按照控制指令拒绝目标通信请求包括:在该时长内,通信设备按照控制指令拒绝目标通信请求。Optionally, in the case that the control instruction is further set to specify the length of time that the communication device rejects the target communication request, the communication device rejecting the target communication request according to the control instruction includes: within the duration, the communication device rejects the target communication request according to the control instruction.
在该实施例中,在中央控制设备向通信设备发送控制指令之后,通信设备在后续的上述时长内可拒绝再接收到的目标通信请求。在经过该时长之后,可以重新根据接收到的目标通信请求(或者其对应的通信记录)生成通信消息,并发送至中央控制设备,中央控制设备重新统计并执行控制。例如,可设置该时长为3天,则超过3天后,控制指令失效;也可不配置,也即控制指令永久有效。In this embodiment, after the central control device sends a control command to the communication device, the communication device may reject the re-received target communication request for the subsequent duration. After the elapse of the duration, the communication message can be re-generated according to the received target communication request (or its corresponding communication record) and sent to the central control device, which re-stats and performs the control. For example, the duration can be set to 3 days, and after more than 3 days, the control command is invalid; or the control command is not configured, that is, the control command is permanently valid.
可选地,是否达到上述时长(也即是否可以重新开始进行通信频度控制),也可通过中央控制设备发送新的控制指令,以告知通信设备可重新开始进行通信频度控制。Optionally, whether the above duration is reached (that is, whether the communication frequency control can be restarted), a new control command may also be sent by the central control device to inform the communication device that the communication frequency control can be restarted.
可选地,在中央控制设备按照目标通信记录以及预设策略向通信设备发送控制指令之前,该方法还包括:中央控制设备按照预设策略从通信消息携带的多个通信记录中识别出目标通 信记录,其中,预设策略设置为指定目标通信业务。Optionally, before the central control device sends the control instruction to the communication device according to the target communication record and the preset policy, the method further includes: the central control device identifies the target pass from the plurality of communication records carried by the communication message according to the preset policy. A letter record in which a preset policy is set to specify a target communication service.
在该实施例中,通信设备仅仅接收通信请求,并生成对应的通信记录,而不对通信请求进行识别(也即不判断通信记录中哪些为目标通信记录),并将所有的通信记录发送至中央控制设备。中央控制设备按照预设策略对接收到的通信记录进行识别,以识别出目标通信记录,并根据目标通信记录在指定时间粒度内的统计结果和预设策略向通信设备发送控制指令。In this embodiment, the communication device only receives the communication request and generates a corresponding communication record without identifying the communication request (ie, not determining which of the communication records is the target communication record) and transmitting all communication records to the central controlling device. The central control device identifies the received communication record according to a preset policy to identify the target communication record, and sends a control instruction to the communication device according to the statistical result and the preset policy of the target communication record within the specified time granularity.
可选地,在中央控制设备接收通信设备发送的通信消息之前,该方法还包括:通信设备接收预设策略,其中,预设策略设置为指定目标通信业务;通信设备根据预设策略,从多个通信请求中识别目标通信请求,并获取目标通信记录,其中,目标通信记录为目标通信请求对应的通信记录;通信设备生成携带有目标通信记录的通信消息。Optionally, before the central control device receives the communication message sent by the communication device, the method further includes: the communication device receiving the preset policy, where the preset policy is set to specify the target communication service; and the communication device is configured according to the preset policy. The target communication request is identified in the communication request, and the target communication record is acquired, wherein the target communication record is a communication record corresponding to the target communication request; and the communication device generates a communication message carrying the target communication record.
在该实施例中,通信设备可接收到预设策略,该预设策略可以由第三方(例如通讯网络的管理系统)提供,或者由中央控制设备向其转发。根据预设策略,通信设备可对接收到的通信请求进行识别,以确定哪些为目标通信请求,生成对应目标通信请求的目标通信记录,并生成携带该目标通信记录的通信消息。In this embodiment, the communication device can receive a preset policy, which can be provided by a third party (eg, a management system of the communication network) or forwarded to it by the central control device. According to a preset policy, the communication device may identify the received communication request to determine which is the target communication request, generate a target communication record corresponding to the target communication request, and generate a communication message carrying the target communication record.
为了减小中央控制设备的负荷压力,提高网络的可靠性,优选地,在预设策略还设置为指定指定时间粒度、时间子粒度以及目标通信业务在指定时间粒度内的统计次数阈值的情况下,在通信设备接收预设策略之后,该方法还包括:通信设备统计第一次数,并按照时间子粒度生成携带有第一次数的通信消息,其中,第一次数为通信设备在时间子粒度内识别到目标通信请求的次数;中央控制设备统计第二次数,并在第二次数达到统计次数阈值时生成控制指令,其中,第二次数为中央控制设备在指定时间粒度内接收到的第一次数的次数之和,时间子粒度小于指定时间粒度。In order to reduce the load pressure of the central control device and improve the reliability of the network, preferably, when the preset policy is further set to specify the specified time granularity, the temporal sub-granularity, and the statistical number threshold of the target communication service within the specified time granularity. After the communication device receives the preset policy, the method further includes: the communication device counting the first number of times, and generating, according to the time sub-granularity, the communication message carrying the first number of times, wherein the first time is the communication device at the time The number of times the target communication request is identified in the sub-granularity; the central control device counts the second number of times, and generates a control command when the second number reaches the statistical number threshold, wherein the second number is received by the central control device within the specified time granularity The sum of the first number of times, the time sub-granularity is less than the specified time granularity.
为了提高通信频度控制的准确性,在该实施例中,预设策略指定了两种统计时间粒度(即时间子粒度和指定时间粒度)。其中,时间子粒度小于指定时间粒度。例如,时间子粒度为1分钟,指定时间粒度为10分钟。通信设备统计每一分钟内识别到目标通信请求的次数(第一次数),并将其(携带在通信消息中)发送至中央控制设备。中央控制设备可以以第一次接收到通信消息的时间点作为时间起点,记录10分钟内接收到的第一次数之和(第二次数)。在10分钟之内,比如在第8分钟,如果累加得到的第二次数达到了统计次数阈值,则向通信设备发送控制指令,指示通信设备在后续的2分钟内拒绝目标通信请求。In order to improve the accuracy of the communication frequency control, in this embodiment, the preset policy specifies two statistical time granularities (ie, temporal sub-granularity and specified temporal granularity). Wherein, the time sub-granularity is smaller than the specified time granularity. For example, the time sub-granularity is 1 minute and the specified time granularity is 10 minutes. The communication device counts the number of times (first number of times) the target communication request is identified within each minute and sends it (carrying in the communication message) to the central control device. The central control device may record the sum of the first times received in 10 minutes (the second number of times) at the time point when the communication message is received for the first time. Within 10 minutes, such as at 8th minute, if the second number of accumulated arrivals reaches the statistical number threshold, a control command is sent to the communication device instructing the communication device to reject the target communication request within the next 2 minutes.
各通信业务可能拥有不同的统计粒度(时间子粒度或者指定时间粒度)。例如,电话呼叫,一般以1分钟、5分钟为最小统计单位,某些通信业务,如基于数据通信的业务,可能需要达到秒级的统计粒度。Each communication service may have a different statistical granularity (time sub-granularity or specified time granularity). For example, a telephone call is generally a minimum statistical unit of 1 minute and 5 minutes, and some communication services, such as data communication based services, may need to reach a statistical granularity of seconds.
为了应对复杂的预设策略,可选地,在中央控制设备接收通信设备发送的通信消息之前,该方法还包括:通信设备接收预设策略,其中,预设策略设置为指定目标通信业务;通信设备根据预设策略,从多个通信请求中识别目标通信请求;通信设备生成携带有目标通信请求的通信消息。 Optionally, before the central control device receives the communication message sent by the communication device, the method further includes: the communication device receiving the preset policy, where the preset policy is set to specify the target communication service; The device identifies the target communication request from the plurality of communication requests according to the preset policy; the communication device generates a communication message carrying the target communication request.
由于通信频度控制可能要求非常复杂的策略,比如按用户的信用等级、主被叫用户是否漫游、主被叫用户是否在同一地理区域(行政区域)、主被叫用户是否是友好关系(如家庭帐号)、涉及高危号码(免审核号码)等;管控操作不再是固定的频度(单位时间内的通信次数);当呼叫符合不同策略时,频度阀值也不同(比如长途呼叫的阀值与本地呼叫的设置的阀值不同);或者可能要求对高危呼叫进行实时断线(即强行关闭本次通信业务)。因此,为了应对复杂的预设策略,在该实施例中提出所有通信设备将接收到的通信请求立即转发至中央控制设备,中央控制设备如果允许本次通信业务,则返回成功响应,此后通信设备才执行正常的通信业务逻辑。Since communication frequency control may require very complicated strategies, such as whether the credit rating of the user, whether the calling or called user is roaming, whether the calling and called users are in the same geographical area (administrative area), whether the calling and called users are friendly (such as Family account), involving high-risk numbers (exemption-free numbers), etc.; control operations are no longer a fixed frequency (number of communications per unit time); when the call meets different strategies, the frequency threshold is also different (such as long-distance calls) The threshold is different from the threshold set by the local call; or it may be required to disconnect the high-risk call in real time (ie forcibly shutting down the communication service). Therefore, in order to cope with a complicated preset policy, it is proposed in this embodiment that all communication devices immediately forward the received communication request to the central control device, and if the central control device allows the current communication service, a successful response is returned, and thereafter the communication device Only the normal communication business logic is executed.
可选地,通信消息中还携带有预设策略。在实施例中,预设策略可只发送至通信设备,由通信设备生成携带有预设策略和目标通信请求的信息的通信消息(如目标通信请求或者其对应的通信记录)。Optionally, the communication message also carries a preset policy. In an embodiment, the preset policy may only be sent to the communication device, and the communication device generates a communication message (such as a target communication request or its corresponding communication record) carrying the information of the preset policy and the target communication request.
总之,根据本发明的通信频度控制方法可应用于通信网络中,针对各种通信业务(例如语音呼叫、视频呼叫、短信、彩信、http数据业务等),以对单位时间内的发生次数(即通信频度)进行控制。该方法不仅支持按用户控制,也支持按地理位置进行控制,可对疑似骚扰电话用户、骚扰电话发生地的通信频度进行控制,以减少恶意通信行为;在网络负荷较高时,对用户的通信频度进行控制,能够保证网络正常运行以及大部分通信业务的正常执行;解决了相关技术中无法对现代通信网络按用户、按地理位置实行通信频度控制的问题。In summary, the communication frequency control method according to the present invention can be applied to a communication network for various communication services (such as voice calls, video calls, short messages, multimedia messages, http data services, etc.) to the number of occurrences per unit time ( That is, the communication frequency is controlled. The method not only supports user-controlled but also controls by geographical location, and can control the communication frequency of suspected harassing telephone users and harassing telephones to reduce malicious communication behavior; The communication frequency is controlled to ensure the normal operation of the network and the normal execution of most communication services; and solve the problem that the communication frequency control of the modern communication network cannot be performed by users and by geographical location in the related art.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
图2是根据本发明第二实施例的设置为执行通信频度控制方法的系统的组网图,该实施例可以作为图1所示实施例的一种优选的实施方式。如图2所示,该系统包括:2 is a networking diagram of a system configured to perform a communication frequency control method according to a second embodiment of the present invention, which may be a preferred embodiment of the embodiment shown in FIG. 1. As shown in Figure 2, the system includes:
通信记录收集点CCP(Call Collection Point,简称为CCP)和通信设备。通信设备是电信网络中负责接续或处理各种通信业务的的设备;CCP是为实现频度控制主要功能增设的一个设备,网络中必须存在一个CCP设备,它向上接收管控指令,向下收集各通信设备上传的呼叫信息。需要说明的是,图1所示实施例中的中央控制设备可以通过该实施例中的CCP来实现;通信设备可以通过该实施例中的通信设备来实现,控制指令可以通过该实施例中的管控指令实现(后续实施例中也是如此,将不再赘述)。Communication Record Collection Point CCP (Call Collection Point, CCP for short) and communication equipment. The communication device is a device in the telecommunication network that is responsible for connecting or processing various communication services; the CCP is a device added for the main function of frequency control, and a CCP device must exist in the network, which receives the control command upwards and collects each downward Call information uploaded by the communication device. It should be noted that the central control device in the embodiment shown in FIG. 1 can be implemented by the CCP in this embodiment; the communication device can be implemented by the communication device in this embodiment, and the control instruction can be adopted in this embodiment. The implementation of the control instructions (as well as in subsequent embodiments, will not be described again).
在该网络系统中,CCP引入的原因是:网络中必须有一个中心设备来汇总各管控对象(即第一实施例中的目标通信业务)涉及的所有通信业务量后,才能决策:1、指定管控对象的通信业务量是否已经超过阀值;2、是否需要对指定管控对象触发管控。在实际网络中,CCP的管控策略可能很复杂,不仅基于单位时间内的通信业务量,还可能基于管控对象或另一侧用 户的服务等级、话费信息、当前网络负荷等更多参数来进行管控决策的判断。所以将管控策略集中在一个中心设备(即CCP),由它来进行是否触发管控的判断。In the network system, the reason for the introduction of the CCP is that there must be a central device in the network to summarize all the communication traffic involved in each management object (that is, the target communication service in the first embodiment) before the decision can be made: 1. Specify Whether the communication traffic of the managed object has exceeded the threshold; 2. Whether it is necessary to trigger the control of the specified control object. In an actual network, the CCP's management and control strategy may be complex, not only based on the amount of communication traffic per unit time, but also based on the management object or the other side. The user's service level, call charge information, current network load and other parameters are used to judge the control decision. Therefore, the control strategy is concentrated on a central device (ie, CCP), which is used to determine whether to trigger the control.
如图2所示,管控指令只下达给CCP,而不需要下达给各通信设备。CCP和通信设备在该实施例中主要发挥的作用为:As shown in Figure 2, the control command is only issued to the CCP and does not need to be released to each communication device. The main functions played by the CCP and the communication device in this embodiment are:
(1)CCP的主要作用:1、识别哪些通信记录涉及被管控对象;2、按统计粒度对被管控对象的通信行为进行计数;3、超过阀值后则通知各通信设备。(1) The main functions of the CCP: 1. Identify which communication records involve the controlled objects; 2. Count the communication behavior of the controlled objects according to the statistical granularity; 3. After the threshold is exceeded, notify each communication device.
(2)通信设备的主要作用:1、在处理通信请求的同时,也将通信记录发送给CCP;2、当CCP要求在指定时间前禁止某管控对象的通信行为时,则执行该控制行为。(2) The main functions of the communication device: 1. When the communication request is processed, the communication record is also sent to the CCP; 2. When the CCP requests that the communication behavior of a controlled object be prohibited before the specified time, the control action is executed.
图3是根据本发明第二实施例的通信频度控制方法的示意图。如图3所示,每个通信设备当收到一个通信请求时,均将通信记录(Call History Record,简称为CHR)发送给CCP。CCP发现用户是管控对象,则按管控指令中要求的统计粒度进行呼叫统计。如果达到统计阀值,则产生一条控制消息发送给所有通信设备(含用户号码或者地理位置、本粒度的终止时间点)。此后在终止时间点之前,通信设备每收到一个通信请求,都检查用户号码或者地理位置是否匹配,如匹配,则拒绝呼叫(例如,在15:00前拒绝呼叫,在15:00后开启一个新的统计粒度)。当下一个统计粒度开始后,新的呼叫请求又被通信设备转发给CCP。重复这个过程,直到达到管控指令中要求的管控时长。3 is a schematic diagram of a communication frequency control method according to a second embodiment of the present invention. As shown in FIG. 3, each communication device sends a Call History Record (CHR) to the CCP when receiving a communication request. If the CCP finds that the user is a control object, the POP will perform call statistics according to the statistical granularity required in the control command. If the statistical threshold is reached, a control message is sent to all communication devices (including the subscriber number or geographic location, the end time point of the granularity). Thereafter, before the termination time point, the communication device checks whether the subscriber number or the geographical location matches each time a communication request is received, and if it matches, the call is rejected (for example, the call is rejected before 15:00, and the call is opened after 15:00). New statistical granularity). When the next statistical granularity begins, the new call request is forwarded to the CCP by the communication device. Repeat this process until the required length of control is reached in the control order.
可选地,如果网络中没有开通管控功能或没有任何用户被管控,通信设备则不需要将任何CHR发送给CCP。CCP发现某管控对象达到本粒度的阀值后,可以先发送禁止消息(控制消息)给通信设备,然后通信设备禁止这个管控对象的通信行为。后续当CCP发现本粒度到期后,再发送允许消息(控制消息)给通信设备,然后通信设备允许这个管控对象的通信行为,并又重新开始上报通信记录给CCP。Alternatively, if there is no provisioning control function in the network or no user is managed, the communication device does not need to send any CHR to the CCP. After the CCP finds that a controlled object reaches the threshold of the granularity, it can send a prohibition message (control message) to the communication device first, and then the communication device prohibits the communication behavior of the controlled object. After the CCP finds that the granularity has expired, it sends an permission message (control message) to the communication device, and then the communication device allows the communication behavior of the managed object, and then restarts reporting the communication record to the CCP.
需要说明的是,CCP返回的控制消息中必须携带一个时间点(或其它能表示本统计粒度的信息),以使通信设备获知统计粒度信息。It should be noted that the control message returned by the CCP must carry a time point (or other information indicating the granularity of the current statistics), so that the communication device learns the statistical granularity information.
图4是根据本发明第三实施例的设置为执行通信频度控制方法的系统的组网图。该实施例可以作为图1所示实施例的一种优选实施方式。如图4所示,管控指令不仅下达给CCP,也需要下达给各通信设备。考虑到通信设备的组网模式允许管控对象发起、终结的各类、各个通信业务由不同的通信设备处理(比如某个基站下接入的许多用户,其呼叫会分别由不同的移动交换机处理),须把针对同一个管控对象的管控指令发给网络中所有的通信设备。4 is a networking diagram of a system configured to perform a communication frequency control method according to a third embodiment of the present invention. This embodiment can be used as a preferred embodiment of the embodiment shown in FIG. As shown in Figure 4, the control instructions are not only issued to the CCP, but also to the various communication devices. Considering that the networking mode of the communication device allows the various types of communication services initiated and terminated by the management object to be handled by different communication devices (for example, many users accessed by a certain base station, the calls are handled by different mobile switches respectively) The control instructions for the same control object shall be sent to all communication devices in the network.
在该实施例中,CCP和通信设备发挥的主要作用为:In this embodiment, the primary role played by the CCP and the communication device is:
(1)CCP的主要作用:1、按统计粒度对被管控对象的通信行为进行计数;2、超过阀值后则通知各通信设备。(1) The main functions of the CCP: 1. Count the communication behavior of the controlled object according to the statistical granularity; 2. Notify the communication devices after the threshold is exceeded.
(2)通信设备的主要作用:1、处理通信请求时,识别是否涉及被管控对象,如涉及则按统计粒度拆分子粒度后进行计数,然后将各子粒度的通信数量发送给CCP。2、当CCP要 求在指定时间前禁止某管控对象的通信行为时,则执行该控制行为。(2) The main functions of the communication device: 1. When processing the communication request, it is identified whether the controlled object is involved. If it is involved, the molecular granularity is broken according to the statistical granularity, and then the communication quantity of each sub-granularity is sent to the CCP. 2, when the CCP wants The control behavior is executed when the communication behavior of a controlled object is prohibited before the specified time.
该实施例由分散的各通信设备(如电话交换机)完成大部分统计工作,CCP只完成最后的汇总工作。通信设备与CCP之间只定时传递被管控用户在每分钟(或其它小的时间周期)内发生的通信次数即可,降低了带宽的要求。该实施例将高负荷的工作分散到各个设备分别完成,提高了网络可靠性,有效解决了单点性能瓶颈与形成单个故障点会提高软硬件成本的问题,能够支持更多的管控用户。This embodiment performs most of the statistical work by distributed communication devices (such as telephone switches), and the CCP only performs the final summary work. The communication device and the CCP can only periodically transmit the number of communication times that the controlled user can occur every minute (or other small time period), which reduces the bandwidth requirement. This embodiment distributes the high-load work to each device separately, improves the network reliability, effectively solves the problem of single-point performance bottleneck and the formation of a single fault point, which can increase the cost of hardware and software, and can support more control users.
图5是根据本发明第三实施例的通信频度控制方法的示意图。如图5所示,FIG. 5 is a schematic diagram of a communication frequency control method according to a third embodiment of the present invention. As shown in Figure 5,
在各通信设备、CCP接收到管控指令后,开始执行以下逻辑:After each communication device and the CCP receive the control command, the following logic is executed:
1、通信设备接首通信请求。1. The communication device picks up the communication request.
通信设备内部记录管控指令,CCP内部记录管控指令。The communication device internally records the control instructions, and the CCP internally records the control instructions.
2、通信设备接受到通信请求后,发现通信用户、位置或者对象为管控对象(也即识别出本次通信业务符合管控指令的要求,比如发起者被管控了)。2. After receiving the communication request, the communication device finds that the communication user, location or object is a control object (that is, it recognizes that the communication service meets the requirements of the control instruction, for example, the initiator is controlled).
3至5、通信设备对管控指令中统计粒度进行拆分,拆分成几个子粒度。通信设备接收通信请求,并且统计每个子时间粒度内的通信请求次数,并每子时间粒度上报一次通信请求次数(即通信量)。例如,统计粒度是5分钟,子粒度为1分钟。通信设备以1分钟为周期,统计1分钟内收到的通信请求次数,并每分钟上报一次通信请求次数(即通信量)。3 to 5, the communication device splits the statistical granularity in the control command and splits it into several sub-granularities. The communication device receives the communication request, and counts the number of communication requests within each sub-time granularity, and reports the number of communication requests (ie, traffic) once per sub-time granularity. For example, the statistical granularity is 5 minutes and the sub-granularity is 1 minute. The communication device counts the number of communication requests received within one minute in a one-minute cycle, and reports the number of communication requests (ie, traffic) per minute.
子时间粒度到期后,通信设备上报消息给CCP,该消息含以下关键信息:管控对象标识(如用户号码),子粒度周期的时间长度(如1分钟)以及子粒度内发生的通信量。CCP按通信设备同样的粒度拆分策略,将管控指令中统计粒度拆分为几个子粒度。CCP在收到所有通信设备上报的消息后,在一个统计粒度内,针对每个管控对象,累加各子粒度的通信量。每个子粒度开始时,各通信设备都重新计算每个子粒度内管控对象的通信量。在子粒度结束时,上报消息给CCP。After the sub-time granularity expires, the communication device reports a message to the CCP, which contains the following key information: the management object identifier (such as the user number), the length of the sub-granularity period (such as 1 minute), and the traffic occurring within the sub-granularity. The CCP divides the statistical granularity in the control command into several sub-granularities according to the same granularity splitting strategy of the communication device. After receiving the messages reported by all communication devices, the CCP accumulates the traffic of each sub-granularity for each management object within a statistical granularity. At the beginning of each sub-granularity, each communication device recalculates the traffic of the managed object within each sub-granularity. At the end of the sub-granularity, the message is reported to the CCP.
6至7、CCP持续累加各子粒度通信量,如果在达到统计粒度要求的时间长度之前,通信量之和已经超过阀值,则触发本统计粒度的管控行为。6 to 7, the CCP continuously accumulates the sub-granularity traffic. If the sum of the traffic has exceeded the threshold before the time required for the statistical granularity is reached, the control granularity of the statistical granularity is triggered.
CCP向所有通信设备都发送一条控制消息,用于指示对某个管控对象,在指定的统计粒度前(也可用时间点表示,例如15:00)禁止用户的某种通信业务。The CCP sends a control message to all communication devices to indicate that a certain control service is prohibited for a certain control object before the specified statistical granularity (also indicated by a time point, for example, 15:00).
8至9、通信设备又收到管控对象发来的一条通信请求,由于当前未达到指定统计粒度(例如,未到15:00),因此拒绝本次通信请求,返回失败响应(也可不返回任何响应)。8 to 9, the communication device receives a communication request from the management object. Since the specified statistical granularity is not reached (for example, it is not until 15:00), the communication request is rejected, and the failure response is returned (may not return any response).
10至11、统计粒度到期(例如,时间点到15:00),各通信设备又重新开始按子粒度统计通信量,并上报CCP,接受CCP的控制消息。10 to 11, the statistical granularity expires (for example, the time point to 15:00), each communication device restarts to count the traffic according to the sub-granularity, and reports the CCP to accept the control message of the CCP.
需要说明的是,在基于会话、事务的通信业务中,通信请求指会话中第一条信令;在非会话的通信业务中,通信请求指所有的通信信令。 It should be noted that in the session-based, transaction-based communication service, the communication request refers to the first signaling in the session; in the non-session communication service, the communication request refers to all communication signaling.
需要说明的是,由于该实施例提出了准实时频度控制,因此为了进一步精确控制用户呼叫频度,可以将拆分的子粒度缩短,例如,从1分钟缩短到半分钟。也可以根据用户的历史呼叫频度,对于不同管控对象自动采用不同的子粒度。It should be noted that since the embodiment proposes quasi-real-time frequency control, in order to further accurately control the frequency of user calls, the split sub-granularity can be shortened, for example, from 1 minute to half a minute. It is also possible to automatically adopt different sub-granularity for different management objects according to the user's historical call frequency.
图6是根据本发明第四实施例的通信频度控制方法的示意图。该实施例可以作为图1所示实施例的一种优选实施方式。在该实施例中,各通信设备也可以本地不执行拆分子粒度并统计通信次数的操作,而是只检查通信请求是否与管控对象有关,如有关则上报CHR。而CCP则按统计粒度累加收到的CHR个数,如超过阀值则通知各通信设备执行管控操作。FIG. 6 is a schematic diagram of a communication frequency control method according to a fourth embodiment of the present invention. This embodiment can be used as a preferred embodiment of the embodiment shown in FIG. In this embodiment, each communication device may also not perform the operation of splitting the granularity and counting the number of communications locally, but only checking whether the communication request is related to the control object, and if relevant, reporting the CHR. The CCP accumulates the number of CHRs received according to the statistical granularity. If the threshold is exceeded, each communication device is notified to perform the control operation.
需要说明的是,在根据本发明第三、第四实施例的通信频度控制系统中,在CPP返回的控制消息中,可以携带一个时间点(例如,15:00),原因是:各管控对象的统计粒度不同、开始管控的时间点也不同,导致某些设备未能准确计算出每个统计粒度的开始与结束时间点(例如,当统计粒度起始时间从收到管控对象的第一个通信请求才能开始计算时)。通过这个时间点可对通信设备与CCP间的时钟进行对准,并且降低了通信设备内部业务逻辑处理的复杂度,减轻了设备大量定时器对CPU的压力。当然在设计较好的系统中,上述返回的控制消息中,也可以不携带上述时间点。It should be noted that, in the communication frequency control system according to the third and fourth embodiments of the present invention, in the control message returned by the CPP, a time point (for example, 15:00) may be carried, because: each control The statistical granularity of the objects is different, and the time points for starting the control are also different, which causes some devices to fail to accurately calculate the start and end time points of each statistical granularity (for example, when the statistical granularity start time is received from the first control object) When a communication request can start calculations). Through this point of time, the clock between the communication device and the CCP can be aligned, and the complexity of the internal business logic processing of the communication device is reduced, and the pressure on the CPU of a large number of timers of the device is alleviated. Of course, in a well-designed system, the above-mentioned time point may not be carried in the control message returned above.
图7是根据本发明第五实施例的设置为执行通信频度控制方法的系统的组网图。该实施例可以作为图1所示实施例的一种优选的实施方式。如图7所示,每个通信设备收到涉及管控对象的通信请求时,均实时转发通信请求给CCP(该通信请求中可能携带所有必须的通信信息)。CCP按策略决策是否允许本次通信。例如,当统计粒度内某类通信请求达到阀值时,返回禁止响应,或者要求发送请求的通信设备拒绝本次通信业务。FIG. 7 is a networking diagram of a system configured to perform a communication frequency control method according to a fifth embodiment of the present invention. This embodiment can be used as a preferred embodiment of the embodiment shown in FIG. As shown in FIG. 7, each communication device forwards a communication request to the CCP in real time when it receives a communication request involving a management object (the communication request may carry all necessary communication information). The CCP decides by policy whether this communication is allowed. For example, when a certain type of communication request reaches a threshold in the statistical granularity, a prohibition response is returned, or the communication device that requests the request is denied the current communication service.
由于运营商有可能要求对于通信频度管控提供更复杂的策略,比如按用户的信用等级、主被叫用户是否漫游、主被叫用户是否在同一地理区域(行政区域)、主被叫用户是否是友好关系(如家庭帐号)、涉及高危号码(免审核号码)等;管控操作不再是固定的频度(单位时间内的通信次数);当呼叫符合不同策略时,频度阀值也不同(比如长途呼叫的阀值与本地呼叫的设置的阀值不同);或者可能要求对高危呼叫进行实时断线(即强行关闭本次通信业务)。因此,在该实施例中提出所有通信设备将接收到的通信请求立即转发给CCP,CCP如果允许本次通信业务,则返回成功响应,此后通信设备才执行正常的通信业务逻辑。Since the operator may require more complicated policies for communication frequency control, such as according to the user's credit rating, whether the primary and called users are roaming, whether the primary and called users are in the same geographical area (administrative area), whether the primary and called users are Is a friendly relationship (such as a family account), involves high-risk numbers (exemption-free numbers), etc.; control operations are no longer a fixed frequency (number of communications per unit time); when the call meets different strategies, the frequency threshold is different (For example, the threshold of the long-distance call is different from the threshold of the local call setting); or the high-risk call may be required to be disconnected in real time (that is, the communication service is forcibly closed). Therefore, it is proposed in this embodiment that all communication devices immediately forward the received communication request to the CCP, and if the CCP allows the communication service, a successful response is returned, after which the communication device executes the normal communication service logic.
图8是根据本发明第五实施例的通信频度控制方法的示意图。如图8所示,通信设备1收到通信请求,判断出与管控对象有关,则将通信请求该转发给CCP。CCP按本地的策略或通过专门的策略服务器,判断出本次通信请求应该禁止(比如长途类型的呼叫达到阀值),则指示上述通信设备1拒绝本次通信。通信设备1则返回失败响应给发起者。FIG. 8 is a schematic diagram of a communication frequency control method according to a fifth embodiment of the present invention. As shown in FIG. 8, when the communication device 1 receives the communication request and determines that it is related to the management object, it forwards the communication request to the CCP. The CCP determines that the communication request should be prohibited according to the local policy or through a dedicated policy server (for example, the long-distance type call reaches the threshold), and instructs the communication device 1 to reject the communication. The communication device 1 then returns a failure response to the initiator.
可选地,对于一些复杂的管控策略使得通信设备本地因为缺少完整的策略,而不能准确判断出本次通信请求是否涉及管控对象,则通信设备应该将所有通信请求都转发给CCP。Optionally, for some complex management policies, the communication device locally cannot forward the communication request to the CCP because it lacks a complete policy and cannot accurately determine whether the communication request involves the management object.
在上述各实施例中,需要说明的是:In the above embodiments, it should be noted that:
(1)当通信设备需要拒绝某次通信时,可以返回失败响应,也可以直接丢弃该次通信请 求(因为发起者对于不同的通信业务,可能执行不同的重发策略)。(1) When the communication device needs to reject a certain communication, it can return a failure response, or directly discard the communication. Seeking (because the initiator may perform different retransmission strategies for different communication services).
(2)当CCP发现某管控对象的通信行为已经达到当前统计粒度的阀值时,可返回控制消息给各通信设备,以要求在指定时间点前禁止该管控对象的某类通信行为。(2) When the CCP finds that the communication behavior of a controlled object has reached the threshold of the current statistical granularity, it may return a control message to each communication device to request that certain communication behavior of the controlled object be prohibited before the specified time point.
(3)在上述返回的控制消息中,可以携带一个通信类别(比如语音呼叫、视频呼叫、短信、彩信、http数据业务等),以实现按通信业务类别进行通信频度管控。是否需要携带通信类别根据网络组网与运营商是否需要细粒度控制而定。例如,当不同通信业务分由不同的通信设备处理时,就可以不携带通信类别。(3) In the control message returned above, a communication category (such as a voice call, a video call, a short message, a multimedia message, an http data service, etc.) may be carried to implement communication frequency control according to the communication service category. Whether the communication category needs to be carried depends on whether the network networking and the operator need fine-grained control. For example, when different communication services are handled by different communication devices, the communication category may not be carried.
(4)统计粒度的起始、结束时间可以固定跟随时间单位,也可以从收到管控对象的第一个通信请求之后开始作为统计粒度起始点。可选择以下两种不同的策略:(4) The start and end time of the statistical granularity may be fixed following the time unit, or may be started as the statistical granularity starting point after receiving the first communication request of the management object. You can choose from two different strategies:
策略1:统计粒度设为1小时,各统计点起始时间固定在时间单位。则一天中共有24个统计粒度,分别从:0点、1点、2点……23点开始。Strategy 1: The statistical granularity is set to 1 hour, and the start time of each statistical point is fixed in the time unit. There are 24 statistical granularities in one day, starting from 0:00, 12:00, 2:...23.
策略2:统计粒度设为1小时,各统计点起始时间从收到管控对象或所有呼叫开始计算。例如,某通信设备在11:42分收到某个管控对象的第一次呼叫,则以11:42为起始点,CCP和所有通信设备都应该以11:42为当前统计粒度的起始点。Strategy 2: The statistical granularity is set to 1 hour, and the start time of each statistical point is calculated from the receipt of the management object or all calls. For example, if a communication device receives the first call of a management object at 11:42, the start point is 11:42, and the CCP and all communication devices should use 11:42 as the starting point of the current statistical granularity.
其中,策略1需要所有通信设备和CCP对于特定管控对象都设立统一的统计粒度,只要各设备、CCP能够在时间上进行同步即可。策略2在实现上比较复杂,当管控对象的第一个呼叫落在通信设备1时,其它通信设备也必须在该点开始进行统计,需要各通信设备点同步关于管控对象的呼叫信息。Among them, Strategy 1 requires all communication devices and CCPs to set a unified statistical granularity for specific management objects, as long as each device and CCP can synchronize in time. Strategy 2 is more complicated to implement. When the first call of the management object falls on the communication device 1, other communication devices must also start statistics at this point, and each communication device point needs to synchronize the call information about the management object.
图9是IMS网络的基本架构图。如图9所示,IMS网络需要对IP地址或IP地址段进行呼叫频度管控、与消息频度管控制。IMS主要的网元包括:呼叫控制实体(Call Session Control Function,简称为CSCF),归属用户服务器(Home Subscriber Server,简称为HSS),以及应用服务器(Application Server,简称为AS)。Figure 9 is a basic architectural diagram of an IMS network. As shown in FIG. 9, the IMS network needs to perform call frequency control and message frequency control on the IP address or IP address segment. The main network elements of the IMS include: a Call Session Control Function (CSCF), a Home Subscriber Server (HSS), and an Application Server (AS).
下面分别对CSCF、HSS和AS进行介绍:The following describes the CSCF, HSS and AS:
(1)CSCF分三种类型:S-CSCF(Serving-Call Session Control Function,服务CSCF)、I-CSCF(Interrogating-Call Session Control Function,查询CSCF)、P-CSCF(Proxy-Call Session Control Function,代理CSCF)。P-CSCF可处于用户当前所在地接入网内,作为用户接入IMS网络的第一个联系网元,把用户的SIP呼叫信令转发到IMS核心网(IMS网络中用SIP信令作为呼叫控制的信令协议,SIP即Session Initiation Protocol,初始会话协议)。I-CSCF可完成网络内部信息隐藏的功能,支持网络安全。S-CSCF作为核心的呼叫控制实体,完成基本的呼叫控制功能,提供与应用服务器的接口。(1) The CSCF is divided into three types: S-CSCF (Serving-Call Session Control Function, Service CSCF), I-CSCF (Interrogating-Call Session Control Function, Query CSCF), and P-CSCF (Proxy-Call Session Control Function, Agent CSCF). The P-CSCF can be located in the access network of the user's current location, and serves as the first contact network element for the user to access the IMS network, and forwards the SIP call signaling of the user to the IMS core network (SIP signaling is used as the call control in the IMS network). Signaling protocol, SIP is the Session Initiation Protocol, initial session protocol). The I-CSCF can complete the internal information hiding function of the network and support network security. As the core call control entity, the S-CSCF performs basic call control functions and provides an interface with the application server.
(2)HSS记录每个IMS用户的用户信息与业务数据,配合CSCF完成路由功能,并提供认证、授权功能。用户签约数据保存在HSS,并在用户注册时被下载到S-CSCF。用户签约数据中保存了用户的业务触发规则IFC(Initial Filter Criteria)和提供业务的AS的地址信息。业 务数据在用户注册时从HSS下载到AS,供AS完成用户业务处理所用。用户的IFC数据在用户注册时从HSS下载到S-CSCF,供S-CSCF选择AS所用。(2) The HSS records the user information and service data of each IMS user, cooperates with the CSCF to complete the routing function, and provides authentication and authorization functions. User subscription data is stored in the HSS and downloaded to the S-CSCF when the user registers. The user subscription data stores the information triggering rule (IFC) of the user and the address information of the AS providing the service. industry The service data is downloaded from the HSS to the AS when the user registers, and is used by the AS to complete the user service processing. The user's IFC data is downloaded from the HSS to the S-CSCF when the user registers, for the S-CSCF to select the AS.
(3)AS向用户提供各种呼叫类业务,比如基本的语音、视频业务与补充业务。S-CSCF按每个用户的IFC信息选择一个AS来执行用户的补充业务。(3) The AS provides various call-type services to users, such as basic voice, video services, and supplementary services. The S-CSCF selects an AS according to the IFC information of each user to perform supplementary services of the user.
IMS网络中也引入了短消息网关(IP-SM-GW,IP-Short-Message-Gateway),作为CS域用户与IMS域用户之间短消息流程的互通网元。它作为IMS域与CS域短消息中心(SC,Short message Center)的中介网元,将CS域与IMS域之间的短消息互相传递。S-CSCF按每个用户的IFC信息选择一个IP-SM-GW来处理用户的短消息业务。A short message gateway (IP-SM-GW, IP-Short-Message-Gateway) is also introduced in the IMS network as an interworking network element for the short message process between the CS domain user and the IMS domain user. It serves as an intermediate network element of the IMS domain and the CS domain short message center (SC), and transmits short messages between the CS domain and the IMS domain. The S-CSCF selects an IP-SM-GW to process the short message service of the user according to the IFC information of each user.
图10是IMS网络的POOL组网架构图。如图10所示,在IMS网络中,用户发起的呼叫或者短消息通过接入地的P-CSCF后,被转发到核心网的某一个中间呼叫控制实体I-CSCF。I-CSCF会转发到某一个服务呼叫控制实体S-CSCF,同样,S-CSCF需要将呼叫或者消息转发给某个应用服务器AS或短消息网关。I-CSCF、S-CSCF、应用服务器AS、短消息网关都是POOL组网,用户与这些设备间没有绝对的绑定关系。以AS为例,某个用户的前后多次呼叫会分发到不同的AS上处理。FIG. 10 is a schematic diagram of a POOL networking architecture of an IMS network. As shown in FIG. 10, in the IMS network, a user-initiated call or short message is forwarded to an intermediate call control entity I-CSCF of the core network through the P-CSCF of the access network. The I-CSCF forwards to a service call control entity S-CSCF. Similarly, the S-CSCF needs to forward the call or message to an application server AS or short message gateway. The I-CSCF, the S-CSCF, the application server AS, and the short message gateway are all POOL networking. There is no absolute binding relationship between the user and these devices. Take AS as an example. Multiple calls from a user are distributed to different ASs for processing.
由于HSS中以用户为单位存储用户数据,相关技术中S-CSCF在转发呼叫到AS时,利用了IFC机制与DNS技术,可以利用DNS将用户与某个AS绑定在一起。但无法实现按地理位置(如IP、基站、城市)绑定到某个AS,原因是各地理位置离散且数量极大,现有IFC触发规则无法表示数百、数千地理位置信息。即使利用非3GPP标准的机制将地理位置绑定到POOL内某个AS(比如基站1用户的呼叫完全由AS1处理,基站2接入用户的呼叫完全由AS2处理),但因为不同地理位置下接入的用户数目不同,势必造成各AS上用户话务量不同(负荷不均匀),影响网络的稳定性。Since the user data is stored in the user unit of the HSS, the S-CSCF in the related art utilizes the IFC mechanism and the DNS technology when forwarding the call to the AS, and can bind the user to an AS by using the DNS. However, it is impossible to bind to an AS by geographical location (such as IP, base station, and city). The reason is that each geographical location is discrete and the number is very large. The existing IFC triggering rules cannot represent hundreds or thousands of geographical location information. Even if the geographical location is bound to an AS in the POOL by means of a mechanism other than the 3GPP standard (for example, the call of the base station 1 user is completely handled by the AS1, and the call of the base station 2 to the user is completely handled by the AS2), but the handover is performed due to different geographical locations. The number of incoming users is different, which will inevitably result in different user traffic on each AS (uneven load), which affects the stability of the network.
例如,运营商要分别对20个IP地址进行呼叫频度管控,并且希望把如果要将20个IP地址均匀分发到POOL内3个AS。由于允许用户移动到其它地理位置上,无人可以预测某个IP地址下会接入多少个用户(尤其是接入地采用固定宽带加上NAT转换IP地址时,同一个IP下允许接入多个用户),会造成POOL内多个AS上话务量不均匀,影响网络的稳定。For example, the operator has to control the frequency of calls for 20 IP addresses separately, and hopes to distribute 20 IP addresses evenly to 3 ASs in the POOL. Since the user is allowed to move to other geographical locations, no one can predict how many users will be accessed under an IP address (especially when the access point uses fixed broadband plus NAT to translate IP addresses, multiple accesses are allowed under the same IP address). Users), resulting in uneven traffic on multiple ASs in POOL, affecting network stability.
图11是根据本发明第六实施例的设置为执行通信频度控制方法的系统的组网图。该实施例可以作为图3所示实施例的一种优选实施方式。如图11所示,该实施例提供了应用服务器AS与CCP结合执行呼叫类业务的频度管控的组网图。管控指令发给POOL内所有AS与CCP,让各AS都按照统一的时间单位来统计同一管控对象的通信频度,然后在子粒度到期时发给CCP。11 is a networking diagram of a system configured to perform a communication frequency control method according to a sixth embodiment of the present invention. This embodiment can be used as a preferred embodiment of the embodiment shown in FIG. As shown in FIG. 11, this embodiment provides a networking diagram of the frequency management and control of the call service performed by the application server AS and the CCP. The control command is sent to all ASs and CCPs in the POOL, so that each AS counts the communication frequency of the same control object according to a unified time unit, and then sends it to the CCP when the sub-granularity expires.
图12是根据本发明第六实施例的通信频度控制方法的示意图。如图12所示,各通信设备(AS)、CCP在接受管控指令后,在记录了管控对象与统计粒度信息后,开始在固定的时间单位设立定时器,并开始统计通信行为。Figure 12 is a diagram showing a communication frequency control method according to a sixth embodiment of the present invention. As shown in FIG. 12, after receiving the control command, each communication device (AS) and CCP starts to set a timer in a fixed time unit after recording the control object and the statistical granularity information, and starts statistical communication behavior.
例如,管控指令要求对基站1进行呼叫频度管控,管控粒度是5分钟,各AS将之拆分成 5个子粒度。则在14:55:00秒起,各通信设备、CCP都设立了一个定时器,开始统计。执行通信频度控制的过程包括以下步骤:For example, the control command requires the call frequency control of the base station 1. The granularity of the control is 5 minutes, and each AS splits it into 5 sub-granularity. Then, at 14:55:00 seconds, each communication device and CCP set up a timer to start counting. The process of performing communication frequency control includes the following steps:
1、AS在14:55:3秒收到一个呼叫请求。1. The AS receives a call request at 14:55:3 seconds.
2、AS发现本呼叫需要被管控,则本子粒度内计数器+1。2. The AS finds that the call needs to be managed, and the counter is +1 in the sub-granularity.
3至5、AS在14:55:59秒前又收到了指定管控对象的N个呼叫请求,则本子粒度内计数器+N。在14:55:59秒到达后,上报一个消息给CCP:管控对象号码或地理位置,上个子粒度信息(可选字段,如果AS与CCP间能够在统计粒度上同步的话则不需要)、上个子粒度的呼叫频度(N+1次)。并且AS在14:56:0秒起重新开始一个子粒度的统计。3 to 5, the AS receives the N call requests of the specified control object before 14:55:59 seconds, then the counter +N in the sub-granularity. After arriving at 14:55:59 seconds, a message is sent to the CCP: the control object number or geographic location, the last sub-granularity information (optional field, if the AS and the CCP can be synchronized in statistical granularity, it is not needed), Call frequency of sub-granularity (N+1 times). And the AS restarts a sub-granularity statistics from 14:56:0 seconds.
6、CCP在管控粒度内(14:55:00秒到15:00:0秒)累加从各AS收到的,针对同一个管控对象的呼叫频度值。例如,在14:57:59秒这个子粒度结束时间点收到各AS上报的新频度值,统计后发现从14:55:0秒到14:57:59这3分钟内某个管控对象的呼叫频度值已经超过阀值。CCP执行的管控决策为:从当前点到15:00:00秒前,上述管控对象的呼叫应该被拒绝。6. The CCP accumulates the call frequency value received from each AS for the same management object within the control granularity (14:55:00 seconds to 15:00:0 seconds). For example, at the end of the sub-granularity of 14:57:59 seconds, the new frequency value reported by each AS is received, and after counting, a control object is found within 3 minutes from 14:55:0 seconds to 14:57:59. The call frequency value has exceeded the threshold. The control decision made by the CCP is: From the current point to 15:00:00 seconds, the call of the above-mentioned management object should be rejected.
7、CCP返回一条控制消息给各AS,要求对上述管控对象(用户或者地理位置)在15:00:00秒前发生的呼叫应该拒绝。7. The CCP returns a control message to each AS, requesting that the call that occurred before 15:00:00 seconds for the above-mentioned control object (user or geographic location) should be rejected.
8至9、AS在14:58:23秒收到了上述管控对象发来的一个呼叫请求,则AS拒绝该呼叫,返回失败响应。8 to 9, the AS receives a call request from the above-mentioned management object at 14:58:23 seconds, and the AS rejects the call and returns a failure response.
10、当15:00:00秒到达后,各AS返回本实施例起始点,重新设立子粒度进行统计,CCP则按一个新的统计粒度来统计。10. After arriving at 15:00:00 seconds, each AS returns to the starting point of this embodiment, re-establishes the sub-granularity for statistics, and the CCP counts according to a new statistical granularity.
该实施例能够对通信频度实现准实时控制。例如,管控指令要求5分钟内只允许打20次电话。在实施过程中,出现以下情况:This embodiment enables quasi-real time control of the communication frequency. For example, a control order requires only 20 calls within 5 minutes. During the implementation process, the following situation occurred:
14:55:00-14:55:59打了8次电话;14:55:00-14:55:59 made 8 calls;
14:56:00-14:56:59打了8次电话;14:56:00-14:56:59 made 8 calls;
14:57:00-14:57:59打了8次电话。14:57:00-14:57:59 made 8 calls.
则从14:55:00开始的5分钟内,管控对象在前3分钟打了24次电话,则后2分钟禁止呼叫。In the 5 minutes from 14:55:00, the control object made 24 calls in the first 3 minutes, and then the call was forbidden 2 minutes later.
该实施例将频度统计的一部分工作交由AS来处理,降低了对CCP的性能负荷。This embodiment treats a portion of the frequency statistics to the AS for processing, reducing the performance load on the CCP.
可选地,为了进一步提高用户呼叫频度控制的准确性,可以将拆分的子粒度缩短。例如,可将子粒度从1分钟缩短到半分钟。也可以根据用户的历史呼叫频度,对于不同管控对象自动采用不同的子粒度。另外,子粒度拆分的逻辑可以完全放在各AS内部,与CCP无关。Optionally, in order to further improve the accuracy of the user call frequency control, the split sub-granularity may be shortened. For example, the sub-grain size can be reduced from 1 minute to half a minute. It is also possible to automatically adopt different sub-granularity for different management objects according to the user's historical call frequency. In addition, the logic of sub-granularity splitting can be placed entirely within each AS, independent of the CCP.
图13是根据本发明第七实施例的设置为执行通信频度控制方法的系统的组网图。该实施例可以作为图4所示实施例的一种优选实施方式。如图13所示,提供了短消息网关与CCP 结合执行消息类业务的频度管控的组网图。在该实施例中,管控指令发给POOL内所有短消息网关与CCP,让各短消息网关都按照统一的时间单位来统计同一管控对象的通信频度,然后在子粒度到期时发给CCP。Figure 13 is a networking diagram of a system arranged to perform a communication frequency control method according to a seventh embodiment of the present invention. This embodiment can be used as a preferred embodiment of the embodiment shown in FIG. As shown in Figure 13, a short message gateway and CCP are provided. A networking diagram of frequency management and control for performing message type services. In this embodiment, the control command is sent to all short message gateways and CCPs in the POOL, so that each short message gateway counts the communication frequency of the same control object according to a unified time unit, and then sends the CCP to the CCP when the sub-granularity expires. .
图14是根据本发明第七实施例的通信频度控制方法的示意图。如图14所示,CCP在接受管控指令后,在记录了管控对象与统计粒度信息后,开始在固定的时间单位设立定时器,并开始统计通信行为。短消息网关在接受管控指令后,只记录管控对象信息(如CHR)。Figure 14 is a diagram showing a communication frequency control method according to a seventh embodiment of the present invention. As shown in Figure 14, after receiving the control command, the CCP starts to set up the timer in a fixed time unit after recording the control object and the statistical granularity information, and starts to count the communication behavior. After receiving the control command, the short message gateway only records the management object information (such as CHR).
例如,管控指令要求对基站1发出的短消息进行消息频度管控,管控粒度是5分钟,则在14:55:00秒起,CCP设立了一个定时器,开始统计。执行通信频度控制的过程包括以下步骤:For example, the control command requires message frequency control for the short message sent by the base station 1. The granularity of the control is 5 minutes. From 14:55:00 seconds, the CCP sets up a timer to start statistics. The process of performing communication frequency control includes the following steps:
1、短消息网关在14:55:3秒收到一个短消息。1. The short message gateway receives a short message at 14:55:3 seconds.
2、短消息网关发现这条短消息需要被管控(按照用户、位置或者对象)。2. The short message gateway finds that this short message needs to be controlled (by user, location or object).
3、短消息网关立即上报一个消息给CCP,携带本次短消息的有关信息(如CHR)。3. The short message gateway immediately reports a message to the CCP, carrying relevant information of the short message (such as CHR).
4、CCP将这个管控对象的计数器+1。4. The CCP will +1 the counter of this managed object.
按照1至4,当CCP在14:58:20秒时,计数器已经达到本粒度的阀值。According to 1 to 4, when the CCP is at 14:58:20 seconds, the counter has reached the threshold of this granularity.
5、CCP返回一个控制消息给短消息网关,要求其对指定管控对象在15:00前进行消息管控。5. The CCP returns a control message to the short message gateway, requesting it to perform message control on the specified control object before 15:00.
6、在14:58:30秒时,短消息网关又收到一个短消息。6. At 14:58:30 seconds, the short message gateway receives another short message.
7、因为当前还未到15:00分,则拒绝这条短消息的发送。7. Since the current time has not yet reached 15:00, the transmission of this short message is rejected.
8、在15:00之后,短消息网关又收到一个短消息。8. After 15:00, the short message gateway receives another short message.
9、重新执行1。9. Re-execute 1.
在本实施例中还提供了一种通信频度控制装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the present embodiment, a communication frequency control device is also provided, which is configured to implement the above-described embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图15是根据本发明实施例的通信频度控制装置的示意图。如图15所示,该装置包括:接收模块20和发送模块40。Figure 15 is a schematic diagram of a communication frequency control apparatus according to an embodiment of the present invention. As shown in FIG. 15, the apparatus includes: a receiving module 20 and a transmitting module 40.
接收模块20,设置为接收通信设备发送的通信消息,其中,通信消息携带有目标通信请求的信息,目标通信请求所请求的目标通信业务为待执行通信频度控制的通信业务,通信设备包括一个或者多个通信设备。The receiving module 20 is configured to receive a communication message sent by the communication device, where the communication message carries information of the target communication request, and the target communication service requested by the target communication request is a communication service for performing communication frequency control, and the communication device includes a Or multiple communication devices.
发送模块40,设置为根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,其中,控制指令设置为指示通信设备对目标通信业务的通信频度执行控制。 The sending module 40 is configured to send a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, wherein the control instruction is set to instruct the communication device to perform control on the communication frequency of the target communication service.
根据该实施例,通过接收模块20接收通信设备发送的通信消息,发送模块40根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,解决了无法对现代通信网络按用户、按地理位置实行通信频度控制的问题,进而通过发送模块40根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,以指示通信设备对目标通信业务的通信频度执行控制,达到了对现代通信网络按用户、按地理位置实行通信频度控制的效果。According to the embodiment, the receiving module 20 receives the communication message sent by the communication device, and the sending module 40 sends a control command to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy, thereby solving the problem that the modern communication network cannot be pressed. The user performs the communication frequency control problem according to the geographic location, and then sends a control instruction to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy by the sending module 40 to indicate the communication of the communication device to the target communication service. The frequency execution control achieves the effect of implementing communication frequency control on the modern communication network by user and by geographical location.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种通信频度控制方法及装置,具有以下有益效果:通过中央控制设备根据通信消息在指定时间粒度内的统计结果以及预设策略向通信设备发送控制指令,以指示通信设备对目标通信业务的通信频度执行控制,达到了对现代通信网络按用户、按地理位置实行通信频度控制的效果。 As described above, the communication frequency control method and apparatus provided by the embodiments of the present invention have the following beneficial effects: the central control device sends a control command to the communication device according to the statistical result of the communication message within the specified time granularity and the preset policy. In order to instruct the communication device to perform control on the communication frequency of the target communication service, the effect of performing communication frequency control on the modern communication network by user and by geographical location is achieved.

Claims (12)

  1. 一种通信频度控制方法,包括:A communication frequency control method includes:
    中央控制设备接收通信设备发送的通信消息,其中,所述通信消息携带有目标通信请求的信息,所述目标通信请求所请求的目标通信业务为待执行通信频度控制的通信业务,所述通信设备包括一个或者多个通信设备;Receiving, by the central control device, a communication message sent by the communication device, where the communication message carries information of the target communication request, and the target communication service requested by the target communication request is a communication service for performing communication frequency control, the communication The device includes one or more communication devices;
    所述中央控制设备根据所述通信消息在指定时间粒度内的统计结果以及预设策略向所述通信设备发送控制指令,其中,所述控制指令设置为指示所述通信设备对所述目标通信业务的通信频度执行控制。The central control device sends a control instruction to the communication device according to a statistical result of the communication message within a specified time granularity and a preset policy, where the control instruction is set to instruct the communication device to target the communication service The communication frequency performs control.
  2. 根据权利要求1所述的方法,其中,所述中央控制设备接收通讯网络的管理系统发送的所述预设策略。The method of claim 1, wherein the central control device receives the preset policy sent by a management system of a communication network.
  3. 根据权利要求2所述的方法,其中,在所述通信消息携带有目标通信记录的情况下,所述中央控制设备根据所述通信消息在指定时间粒度内的统计结果以及预设策略向所述通信设备发送控制指令包括:The method according to claim 2, wherein, in the case that the communication message carries a target communication record, the central control device reports the statistical result according to the communication message within a specified time granularity and a preset policy to the The communication device sends control commands including:
    所述中央控制设备按照所述目标通信记录在所述指定时间粒度内的统计结果以及所述预设策略向所述通信设备发送所述控制指令,其中,所述目标通信记录为所述目标通信请求对应的通信记录。The central control device sends the control instruction to the communication device according to the statistical result of the target communication record in the specified time granularity and the preset policy, wherein the target communication record is the target communication Request the corresponding communication record.
  4. 根据权利要求3所述的方法,其中,所述中央控制设备按照所述目标通信记录在所述指定时间粒度内的统计结果以及所述预设策略向所述通信设备发送所述控制指令包括:The method of claim 3, wherein the transmitting, by the central control device, the control command to the communication device according to the statistical result of the target communication record in the specified time granularity and the preset policy comprises:
    所述中央控制设备按照所述预设策略识别所述目标通信记录,并在所述指定时间粒度内对识别到所述目标通信记录的次数进行统计,得到统计值,其中,所述预设策略设置为指定所述目标通信业务和所述目标通信业务在指定时间粒度内的统计次数阈值;The central control device identifies the target communication record according to the preset policy, and performs statistics on the number of times the target communication record is identified within the specified time granularity to obtain a statistical value, wherein the preset policy Set to specify a statistical number threshold of the target communication service and the target communication service within a specified time granularity;
    所述中央控制设备将所述统计值和所述统计次数阈值进行比较;以及The central control device compares the statistical value with the statistical number threshold; and
    在所述统计值达到所述统计次数阈值的情况下,所述中央控制设备向所述通信设备发送所述控制指令。And in a case that the statistical value reaches the statistical number threshold, the central control device sends the control instruction to the communication device.
  5. 根据权利要求4所述的方法,其中,在所述中央控制设备向所述通信设备发送所述控制指令之后,所述方法还包括:The method of claim 4, wherein after the central control device sends the control command to the communication device, the method further comprises:
    所述通信设备按照所述控制指令拒绝所述目标通信请求,以对所述目标通信业务的通信频度执行控制。The communication device rejects the target communication request in accordance with the control instruction to perform control on a communication frequency of the target communication service.
  6. 根据权利要求5所述的方法,其中,在所述控制指令还设置为指定所述通信设备拒绝所述目标通信请求的时长的情况下,所述通信设备按照所述控制指令拒绝所述目标通信请求包括:The method according to claim 5, wherein said communication device rejects said target communication in accordance with said control instruction in a case where said control instruction is further set to specify a length of time said communication device rejects said target communication request The request includes:
    在所述时长内,所述通信设备按照所述控制指令拒绝所述目标通信请求。 Within the length of time, the communication device rejects the target communication request in accordance with the control command.
  7. 根据权利要求3所述的方法,其中,在所述中央控制设备按照所述目标通信记录在所述指定时间粒度内的统计结果以及所述预设策略向所述通信设备发送所述控制指令之前,所述方法还包括:The method of claim 3, wherein before the central control device records the statistical result within the specified time granularity according to the target communication and the preset policy to send the control instruction to the communication device The method further includes:
    所述中央控制设备按照所述预设策略从所述通信消息携带的多个通信记录中识别出所述目标通信记录,其中,所述预设策略设置为指定所述目标通信业务。And the central control device identifies the target communication record from the plurality of communication records carried by the communication message according to the preset policy, where the preset policy is configured to specify the target communication service.
  8. 根据权利要求1所述的方法,其中,在所述中央控制设备接收通信设备发送的通信消息之前,所述方法还包括:The method of claim 1, wherein before the central control device receives the communication message sent by the communication device, the method further comprises:
    所述通信设备接收所述预设策略,其中,所述预设策略设置为指定所述目标通信业务;Receiving, by the communications device, the preset policy, where the preset policy is configured to specify the target communication service;
    所述通信设备根据所述预设策略,从多个通信请求中识别所述目标通信请求,并获取目标通信记录,其中,所述目标通信记录为所述目标通信请求对应的通信记录;The communication device identifies the target communication request from a plurality of communication requests according to the preset policy, and acquires a target communication record, wherein the target communication record is a communication record corresponding to the target communication request;
    所述通信设备生成携带有所述目标通信记录的通信消息。The communication device generates a communication message carrying the target communication record.
  9. 根据权利要求8所述的方法,其中,在所述预设策略还设置为指定所述指定时间粒度、时间子粒度以及所述目标通信业务在所述指定时间粒度内的统计次数阈值的情况下,在所述通信设备接收所述预设策略之后,所述方法还包括:The method according to claim 8, wherein, in the case where the preset policy is further set to specify the specified time granularity, time sub-granularity, and a statistical number threshold of the target communication service within the specified time granularity After the receiving, by the communications device, the preset policy, the method further includes:
    所述通信设备统计第一次数,并按照所述时间子粒度生成携带有所述第一次数的通信消息,其中,所述第一次数为所述通信设备在所述时间子粒度内识别到所述目标通信请求的次数;The communication device counts a first number of times, and generates a communication message carrying the first number of times according to the time sub-granularity, wherein the first number of times is that the communication device is within the time sub-granularity The number of times the target communication request is identified;
    所述中央控制设备统计第二次数,并在所述第二次数达到所述统计次数阈值时生成所述控制指令,其中,所述第二次数为所述中央控制设备在所述指定时间粒度内接收到的第一次数的次数之和,所述时间子粒度小于所述指定时间粒度。The central control device counts a second number of times, and generates the control command when the second number of times reaches the statistical number threshold, wherein the second number of times is that the central control device is within the specified time granularity The sum of the number of received first times, the time sub-granularity being less than the specified time granularity.
  10. 根据权利要求1所述的方法,其中,在所述中央控制设备接收通信设备发送的通信消息之前,所述方法还包括:The method of claim 1, wherein before the central control device receives the communication message sent by the communication device, the method further comprises:
    所述通信设备接收所述预设策略,其中,所述预设策略设置为指定所述目标通信业务;Receiving, by the communications device, the preset policy, where the preset policy is configured to specify the target communication service;
    所述通信设备根据所述预设策略,从多个通信请求中识别所述目标通信请求;The communication device identifies the target communication request from a plurality of communication requests according to the preset policy;
    所述通信设备生成携带有所述目标通信请求的通信消息。The communication device generates a communication message carrying the target communication request.
  11. 根据权利要求1所述的方法,其中,所述通信消息中还携带有所述预设策略。The method according to claim 1, wherein the communication message further carries the preset policy.
  12. 一种通信频度控制装置,包括:A communication frequency control device includes:
    接收模块,设置为接收通信设备发送的通信消息,其中,所述通信消息携带有目标通信请求的信息,所述目标通信请求所请求的目标通信业务为待执行通信频度控制的通 信业务,所述通信设备包括一个或者多个通信设备;a receiving module, configured to receive a communication message sent by the communication device, where the communication message carries information of a target communication request, and the target communication service requested by the target communication request is a communication frequency control to be executed Letter service, the communication device comprising one or more communication devices;
    发送模块,设置为根据所述通信消息在指定时间粒度内的统计结果以及预设策略向所述通信设备发送控制指令,其中,所述控制指令设置为指示所述通信设备对所述目标通信业务的通信频度执行控制。 a sending module, configured to send a control instruction to the communication device according to a statistical result of the communication message within a specified time granularity and a preset policy, where the control instruction is set to instruct the communication device to perform the target communication service The communication frequency performs control.
PCT/CN2016/078478 2015-06-30 2016-04-05 Communication frequency control method and apparatus WO2017000617A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510374666.8A CN106332126A (en) 2015-06-30 2015-06-30 Method and device for controlling communication frequency
CN201510374666.8 2015-06-30

Publications (1)

Publication Number Publication Date
WO2017000617A1 true WO2017000617A1 (en) 2017-01-05

Family

ID=57607806

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078478 WO2017000617A1 (en) 2015-06-30 2016-04-05 Communication frequency control method and apparatus

Country Status (2)

Country Link
CN (1) CN106332126A (en)
WO (1) WO2017000617A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107046593A (en) * 2017-04-07 2017-08-15 北京安云世纪科技有限公司 A kind of harassing call hold-up interception method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070078565A (en) * 2006-01-27 2007-08-01 삼성전자주식회사 Apparatus and method of offense call report in private branch exchange system
TW201010397A (en) * 2008-08-29 2010-03-01 Inventec Appliances Corp Method of preventing malicious dialing and electronic apparatus
CN101697620A (en) * 2009-10-30 2010-04-21 中兴通讯股份有限公司 Method and system for determining spam messages
CN101720092A (en) * 2009-11-19 2010-06-02 东方通信股份有限公司 Intelligent network signaling monitoring-based harassing call monitoring method and intelligent network signaling monitoring-based harassing call monitoring system
CN104702800A (en) * 2013-12-04 2015-06-10 中国移动通信集团公司 Harassing number identifying method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070078565A (en) * 2006-01-27 2007-08-01 삼성전자주식회사 Apparatus and method of offense call report in private branch exchange system
TW201010397A (en) * 2008-08-29 2010-03-01 Inventec Appliances Corp Method of preventing malicious dialing and electronic apparatus
CN101697620A (en) * 2009-10-30 2010-04-21 中兴通讯股份有限公司 Method and system for determining spam messages
CN101720092A (en) * 2009-11-19 2010-06-02 东方通信股份有限公司 Intelligent network signaling monitoring-based harassing call monitoring method and intelligent network signaling monitoring-based harassing call monitoring system
CN104702800A (en) * 2013-12-04 2015-06-10 中国移动通信集团公司 Harassing number identifying method, device and system

Also Published As

Publication number Publication date
CN106332126A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US9240946B2 (en) Message restriction for diameter servers
US11063990B2 (en) Originating caller verification via insertion of an attestation parameter
US10117090B2 (en) Multiple device association with a single telephone number
CN111869171B (en) Network slice management for IP Multimedia Subsystem (IMS) domain
US10148482B2 (en) Video interconnect termination charging
KR20110099771A (en) Logout method and system for ip multimedia subsystem centralized service
US10880781B2 (en) Service communication method and device
US10567446B2 (en) Method and system for over-the-top voice for internet of things devices
EP1686752A1 (en) A method for achieving the multimedia priority services
US8374605B2 (en) Method for selecting an S-CSCF unit within an IMS-based service communication system
US9800626B2 (en) Selecting refresh periods in an IP network
US11223604B2 (en) Detecting aggressive or attacking behaviors in IMS SIP signaling
US20140324952A1 (en) Method and apparatus for network communication
US10666526B2 (en) Method and apparatus for measuring end-to-end accessibility in voice over long term evolution networks
US9826380B1 (en) Video over LTE data usage metering
WO2017000617A1 (en) Communication frequency control method and apparatus
US20130121212A1 (en) Method and apparatus for supporting location-aware services
EP3202172B1 (en) Multiple device association with a single telephone number
WO2017223383A1 (en) Video interconnect system
KR102050027B1 (en) Apparatus and Method for controlling IFC trigger on the IMS network
Komorita et al. Congestion-based automatic calling for improving call establishment in VoLTE
WO2017102019A1 (en) Ims signalling correlation in srvcc service interception
CN101568112B (en) Method and network unit for strengthening sharing common user identity in converged network
KR20150045210A (en) Apparatus of re-registration when session processing function is disordered, method thereof and computer recordable medium storing the method
WO2017223384A1 (en) Video interconnect termination charging

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16816982

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16816982

Country of ref document: EP

Kind code of ref document: A1