Terminal digit map determination method and device, electronic device and storage medium

By monitoring and matching user dialing behavior, the terminal number chart is updated to adapt to dialing rules of different user categories, the problem of delayed dialing time for government and enterprise users in the prior art is solved, and the dialing awareness and configuration intelligence are improved.

CN114244815BActive Publication Date: 2024-11-05CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111544338.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-11-05
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

The existing landline terminal number diagram based on SIP protocol cannot meet the dialing needs of government and enterprise users, especially virtual networks and IVPN users, resulting in a long dialing delay and unacceptable.

Method used

By monitoring the dialing behavior of the target user, determining the number to be identified, and matching the pre-configured number library with the characteristic number, determining the user category, and updating the terminal number map to adapt to the dialing rules of different user categories.

Benefits of technology

It improves the user's awareness of dial-up connection, reduces the development funding of IT development processes, reduces the workload of installation and maintenance personnel to modify user configurations, and improves the intelligence of terminal number diagram configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114244815B_ABST
    Figure CN114244815B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a terminal digit map determination method and device, an electronic device, and a computer-readable storage medium, and relates to the field of voice communication technology, and can be applied to the scenario of automatically optimizing the preset digit map corresponding to the voice terminal. The method includes: monitoring the dialing behavior of the target user, determining the number to be identified corresponding to the target user; obtaining a pre-configured number digit map library, matching the number to be identified with the feature number in the number digit map library; determining the user category of the target user based on the obtained number matching result; and updating the current terminal digit map corresponding to the target user terminal based on the user category. The present disclosure automatically and quickly optimizes the terminal digit map of the target user terminal by learning the user's dialing behavior, and flexibly meets the dialing methods of different users, effectively solving the problem that the preset digit map cannot well meet the user's continuous perception of dialing.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rapid development of network technology, fixed-line voice users are migrating to Internet Protocol (IP) networks on a large scale, among which fixed-line terminal users using Session Initialization Protocol (SIP) have formed a large scale. Fixed-line based on SIP will gradually penetrate into government and enterprise users. Since there are a large number of virtual network and Integrated Virtual Private Network (IVPN) users among government and enterprise customers, the dialing rules of such users are completely different from those of ordinary home users.

[0003] If the universal digit map fixed in the SIP terminal is used, it will have a great impact on the perception of virtual network and IVPN users, and the connection delay will be long, especially when the public switched telephone network (PSTN) is cut off and connected to the IP multimedia system (IMS) or the virtual network of the soft switch network, which IVPN users cannot accept.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a terminal digit map determination method, a terminal digit map determination device, an electronic device and a computer-readable storage medium, thereby at least to a certain extent overcoming the problem that the use of preset terminal digit maps cannot meet the dialing requirements and perceptions of different users.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present invention.

[0007] According to a first aspect of the present disclosure, a terminal digit map determination method is provided, comprising: monitoring the dialing behavior of a target user to determine a to-be-identified number corresponding to the target user; obtaining a pre-configured number digit map library to match the to-be-identified number with a feature number in the number digit map library; determining a user category of the target user based on the obtained number matching result; and updating a current terminal digit map corresponding to the target user terminal based on the user category.

[0008] In an exemplary embodiment of the present disclosure, the above method also includes: determining multiple candidate user categories and obtaining number coding rules; determining a corresponding category feature number for each of the candidate user categories according to the number coding rules; determining a terminal digit map corresponding to each of the category feature numbers, and generating a number digit map library based on the multiple category feature numbers and their corresponding terminal digit maps.

[0009] In an exemplary embodiment of the present disclosure, the candidate user categories include ordinary users and virtual users; determining a corresponding category feature number for each of the candidate user categories according to the number coding rule includes: generating an ordinary feature code corresponding to the ordinary user according to the number coding rule; determining a virtual prefix code and a virtual network code corresponding to the virtual user according to the number coding rule; and generating a virtual feature code corresponding to the virtual user according to the virtual prefix code and the virtual network code.

[0010] In an exemplary embodiment of the present disclosure, the virtual prefix code includes an external prefix code; generating a virtual feature code corresponding to the virtual user according to the virtual prefix code and the virtual network code, including: determining a dialing range corresponding to the virtual user; the dialing range includes an inside of a target network and an outside of a target network; determining an intra-group number length corresponding to the inside of the target network according to the number coding rule; generating an internal virtual feature code according to the intra-group number length; determining an external prefix code corresponding to the outside of the target network according to the number coding rule, and generating an external virtual feature code based on the external prefix code.

[0011] In an exemplary embodiment of the present disclosure, the number of numbers to be identified is multiple, and the user category of the target user is determined according to the obtained number matching result, including: if the number matching result contains both internal virtual feature codes and external virtual feature codes, the user category is determined as a virtual user; if the number matching result contains a first specified number of internal virtual feature codes, the user category is determined as a virtual user; if the number matching result contains a second specified number of ordinary feature codes, the user category is determined as an ordinary user.

[0012] In an exemplary embodiment of the present disclosure, updating a current terminal digit map corresponding to a target user terminal based on the user category includes: if the user category is the virtual user, determining the attributes of the number to be identified corresponding to the target user; the attributes of the number to be identified include an external prefix code and an internal number length; determining a target terminal digit map corresponding to the target user terminal from the number digit map library according to the external prefix code and the internal number length; and updating the current terminal digit map to the target terminal digit map through a digit map update operation.

