CN109889544B - Method and device for detecting conflict between number table item and number table to which number table item belongs - Google Patents

Method and device for detecting conflict between number table item and number table to which number table item belongs Download PDF

Info

Publication number
CN109889544B
CN109889544B CN201910238429.7A CN201910238429A CN109889544B CN 109889544 B CN109889544 B CN 109889544B CN 201910238429 A CN201910238429 A CN 201910238429A CN 109889544 B CN109889544 B CN 109889544B
Authority
CN
China
Prior art keywords
receiving
comparison result
entry
conflict
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910238429.7A
Other languages
Chinese (zh)
Other versions
CN109889544A (en
Inventor
商琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Industrial Park Institute of Services Outsourcing
Original Assignee
Suzhou Industrial Park Institute of Services Outsourcing
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 Suzhou Industrial Park Institute of Services Outsourcing filed Critical Suzhou Industrial Park Institute of Services Outsourcing
Priority to CN201910238429.7A priority Critical patent/CN109889544B/en
Publication of CN109889544A publication Critical patent/CN109889544A/en
Application granted granted Critical
Publication of CN109889544B publication Critical patent/CN109889544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for detecting conflict between a number list item and a number list to which the number list item belongs, which specifically comprise the following steps: receiving a number table, wherein the number table at least comprises a first number table item and a second number table item, and the first number table item and the second number table item are separated by a separator; extracting a first number receiving inter-position timer type and a first number receiving calling mode of the first number table item, and a second number receiving inter-position timer type and a second number receiving calling mode of the second number table item; comparing the first receiving bit interval timer type with the second receiving bit interval timer type, and the first receiving calling mode and the second receiving calling mode; and determining whether the first number table item and the second number table item have conflict according to the comparison result. The number entry conflict detection method provided by the invention can determine whether rule conflicts exist among the number entries by detecting the received number entries, and can discover potential number receiving hazards as early as possible from the source so as to be convenient for subsequent modification and/or elimination, thereby better improving the dialing experience of users.

Description

Method and device for detecting conflict between number table item and number table to which number table item belongs
Technical Field
The invention relates to the technical field of number list conflict detection; in particular to a method and a device for detecting the conflict between a number table item and a number table to which the number table item belongs.
Background
Under the IMS network architecture, the intelligent access gateway can provide both voice services and data services, and is increasingly widely used. The voice service provided by the intelligent access gateway must be regulated and limited in the range of the number receiving by the number list, and all the numbers called by the intelligent access gateway must be consistent with the rules of the number list. Generally speaking, when an intelligent access gateway accesses an IMS network, IMS core network devices generally send parameters such as a number table to the intelligent access gateway in batches, and when the intelligent access gateway receives the number table sent by the IMS core network devices, the intelligent access gateway generally directly sets the number table to a local storage space of the intelligent access gateway; if the storage space of the intelligent access gateway stores the local number list in advance, the number list issued by the IMS core network equipment directly covers the local number list. In the existing network, each entry of the number table issued by the IMS core network device inevitably has a rule conflict phenomenon, which results in a number receiving conflict in the intelligent access gateway.
The invention with publication number CN104993985A provides a method for adaptively calibrating rules of a number table of access gateway equipment, which comprises the following steps: the gateway server issues a number list rule to the access gateway equipment; the gateway equipment analyzes the number table rule; and the gateway equipment compares the analysis result with the configuration in the local storage system, judges whether the number table rule issued by the gateway server meets the user requirement, and if not, calibrates the number table rule. Although the technical scheme can calibrate the number table pre-stored by the access gateway when receiving the number table which is sent by the gateway server and does not meet the requirements of the user; the following technical problems still remain unsolved: firstly, the number list rules issued by the network server have number receiving conflicts, so that some numbers cannot be received or some numbers cannot be received according to the rules of the number list items; secondly, the access gateway can not effectively modify or eliminate the number list items with conflict when receiving the number list items with conflict of the number receiving rule so as to ensure that no conflict exists when subsequently calibrating the local number list of the access gateway.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, the technical problems in the above-described techniques. For this purpose,
the first purpose of the present invention is to provide a number entry conflict detection method, which determines whether rule conflicts exist between number entries by detecting received number entries, and finds out potential hidden troubles of number receiving possibly from the source as early as possible so as to facilitate subsequent modification and/or elimination, thereby better improving the user dialing experience.
The second objective of the present invention is to provide a device for detecting number entry conflict, which is used to detect received number entries to determine whether there is a rule conflict between the number entries, and discover a potential hidden number receiving hazard as early as possible from the source for subsequent modification and/or elimination, so as to better improve the user dialing experience.
The third objective of the present invention is to provide a method for detecting number table conflict, which determines whether a rule conflict exists in a received number table composed of a plurality of number table entries by detecting the number table, and finds a possible hidden number receiving danger from the source as early as possible for subsequent modification and/or elimination, thereby better improving the user dialing experience.
A fourth object of the present invention is to provide a number table conflict detection apparatus, configured to detect a number table composed of a plurality of number table entries received, so as to determine whether the number table has a rule conflict, and discover a potential number receiving hazard from a source as early as possible for subsequent modification and/or elimination, so as to better improve user dialing experience.
To achieve the above object, an embodiment of a first aspect of the present invention provides a number entry conflict detection method, where the method includes: receiving a number table, wherein the number table at least comprises a first number table item and a second number table item, and the first number table item and the second number table item are separated by a separator; extracting a first number receiving inter-position timer type and a first number receiving calling mode of the first number table item, and a second number receiving inter-position timer type and a second number receiving calling mode of the second number table item; comparing the first receiving bit interval timer type with the second receiving bit interval timer type, and the first receiving calling mode and the second receiving calling mode; and determining whether the first number table item and the second number table item have conflict according to the comparison result.
Preferably, the result of the comparison comprises one of:
the first comparison result: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is the same as the second receiving calling mode;
the second comparison result is: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the third comparison result: the first receiving inter-bit timer type is the same as the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the fourth comparison result: the first number receiving inter-bit timer is the same as the second number receiving inter-bit timer in type, and the first number receiving outgoing mode is the same as the second number receiving outgoing mode.
Preferably, the number-receiving outgoing call mode includes one of a number-receiving immediate outgoing call, a number-receiving end plus dial # outgoing call, and a number-receiving waiting timeout outgoing call.
Preferably, the determining whether there is a conflict between the first number entry and the second number entry according to the result of the comparison includes: the comparison result is the first comparison result, and the first number table item and the second number table item have conflict; the comparison result is the second comparison result, and whether a conflict exists is determined according to the inclusion relationship between the first number receiving range of the first number entry and the second number receiving range of the second number entry, the first number receiving and calling mode and the second number receiving and calling mode; the comparison result is the third comparison result, and whether a conflict exists is determined according to the first number receiving and calling mode and the second number receiving and calling mode; the comparison result is the fourth comparison result, and the first number entry and the second number entry do not have conflict.
Preferably, when the comparison result is a second comparison result, and the first number receiving range and the second number receiving range have an inclusion relationship, and the first number receiving and calling mode or the second number receiving and calling mode is an immediate calling, the first number entry and the second number entry have a conflict.
Preferably, when the comparison result is a third comparison result and the first number receiving and calling mode or the second number receiving and calling mode is an immediate calling, the first number entry and the second number entry have a conflict.
In order to achieve the above object, a second embodiment of the present invention provides a device for detecting number entry conflict, where the device includes: a number table receiving module, configured to receive a number table, where the number table at least includes a first number table entry and a second number table entry, and the first number table entry and the second number table entry are separated by a separator; a rule extracting module, configured to extract a first number receiving inter-digit timer type and a first number receiving outgoing mode of the first number entry, and a second number receiving inter-digit timer type and a second number receiving outgoing mode of the second number entry; a comparison module, configured to compare the first inter-receiving-bit timer type with the second inter-receiving-bit timer type, and compare the first receiving-calling mode with the second receiving-calling mode; and the conflict detection module is used for determining whether the first number table item and the second number table item have conflict or not according to the comparison result of the comparison module.
Preferably, the comparison result of the comparison module comprises one of:
the first comparison result: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is the same as the second receiving calling mode;
the second comparison result is: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the third comparison result: the first receiving inter-bit timer type is the same as the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the fourth comparison result: the first number receiving inter-bit timer is the same as the second number receiving inter-bit timer in type, and the first number receiving outgoing mode is the same as the second number receiving outgoing mode.
Preferably, the number-receiving outgoing call mode includes one of a number-receiving immediate outgoing call, a number-receiving end plus dial # outgoing call, and a number-receiving waiting timeout outgoing call.
Preferably, the comparison result is the first comparison result, and the conflict detection module determines that a conflict exists between the first number entry and the second number entry; the comparison result is the second comparison result, and the conflict detection module determines whether a conflict exists according to the inclusion relationship between the first number receiving range of the first number entry and the second number receiving range of the second number entry, the first number receiving and calling mode and the second number receiving and calling mode; the comparison result is the third comparison result, and the conflict detection module determines whether a conflict exists according to the first number receiving and calling mode and the second number receiving and calling mode; and if the comparison result is the fourth comparison result, the conflict detection module determines that no conflict exists between the first number entry and the second number entry.
Preferably, when the comparison result is a second comparison result, and the first number receiving range and the second number receiving range have an inclusion relationship, and the first number receiving and calling mode or the second number receiving and calling mode is an immediate calling mode, the conflict detection module determines that the first number entry and the second number entry have a conflict.
Preferably, when the comparison result is a third comparison result and the first number receiving and calling mode or the second number receiving and calling mode is an immediate calling mode, the conflict detection module determines that a conflict exists between the first number entry and the second number entry.
In order to achieve the above object, an embodiment of a third aspect of the present invention provides a method for detecting a number table conflict, where the number table at least includes two number table entries, and every two number table entries in the number table are detected by the method for detecting a number table conflict until all number table entries are traversed.
In order to achieve the above object, a fourth aspect of the present invention provides a device for detecting a number table conflict, where the number table at least includes two number table entries, and the device for detecting a number table conflict detects every two number table entries in the number table until all number table entries are traversed.
Preferably, the number table collision detection device is arranged in the voice gateway or the access gateway shell.
The invention is further described with reference to the following figures and examples.
Drawings
Fig. 1 is a schematic diagram of a network structure of an intelligent access gateway and an IMS control device according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of an intelligent access gateway receiving a remote number table according to an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating each special character in the number entry according to an embodiment of the present invention.
Fig. 4 is a schematic network structure diagram of an external voice service of an intelligent access gateway according to an embodiment of the present invention.
Fig. 5 is a block diagram of a method for detecting number entry conflict according to an embodiment of the present invention.
Fig. 6 is a block diagram of a device for detecting number entry conflict according to an embodiment of the present invention.
Detailed Description
Example one
As shown in fig. 1-2, an IMS control device and an intelligent access gateway form a signaling flow network structure of a voice service, where the IMS control device is located at a core layer of an IMS architecture, and the IMS control device belongs to an IMS core network device, and mainly includes functions of signaling control and forwarding, parameter batch delivery setting, protocol control, and the like of the IMS voice service. The IMS control device may be a single physical device, or may be a server group formed by multiple physical devices, such as an IMS server, an application server, a media gateway device, and so on. The intelligent access gateway is positioned at an access layer of the IMS architecture, is directly oriented to a user, receives a user instruction, and the instruction can be directly acted on the intelligent access gateway by the user or can be transmitted to the intelligent access gateway through equipment such as a fixed telephone, a Bluetooth handle, an intelligent terminal and the like which are mutually connected with the intelligent access gateway. A network connection is established between the intelligent access gateway and the IMS control device, and signal transmission between the intelligent access gateway and the IMS control device follows a specific communication protocol, such as communication protocols and specifications of H.248, SIP, MGCP, H.232, TR069, TR104 and the like.
As shown in fig. 1-2, in the IMS network structure, from the perspective of the intelligent access gateway, the IMS control device is a remote device, and the intelligent access gateway is a home device. It can also be understood that the core layer device is a remote device and the access layer device is a local device. In practical application, when the intelligent access gateway is accessed to the IMS network architecture, the IMS control device, which is a remote device, will usually open some services to the intelligent access gateway or issue some parameters or configurations in batches. For example, the IMS control device may issue parameters such as call forwarding, malicious call, an external number table, call waiting, and the like to the smart access gateway device that has just accessed the network, and some of these parameters belong to parameters of switching values, such as call forwarding, malicious call, and call waiting, and only have two options of turning on and off; further parameters belong to configuration parameters, such as number tables.
The number table is a rule set for receiving the number input by the user, the rule set makes clear stipulations and limits for all receivable number ranges, and the dialing of the user can be successfully received by the access gateway or the voice gateway and sent to the IMS control equipment, such as an IMS server, a soft switch and other equipment, only under the condition of following the stipulations and limits. A number table typically consists of several number entries, each separated by a separator. All the number list items and separators form a complete number list. Each number entry is composed of at least one of numbers, letters and special characters, wherein the numbers and the letters can find corresponding keys or buttons for inputting on an operation panel or an interface of equipment such as a fixed telephone, a Bluetooth handle, an intelligent terminal and the like; the special characters include characters and separators | representing special meanings, such as x, #, T, [, ] and the like, and the detailed description of the special meanings is shown in fig. 3.
For example, if the number table is 110|120|119| x.T | x. # | 1# x.T, then it is understood that:
the number table is composed of number table entries 110, number table entries 120, number table entries 119, number table entries x.T, number table entries x. #, number table entries x 1# x.T and separators: l, the number of the items in the number table entry is 9 items. For example, the number entry 110 indicates that the receiving user sequentially inputs three numbers, i.e., 1, and 0, and when the third number 0 is completely input, the number entry 110 is completely matched with the number entry 110, and the number 110 is directly called; the number entry x. # indicates that the receiving user inputs pure numbers with any digits, and finally takes the number # as an input completion identifier, for example, the user sequentially inputs 8 numbers of 6, 2, 9, 3, 0 and 0, and finally finishes receiving with the number # and directly calls the number 62930000 #.
It is understood that the number table provides a number receiving rule and a number receiving range, the number receiving rule specifies numbers allowed to be input by the user and numbers not allowed to be input by the user by the intelligent access gateway, for example, the number table is x.T | x #, which means that the user is allowed to input numeric keys or buttons, but not allowed to input words such as a word and/or letter; the number receiving range specifies which numbers can be input by the user, namely the range of the numbers input by the user, or takes the number table as x.T | x. # as an example, which means that the number keys or buttons with any number of digits can be input by the user, namely, the device applying the number table can receive all the pure number keys without limiting the number of the input pure number keys, thereby realizing the comprehensive coverage without missing, and the number receiving range is one hundred percent.
It should be understood that the number table received by the intelligent access gateway and sent from the remote device is used for dialing other external users and establishing voice connection with the external users, the external users and the intelligent access gateway are not in the same local area network, and voice signaling flow needs to be controlled and forwarded by an operator control platform. As shown in fig. 4, which is a schematic diagram of a network structure of a voice service provided in an embodiment of the present invention, when a phone 1 and a phone 2 perform a voice call, the phone 1 connected to an intelligent access gateway 1 must dial the number of the phone 2, and a signaling stream is sent to an IMS control device through the intelligent access gateway 1 and is routed and forwarded to the intelligent access gateway 2 by the IMS control device (the signaling stream is shown by a dashed line in fig. 4), so as to complete a control signaling connection of the voice call.
Fig. 5 shows a method for detecting a number entry conflict according to an embodiment of the present invention, which includes the following steps:
s1, receiving a number list, wherein the number list at least comprises a first number list item and a second number list item, and the first number list item and the second number list item are separated by a separator;
the intelligent access gateway receives a number table issued by IMS control equipment or reads the number table pre-configured in the storage space of the intelligent access gateway, and the number table at least comprises two number table entries. It is understood that the number entry detection process is a process of comparing the number entries two by two, and the number table with only one number entry has only one rule, which is specific and no conflict exists. It is emphasized that at least two number entries are included, as determined by the number entry detection process.
In order to simplify the number entry detection process, the present embodiment only compares the first number entry and the second number entry to complete the number entry detection process. The essence of receiving the number table is to receive two number table entries in the number table, which are a first number table entry and a second number table entry respectively. In order to effectively distinguish between the first number entry and the second number entry, a specific delimiter is used to partition the first number entry and the second number entry. That is, the first number entry, the second number entry and the delimiter constitute a complete number table.
S2, extracting a first number receiving position timer type and a first number receiving calling mode of the first number table item, and a second number receiving position timer type and a second number receiving calling mode of the second number table item;
and extracting the type of a first number receiving inter-position timer and a first number receiving calling mode according to the first number table item.
And extracting a second number receiving inter-position timer type and a second number receiving calling mode according to the second number table item.
Further, the type of the number-receiving inter-digit timer determines the allowed stay time between each number input by the user, and if the number input by the user at the time is invalid, the intelligent access gateway discards the number input at the time without performing the calling action. Different types of the sign-on bit-to-bit timers indicate different said allowed dwell times.
Further, the number receiving outgoing call mode includes one of a number receiving immediate outgoing call, a number receiving end plus dial # outgoing call, and a number receiving waiting timeout outgoing call. The number receiving and calling-out mode is that after the user inputs the number, the intelligent access gateway immediately calls out the number without additionally dialing other numbers or waiting for overtime. The number receiving end dialing # calling mode is that after a user inputs a number, the number has to be added to the number end, and the intelligent access gateway calls the number. In this case, the intelligent access gateway will call the dialed # after removing the dialed # or directly call the number of the dialed #. Different intelligent access gateways and IMS control equipment have different processing strategies for # at the end of the number. The receiving waiting overtime calling mode is that after the user inputs the number, the intelligent access gateway calls the number by waiting for the overtime of the tail timer.
S3, comparing the first number receiving bit-to-bit timer type with the second number receiving bit-to-bit timer type, and comparing the first number receiving outgoing mode with the second number receiving outgoing mode;
the step S3 should be understood as a whole and not be able to compare the first and second receive bit timer types separately or compare the first and second receive outgoing patterns separately.
Further, comparing the first and second receiving bit-to-bit timer types, and the first and second receiving and sending-out modes, wherein the comparison result includes one of:
the first comparison result: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is the same as the second receiving calling mode;
the second comparison result is: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the third comparison result: the first receiving inter-bit timer type is the same as the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the fourth comparison result: the first number receiving inter-bit timer is the same as the second number receiving inter-bit timer in type, and the first number receiving outgoing mode is the same as the second number receiving outgoing mode.
For example, the first number entry is x.T, the second number entry is 134xxxxxxxx, then the first number-receiving inter-digit timer type extracted according to the first number entry is a short timer, and the first number-receiving outgoing mode is a number-receiving waiting timeout outgoing mode; the type of the second number receiving inter-digit timer extracted according to the second number entry is a long timer, and the second number receiving calling mode is an immediate calling mode. It can be seen that the first number receiving timer type is different from the second number receiving timer type, and the first number receiving outgoing mode is also different from the second number receiving outgoing mode, corresponding to the second comparison result. And so on.
S4, determining whether the first number table item and the second number table item have conflict according to the comparison result.
And the intelligent access gateway determines whether a number receiving conflict exists between the compared first number table item and the second number table item according to the obtained comparison result.
Further, the conflict should be understood as a conflict of number receiving rules, which may result in that the intelligent access gateway cannot receive some numbers, or disorder occurs in receiving and processing the numbers input by the user, or more seriously result in failed number receiving.
For example, the first number entry is 134xxxxxxxxT, a number string with a 134 head and 8-bit pure numbers after 134 input by a user is received, the first inter-receiving-digit timer type is a long timer, and the first receiving-calling mode is a waiting timeout calling mode; the second number table entry is x.T, receives a pure number string with any digit input by a user, the type of the second number receiving inter-digit timer is a short timer, and the second number receiving outgoing call mode is a waiting overtime outgoing call mode. It can be understood that the conflict between the first receiving bit-to-bit timer type and the second receiving bit-to-bit timer type causes disorder of the receiving logic of the smart access gateway, and it is impossible to determine whether a long timer or a short timer is suitable as a bit-to-bit timer between each received number, because the timing durations of the long timer and the short timer are different, and the timing durations of the long timer and the short timer are greatly different under different network conventions or environments.
Further, the first number entry and the second number entry are compared, and if the comparison result meets the first comparison result, it can be detected and determined that the first number entry and the second number entry have conflict, and a number receiving failure may occur in the number receiving process.
For example, if the first number entry received by the smart access gateway is x. #, and the second number entry is 134xxxxxxxx #, the extracted first inter-receiving-digit timer type is a short timer, and the first receiving-calling mode is a receiving end plus dialing # calling mode; the extracted type of the second number receiving inter-digit timer is a long timer, and the second number receiving calling mode is also a number receiving end plus dialing # calling mode, so that the first comparison result is met, and the conflict between the first number table entry and the second number table entry can be detected. It can be understood that if the first number entry and the second number entry with conflict are connected together by using separators to form a complete number table, the number table also has conflict, because the smart access gateway cannot distinguish whether the type of the timer between each number entered by the user is a long timer or a short timer when receiving the 134xxxxxxxx numbers entered by the user in sequence.
Further, the first number entry and the second number entry are compared, if the comparison result satisfies the second comparison result, a conclusion that whether the first number entry and the second number entry conflict or not cannot be directly obtained, and whether a conflict exists or not needs to be determined according to an inclusion relationship between a first number receiving range of the first number entry and a second number receiving range of the second number entry, the first number receiving and calling mode and the second number receiving and calling mode. The inclusion relation is determined according to an angle of a number receiving range, and a first number receiving range of the first number entry and a second number receiving range of the second number entry can be determined under the condition that the first number entry and the second number entry are determined. That is, after the first number entry and the second number entry are determined, the first number receiving range and the second number receiving range are determined accordingly, and ambiguity and uncertainty do not exist.
The inclusion relationship is that the first number receiving range includes the second number receiving range, or the second number receiving range includes the first number receiving range. It should be understood that the inclusion relationship should conform to a general mathematical logical relationship, and that the inclusion relationship includes the relationship of the subset and the proper subset, and thus, if the first number receiving range is the same as the second number receiving range, the inclusion relationship is considered to exist.
If the comparison result satisfies the second comparison result, to detect and determine whether there is a conflict between the first number entry and the second number entry, it is necessary to determine whether there is a conflict according to an inclusion relationship between a first number receiving range of the first number entry and a second number receiving range of the second number entry, the first number receiving and sending out mode, and the second number receiving and sending out mode.
Further, if the comparison result satisfies the second comparison result, and the first number receiving range and the second number receiving range have an inclusion relationship, and the first number receiving outgoing call mode or the second number receiving outgoing call mode is an immediate outgoing call, then there is a conflict between the first number entry and the second number entry. Only when the above conditions are satisfied simultaneously, the first number entry and the second number entry have conflict, otherwise, no conflict will be generated.
For example, if the first number entry received by the smart access gateway is x. #, and the second number entry is 134xxxxxxxx, the extracted first inter-receiving-digit timer type is a short timer, and the first receiving-calling mode is a receiving end plus dialing # calling mode; the extracted type of the second number receiving inter-bit timer is a long timer, and the second number receiving outgoing mode is a number receiving immediate outgoing mode, so that whether conflict exists is determined according to the inclusion relation and the outgoing mode when the second comparison result is met. The first number receiving range is any pure-digit number, the second number receiving range is 134 leading and 8-digit number after 134 continuous, and it can be seen without any doubt that the first number receiving range includes the second number receiving range, that is, there is an inclusion relationship between the first number receiving range and the second number receiving range, and there is a conflict between the first number entry and the second number entry.
Further, if the comparison result satisfies the third comparison result and the first number receiving and calling mode or the second number receiving and calling mode is an immediate calling, the first number entry and the second number entry have a conflict.
For example, if the first number entry received by the smart access gateway is 13xxxxxxxxx and the second number entry is 13xxxxxxxxxT, the extracted first number receiving inter-bit timer type is a long timer, and the first number receiving outgoing mode is an immediate outgoing call; the extracted type of the second number receiving inter-bit timer is a long timer, and the second number receiving outgoing mode is a number receiving waiting overtime outgoing mode. Therefore, there is a conflict between the first number entry and the second number entry.
It should be understood that the length of the timer corresponding to the number-receiving waiting timeout is different from the number-receiving bit length timer or the number-receiving bit length timer. For example, the timer corresponding to the number receiving waiting timeout is a number receiving completion timer, which indicates that the user has completed inputting the number, and calls out after the number receiving completion timer expires.
Further, if the comparison result satisfies the fourth comparison result, there is no conflict between the first number entry and the second number entry.
Example two
Fig. 6 is a block diagram illustrating a structure of a device for detecting number entry conflict according to an embodiment of the present invention, where the device includes: a number table receiving module 610, configured to receive a number table, where the number table at least includes a first number table entry and a second number table entry, and the first number table entry and the second number table entry are separated by a separator; a rule extracting module 620, configured to extract a first number receiving inter-digit timer type and a first number receiving outgoing mode of the first number entry, and a second number receiving inter-digit timer type and a second number receiving outgoing mode of the second number entry; a comparing module 630, configured to compare the first number-receiving bit-to-bit timer type with the second number-receiving bit-to-bit timer type, and compare the first number-receiving outgoing call mode with the second number-receiving outgoing call mode; and a conflict detection module 640, configured to determine whether a conflict exists between the first number entry and the second number entry according to a comparison result of the comparison module.
Further, the comparison result of the comparing module 630 is one of the following:
the first comparison result: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is the same as the second receiving calling mode;
the second comparison result is: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the third comparison result: the first receiving inter-bit timer type is the same as the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the fourth comparison result: the first number receiving inter-bit timer is the same as the second number receiving inter-bit timer in type, and the first number receiving outgoing mode is the same as the second number receiving outgoing mode.
Further, the number-receiving outgoing call mode comprises one of number-receiving immediate outgoing call, number-receiving end dialing # outgoing call and number-receiving waiting overtime outgoing call.
Further, the comparison result is the first comparison result, and the conflict detection module 640 determines that a conflict exists between the first number entry and the second number entry; the comparison result is the second comparison result, and the conflict detection module 640 determines whether a conflict exists according to an inclusion relationship between a first number receiving range of the first number entry and a second number receiving range of the second number entry, the first number receiving and calling mode, and the second number receiving and calling mode; the comparison result is the third comparison result, and the conflict detection module 640 determines whether a conflict exists according to the first number receiving and calling mode and the second number receiving and calling mode; and if the comparison result is the fourth comparison result, the conflict detection module determines that no conflict exists between the first number entry and the second number entry.
Further, when the comparison result is a second comparison result, and the first number receiving range and the second number receiving range have an inclusion relationship, and the first number receiving and calling mode or the second number receiving and calling mode is an immediate calling, the conflict detection module 640 determines that the first number entry and the second number entry have a conflict.
Further, when the comparison result is a third comparison result and the first number receiving and sending out mode or the second number receiving and sending out mode is an immediate sending out mode, the conflict detection module 640 determines that a conflict exists between the first number entry and the second number entry.
EXAMPLE III
Therefore, the number table collision detection method provided by the embodiment of the present invention performs pairwise detection on all number table entries in the number table based on the first embodiment, until all number table entries are traversed.
For example, the number table is a | B | C | D | E, and it can be seen that the number table is composed of a number entry a, a number entry B, a number entry C, a number entry D, and a number entry E, and the number entry a, the number entry B, the number entry C, the number entry D, and the number entry E are separated by a separator | therebetween.
With the help of the number table item collision detection method in the first embodiment, every two number table items in the number table a | B | C | D | E are detected until the entire number table is traversed.
And (3) traversing for the first time: the number entry a and the number entry B are subjected to collision detection by the method according to the first embodiment.
And a second traversal: the number entry a and the number entry C are subjected to collision detection by the method according to the first embodiment.
And a third traversal: the number entry A and the number entry D are subjected to conflict detection by the method as in the first embodiment.
And a fourth traversal: the number entry A and the number entry E are subjected to collision detection by the method as in the first embodiment.
And a fifth traversal: the number entry B and the number entry C are subjected to collision detection by the method according to the first embodiment.
And a sixth traversal: the number entry B and the number entry D are subjected to collision detection by the method according to the first embodiment.
And a seventh traversal: the number entry B and the number entry E are subjected to collision detection by the method according to the first embodiment.
And eighth traversal: the number entry C and the number entry D are subjected to collision detection by the method according to the first embodiment.
And ninth traversal: the number entry C and the number entry E are subjected to collision detection by the method according to the first embodiment.
The tenth traversal: the number entry D and the number entry E are subjected to collision detection by the method according to the first embodiment.
The number table is deemed to have a conflict whenever a conflict is detected in a certain traversal. It will be appreciated that the number table is deemed to be free of conflicts only if no conflict is detected for the number table entries being compared for all traversals.
Example four
Therefore, the number table collision detection device provided by the embodiment of the present invention is used for detecting every two number table entries in the number table by the number table collision detection device according to the second embodiment on the basis of the second embodiment until all the number table entries are traversed.
It should be understood that, in the second embodiment, the number entry conflict detection apparatus is configured to detect whether a conflict exists between the first number entry and the second number entry; the number of the number table entries in the number table exceeds two entries in many cases, and therefore, two-by-two detection needs to be performed on all the number table entries in the number table so as to detect a conflict. Therefore, the number table conflict detection apparatus in the fourth embodiment detects every two number table entries in the number table by the number table conflict detection apparatus in the second embodiment until all number table entries are traversed, so as to find out a potential number receiving conflict, and improve the dialing experience of a user in the process of performing a voice service by the intelligent access gateway device.
Furthermore, the number table collision detection device described in the fourth embodiment is built in the voice gateway or the access gateway housing. The number table conflict detection device is arranged in the shell, and is mainly used for saving the physical volume of a voice gateway or access gateway equipment and enhancing the appearance aesthetic degree of the equipment. It is also an alternative to locate the number list collision detection means outside the voice gateway or the access gateway housing and establish a communication link with the voice gateway or the access gateway.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-mentioned embodiments are only for illustrating the technical ideas and features of the present invention, and the purpose thereof is to enable those skilled in the art to understand the contents of the present invention and to implement the same, and the present invention is not limited to the embodiments, i.e. all equivalent changes or modifications made according to the spirit of the present invention are still within the scope of the present invention.

Claims (14)

1. A method for detecting number entry conflict, the method comprising:
receiving a number table, wherein the number table at least comprises a first number table item and a second number table item, and the first number table item and the second number table item are separated by a separator;
extracting a first number receiving inter-position timer type and a first number receiving calling mode of the first number table item, and a second number receiving inter-position timer type and a second number receiving calling mode of the second number table item;
comparing the first receiving bit interval timer type with the second receiving bit interval timer type, and the first receiving calling mode and the second receiving calling mode;
and determining whether the first number table item and the second number table item have conflict according to the comparison result.
2. The method of claim 1, wherein the result of the comparison comprises one of:
the first comparison result: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is the same as the second receiving calling mode;
the second comparison result is: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the third comparison result: the first receiving inter-bit timer type is the same as the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the fourth comparison result: the first number receiving inter-bit timer is the same as the second number receiving inter-bit timer in type, and the first number receiving outgoing mode is the same as the second number receiving outgoing mode.
3. The method of claim 1, wherein the receive outgoing mode comprises one of a receive immediate outgoing, a receive end plus dial # outgoing, and a receive wait timeout outgoing.
4. The method of claim 2, wherein said determining whether a conflict exists between said first number entry and said second number entry based on a result of said comparing comprises:
the comparison result is the first comparison result, and the first number table item and the second number table item have conflict;
the comparison result is the second comparison result, and whether a conflict exists is determined according to the inclusion relationship between the first number receiving range of the first number entry and the second number receiving range of the second number entry, the first number receiving and calling mode and the second number receiving and calling mode;
the comparison result is the third comparison result, and whether a conflict exists is determined according to the first number receiving and calling mode and the second number receiving and calling mode;
the comparison result is the fourth comparison result, and the first number entry and the second number entry do not have conflict.
5. The method of claim 4, wherein when the comparison result is a second comparison result, and the first number receiving range and the second number receiving range have an inclusion relationship, and the first number receiving outgoing call mode or the second number receiving outgoing call mode is an immediate outgoing call, the first number entry and the second number entry have a conflict.
6. The method of claim 4, wherein when the comparison result is a third comparison result and the first receive-and-send out mode or the second receive-and-send out mode is an immediate-to-send out, the first number entry and the second number entry have a conflict.
7. An apparatus for detecting a number entry conflict, the apparatus comprising:
a number table receiving module, configured to receive a number table, where the number table at least includes a first number table entry and a second number table entry, and the first number table entry and the second number table entry are separated by a separator;
a rule extracting module, configured to extract a first number receiving inter-digit timer type and a first number receiving outgoing mode of the first number entry, and a second number receiving inter-digit timer type and a second number receiving outgoing mode of the second number entry;
a comparison module, configured to compare the first inter-receiving-bit timer type with the second inter-receiving-bit timer type, and compare the first receiving-calling mode with the second receiving-calling mode;
and the conflict detection module is used for determining whether the first number table item and the second number table item have conflict or not according to the comparison result of the comparison module.
8. The apparatus of claim 7, wherein the comparison result of the comparison module comprises one of:
the first comparison result: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is the same as the second receiving calling mode;
the second comparison result is: the first receiving inter-bit timer type is different from the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the third comparison result: the first receiving inter-bit timer type is the same as the second receiving inter-bit timer type, and the first receiving calling mode is different from the second receiving calling mode;
the fourth comparison result: the first number receiving inter-bit timer is the same as the second number receiving inter-bit timer in type, and the first number receiving outgoing mode is the same as the second number receiving outgoing mode.
9. The apparatus of claim 8, wherein the receive outgoing call mode comprises one of a receive immediate outgoing call, a receive end plus dial # outgoing call, and a receive wait timeout outgoing call.
10. The apparatus of claim 8, wherein the comparison result is the first comparison result, and the conflict detection module determines that a conflict exists between a first number entry and the second number entry; the comparison result is the second comparison result, and the conflict detection module determines whether a conflict exists according to the inclusion relationship between the first number receiving range of the first number entry and the second number receiving range of the second number entry, the first number receiving and calling mode and the second number receiving and calling mode; the comparison result is the third comparison result, and the conflict detection module determines whether a conflict exists according to the first number receiving and calling mode and the second number receiving and calling mode; and if the comparison result is the fourth comparison result, the conflict detection module determines that no conflict exists between the first number entry and the second number entry.
11. The apparatus of claim 10, wherein the conflict detection module determines that the first number entry and the second number entry have a conflict when the comparison result is a second comparison result, and the first number receiving range and the second number receiving range have an inclusion relationship, and the first number receiving outgoing call mode or the second number receiving outgoing call mode is an immediate outgoing call.
12. The apparatus of claim 8, wherein the conflict detection module determines that there is a conflict between the first number entry and the second number entry when the comparison result is a third comparison result and the first receive-and-send mode or the second receive-and-send mode is an immediate-send.
13. A method for detecting a conflict of a number list, wherein the number list comprises at least two number list items, and wherein two-by-two detection is performed on all the number list items in the number list by the method for detecting a conflict of a number list item according to any one of claims 1 to 6 until all the number list items are traversed.
14. A device for detecting a conflict of a number list, the number list comprising at least two number list items, the device being configured to detect two-by-two of all number list items in the number list by the device for detecting a conflict of a number list item according to any one of claims 7 to 12 until all number list items are traversed.
CN201910238429.7A 2019-03-27 2019-03-27 Method and device for detecting conflict between number table item and number table to which number table item belongs Active CN109889544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910238429.7A CN109889544B (en) 2019-03-27 2019-03-27 Method and device for detecting conflict between number table item and number table to which number table item belongs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910238429.7A CN109889544B (en) 2019-03-27 2019-03-27 Method and device for detecting conflict between number table item and number table to which number table item belongs

Publications (2)

Publication Number Publication Date
CN109889544A CN109889544A (en) 2019-06-14
CN109889544B true CN109889544B (en) 2021-04-06

Family

ID=66934791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910238429.7A Active CN109889544B (en) 2019-03-27 2019-03-27 Method and device for detecting conflict between number table item and number table to which number table item belongs

Country Status (1)

Country Link
CN (1) CN109889544B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831211A (en) * 2012-08-14 2012-12-19 中山大学 Data sheet migration method based on sheet relation analysis
CN102880724A (en) * 2012-10-23 2013-01-16 盛科网络(苏州)有限公司 Method and system for processing Hash collision
CN102905002A (en) * 2012-10-31 2013-01-30 广东欧珀移动通信有限公司 Method and system for automatically combining contact items
CN103442135A (en) * 2013-08-19 2013-12-11 惠州Tcl移动通信有限公司 Processing method for merging contact items and eliminating duplication and touch control terminal
CN103795644A (en) * 2014-01-27 2014-05-14 福建星网锐捷网络有限公司 Strategy table entry collocation method, device and system
CN104993985A (en) * 2015-06-10 2015-10-21 苏州工业园区服务外包职业学院 Method for adaptively calibrating number table rule of access gateway equipment
US9736296B2 (en) * 2011-06-30 2017-08-15 World Emergency Network—Nevada, Ltd. Attaching multiple phone lines to a single mobile or landline phone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9736296B2 (en) * 2011-06-30 2017-08-15 World Emergency Network—Nevada, Ltd. Attaching multiple phone lines to a single mobile or landline phone
CN102831211A (en) * 2012-08-14 2012-12-19 中山大学 Data sheet migration method based on sheet relation analysis
CN102880724A (en) * 2012-10-23 2013-01-16 盛科网络(苏州)有限公司 Method and system for processing Hash collision
CN102905002A (en) * 2012-10-31 2013-01-30 广东欧珀移动通信有限公司 Method and system for automatically combining contact items
CN103442135A (en) * 2013-08-19 2013-12-11 惠州Tcl移动通信有限公司 Processing method for merging contact items and eliminating duplication and touch control terminal
CN103795644A (en) * 2014-01-27 2014-05-14 福建星网锐捷网络有限公司 Strategy table entry collocation method, device and system
CN104993985A (en) * 2015-06-10 2015-10-21 苏州工业园区服务外包职业学院 Method for adaptively calibrating number table rule of access gateway equipment

Also Published As

Publication number Publication date
CN109889544A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN101171809B (en) Method and system for transmitting a multicast stream in data exchange network
US7697924B2 (en) Method and apparatus for cost optimization of cellular networks indication
CN109803061A (en) Building gate control system and its communication means, gate inhibition's outdoor unit
US6307845B1 (en) Processing packet-switched voice calls directed to a mobile unit operating in circuit-switched mode
CN106455060A (en) Calling method and apparatus, terminal and core network system
CN102595645A (en) Call processing telecommunication system and methods thereof in a wifi network
CN105978775A (en) Speech control system and speech control method
CN105959934A (en) Repeated network access identification method and system
JPH03268682A (en) Facsimile equipment
CN105847565A (en) Emergency communication number determination method and device
CN104601552A (en) Communication method between private network wireless systems, IP enterprise switch and call terminal
US20020071527A1 (en) Voice label processing apparatus and method
CN103155511A (en) Connection control with b2bua located behind nat gateway
CN109889544B (en) Method and device for detecting conflict between number table item and number table to which number table item belongs
CN101969400B (en) Method for matching number of voice over internet protocol terminal equipment
CN101631142A (en) Sip server and communication system
CN101360153A (en) Interface apparatus, exchange apparatus with the apparatus, and control method for use in the apparatus
JP4633612B2 (en) Telephone number management apparatus and telephone number conversion method
CN109995778B (en) Method and system for calibrating number list by intelligent access gateway
CN105282822A (en) Method and device for connecting with encrypted hot spots based on terminal SIM card
CN109831568B (en) Method and system for configuring number list for intelligent access gateway
AU746289B2 (en) An intelligent network with translation capabilities
US20070250579A1 (en) Method and apparatus for presence indication of cellular telephones
CN101163070B (en) Method of implementing the third party logon procedure in IP multimedia subsystem
CN106330781B (en) Method, device and switch for separating protocol control and forwarding link of stacking system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant