Determination method, determination device, and computer program
Patent Information
- Application Number
- JP2024051984
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2024-12-19
- Estimated Expiration
- 2044-03-27
AI Technical Summary
【0010】 本発明により、従来行われている手法とは異なる手法にて、調査対象電話番号が加入契約のある有効な電話番号であるか否か判定することを可能にすることが可能となる。
Smart Images

Figure 0007602759000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a determination method, a determination device, and a computer program. [Background technology]
[0002] Conventionally, there have been used techniques for determining the validity of a telephone line to which a telephone number is assigned. For example, in the technique disclosed in Patent Document 1, an INVITE message is first sent to a SIP server of a communication line carrier. At this time, an irregular attribute name is described in the codec specification item in the SDP description of the INVITE message. Then, based on the response message sent from the SIP server, it is determined whether the IP telephone number to be investigated is a valid telephone number with a subscription contract. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 4633192 Summary of the Invention [Problem to be solved by the invention]
[0004] However, as the network configuration of communication line carriers changes, there are cases where the conventional methods are no longer able to make correct judgments. The present invention has been made in consideration of the above-mentioned circumstances, and provides a technology that makes it possible to determine whether a telephone number to be investigated is a valid telephone number with a subscription contract, using a method different from the conventional method. [Means for solving the problem]
[0005] One aspect of the present invention is a determination method comprising: a transmission step of transmitting to a first IP network transmission information indicating that a call will be made to a telephone number to be investigated, the transmission information being responded to with response information including an error message from a first IP network that uses an optical fiber line as an access line or a second IP network that is connected to the first IP network and operated by a communications line carrier different from the first IP network; and a determination step of determining, based on the response information received from the first IP network, whether the telephone number is a telephone number that has been made valid by subscribing to the second IP network, or an invalid telephone number that has not been subscribed to in the second IP network.
[0006] One aspect of the present invention is the above-mentioned determination method, wherein in the determining step, the determination is further made based on a time required from when the transmission information is transmitted until when the response information is received.
[0007] One aspect of the present invention is the above-mentioned determination method, in which, in the determination step, if the time is longer than a predetermined time, it is determined that the telephone number is a valid telephone number, and if the time is shorter than a predetermined time, it is determined that the telephone number is an invalid telephone number.
[0008] One aspect of the present invention is a determination device that includes a communication control unit that transmits transmission information to a first IP network indicating that a call will be made to a telephone number that is to be investigated, and in which response information including an error message is returned from a first IP network that uses an optical fiber line as an access line or a second IP network that is connected to the first IP network and operated by a communications line carrier different from the first IP network, and a determination unit that determines, based on the response information received from the first IP network, whether the telephone number is a telephone number that has been made valid by subscribing to the second IP network, or an invalid telephone number that has not been subscribed to the second IP network.
[0009] One aspect of the present invention is a computer program for causing a computer to function as a determination device that includes a communication control unit that transmits to a first IP network transmission information indicating that a call will be made to a telephone number that is to be investigated, and which is responded with response information including an error message from a first IP network that uses an optical fiber line as an access line or a second IP network that is connected to the first IP network and operated by a communications line carrier different from the first IP network, and a determination unit that determines, based on the response information received from the first IP network, whether the telephone number is a telephone number that has been made valid by subscribing to the second IP network, or a telephone number that has not been subscribed to the second IP network and is invalid. Effect of the Invention
[0010] According to the present invention, it is possible to determine whether or not a telephone number to be investigated is a valid telephone number with a subscription contract by using a method different from the conventional method. [Brief description of the drawings]
[0011] [Figure 1] 1 is a schematic block diagram showing an example of connections of a determination device 50 according to the present invention. [Diagram 2] 2 is a schematic block diagram showing a specific example of the functional configuration of a determination device 50. FIG. [Diagram 3] 13 is a flowchart showing a specific example of the flow of processing by the determination device 50. [Figure 4] 11 is a sequence chart showing a specific example of the flow of communication between the determination device 50 and devices in the first IP network 10. [Diagram 5] 11 is a sequence chart showing a specific example of the flow of communication between the determination device 50 and devices in the first IP network 10. [Figure 6] FIG. 2 is a diagram illustrating an outline of a hardware configuration example of an information processing device 90 applied to the present embodiment. [Figure 7] 13 is a flowchart showing a specific example of the flow of processing by the determination device 50 in the second embodiment. [Figure 8]10 is a sequence chart showing a specific example of a flow of communication between a determination device 50 and a device of a first IP network 10 in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] [First embodiment] A first embodiment of a determination device of the present invention will be described. FIG. 1 is a schematic block diagram showing a connection example of the determination device 50 of the present invention. The determination device 50 is a device that determines whether or not a telephone number to be investigated (investigated telephone number) is a valid telephone number with a subscription contract. The determination device 50 is connected to the first IP network 10, and a valid telephone number with a subscription contract is assigned to the first IP network 10. In the following description, a specific example will be described in which the investigated telephone number is a telephone number originally used in the first IP network 10. In other words, in a case where a telephone number range that does not overlap is assigned to a plurality of communication line carriers by the Ministry of Internal Affairs and Communications of Japan as a telephone number available for each communication line carrier, a telephone number assigned to the communication line carrier of the first IP network 10 is the investigated telephone number. Note that, due to a mechanism such as fixed telephone number portability, even if a telephone number is assigned to the communication line carrier of the first IP network 10 by the Ministry of Internal Affairs and Communications, the telephone number may be placed under the management of another communication line carrier's network (second IP network 30) and become valid. Furthermore, the above-mentioned specific example in which the survey target telephone number is a telephone number used in the first IP network 10 is merely one example, and a telephone number to be used in the PSTN network 20 or the second IP network 30 may be used as the survey target telephone number.
[0013] The first IP network 10 is a network that provides IP telephone services to subscribers. The first IP network 10 may use an optical line as an access line. The first IP network 10 may be configured using, for example, an IMS (IP Multimedia Subsystem). The first IP network 10 is connected to a PSTN (Public Switched Telephone Network) 20 via a first gateway 12. The PSTN network 20 is a fixed-line telephone network (public switched telephone network) that is managed by a specific entity (for example, a company in the NTT (registered trademark) group) and is connected to an ISDN dedicated terminal or an analog subscriber line terminal. The first gateway 12 may be configured using, for example, a conversion device (Media Gateway: MG). The first IP network 10 is also connected to a second IP network 30 via a second gateway 13. The second IP network 30 is a network that provides IP telephone services to subscribers. The first IP network 10 and the PSTN network 20 may be operated by the same communication line operator or by different communication line operators (communication carriers). The second IP network 30 is a network operated by a communication line carrier different from that of the first IP network 10. The second gateway 13 may be configured using, for example, a relay device (Gateway Router: GWR). More specifically, the first IP network 10 and the second IP network 30 may be connected via the second gateway 13 and an IP-POI.
[0014] A plurality of second IP networks 30 may be provided. In this case, the plurality of second IP networks 30 may be operated by different communication line carriers, or may be operated by the same communication line carrier. For example, a second IP network 30 operated by a communication line carrier A, a second IP network 30 operated by a communication line carrier B, and a second IP network 30 operated by a communication line carrier B may each be connected to the second gateway 13. In other words, any IP network that is operated by a communication line carrier different from the first IP network 10 and is connected to the first IP network 10 and through which calls can be made may be included in the second IP network 30.
[0015] The first IP network 10, the PSTN network 20, and the second IP network 30 are connected to telephone devices 40 (40_1 to 40_3) of users who have subscribed to the respective networks. The telephone device 40 of each user is assigned a telephone number assigned by a communication line carrier when the user subscribes to the network. By using the telephone number, the user to whom the telephone number is assigned can connect to the network via the access line to which the user subscribes. In addition, by making a call to the telephone number from another telephone device 40, it is possible to make a call to the telephone device 40 of the user to whom the telephone number is assigned.
[0016] The first IP network 10 is provided with a voice communication control device 11, a first gateway 12, and a second gateway 13. The voice communication control device 11 is configured using a communicable information processing device. The voice communication control device 11 performs communication control processing for realizing at least a voice call between the communication devices 40. The voice communication control device 11 may be configured using a SIP server that performs processing according to a voice call protocol (for example, SIP: Session Initiation Protocol). In the following description, a case where the voice communication control device 11 is configured as a SIP server will be described as an example. The first gateway 12 is a communicable information processing device that relays communication between the first IP network 10 and the PSTN network 20. As described above, the first gateway 12 may be configured using, for example, a conversion device (MG). The second gateway 13 is a communicable information processing device that relays communication between the first IP network 10 and the second IP network 30. As described above, the second gateway 13 may be configured using, for example, a relay device (GWR).
[0017] The determination device 50 is a device that is connected to the first IP network 10 and determines the contract status of the survey target telephone number by making a call to the survey target telephone number. Specifically, the determination device 50 transmits a call signal to the survey target telephone number to the first IP network 10, receives a response signal from the first IP network 10, and determines the contract status based on the received response signal. The determination device 50 may be connected to the first IP network 10 via a device such as a GW device, an optical network unit (ONU), or an optical line terminal (OLT). FIG. 2 is a schematic block diagram showing a specific example of the functional configuration of the determination device 50. The determination device 50 is configured using information devices such as a personal computer, a tablet, and a dedicated device. The determination device 50 includes a communication unit 51, an input unit 52, an output unit 53, a storage unit 54, and a control unit 55.
[0018] The communication unit 51 is a communication device. The communication unit 51 may be configured as, for example, a network interface. The communication unit 51 performs data communication with other devices via a communication path according to the control of the control unit 55. The communication unit 51 may be a device that performs wireless communication or a device that performs wired communication. The communication unit 51 may be a communication interface for connecting to other devices so as to be able to perform data communication. For example, the communication unit 51 may obtain data from a storage device (hard disk device or semiconductor storage device) connected to the device itself or a device that reads data from a recording medium (CD-ROM drive, DVD drive, etc.), and may output data (for example, a determination result) to these.
[0019] The input unit 52 is configured using an existing input device such as a keyboard, a pointing device (mouse, tablet, etc.), a button, a touch panel, etc. The input unit 52 is operated by the user when inputting the user's instruction to the determination device 50. The input unit 52 may be an interface for connecting the input device to the determination device 50. In this case, the input unit 52 inputs an input signal generated in the input device according to the user's input to the determination device 50. The input unit 52 may be configured using a microphone and a voice recognition device. In this case, the input unit 52 acquires an acoustic signal generated by the user's speech, performs voice recognition on the words spoken by the user, and inputs character string information of the recognition result to the determination device 50. The voice recognition process may be executed by the control unit 55. The input unit 52 may be configured in any way as long as it is configured to input the user's instruction to the determination device 50. The input unit 52 may be used, for example, when inputting a survey target telephone number to the determination device 50.
[0020] The output unit 53 outputs information in a form that can be recognized by the user. The output unit 53 may be, for example, an image display device such as a liquid crystal display or an organic EL (Electro Luminescence) display. The output unit 53 may be an interface for connecting an image display device to the determination device 50. In this case, the output unit 53 generates a video signal for displaying image data and outputs the video signal to the image display device connected to the output unit 53. The output unit 53 may be a device for outputting sound such as a speaker. The output unit 53 may be an interface for connecting an audio output device such as a speaker or a headphone to the determination device 50. In this case, the output unit 53 generates an audio signal for reproducing audio data and outputs the audio signal to the audio output device connected to the output unit 53. The output unit 53 may be configured as a touch panel integrated with the input unit 52. The output unit 53 may be used, for example, when outputting the determination result of a specific survey target telephone number.
[0021] The storage unit 54 is configured using a storage device such as a magnetic hard disk device or a semiconductor storage device. The storage unit 54 stores data used by the control unit 55. The storage unit 54 stores data required when the control unit 55 performs processing. The storage unit 54 functions as, for example, a determination result storage unit 541.
[0022] The determination result storage unit 541 stores information indicating the determination result of each survey target phone number in the control unit 55. The determination result storage unit 541 stores, for example, a determination result indicating which of the following four states each survey target phone number is in. · A state in which there is a subscription contract in the first IP network 10 · A subscription contract in the PSTN network 20 · State where there is a subscription contract in the second IP network 30 -No subscription to any network
[0023] The control unit 55 is configured using a processor such as a CPU (Central Processing Unit) and a memory (main storage device). The control unit 55 functions as a communication control unit 551 and a determination unit 552 by the processor executing a program. All or part of the functions of the control unit 55 may be realized using hardware such as an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), or an FPGA (Field Programmable Gate Array). The above program may be recorded on a computer-readable recording medium. The computer-readable recording medium is, for example, a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, or a semiconductor storage device (for example, an SSD: Solid State Drive), or a storage device such as a hard disk or a semiconductor storage device built into a computer system. The above program may be transmitted via an electric communication line.
[0024] The control unit 55 may execute, for example, an application installed in its own device (the determination device 50). The control unit 55 operates according to the program of the application being executed.
[0025] The communication control unit 551 communicates with at least the devices of the first IP network 10 using a voice call protocol. In this embodiment, the communication control unit 551 is configured to be able to communicate with at least the communication devices in the first IP network 10 (for example, the voice communication control device 11, the first gateway 12, and the second gateway 13, etc.) according to the SIP communication protocol. The communication control unit 551 transmits transmission information (call signal) which is information indicating that a call is to be made to the survey target telephone number. For example, the transmission of the transmission information may be realized as a call process. However, the communication control unit 551 transmits transmission information such that response information including an error message is transmitted from the communication devices such as the voice communication control device 11 (SIP server), the first gateway 12, and the second gateway 13. It does not matter which device specifically generates and transmits the response information including the error message. At least, the response information including the error message may be generated and transmitted by any device as a response to the transmission information.
[0026] Such transmission information may be defined as information in which a setting is made such that a normal telephone call cannot be made, for example. The setting in which a normal telephone call cannot be made may be, for example, a setting in which voice is not transmitted or received, a setting in which voice is received but not transmitted, or a setting in which voice is transmitted but not received. The setting in which a normal telephone call cannot be made may be a setting in which a character or value that is not permitted to be used in the original regulations or rules is set as a parameter or argument. For example, the communication control unit 551 may generate an INVITE signal in which a setting is made such that a normal telephone call cannot be made as described above, among the signals transmitted to the voice communication control device 11, the first gateway 12, or the second gateway 13, and transmit the INVITE signal as the transmission information. There are multiple modes of the transmission process performed by the communication control unit 551 to investigate the telephone number to be investigated.
[0027] First, the first transmission mode will be described. In the first transmission mode, it is determined whether or not the survey target telephone number is a valid telephone number at least in the first IP network 10. In the first transmission mode, the communication control unit 551 transmits the first transmission information. The first transmission information may be set, for example, as follows. Specify AVPF (Extended RTP Profile) -Specify the recvonly attribute -Set the audio codec to PCMU-WB Of these, for example, only the AVPF may be designated.
[0028] More specifically, the SDP may be written as follows: v=0 o=- 1701059395 1701059396 IN IP4 192.168.47.119 s=- c=IN IP4 192.168.47.119 t=0 0 m=audio 5004 RTP / AVPF 0 a=rtpmap:0 PCMU-WB / 16000 a=recvonly
[0029] Next, the second transmission mode will be described. In the second transmission mode, it is determined whether or not the survey target telephone number is a valid telephone number at least in the PSTN network 20. In the second transmission mode, the communication control unit 551 transmits the second transmission information. The second transmission information passes through the voice communication control device 11 without returning any error response information, and reaches at least the first gateway 12 or the second gateway 13. The response information to the second transmission information is generated by a device other than the voice communication control device 11. In other words, it may be generated by the first gateway 12, the second gateway 13, or a communication device beyond that (for example, a device closer to another network than the first gateway 12 and the second gateway 13 in the first IP network 10, a device of the PSTN network 20, or a device of the second IP network 30). The second transmission information may be set, for example, as follows. Specify IPv6 -Set the audio codec to PCMU-WB Although only one of the above two settings may be performed, it is preferable to perform both.
[0030] More specifically, the SDP may be written as follows: v=0 o=- 1703127281 1703127282 IN IP6 2408:210:102:2f00:20c:29ff:feab:5 s=- c=IN IP6 2408:210:102:2f00:20c:29ff:feab:5 t=0 0 m=audio 5004 RTP / AVP 0 a=rtpmap:0 PCMU-WB / 16000 a=sendrecv
[0031] When the communication control unit 551 transmits the first transmission information, it receives response information transmitted as a response to the first transmission information from the voice communication control device 11. When the communication control unit 551 transmits the second transmission information, it receives response information to the second transmission information from the first gateway 12 or the second gateway 13.
[0032] The determination unit 552 executes a determination process for the survey target telephone number in the transmission information transmitted when the response information was obtained based on the response information received by the communication control unit 551. The determination process is a process for determining whether or not the survey target telephone number is a valid telephone number with a subscription contract. The determination process may determine which communication network the subscription contract is valid for.
[0033] When the response information to the first transmission information includes first information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is a valid telephone number subscribed to in the first IP network 10. When the response information to the first transmission information includes second information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is an invalid telephone number not subscribed to in the first IP network 10 (an invalid telephone number under the management of the first IP network 10). When the response information to the first transmission information includes third information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is not subscribed to in the first IP network 10 but is a telephone number under the management of another communication network. Specific examples of the first information to the third information are shown below.
[0034] First information: 488 (warning code: other than 302): First IP network 10 valid Second information: 404: Invalid Third information: 488 (warning code: 302): Under the control of another communication network
[0035] As described above, in the description of this embodiment, the telephone number used in the first IP network 10 is applied as the telephone number to be surveyed. Therefore, when a 404 response (second information) is obtained as response information to information transmitted to the telephone number to be surveyed, it can be determined that the telephone number is not valid in the first IP network 10 or in any other communication network.
[0036] When the third information is obtained in the response information to the first transmission information, the determination unit 552 instructs the communication control unit 551 to transmit the second transmission information. When the response information to the second transmission information includes fourth information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is a valid telephone number with a subscription contract in the PSTN network 20. When the response information to the second transmission information includes fifth information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is an invalid telephone number with no subscription contract in the PSTN network 20. When the response information to the second transmission information includes sixth information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is a telephone number with no subscription contract in the first IP network 10 and the PSTN network 20 but is under the management of another communication network (i.e., the second IP network 30). When the determination unit 552 determines that the response information to the first transmission information is "under the management of another communication network" and also determines that the response information to the second transmission information is "under the management of another communication network", it determines that the survey target telephone number is a valid telephone number with a subscription contract in the second IP network 30 (for example, a telephone number with a number portability contract). Specific examples of the fourth information to the sixth information are shown below.
[0037] Fourth information: 500: PSTN network 20 valid Fifth information: 404: Invalid Sixth Information: 488: Under the control of other networks
[0038] 3 is a flow chart showing a specific example of the process flow of the determination device 50. First, the communication control unit 551 transmits first transmission information for the survey target telephone number (step S101). After that, the communication control unit 551 receives response information (step S102). The determination unit 552 executes a determination process for the response information to the first transmission information (step S103). If the response information is not the third information (step S104-NO), the determination unit 552 records the determination result in the determination result storage unit 541 in association with the survey target telephone number (step S105).
[0039] On the other hand, if the response information is the third information, that is, if it is determined that the response information is under the management of another communication network (step S104-NO), the determination unit 552 instructs the communication control unit 551 to transmit the second transmission information. In this case, the communication control unit 551 transmits the second transmission information (step S106). Thereafter, the communication control unit 551 receives the response information (step S107). The determination unit 552 executes a determination process on the response information to the second transmission information (step S108).
[0040] If the response information is not the sixth information (step S109-NO), the judgment unit 552 records the judgment result in the judgment result storage unit 541 in association with the survey target telephone number (step S110). On the other hand, if the response information is the sixth information, that is, if it is determined that the survey target telephone number is under the management of another communication network (step S109-NO), the judgment unit 552 determines that the survey target telephone number is a valid telephone number with a subscription contract in the second IP network 30 (step S111). Then, the judgment unit 552 records the judgment result in the judgment result storage unit 541 in association with the survey target telephone number (step S112).
[0041] FIG. 4 is a sequence chart showing a specific example of the flow of communication between the determination device 50 and the device of the first IP network 10. FIG. 4 shows the process when the survey target telephone number is a valid telephone number in the first IP network 10. The communication control unit 551 of the determination device 50 transmits the first transmission information to the first IP network 10 (step S201). Response information to the first transmission information is transmitted from the first IP network 10 to the determination device 50 (step S202). The communication control unit 551 of the determination device 50 receives the response information from the first IP network 10 (step S203). The determination unit 552 of the determination device 50 executes a determination process on the received response information (step S204). In the case of FIG. 4, as described above, the survey target telephone number is a valid telephone number in the first IP network 10. Therefore, the second transmission information is not transmitted, and the determination result of the response information to the first transmission information is recorded in the determination result storage unit 541, and the process ends (step S205). However, the transmission of the second transmission information is not excluded, and the second transmission information may be transmitted.
[0042] Fig. 5 is a sequence chart showing a specific example of the flow of communication between the determination device 50 and a device of the first IP network 10. Fig. 5 shows the processing when the telephone number to be investigated is a telephone number valid in the second IP network 30. The processing from steps S201 to S204 is the same as in Fig. 4, so the explanation is omitted. In the case of Fig. 5, as described above, the telephone number to be investigated is a telephone number valid in the second IP network 30. Therefore, as a result of the processing of step S204, the determination unit 552 determines that the second transmission information is to be transmitted.
[0043] In response to this determination result, the communication control unit 551 transmits the second transmission information to the first IP network 10 (step S301). When the voice communication control device 11 receives the second transmission information, it relays the second transmission information to a communication device in the subsequent stage in the first IP network 10. Therefore, the first gateway 12 and the second gateway 13 in the first IP network 10 can receive the second transmission information even if they cannot receive the first transmission information. In this way, response information to the second transmission information is transmitted to the determination device 50 from a communication device other than the voice communication control device 11 in the first IP network 10 or a device in another network (PSTN network 20 or second IP network 30) (step S302). The communication control unit 551 of the determination device 50 receives the response information (step S303). The determination unit 552 of the determination device 50 executes a determination process on the received response information (step S304). In the case of FIG. 5, the telephone number to be investigated is a valid telephone number in the second IP network 30 as described above. The determination unit 552 records the determination result of the response information to the second transmission information in the determination result storage unit 541, and the process ends (step S305).
[0044] 6 is a diagram showing an outline of a hardware configuration example of an information processing device 90 applied to this embodiment. The information processing device 90 includes a processor 91, a main storage device 92, a communication interface 93, an auxiliary storage device 94, an input / output interface 95, and an internal bus 96. The processor 91, the main storage device 92, the communication interface 93, the auxiliary storage device 94, and the input / output interface 95 are connected to each other via the internal bus 96 so as to be able to communicate with each other. The information processing device 90 may be applied to, for example, a determination device 50. In this case, for example, the communication unit 51 may be configured using the communication interface 93. For example, the storage unit 54 may be configured using the auxiliary storage device 94. In addition, the control unit 55 may be configured using the processor 91 and the main storage device 92.
[0045] The determination device 50 configured in this manner can determine whether or not the telephone number being investigated is a valid telephone number with a subscription contract in the first IP network 10. Furthermore, the determination device 50 can determine whether or not the telephone number is a valid telephone number with a subscription contract in the PSTN network 20 in which a metal line is used as an access line. Furthermore, the determination device 50 can determine whether or not the telephone number is a valid telephone number with a subscription contract in the second IP network 30 operated by a carrier different from the first IP network 10.
[0046] [Second embodiment] Next, a second embodiment of the determination device of the present invention will be described. In the second embodiment of the determination device, the operation of the control unit 55 is mainly different from that of the first embodiment of the determination device, and other configurations are the same as those of the first embodiment described above. Below, only the differences between the second embodiment and the first embodiment and related configurations will be described.
[0047] In the second embodiment, the communication control unit 551 is configured to be able to communicate with at least the communication devices in the first IP network 10 (e.g., the voice communication control device 11, the first gateway 12, and the second gateway 13, etc.) according to the SIP communication protocol. In the second embodiment, a mobile phone number may be used as the survey target telephone number. The communication control unit 551 transmits transmission information (call signal) which is information indicating that a call will be made to the survey target telephone number. For example, the transmission of the transmission information may be realized as a call process. However, the communication control unit 551 transmits transmission information such that response information including an error message is transmitted from the communication device in the first IP network 10. It does not matter which device specifically generates and transmits the response information including an error message. It is sufficient that at least the response information including an error message is generated and transmitted by any device as a response to the transmission information.
[0048] Such transmission information may be defined as information in which a setting is made such that a normal telephone call cannot be made, for example. The setting in which a normal telephone call cannot be made may be, for example, a setting in which voice is not transmitted or received, a setting in which voice is received but not transmitted, or a setting in which voice is transmitted but not received. The setting in which a normal telephone call cannot be made may be a setting in which a character or value that is not permitted to be used in the original regulations or rules is set as a parameter or argument. For example, the communication control unit 551 may generate an INVITE signal in which a setting is made such that a normal telephone call cannot be made as described above, among the signals transmitted to the first gateway 12 and the second gateway 13, and transmit the INVITE signal as the transmission information. There are multiple modes of the transmission process performed by the communication control unit 551 to investigate the telephone number to be investigated. The first transmission mode and the second transmission mode are as described in the first embodiment.
[0049] Here, the third transmission mode will be described. The communication control unit 551 in the second embodiment transmits third transmission information in the third transmission mode. The third transmission information passes through the voice communication control device 11 without returning any error response information, and reaches at least the first gateway 12 or the second gateway 13. The response information to the third transmission information is generated by a device other than the voice communication control device 11. In other words, it may be generated by the first gateway 12, the second gateway 13, or a communication device beyond that (for example, a device closer to other networks than the first gateway 12 and the second gateway 13 within the first IP network 10, or a device of the second IP network 30). The third transmission information may be set, for example, as follows. -Specify payload type as 96 (UEMCLIP) or 9 (PCMU)
[0050] More specifically, the SDP may be written as follows: v=0 o=- 1707179816 1707179817 IN IP4 192.168.1.103 s=- c=IN IP4 192.168.1.103 t=0 0 m=audio 5004 RTP / AVP 96 0 a=rtpmap:96 UEMCLIP / 8000 / 1 a=rtpmap:0 PCMU / 8000 a=sendrecv
[0051] After transmitting the third transmission information, the communication control unit 551 receives response information to the third transmission information from the second gateway 13.
[0052] The determination unit 552 executes a determination process for the survey target telephone number in the transmission information transmitted when the response information was obtained based on the response information received by the communication control unit 551. The determination process is a process for determining whether or not the survey target telephone number is a valid telephone number with a subscription contract. The determination process may determine which communication network the subscription contract is valid for.
[0053] When the response information to the third transmission information includes seventh information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is a valid telephone number with a subscription contract in the second IP network 30. When the response information to the third transmission information includes eighth information indicating predetermined content, the determination unit 552 determines that the survey target telephone number is an invalid telephone number with no subscription contract in the second IP network 30. Specific examples of the seventh to eighth information are shown below.
[0054] Seventh information: 180, 200: Second IP network 30 valid Eighth information: 404, 403 (mobile phone only): Second IP network 30 invalid
[0055] As described above, different content may be used as the eighth information when the surveyed telephone number is a mobile telephone number and when the surveyed telephone number is a landline telephone number. For example, when the surveyed telephone number is a landline telephone number, an error code of "404" may be used as the eighth information, and when the surveyed telephone number is a mobile telephone number, an error code of "403" may be used as the eighth information.
[0056] In addition, the determination unit 552 may determine whether the survey target telephone number is a valid telephone number with a subscription contract in the second IP network 30 based on not only the response information but also the length of time required from the transmission of the third transmission information to the reception of the response information. For example, if the time is longer than a predetermined length (for example, 1 second), the determination unit 552 may determine that the survey target telephone number is a valid telephone number with a subscription contract in the second IP network 30. For example, if the time is shorter than a predetermined length (for example, 1 second), the determination unit 552 may determine that the survey target telephone number is an invalid telephone number with no subscription contract in the second IP network 30. Such a determination may be used, for example, when the survey target telephone number is a mobile phone number. In such a process, the communication control unit 551 may perform a process of disconnecting the call (for example, sending CANCEL) when the predetermined length has elapsed. This configuration makes it possible to prevent a call from being received by the telephone device 40 corresponding to the survey target telephone number.
[0057] The determination unit 552 makes a determination based on both the length of time and the content of the received response information (whether it is the seventh information or the eighth information) as described above. For example, if the content of the received response information is the seventh information and the time is longer than a predetermined length (for example, 1 second), it may be determined that the survey target telephone number is a valid telephone number with a subscription contract in the second IP network 30. For example, if the content of the received response information is the eighth information and the time is shorter than a predetermined length (for example, 1 second), it may be determined that the survey target telephone number is an invalid telephone number with no subscription contract in the second IP network 30.
[0058] 7 is a flow chart showing a specific example of the process flow of the determination device 50 in the second embodiment. First, the communication control unit 551 transmits third transmission information to the first IP network 10 regarding the survey target telephone number (step S401). After that, the communication control unit 551 receives response information from the first IP network 10 (step S402). The determination unit 552 executes a determination process on the response information to the third transmission information (step S403). The determination unit 552 records the determination result in the determination result storage unit 541 in association with the survey target telephone number (step S404).
[0059] 8 is a sequence chart showing a specific example of a communication flow between the determination device 50 and a device of the first IP network 10 in the second embodiment. The communication control unit 551 of the determination device 50 transmits third transmission information to the first IP network 10 (step S501). Response information to the third transmission information is transmitted from the first IP network 10 to the determination device 50 (step S502). The communication control unit 551 of the determination device 50 receives the response information from the first IP network 10 (step S503). The determination unit 552 of the determination device 50 executes a determination process on the received response information (step S504). The determination unit 552 records the determination result of the response information to the third transmission information in the determination result storage unit 541, and the process ends (step S505).
[0060] (Modification) The determination device 50 may be implemented using a plurality of information processing devices. For example, the determination device 50 may be implemented using a device such as a cloud. For example, in the determination device 50, the storage unit 54 and the control unit 55 may be implemented in different information processing devices. For example, the storage unit 54 of the determination device 50 may be distributed and implemented in a plurality of information processing devices.
[0061] The order of processing the first transmission mode and the second transmission mode may be as follows. For example, the history of past judgment results is recorded in the judgment result storage unit 541, and for a survey target telephone number that was judged in the previous judgment to be in a state of having a subscription contract with the first IP network 10, the first transmission mode may be executed first, and the second transmission mode may be executed thereafter. On the other hand, for a survey target telephone number that was judged in the previous judgment to be in a state other than a state of having a subscription contract with the first IP network 10, the second transmission mode may be executed first, and the first transmission mode may be executed thereafter. By configuring in this way, it is possible to keep the number of times transmission information is transmitted (the number of calls) low.
[0062] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and designs that do not deviate from the gist of the present invention are also included. [Explanation of symbols]
[0063] 10...first IP network, 11...voice communication control device, 12...first gateway, 13...second gateway, 20...PSTN network, 30...second IP network, 40...communication device, 50...determination device, 51...communication unit, 52...input unit, 53...output unit, 54...storage unit, 541...determination result storage unit, 55...control unit, 551...communication control unit, 552...determination unit
Claims
1. a transmitting step of transmitting transmission information to the first IP network, the transmission information indicating that a call is to be made to the telephone number of the mobile phone to be investigated, the transmission information being responded to with response information including an error message from a first IP network using an optical fiber line as an access line or a second IP network connected to the first IP network and operated by a communications line carrier different from the first IP network; a determining step of determining, based on response information received from the first IP network, whether the telephone number is a telephone number that is valid by subscribing to the second IP network, or whether the telephone number is an invalid telephone number that is not subscribed to in the second IP network; having In the determining step, in addition to the response information, the determination is made based on a time required from transmitting the transmission information until the response information is received, In the determination step, the telephone number is determined to be a valid telephone number if the time is longer than a predetermined time, and is determined to be an invalid telephone number if the time is shorter than a predetermined time.
2. a communication control unit that transmits to the first IP network transmission information indicating that a call is to be made to the telephone number of the mobile phone to be surveyed, the transmission information being responded to with response information including an error message from a first IP network using an optical fiber line as an access line or a second IP network connected to the first IP network and operated by a communication line carrier different from the first IP network; a determination unit that determines, based on response information received from the first IP network, whether the telephone number is a telephone number that has been made valid by subscribing to the second IP network, or whether the telephone number is an invalid telephone number that has not been subscribed to the second IP network; Equipped with The determination unit makes a determination based on a time required from transmitting the transmission information until receiving the response information in addition to the response information, The determination unit determines that the telephone number is a valid telephone number when the time is longer than a predetermined time, and determines that the telephone number is an invalid telephone number when the time is shorter than a predetermined time.
3. a communication control unit that transmits to the first IP network transmission information indicating that a call is to be made to the telephone number of the mobile phone to be surveyed, the transmission information being responded to with response information including an error message from a first IP network using an optical fiber line as an access line or a second IP network connected to the first IP network and operated by a communication line carrier different from the first IP network; a determination unit that determines, based on response information received from the first IP network, whether the telephone number is a telephone number that has been made valid by subscribing to the second IP network, or whether the telephone number is an invalid telephone number that has not been subscribed to the second IP network, The determination unit makes a determination based on a time required from transmitting the transmission information until receiving the response information in addition to the response information, A computer program for causing a computer to function as a judgment device in which the judgment unit judges that the telephone number is a valid telephone number if the time is longer than a predetermined time, and judges that the telephone number is an invalid telephone number if the time is shorter than a predetermined time.
Citation Information
Patent Citations
Communication device
JP2013219523A
Telephone number investigation device, method, program, and information provision system
JP2017212730A
Telephone number investigation device, method, program, and information provision system
JP6889507B1
A method or computer program for checking the validity or invalidity of IP phone numbers using an internet-connected computer.
JP4633192B1
JPP6889507B