[0013] In an exemplary embodiment of the present disclosure, updating the current terminal digit map corresponding to the target user terminal based on the user category also includes: if the user category is an ordinary user, using the ordinary terminal digit map as the updated target terminal digit map; if the current terminal digit map is a virtual terminal digit map and a second specified number of ordinary feature codes are not detected, using the virtual terminal digit map as the target terminal digit map.

[0014] According to a second aspect of the present disclosure, a terminal digit map determination device is provided, comprising: a number determination module, used to monitor the dialing behavior of a target user and determine a to-be-identified number corresponding to the target user; a number matching module, used to obtain a pre-configured number digit map library and match the to-be-identified number with a feature number in the number digit map library; a category determination module, used to determine the user category of the target user according to the obtained number matching result; and a digit map update module, used to update a current terminal digit map corresponding to the target user terminal based on the user category.

[0015] In an exemplary embodiment of the present disclosure, the terminal digit map determination device also includes a number digit map library generation module, which is used to determine multiple candidate user categories and obtain number coding rules; determine a corresponding category feature number for each of the candidate user categories according to the number coding rules; determine a terminal digit map corresponding to each of the category feature numbers, and generate a number digit map library based on the multiple category feature numbers and their corresponding terminal digit maps.

[0016] In an exemplary embodiment of the present disclosure, the candidate user categories include ordinary users and virtual users; the number library generation module also includes a feature code generation unit, which is used to generate an ordinary feature code corresponding to the ordinary user according to the number coding rule; determine the virtual prefix code and virtual network code corresponding to the virtual user according to the number coding rule; and generate a virtual feature code corresponding to the virtual user according to the virtual prefix code and the virtual network code.

[0017] In an exemplary embodiment of the present disclosure, the virtual prefix code includes an external prefix code; the feature code generation unit includes a feature code generation subunit, which is used to determine the dialing range corresponding to the virtual user; the dialing range includes the inside of the target network and the outside of the target network; the length of the number in the group corresponding to the inside of the target network is determined according to the number encoding rule; the internal virtual feature code is generated according to the length of the number in the group; the external prefix code corresponding to the outside of the target network is determined according to the number encoding rule, and the external virtual feature code is generated based on the external prefix code.

[0018] In an exemplary embodiment of the present disclosure, the number of numbers to be identified is multiple, and the category determination module includes a category determination unit, which is used to determine the user category as a virtual user if the number matching result contains both an internal virtual feature code and an external virtual feature code; if the number matching result contains a first specified number of internal virtual feature codes, the user category is determined as a virtual user; if the number matching result contains a second specified number of ordinary feature codes, the user category is determined as an ordinary user.

[0019] In an exemplary embodiment of the present disclosure, a digit map update module includes a first digit map update unit, which is used to determine the attributes of the number to be identified corresponding to the target user if the user category is the virtual user; the attributes of the number to be identified include an external prefix code and an internal number length; according to the external prefix code and the internal number length, determine the target terminal digit map corresponding to the target user terminal from the number digit map library; and update the current terminal digit map to the target terminal digit map through a digit map update operation.

[0020] In an exemplary embodiment of the present disclosure, the digit map update module further includes a second digit map update unit, which is used to use the ordinary terminal digit map as the updated target terminal digit map if the user category is an ordinary user; if the current terminal digit map is a virtual terminal digit map and a second specified number of ordinary feature codes are not detected, then use the virtual terminal digit map as the target terminal digit map.

[0021] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, a terminal digit map determination method according to any one of the above items is implemented.

[0022] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the terminal digit map determination method according to any one of the above items is implemented.

[0023] The technical solution provided by the present disclosure may have the following beneficial effects:

[0024] The terminal digit map determination method in the exemplary embodiment of the present disclosure, on the one hand, matches the to-be-identified numbers in the user's dialing behavior with the number digit map library by learning the user's dialing behavior, and can adaptively optimize the terminal digit map according to the matching result to meet the dialing rules of different categories of users and improve the user's dialing connection perception. On the other hand, by adaptively optimizing the terminal digit map, the development expenses of the IT development process can be greatly reduced, fundamentally reducing the workload of installation and maintenance personnel in modifying user configurations.

[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0027] Figure 1 A flowchart of a terminal digit map determination method according to an exemplary embodiment of the present disclosure is schematically shown;

[0028] Figure 2 Schematically shows a state transition diagram of an automated current terminal number diagram according to an exemplary embodiment of the present disclosure;

[0029] Figure 3 A flowchart of constructing a number library according to an exemplary embodiment of the present disclosure is schematically shown;

[0030] Figure 4 A flowchart of generating category feature codes corresponding to different user categories according to number coding rules according to an exemplary embodiment of the present disclosure is schematically shown;

[0031] Figure 5 A flowchart of determining a user category of a target user according to an exemplary embodiment of the present disclosure is schematically shown;

[0032] Figure 6 A block diagram schematically shows a terminal digit map determining device according to an exemplary embodiment of the present disclosure;

[0033] Figure 7 A block diagram schematically shows an electronic device according to an exemplary embodiment of the present disclosure;

[0034] Figure 8 A schematic diagram of a computer-readable storage medium according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0036] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known structures, methods, devices, implementations, materials or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or these functional entities or parts of functional entities may be implemented in one or more software hardened modules, or these functional entities may be implemented in different networks and / or processor devices and / or microcontroller devices.

[0038] At present, the digit map of the terminal based on the SIP protocol can only be fixed in the terminal, while the user digit map based on the H.248 protocol is issued from the core network through the protocol, which can flexibly meet the needs of different users. Based on the problems existing in the SIP terminal digit map configuration, some solutions are to issue the virtual network digit map through the Integrated Terminal Management System (ITMS) according to the user's virtual network attributes, such as the group access code and the short number length. However, the disadvantage of this solution is that the IT development is large, the process is relatively complicated, and the virtual network user dialing rules are complicated. The user's group access code and short number length are very complicated. Once the IT system digit map is issued incorrectly, a long dialing delay will be generated, which is difficult to meet the user's dialing needs.

[0039] Based on this, in this example embodiment, a terminal digit map determination method is first provided. The terminal digit map determination method of the present disclosure can be implemented using a server, or the method described in the present disclosure can be implemented using a terminal device, wherein the terminals described in the present disclosure may include mobile terminals such as mobile phones, tablet computers, laptop computers, personal digital assistants (PDAs), and fixed terminals such as desktop computers. Figure 1The following is a schematic diagram showing a process flow of a method for determining a terminal digit map according to some embodiments of the present disclosure. Figure 1 , the terminal digit map determination method may include the following steps:

[0040] Step S110, monitoring the dialing behavior of the target user, and determining the to-be-identified number corresponding to the target user.

[0041] Step S120, obtaining a pre-configured number library, and matching the number to be identified with the characteristic number in the number library.

[0042] Step S130: determining the user category of the target user according to the obtained number matching result.

[0043] Step S140: updating the current terminal digit map corresponding to the target user terminal based on the user category.

[0044] According to the terminal digit map determination method in this example embodiment, on the one hand, by learning the user's dialing behavior, the number to be identified in the user's dialing behavior is matched with the number digit map library, and the terminal digit map can be adaptively optimized according to the matching result to meet the dialing rules of different categories of users and improve the user's dial-up connection perception. On the other hand, by adaptively optimizing the terminal digit map, the development expenses of the IT development process can be greatly reduced, fundamentally reducing the workload of installation and maintenance personnel in modifying user configurations.

[0045] The terminal digit map determination method in this exemplary embodiment will be further described below.

[0046] In step S110, the dialing behavior of the target user is monitored to determine the to-be-identified number corresponding to the target user.

[0047] In some exemplary embodiments of the present disclosure, the target user may be a user who performs a dialing operation through a target user terminal to generate a dialing behavior. The target user terminal may be a terminal used by the user to perform the dialing behavior, for example, the target user terminal may be a voice terminal. The dialing behavior may be an act of the target user dialing a number through the user terminal. The number to be identified may be a connected number determined through the dialing behavior.

[0048] refer to Figure 2 , Figure 2The state transition diagram of the automated current terminal digit map according to an exemplary embodiment of the present disclosure is schematically shown. In step S210, the ordinary terminal digit map is started after the terminal is powered on for the first time. For the current terminal digit map of the target user terminal, when the terminal is powered on for the first time, the initialization digit map can be configured as the ordinary terminal digit map used by ordinary users. In step S220, the number to be identified is determined according to the dialing behavior. Specifically, after the terminal is powered on, the dialing behavior of the target user can be monitored, and the number successfully dialed by the target user through the dialing behavior is used as the number to be identified. For example, the standard for determining the number to be identified can be whether a core network 180 message is received. If a core network 180 message is received, it can be considered that the dialed number is successfully connected, and the dialed number that receives the core network 180 message is used as the number to be identified. In step S230, if the target user does not dial successfully, the current terminal digit map continues to use the ordinary terminal digit map, and the terminal maintains the detection function.

[0049] In step S120, a pre-configured number library is obtained, and the number to be identified is matched with the characteristic number in the number library.

[0050] In some exemplary embodiments of the present disclosure, the number digit map library may be a database composed of characteristic numbers and corresponding terminal digit maps, and the characteristic numbers in the number database all have corresponding terminal digit maps. The characteristic number may be a number with a certain coding rule, for example, the characteristic number may include a mobile phone number, a landline number, etc.

[0051] When matching and identifying the number to be identified, it can be done through a pre-configured number digit library, which contains characteristic numbers, terminal digit maps, and the corresponding relationship between the two. The pre-configured number digit library is obtained, the number to be identified is compared and matched with the characteristic numbers in the number digit library, and the corresponding matching result is determined.

[0052] In an exemplary embodiment of the present disclosure, a plurality of candidate user categories are determined, and a number coding rule is obtained; a corresponding category feature number is determined for each candidate user category according to the number coding rule; a terminal digit map corresponding to each category feature number is determined, and a number digit map library is generated according to the plurality of category feature numbers and their corresponding terminal digit maps.

[0053] The candidate user category may be a plurality of different user categories that are preset, for example, the candidate user category may include ordinary users and virtual users. The number coding rule may be a coding rule used to define the feature number. The category feature number may be a feature number corresponding to different user categories, and different category feature numbers have their own coding features. The terminal digit map may be a pre-configured digit map, and the terminal digit map may be sent to the core network after matching the number dialed by the target user.

[0054] refer to Figure 3 , Figure 3 The flowchart of constructing a number library according to an exemplary embodiment of the present disclosure is schematically shown. In step S310, multiple candidate user categories are determined, and number coding rules are obtained. In the voice communication application scenario, taking the fixed-line users in the current network as an example, fixed-line users can be strictly divided into two categories: ordinary users and virtual network users based on dialing behavior, that is, there is no situation that is neither an ordinary user nor a virtual network user. Therefore, in this scenario, the candidate user categories can be divided into two categories: ordinary users and virtual network users (i.e., virtual users). After the candidate user categories are determined, the number coding rules can be obtained, and the characteristic numbers of different user categories can be determined according to the number coding rules.

[0055] In step S320, a corresponding category characteristic number is determined for each candidate user category according to the number coding rule. After the number coding rule is obtained, corresponding characteristic numbers can be defined for different user categories according to the number coding rule. For example, for ordinary users, ordinary users can dial according to the actual situation of the called party without dialing other numbers. Therefore, the category characteristic number corresponding to the ordinary user can be the actual dialing number. For virtual users, virtual users can usually dial numbers within the virtual network group and numbers outside the group. When dialing numbers outside the group, the corresponding prefix code can be added, and the "prefix code + actual dialed number" is used as the category characteristic number of the virtual user.

[0056] In step S330, the terminal digit map corresponding to each category feature number is determined, and a number digit map library is generated according to the multiple category feature numbers and the terminal digit maps corresponding to each of the multiple category feature numbers. After the category feature numbers corresponding to different candidate user categories are defined, the terminal digit map corresponding to each category feature number can be determined, and an association relationship is established between each category feature number and the corresponding terminal digit map to generate a number digit map library.

[0057] In an exemplary embodiment of the present disclosure, a common feature code corresponding to a common user is generated according to a number coding rule; a virtual prefix code and a virtual network code corresponding to a virtual user are determined according to the number coding rule; and a virtual feature code corresponding to the virtual user is generated according to the virtual prefix code and the virtual network code.

[0058] Among them, the ordinary user may be a user who does not dial a number through the virtual network. The ordinary feature code may be a feature number corresponding to the dialing behavior of the ordinary user. The virtual user may be a user who dials a number using the virtual network, and the virtual user may dial numbers within the virtual network and outside the virtual network. The virtual prefix code may be a prefix code used by the virtual user to dial a number outside the virtual network. The code within the virtual network may be an internal number of the virtual network dialed by the virtual user. The virtual feature code may be a feature number corresponding to the dialing behavior of the virtual user.

[0059] The characteristic number is the basis for the terminal to learn the user's dialing behavior. Taking the voice terminal matching the number to be identified as an example, in order to enable the voice terminal to learn the encoding rules of the number dialed by the target user, it is necessary to pre-define a set of knowledge base sets, which can include characteristic numbers and the corresponding terminal number maps, that is, the number number map library. Since users can include multiple categories, it is possible to define the category characteristic code corresponding to each user category, and the category characteristic codes corresponding to all user categories together constitute the characteristic number set. When the terminal recognizes the characteristic number (that is, the number to be identified) successfully dialed by the user, it can match the number to be identified with the characteristic number to determine whether the user category of the target user is an ordinary user or a virtual network user.

[0060] refer to Figure 4 , Figure 4 The flowchart of generating category feature codes corresponding to different user categories according to number coding rules according to an exemplary embodiment of the present disclosure is schematically shown. In step S410, a common feature code corresponding to an ordinary user is generated according to the number coding rules. Since the number range of special service categories (i.e., special business service numbers) is relatively wide, this embodiment is described by taking a feature number set generated based on mobile phone and fixed-line numbers as an example. The feature codes of the mobile phone and fixed-line numbers dialed by the user can be determined according to the number coding rules. For example, an ordinary user can dial an 11-digit mobile phone number (such as 13XXXXXXXXX, 14XXXXXXXXX, etc.) or a 12-digit foreign mobile phone number (013XXXXXXXXX, 014XXXXXXXXX, etc.); an 8-digit fixed-line number ([2-8] XXXXXXX), 0XXX+8-digit fixed-line number, 02X+8-digit number, 010+8-digit number; that is, the 8-digit fixed-line number dialed by the user can include a separate 8-digit fixed-line number, as well as an area code+8-digit fixed-line number.

[0061] In step S420, the virtual prefix code and virtual network code corresponding to the virtual user are determined according to the number coding rules. Since the virtual user can dial numbers inside the virtual network or outside the virtual network, in order to distinguish the numbers outside the network dialed by the virtual user from the numbers dialed by ordinary users, the virtual prefix code corresponding to the virtual network number can be defined according to the number coding rules. For example, the virtual prefix code can be defined as "X". In addition, in order to distinguish the network numbers dialed by the virtual user from the numbers dialed outside the network, the virtual network code dialed by the virtual user can also be defined according to the number coding rules. For example, a virtual network code of a specific length can be defined for users in the virtual group, such as a virtual network code with a three-digit number length.

[0062] In step S430, a virtual feature code corresponding to the virtual user is generated according to the virtual prefix code and the virtual network code. After determining the virtual prefix code and the virtual network code, the virtual prefix code can be combined with the common feature code to generate a feature number corresponding to the virtual user dialing the virtual network external number. The virtual network code generated according to the number coding rule can be used as the feature number corresponding to the virtual user dialing the virtual network internal number. The feature number corresponding to the virtual network external number and the feature number corresponding to the virtual network internal number are used together as the virtual feature code.

[0063] In an exemplary embodiment of the present disclosure, a dialing range corresponding to a virtual user is determined; the dialing range includes an inside of a target network and an outside of the target network; the length of an intra-group number corresponding to the inside of the target network is determined according to a number coding rule; an internal virtual feature code is generated according to the length of the intra-group number; an external prefix code corresponding to the outside of the target network is determined according to the number coding rule, and an external virtual feature code is generated based on the external prefix code.

[0064] Among them, the dialing range can be the corresponding range of the number dialed by the target user, for example, the dialing range can include the inside of the target network and the outside of the target network. The inside of the target network can be the dialing range composed of other terminals inside the target local area network. The outside of the target network can be the dialing range composed of connectable terminals outside the target local area network. The length of the number within the group can be the length of the characteristic number inside the target network. The internal virtual characteristic code can be the characteristic number corresponding to the terminal dialed by the user inside the target network. The external prefix code can be the prefix code used when the user dials a number outside the target network. The external prefix code can distinguish the dialing behavior of the virtual user from the dialing behavior of the ordinary user. The external virtual characteristic code can be the characteristic number corresponding to the terminal outside the target network.

[0065] When the dialing feature code corresponding to the virtual network user is used, the dialing range of the virtual user can be divided first. The virtual user can dial the terminal number inside the virtual network and the terminal number outside the virtual network. For the terminal number inside the virtual network, the corresponding group number length can be defined. For example, the group number length can be set to 3, 4, 5, 6, etc. The corresponding internal virtual feature code can be determined according to the group number length. For example, when the group number length is 3, the internal virtual feature code can be [2-8] XX, that is, a three-digit group number starting with any digit from 2 to 8; similarly, a 4-digit internal virtual feature code can be [2-8] XXX, a 5-digit internal virtual feature code can be [2-8] XXXX, a 6-digit internal virtual feature code can be [2-8] XXXXX, and so on.

[0066] For terminal numbers outside the virtual network, the external prefix code can be determined according to the number encoding rules. The external prefix code is generally "0" or "9", so the "external prefix code + ordinary number" can constitute the external virtual feature code. Specifically, the feature numbers corresponding to the mobile phone numbers and landline numbers dialed by the virtual users are: external prefix code + 11-digit mobile phone number (X13XXXXXXXXX, X14XXXXXXXXX, X15XXXXXXXXX, etc.), external prefix code + 12-digit non-local mobile phone number (X013XXXXXXXXX, X014XXXXXXXXX, X015XXXXXXXXX, etc.); 8-digit landline number (X【2-8】XXXXXXX), X0【3-9】XX+8-digit landline number, X02X+8-digit number; among which the first X is the external prefix code.

[0067] After the number library is configured, the dialing rules for ordinary users and virtual users can be determined as follows: the call rule for numbers outside the virtual network is the external prefix code + the called number, and the call rule for numbers inside the virtual network can be a 3- to 6-digit short number, usually starting with 2-8. This embodiment does not consider internal virtual feature codes starting with 0, 1, and 9. The dialing rule for ordinary users is to dial whatever number is called.

[0068] In step S130, the user category of the target user is determined according to the obtained number matching result.

[0069] In some exemplary embodiments of the present disclosure, the number matching result may be a result obtained by matching and comparing the number to be identified dialed by the target user with the characteristic number. The user category may be a specific category of the target user determined according to the number matching result.

[0070] After matching and comparing the number to be identified with the characteristic number in the number library, the number matching result of the number to be identified and the characteristic number can be obtained, and the specific category of the target user can be determined according to the number matching result. If the number to be identified meets the characteristics of the virtual characteristic code, the user category of the target user is determined as a virtual user. If the number to be identified meets the characteristics of the ordinary characteristic code, the user category of the target user is determined as an ordinary user.

[0071] In an exemplary embodiment of the present disclosure, if the number matching result contains both an internal virtual feature code and an external virtual feature code, the user category is determined as a virtual user; if the number matching result contains a first specified number of internal virtual feature codes, the user category is determined as a virtual user; if the number matching result contains a second specified number of ordinary feature codes, the user category is determined as an ordinary user.

[0072] The designated number may be a predefined reference number. For example, the first designated number and the second designated number may both be set to 2.

[0073] Continue to refer Figure 2 In step S240, it is determined whether the user category is a virtual user according to the number matching result. Figure 5 Follow the steps in Figure 5 A flowchart for determining the user category of a target user according to an exemplary embodiment of the present disclosure is schematically shown. In step S510, if the number matching result contains both an internal virtual feature code and an external virtual feature code, the user category is determined to be a virtual user. If the number matching result shows that the target user has dialed the internal virtual feature code and the external virtual feature code successively, it is determined to be a virtual user. For example, if the user dials an external virtual feature code once, such as a local landline with an external prefix code of 9 or 0, a local mobile phone with an external prefix code of 9, a long-distance mobile phone with an external prefix code of 9 or 0, etc., and then dials an internal virtual feature code once, such as a 3-digit in-group number, the user category is determined to be a virtual user.

[0074] In step S520, if the number matching result includes the first specified number of internal virtual feature codes, the user category is determined to be a virtual user. If the number matching result shows that the target user dialed the internal virtual feature code multiple times, for example, when the target user dialed the internal group number of the virtual network twice, that is, the internal group number starting with [2-8] and 3<=digit length<=6, then the user category can be determined to be a virtual network user.

[0075] In step S530, if the number matching result includes the second specified number of common feature codes, the user category is determined as a common user. The terminal can determine multiple numbers to be identified through the dialing behavior of the target user, and compare the multiple numbers to be identified with the feature numbers in the number library. If the number matching result includes the second specified number of common feature codes, such as setting the first specified number to 2, when more than 2 common feature codes are identified, the user category of the target user can be determined as a common user. For example, if the user dials an 8-digit [2-8]-beginning landline or 11-digit local mobile phone number twice, the user category can be determined as a common user.

[0076] In step S140, the current terminal digit map corresponding to the target user terminal is updated based on the user category.

[0077] In some exemplary embodiments of the present disclosure, the target user terminal may be a terminal used by the target user to dial other voice terminals, and the target user terminal may be used to learn the dialing behavior of the target user. The current terminal digit map may be a digit map currently used by the terminal.

[0078] After determining the user category, the current terminal digit map of the target user terminal can be updated according to the user category. If the user category matches the current terminal digit map, the current terminal digit map is maintained. If the user category does not match the current terminal digit map, the corresponding target terminal digit map is determined according to the user category, and the current terminal digit map is updated to the target terminal digit map. For example, when the identified user category is a virtual user, and the current terminal digit map of the target user terminal is a normal user digit map, the normal user digit map can be updated to a virtual user digit map. When the identified user category is a normal user, and the current terminal digit map of the target user terminal is a virtual user digit map, the virtual user digit map can be updated to a normal user digit map. In addition, if the internal virtual feature code dialed by the target user changes, the currently used virtual user digit map can also be updated to a virtual user digit map that matches the internal virtual feature code currently dialed.

[0079] In an exemplary embodiment of the present disclosure, if the user category is a virtual user, the attributes of the number to be identified corresponding to the target user are determined; the attributes of the number to be identified include an external prefix code and an internal number length; based on the external prefix code and the internal number length, a target terminal digit map corresponding to the target user terminal is determined from a digit map library; and the current terminal digit map is updated to the target terminal digit map through a digit map update operation.

[0080] The attribute of the number to be identified may be a specific attribute corresponding to the number to be identified.

[0081] Continue to refer Figure 2 , each voice port of the target user terminal or gateway has the function of automatically identifying the specific user category of the target user based on the user's dialing behavior. In step S250, if the user category is identified as a virtual user, the best virtual terminal digit map is selected from the preset digit map, and the terminal detection function is maintained. When selecting the best virtual terminal digit map, the internal number length of the internal virtual feature code can be determined, and then the virtual terminal digit map that matches the target user's dialing can be called. Each terminal or voice port must maintain the state of online detection of the user's dialing behavior so that the digit map of each terminal or voice port matches the user's dialing method in quasi-real time. The process of updating the current terminal digit map is as follows:

[0082] For virtual users, the terminal can learn the attributes of the number to be identified corresponding to the virtual user, including the external prefix code and the internal number length. By learning these two attributes at the same time, the terminal can select an optimal digit map preset in the terminal for the target user. In some scenarios, if the terminal only learns the external virtual feature code dialed by the user, the target user terminal can only continue to use the ordinary terminal digit map, and complete the final virtual network digit map selection operation after the terminal learns the user's internal number length. If the terminal only learns the target user's internal number length, it can also select a suitable virtual terminal digit map for the target user, because at this time the out-group number of the virtual terminal digit map can be uniformly allocated with "X".

[0083] The following is a virtual terminal digit map with a 5-bit intra-group number length, specifically:

[0084] [*#][0-9][0-9*].#|

[09] [*#][0-9][0-9*].#|**xx|#*#|*#xx#|#*99|##|

[09] 010xxxxxxxx|

[09] 02xxxxxxxx x|

[09] 0[3-9]xxxxxxxxxx|

[09] 00[0-79]x.#|

[09] 008[0-5789]x.#|

[09] [2-8]xxxxxxx|

[09] 1

[3458] xxxxxxx xx|

[09] 01

[3458] xxxxxxxxx|

[09] 11

[049] |

[09] 12

[02] |

[09] 1

[016] xxx|

[09] 10[1-9]xx.|

[09]

[48] 00xxxxxx x|

[09]

[48] 0[1-9]x.#|

[09] 9

[56] xxx|

[09] 968xxxx|

[09] 9699[*#]|

[09] 0[1-9]x.#|

[09] [1-9]x.#|[2-8]xxxx

[0085] Among them, "

[09] 1

[3458] xxxxxxxxx" can represent the characteristic number corresponding to the target user's outgoing mobile phone.

[0086] In an exemplary embodiment of the present disclosure, if the user category is an ordinary user, the ordinary terminal digit map is used as the updated target terminal digit map; if the current terminal digit map is a virtual terminal digit map and the second specified number of ordinary feature codes are not detected, the virtual terminal digit map is used as the target terminal digit map.

[0087] Continue to refer Figure 2In step S260, if the target user is not a virtual user, that is, when the terminal detects that the user category of the target user is a common user, the target terminal digit map of the common user is determined as a common terminal digit map, that is, the common terminal digit map continues to be used, and the terminal maintains the detection function. For example, if it is detected that the target user dials a fixed telephone number starting with 8 digits [2-8] or an 11-digit local mobile phone number twice, the target user is determined to be a common user, and the digit map used by the terminal is restored to the common terminal digit map.

[0088] If the terminal is currently bound to a common terminal digit map, when no virtual feature code is detected in the number to be identified, the current terminal digit map remains unchanged. If the port is bound to a virtual network digit map, when no second specified number of common feature codes are detected in the number to be identified, the current terminal digit map remains unchanged and the virtual terminal digit map is still used. Each terminal hold detection function can be performed through step S270, that is, the judgment standard for detecting whether the user dials successfully can be whether the core network 180 message is received.

[0089] The following is a specific example of a common terminal digit map:

[0090] [*#][0-9][0-9*].#|**xx|#*#|*#xx#|#*99|##|010xxxxxxxx|0[2-9]xxxxxxxxx|0[3-9]xxxxxxxxx|00[0-79]x.#|008[0-5789]x.#|[2-8]xxxxx xx|1

[3458] xxxxxxxxx|01

[3458] xxxxxxxxx|11

[049] |12

[02] |1

[01267] xxx|

[48] 00xxxxxxx|9

[56] xxx|968xxxx|9699[*#]|0[1-9]x.#|[1-9]x.#

[0091] Among them, "[*#][0-9][0-9*].#" can be the feature number corresponding to a certain service, such as "*57#" can represent the service activation code. "1

[3458] xxxxxxxxx" can be the feature number corresponding to the target user's mobile phone. "

[48] 00xxxxxxx" can represent the feature number corresponding to the user dialing a number starting with 400 or 800.

[0092] In general, when determining the target terminal digit map, the terminal first determines whether the target user has made a successful call. The criterion for this determination is whether the 180 message from the core network has been received. Then, it determines whether the number to be identified that the target user has successfully called is in the feature number set. If it matches the feature number of an ordinary user, the target user is determined to be an ordinary user, and the terminal will use the ordinary terminal digit map by default. If the number to be identified matches any virtual network feature number, the target user can be determined to be a virtual user, and the terminal will start to select a suitable virtual terminal digit map for the target user. If the terminal detects that the user has dialed both the internal virtual feature code and the external virtual feature code, the terminal will simultaneously grasp the key information of the two virtual network users: the external prefix code and the internal number length. These two features can uniquely determine a terminal digit map that best suits the target user.

[0093] It should be noted that the terms "first", "second", etc. used in the present disclosure are only for distinguishing different specified quantities and should not impose any limitations on the present disclosure.

[0094] In summary, the terminal digit map determination method disclosed in the present invention monitors the dialing behavior of the target user and determines the number to be identified corresponding to the target user; obtains a pre-configured number digit map library and matches the number to be identified with the characteristic number in the number digit map library; determines the user category of the target user based on the obtained number matching result; and updates the current terminal digit map corresponding to the target user terminal based on the user category. On the one hand, by learning the user's dialing behavior, the number to be identified in the user's dialing behavior is matched with the number digit map library, and the terminal digit map can be adaptively optimized according to the matching result to meet the dialing rules of users of different categories and improve the user's perception of dialing connection. On the other hand, by adaptively optimizing the terminal digit map, the development expenses of the IT development process can be greatly reduced, and the workload of installation and maintenance personnel to modify user configurations can be fundamentally reduced. On the other hand, the terminal can improve the intelligence of the terminal digit map configuration by autonomously learning the dialing behavior characteristics of the terminal to optimize the terminal digit map configuration.

[0095] It should be noted that, although the steps of the method of the present invention are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0096] In addition, in this exemplary embodiment, a terminal digit map determining device is also provided. Figure 6The terminal digit map determining device 600 may include: a number determining module 610, a number matching module 620, a category determining module 630 and a digit map updating module 640.

[0097] Specifically, the number determination module 610 is used to monitor the dialing behavior of the target user and determine the number to be identified corresponding to the target user; the number matching module 620 is used to obtain a pre-configured number digit map library and match the number to be identified with the feature number in the number digit map library; the category determination module 630 is used to determine the user category of the target user based on the obtained number matching result; the digit map update module 640 is used to update the current terminal digit map corresponding to the target user terminal based on the user category.

[0098] In an exemplary embodiment of the present disclosure, the terminal digit map determination device also includes a number digit map library generation module, which is used to determine multiple candidate user categories and obtain number coding rules; determine the corresponding category feature number for each candidate user category according to the number coding rules; determine the terminal digit map corresponding to each category feature number, and generate a number digit map library based on the multiple category feature numbers and their corresponding terminal digit maps.

[0099] In an exemplary embodiment of the present disclosure, candidate user categories include ordinary users and virtual users; the number library generation module also includes a feature code generation unit, which is used to generate an ordinary feature code corresponding to an ordinary user according to a number coding rule; determine a virtual prefix code and a virtual network code corresponding to a virtual user according to the number coding rule; and generate a virtual feature code corresponding to the virtual user according to the virtual prefix code and the virtual network code.

[0100] In an exemplary embodiment of the present disclosure, a virtual prefix code includes an internal prefix code and an external prefix code; a feature code generation unit includes a feature code generation subunit, which is used to determine a dialing range corresponding to a virtual user; the dialing range includes an inside of a target network and an outside of the target network; the length of an intra-group number corresponding to the inside of the target network is determined according to a number coding rule; an internal virtual feature code is generated according to the length of the intra-group number; an external prefix code corresponding to the outside of the target network is determined according to the number coding rule, and an external virtual feature code is generated based on the external prefix code.

[0101] In an exemplary embodiment of the present disclosure, the number of numbers to be identified is multiple, and the category determination module includes a category determination unit, which is used to determine the user category as a virtual user if the number matching result contains both an internal virtual feature code and an external virtual feature code; if the number matching result contains a first specified number of internal virtual feature codes, the user category is determined as a virtual user; if the number matching result contains a second specified number of ordinary feature codes, the user category is determined as an ordinary user.

[0102] In an exemplary embodiment of the present disclosure, a digit map update module includes a first digit map update unit, which is used to determine the attributes of the number to be identified corresponding to the target user if the user category is a virtual user; the attributes of the number to be identified include an external prefix code and an internal number length; according to the external prefix code and the internal number length, determine the target terminal digit map corresponding to the target user terminal from the number digit map library; and update the current terminal digit map to the target terminal digit map through a digit map update operation.

[0103] In an exemplary embodiment of the present disclosure, the digit map update module also includes a second digit map update unit, which is used to use the ordinary terminal digit map as the updated target terminal digit map if the user category is an ordinary user; if the current terminal digit map is a virtual terminal digit map and a second specified number of ordinary feature codes are not detected, the virtual terminal digit map is used as the target terminal digit map.

[0104] The specific details of the virtual modules of each terminal digit map determining device mentioned above have been described in detail in the corresponding terminal digit map determining method, so they will not be repeated here.

[0105] It should be noted that although several modules or units of the terminal digit map determination device are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0106] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0107] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0108] Reference below Figure 7 hereinafter describes an electronic device 700 according to such an embodiment of the present disclosure. Figure 7 The electronic device 700 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0109] like Figure 7As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one storage unit 720, a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710), and a display unit 740.

[0110] The storage unit stores program codes, which can be executed by the processing unit 710, so that the processing unit 710 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.

[0111] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 721 and / or a cache memory unit 722 , and may further include a read-only memory unit (ROM) 723 .

[0112] The storage unit 720 may include a program / utility 724 having a set (at least one) of program modules 725, such program modules 725 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0113] Bus 730 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0114] The electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 760. As shown, the network adapter 760 communicates with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0115] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0116] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0117] refer to Figure 8 As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0118] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0119] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0120] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0121] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0122] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0123] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0124] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for determining a terminal digit map, characterized in that: include: Monitor the dialing behavior of the target user and determine the to-be-identified number corresponding to the target user; Obtain a preconfigured number library, and match the number to be identified with a feature number in the number library, wherein the number library is generated according to a plurality of category feature numbers, wherein the category feature number includes a virtual feature code corresponding to a virtual user, wherein the virtual feature code includes an internal virtual feature code and an external virtual feature code, wherein the internal virtual feature code is generated based on a corresponding in-group number length inside a target network, and the external virtual feature code is generated based on a corresponding external prefix code outside the target network; Determine the user category of the target user according to the obtained number matching result; A current terminal digit map corresponding to the target user terminal is updated based on the user category.

2. The method according to claim 1, characterized in that The method further comprises: Determine multiple candidate user categories and obtain number coding rules; Determine a corresponding category characteristic number for each candidate user category according to the number coding rule; The terminal digit map corresponding to each of the category characteristic numbers is determined, and a digit map library is generated according to a plurality of the category characteristic numbers and the corresponding terminal digit maps.

3. The method according to claim 2, characterized in that The candidate user categories include ordinary users and virtual users; determining a corresponding category characteristic number for each candidate user category according to the number coding rule includes: Generate a common feature code corresponding to the common user according to the number coding rule; Determine the virtual prefix code and virtual network code corresponding to the virtual user according to the number coding rule; A virtual feature code corresponding to the virtual user is generated according to the virtual prefix code and the virtual in-network code.

4. The method according to claim 3, characterized in that The virtual prefix code includes an external prefix code; generating a virtual feature code corresponding to the virtual user according to the virtual prefix code and the virtual network code, including: Determine a dial-up range corresponding to the virtual user; the dial-up range includes inside and outside the target network; Determine the corresponding intra-group number length within the target network according to the number coding rule; Generate an internal virtual feature code according to the length of the number within the group; An external prefix code corresponding to the outside of the target network is determined according to the number encoding rule, and an external virtual feature code is generated based on the external prefix code.

5. The method according to claim 1, characterized in that The number of the to-be-identified numbers is multiple, and the user category of the target user is determined according to the obtained number matching result, including: If the number matching result includes both the internal virtual feature code and the external virtual feature code, the user category is determined as a virtual user; If the number matching result includes a first specified number of internal virtual feature codes, determining the user category as a virtual user; If the number matching result includes a second specified number of common feature codes, the user category is determined to be a common user.

6. The method according to claim 1, characterized in that Updating a current terminal digit map corresponding to the target user terminal based on the user category includes: If the user category is a virtual user, determining the attributes of the number to be identified corresponding to the target user; the attributes of the number to be identified include an external prefix code and an internal number length; Determining a target terminal digit map corresponding to the target user terminal from the digit map library according to the external prefix code and the internal number length; The current terminal digitmap is updated to the target terminal digitmap through a digitmap update operation.

7. The method according to claim 6, characterized in that Updating the current terminal digit map corresponding to the target user terminal based on the user category also includes: If the user category is a common user, the common terminal digit map is used as the updated target terminal digit map; If the current terminal digit map is a virtual terminal digit map and the second specified number of common feature codes are not detected, the virtual terminal digit map is used as the target terminal digit map.

8. A terminal digit map determination device, characterized in that: include: A number determination module is used to monitor the dialing behavior of the target user and determine the to-be-identified number corresponding to the target user; A number matching module, used for obtaining a pre-configured number library, matching the number to be identified with a characteristic number in the number library, wherein the number library is generated according to a plurality of category characteristic numbers, wherein the category characteristic number includes a virtual characteristic code corresponding to a virtual user, wherein the virtual characteristic code includes an internal virtual characteristic code and an external virtual characteristic code, wherein the internal virtual characteristic code is generated based on the length of the corresponding number in the group inside the target network, and the external virtual characteristic code is generated based on the corresponding external prefix code outside the target network; A category determination module, used to determine the user category of the target user according to the obtained number matching result; The digitmap updating module is used to update the current terminal digitmap corresponding to the target user terminal based on the user category.

9. An electronic device, characterized in that: include: processor; as well as A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the terminal digit map determination method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the terminal digit map determination method according to any one of claims 1 to 7 is implemented.