Number marking method, device and equipment

Through the built-in database on the client and multiple marking identification models on the server, the error marking and malicious marking problems of number marking information are solved, and the high accuracy of number marking types is achieved to meet users' decision-making needs.

CN119484701APending Publication Date: 2025-02-18BEIJING YULE INTEROPERABILITY INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411511151.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, the number marking information is easily mislabeled or maliciously marked, resulting in the inability to meet the user's decision-making needs when connecting or dialing the number, and lack of accuracy.

Method used

Through the built-in database on the client, mark information is queried and updated, and multiple mark identification models on the server side are combined to select the tag type that matches the most number, improving the accuracy of mark type.

Benefits of technology

Improve the accuracy of number marking types, reduce the impact of mislabeling and malicious marking, and enhance the basis for user decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484701A_ABST
    Figure CN119484701A_ABST
Patent Text Reader

Abstract

The invention provides a number marking method, device and equipment, and the method comprises the steps: obtaining a first number marked by a user through a client, the client is internally provided with a database, and a plurality of marked second numbers are stored in the database; when it is determined that the first number is matched with the second number, the mark type of the second number is updated to be the first mark type; when it is determined that the first number is not matched with the second number, the first number, the first marking type of the first number, the number of times of being marked and the user identifier are stored in a database; the method comprises the following steps: uploading a first number obtained in a first preset time period, a first mark type of the first number, a marked frequency and a user identifier to a server through a client; and selecting the mark identification model with the highest matching degree with the first number from the plurality of mark identification models, and taking the mark type corresponding to the mark identification model as the real mark type of the first number. By adopting the scheme, the accuracy of the number marking type can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of communication technology, and in particular, to a number marking method, device and equipment. Background Art

[0002] With the rapid development of domestic mobile Internet, most mobile terminals (such as mobile phones) provide services for identifying the number of incoming and outgoing calls. Users can preliminarily judge whether to answer / make the call based on the identified mark information.

[0003] However, in actual applications, some tag information is identified through mislabeling or malicious labeling, so that this part of the tag information cannot meet the user's decision-making needs when connecting / dialing a number.

[0004] In this context, how to provide a technical solution to improve the accuracy of number marking types has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] In order to solve the above technical problems, the embodiments of this specification provide a number marking method, device and equipment, which can improve the accuracy of number marking types.

[0006] The embodiment of the present specification provides a merchant name confirmation method, comprising: obtaining a first number marked by a user through a client, the first number having a first marking type, wherein the client has a built-in database, the database stores a plurality of marked second numbers, the second numbers having a second marking type;

[0007] Performing a query operation through the client, when it is determined that the first number matches the second number in the database, updating the mark type of the second number to the first mark type; when it is determined that the first number does not match the second number in the database, storing the first number, the first mark type of the first number, the number of times it is marked, and the user identifier in the database;

[0008] Uploading the first number acquired within a first preset time period, the first tag type of the first number, the number of times it has been marked, and the user identifier to a server through the client, wherein the server has multiple tag recognition models, and one tag recognition model corresponds to one tag type;

[0009] Based on the first number, the first tag type of the first number, the number of times it has been marked, and the user identifier, a tag recognition model with the highest match to the first number is selected from multiple tag recognition models, and the tag type corresponding to the tag recognition model is used as the true tag type of the first number.

[0010] Optionally, obtaining the first number marked by the user through the client includes at least one of the following:

[0011] According to the call duration of the user, obtaining a number whose call duration is not less than a preset duration as the first number marked by the user;

[0012] Determine the interval between the time when the first number is marked and the time when the call starts, and use the number whose interval is shorter than a preset interval as the first number marked by the user.

[0013] Optionally, obtaining the first number marked by the user through the client includes:

[0014] For any first number, within a second preset time, one of the plurality of first numbers marked by a single user is obtained through the client.

[0015] Optionally, before uploading the first number, the first marking type, the number of markings, and the user identifier of the first number acquired within the first preset time period to the server through the client, the method further includes:

[0016] When it is determined that the user's network fluctuates, the database is traversed, and the first number and / or the second number matching the first number marked as the first state in the database is uploaded to the server, and the first number and / or the second number matching the first number is updated to the second state, wherein the first state is a non-uploaded state and the second state is an uploaded state.

[0017] Optionally, based on the first number, the first tag type of the first number, the number of times the first number is tagged, and the user identifier, selecting a tag recognition model with the highest matching degree with the first number from a plurality of tag recognition models, and using the tag type corresponding to the tag recognition model as the true tag type of the first number, includes:

[0018] Based on the first mark types of the first number obtained by multiple different users, feature analysis is performed on call-related behaviors within a preset time to obtain multiple feature variables;

[0019] Determine scores of each characteristic variable under a plurality of different marker recognition models respectively, wherein the scores are used to indicate a matching degree of the first number under each marker recognition model;

[0020] The mark type corresponding to the mark recognition model with the highest score is used as the true mark type of the first number.

[0021] Optionally, uploading the first number, the first marking type, the number of times the first number is marked, and the user identifier obtained within the first preset time period to the server through the client further includes:

[0022] For the same user, the number of first numbers marked by the same user is counted by the server;

[0023] When it is determined that the number of first numbers marked by the same user exceeds a first preset marking number of times, the first numbers exceeding the first preset marking number of times are filtered out.

[0024] Optionally, the number marking method further includes:

[0025] When it is determined that the number of times the real marking type of the first number is marked is greater than the second preset marking number, and the difference between the marking time of the real marking type of the first number and the current time is less than the preset time threshold, the real marking type of the first number is pushed.

[0026] The embodiment of the present specification also provides a number marking device, including: a client and a server, wherein:

[0027] The client is adapted to obtain a first number marked by a user, the first number having a first marking type, wherein the client has a built-in database, the database storing a plurality of marked second numbers, the second numbers having a second marking type; and by performing a query operation, when it is determined that the first number matches the second number in the database, updating the marking type of the second number to the first marking type; when it is determined that the first number does not match the second number in the database, storing the first number, the first marking type of the first number, the number of times it is marked, and the user identifier in the database, and uploading them to the server, wherein the server has a plurality of marking recognition models, and one marking recognition model corresponds to one marking type;

[0028] The server is suitable for selecting a mark recognition model with the highest matching degree with the first number from multiple mark recognition models based on the first number, the first mark type of the first number, the number of times it is marked, and the user identifier, and using the mark type corresponding to the mark recognition model as the real mark type of the first number.

[0029] Optionally, the number marking device further includes:

[0030] The push unit is adapted to push the real marking type of the first number when it is determined that the number of times the real marking type of the first number is marked is greater than a second preset number of times, and the difference between the marking time of the real marking type of the first number and the current time is less than a preset time threshold.

[0031] The embodiments of this specification also provide a number marking device, including: a number marking device as described in any of the above examples, the number marking device including: a client and a server; a mobile terminal, which is communicatively connected to the number marking device; wherein the client is set in the mobile terminal.

[0032] Using the number marking method provided in the embodiments of the present specification, the client has a built-in database, and the database stores multiple marked second numbers. In this way, when the first number marked by the user is obtained, by performing a query operation, when it is determined that the first number matches the second number in the database, the marking type of the second number can be updated to the first marking type; and when it is determined that the first number does not match the second number in the database, the first number, the first marking type of the first number, the number of times it is marked, and the user identification are stored in the database for subsequent processing. Therefore, based on the multiple marking recognition models in the server, the marking recognition model with the highest matching degree with the first number can be selected from the multiple marking recognition models. Since one marking recognition model corresponds to one marking type, the marking type corresponding to the marking recognition model can be used as the real marking type of the first number, thereby improving the accuracy of the number marking type. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0034] Figure 1 A flowchart of a number marking method in an embodiment of this specification is shown;

[0035] Figure 2 A schematic diagram of an uploading process of a first number in an embodiment of this specification is shown;

[0036] Figure 3 An interactive schematic diagram of a number marking method in an embodiment of this specification is shown;

[0037] Figure 4 A schematic structural diagram of a number marking device in an embodiment of this specification is shown. DETAILED DESCRIPTION

[0038] As described in the background art, some marking information is identified through mis-marking or malicious marking, so that this part of marking information cannot meet the decision-making needs of users when connecting / dialling numbers.

[0039] To solve the above technical problems, an embodiment of the present specification provides a number marking method, in which a client has a built-in database, and a plurality of marked second numbers are stored in the database, so that when a first number marked by a user is obtained, by performing a query operation, when it is determined that the first number matches the second number in the database, the marking type of the second number can be updated to the first marking type; and when it is determined that the first number does not match the second number in the database, the first number, the first marking type of the first number, the number of times it has been marked, and the user identifier are stored in the database for subsequent processing, so that based on the multiple marking recognition models in the server, the marking recognition model with the highest matching degree with the first number can be selected from the multiple marking recognition models, and since one marking recognition model corresponds to one marking type, the marking type corresponding to the marking recognition model can be used as the true marking type of the first number, thereby improving the accuracy of the number marking type.

[0040] In order to enable those skilled in the art to better understand the inventive concept, working principle and advantages of the embodiments of this specification, the merchant name confirmation scheme in the embodiments of this specification is described in detail below.

[0041] See also Figure 1 Flow chart of a number marking method in the embodiment of this specification shown in FIG. Figure 1 As shown, the following steps can be performed:

[0042] S11, obtaining a first number marked by a user through a client, where the first number has a first marking type.

[0043] In a specific implementation, when the user is in a call state (eg, incoming call or outgoing call) or a non-call state, the first number can be marked so that the first number has a first marking type.

[0044] In some embodiments, the types marked by different users for the same first number are not exactly the same.

[0045] For example, users A and B mark the first tag type of the first number as "takeout", user C marks the first tag type of the first number as "express delivery", and user D marks the first tag type of the first number as "sales promotion", etc.

[0046] In some embodiments, the types marked by the same user for the same first number may be different.

[0047] For example, during the first marking, user A marks the first marking type of the first number as "takeout"; during the second marking, user A marks the first marking type of the first number as "express delivery"; and during the third marking, user A marks the first marking type of the first number as "sales promotion", etc.

[0048] In other words, the first number having the first marking type means "the first number has a marking type", and does not limit whether the first marking type is specifically "express delivery" or "takeout", as long as the first number has the marking type.

[0049] In a specific implementation, the user can mark the first number through different marking entrances in the terminal (such as a mobile phone), where the marking entrances may include: marking through a pop-up box after the end of an unfamiliar call; marking through an application for marking unfamiliar numbers; marking through the dialer call record list.

[0050] It should be noted that the operation steps for the user to complete the marking in each marking entry will be different, but corresponding to a certain marking type of the first number being marked, corresponding to each marking entry, the number of times the number is marked is counted respectively.

[0051] In a specific implementation, the first number marked by the user may be obtained through a client built into the user terminal so as to execute a subsequent processing procedure.

[0052] In some embodiments, the client has a built-in database, and a plurality of marked second numbers are stored in the database, where the second numbers have a second marking type.

[0053] In other words, the client has a plurality of second numbers that have been verified and whose tag type is a real tag type.

[0054] In some embodiments, the database may be located in a local server or in a cloud server, and the embodiments of this specification do not impose any restrictions on the location of the database.

[0055] As an optional example, the database may be one or more of a distributed database, a data warehouse, a JavaScript Object Notation (JSON) database, and the like.

[0056] It should be noted that, first, the first number and the second number are only examples, and are numbers used to represent two different marking states. In this specification, the first number is used as the currently marked number; the second number is used as the marked number. In some other embodiments, the first number and the second number can be interchanged; second, the marking types listed in the above examples are only examples. In some other embodiments, the marking type can also be fraud, harassment, etc.; third, the first number and the second number can be the same or different, and this specification does not limit the relationship between the first number and the second number; fourth, the first number and the second number can be numbers marked by domestic IP users or numbers marked by overseas IP users; fourth, the client obtains the first number marked by the user, which refers to the user's own marking type for the current number or the marking information that the user last removed for this number (for example, the user's unique identifier, number, marking content, marking time, upload time, etc.).

[0057] S12: performing a query operation through the client, and when it is determined that the first number matches the second number in the database, updating the mark type of the second number to the first mark type.

[0058] In a specific implementation, when a first number marked by a user is obtained, the client can perform a query operation to traverse the second numbers stored in the database. By matching the second number with the first number, when it is determined that the second number matches the first number, the marking type of the second number can be updated to the first marking type. In this way, there is no need to store the first number, and the storage capacity of the database can be reduced.

[0059] For example, if a second number in the database is the same as the first number, and the tag type of the first number is S1, and the tag type of the second number is S2, the tag type of the second number may be updated to S1.

[0060] It is understandable that when the mark type of the second number is updated, the update times of the mark type of the second number and the update time corresponding to each update times may also be recorded.

[0061] S13, performing a query operation through the client, and when it is determined that the first number does not match the second number in the database, storing the first number, the first marking type of the first number, the number of times it is marked, and the user identifier in the database.

[0062] In a specific implementation, when a first number marked by a user is obtained, the client can perform a query operation to traverse the second numbers stored in the database. By matching the second number with the first number, when it is determined that the second number does not match the first number, the first number, the first marking type of the first number, the number of times it has been marked, and the user identifier are stored in the database, so that the database can contain more different marked numbers.

[0063] For example, if there is no second number identical to the first number in the database, the first number and information related to the first number may be directly stored in the database.

[0064] S14, uploading the first number acquired within a first preset time period, the first marking type of the first number, the number of times it is marked, and the user identification to the server through the client.

[0065] In a specific implementation, the client can obtain and store the first number marked by the user in real time or according to a preset acquisition strategy. When the time reaches the first preset time period, the client can upload all the first numbers in the first preset time period, as well as the first marking type of the first number, the number of times it is marked, and the user identifier to the server for further processing by the server to determine whether the first marking type of the first number is valid.

[0066] It should be noted that, "whether the first marking type of the first number is valid" mentioned in this specification means that at least one of the first marking types marked by the user is true.

[0067] In a specific implementation, the server has multiple tag recognition models, and one tag recognition model corresponds to one tag type.

[0068] S15, based on the first number, the first tag type of the first number, the number of times it has been marked, and the user identifier, select the tag recognition model with the highest match with the first number from the multiple tag recognition models, and use the tag type corresponding to the tag recognition model as the true tag type of the first number.

[0069] In a specific implementation, after obtaining the first number and related information of the first number within the first preset time period, various mark recognition models can be used to identify the first number, and the matching degree of the first number to each mark recognition model can be generated respectively, so that a mark recognition model with the highest matching degree can be selected. Since one mark recognition model corresponds to one mark type, the true mark type of the first number can be determined.

[0070] Therefore, through the matching operation, different processing processes can be executed, and then based on the multiple marker recognition models in the server, the marker recognition model with the highest matching degree with the first number can be selected from the multiple marker recognition models. Since one marker recognition model corresponds to one marker type, the marker type corresponding to the marker recognition model can be used as the true marker type of the first number, thereby improving the accuracy of the number marker type.

[0071] In order to enable those skilled in the art to better understand and implement the embodiments of this specification, the following is a detailed description with reference to the accompanying drawings and through specific examples.

[0072] In a specific implementation, when marking numbers, some marking information may be wrong or not be of reference significance.

[0073] For example, extremely short or extremely long call duration. If the call duration is extremely short, the user cannot know the actual status of the first number, and even if the first number is marked, the marking type will be inaccurate; if the call duration is extremely long, it means that the user corresponding to the first number is relatively familiar with each other, and if the first number is marked as "fraud" or "takeout" at this time, it will have no reference significance.

[0074] Based on this, when obtaining the first number marked by the user through the client, a number whose call duration is not less than a preset duration can be obtained according to the call duration of the user as the first number marked by the user.

[0075] The call duration can be obtained when the user is in a call state, and when the user ends the call state.

[0076] Specifically, when the call duration is not less than the preset duration, it means that the marking information is untrue, which may be caused by system error or human error, so the first number of this type can be removed.

[0077] It is understandable that the authenticity of the marked information can also be verified based on other user behaviors to remove duplicates, missing or abnormal values, thereby improving the authenticity of the marked information.

[0078] For example, by obtaining the first number marked by the user through the client, the interval between the time when the first number is marked and the time when the call starts can be determined, and the number with an interval shorter than the preset interval length is used as the first number marked by the user.

[0079] Specifically, if the interval between the start time of the call and the time when the first number is marked is shorter than the preset time interval, it means that the user does not care about the first number or even does not want to receive the call. Therefore, the authenticity of such marked numbers is higher and such numbers can be used as the first numbers marked by the user.

[0080] In a specific implementation, when marking numbers, the marking values ​​of different users are the same.

[0081] For example, user A marks the first tag type of the first number as "takeout", and user B marks the first tag type of the first number as "express delivery". The system believes that the probability that the first tag type of the first number is marked as "takeout" or "express delivery" is 50%.

[0082] However, if there are some malicious users, since it is impossible to identify these users, their marking of a number will be equivalent to the marking of the number by normal users, which will bring great interference and noise to the accurate identification of the number, and even directly lead to number identification errors.

[0083] In this case, when obtaining the first number marked by the user through the client, for any first number, within the second preset time, one of the multiple first numbers marked by a single user is obtained through the client.

[0084] Specifically, within the second preset time (a shorter time, much shorter than the first preset time), the client obtains the same first number marked by a large number of users. At this time, it can be considered that the user is making malicious markings. In this way, only one first number can be obtained within the second preset time, even though the user has repeatedly marked the first number, thereby effectively avoiding or preventing misleading marking of a first number by a single user.

[0085] In a specific implementation example, the second preset time may be 1 hour.

[0086] In a specific implementation example, one of the multiple first numbers may be the first number obtained first.

[0087] It is understandable that the second preset time can be flexibly set according to actual needs, and the embodiment of this specification does not limit the size of the second preset time.

[0088] By adopting the preventive measures in the above example, the first number of the user mark obtained can be correctly applied to the subsequent identification process, so that the above operation can be performed.

[0089] In a specific implementation, there is a situation where the user marks the first number, but the network is in an abnormal state at this time, and some first numbers on the client have not been uploaded to the server.

[0090] Based on this, uploading the first number acquired within a first preset time period, the first marking type of the first number, the number of times it is marked, and the user identifier to the server through the client also includes:

[0091] When it is determined that the user's network fluctuates, the database is traversed, and the first number and / or the second number matching the first number marked as the first state in the database is uploaded to the server, and the first number and / or the second number matching the first number is updated to the second state, wherein the first state is a non-uploaded state and the second state is an uploaded state.

[0092] Specifically, when it is determined that the user's network is in an abnormal state (for example, no network), the client can set the status of the acquired first number to the first state (i.e., not uploaded state); then, when it is determined that the user's network has returned to a normal state, the database is traversed, and the first number in the first state is uploaded to the server through the client, and the status of the first number is updated to the second state (i.e., uploaded state).

[0093] In a specific embodiment, the upload status of the first number may be determined by setting the status of the address storing the first number to "0" or "1".

[0094] For example, when the state of the address of the first number is "0", it indicates that the first number is in a non-uploaded state; for another example, when the state of the address of the first number is "1", it indicates that the first number is in an uploaded state.

[0095] Through the above example, the client can process the acquired first signal and related information of the first signal, so as to upload the first number marked by the user to the server.

[0096] To facilitate understanding of the client's execution process, a specific example is used for illustration.

[0097] See also Figure 2 A schematic diagram of an upload process of a first number in an embodiment of this specification is shown in FIG. Figure 2 As shown, the following steps can be performed:

[0098] S21, obtaining the first number marked by the user.

[0099] S22, whether the call duration of the first number is not less than the preset duration, if so, execute step S23; if not, execute step S24.

[0100] S23, performing a query operation on the database.

[0101] S24, filtering out the first number.

[0102] S25, whether there is a second number matching the first number, if yes, go to step S26; if no, go to step S27.

[0103] S26, inserting the first number, the first marking type of the first number, the number of times it is marked, and the user identification.

[0104] S27, whether the obtained marking time interval for the same first number by the same user is greater than the second preset time, if so, execute step S29; if not, execute step S28.

[0105] S28, discard the first number.

[0106] S29, updating the mark type of the second number to the first mark type.

[0107] S30, storing the first number, the first marking type of the first number, the number of times it is marked, and the user identification in step S26 into a database.

[0108] S31, whether there is a first number in the first state in the database, if so, upload the first number in the first state and / or the second number matching the first number, and update the state to the second state.

[0109] In some embodiments of the present specification, the inventors further discovered that when the first number obtained within a first preset time period, the first mark type of the first number, the number of times it was marked, and the user identifier are uploaded to the server through the client, there is a situation where the same user marks a large number of first numbers within the first preset time period, and there may be a first number that is marked with different types of marks, which will seriously affect the subsequent process of determining the actual mark type.

[0110] Based on this, when the first number obtained within a first preset time period, the first tag type of the first number, the number of times it is marked, and the user identification are uploaded to the server through the client, it can also include: for the same user, counting the number of first numbers marked by the same user through the server; when it is determined that the number of first numbers marked by the same user exceeds the first preset number of markings, filtering out the first numbers that exceed the first preset number of markings.

[0111] Specifically, the number of different first numbers obtained within the first preset time period can be counted, and the total number of times each different first number is marked can be obtained respectively, so as to be compared with the first preset marking number, and the first number exceeding the first preset marking number can be removed.

[0112] In some other embodiments, the first number, the first marking type of the first number, the number of times it is marked, and the user identifier may also be transmitted to a third party, and the third party may count the number of times each marking type corresponds to each number. The server may obtain the statistical results of the number of times each marking type corresponds to each number from the third party.

[0113] It is understandable that the same first number obtained can be arranged in order according to the time sequence in which the first numbers are obtained, so that when it is determined that the total number of times the first number is marked exceeds the first preset number of times, the first number can be removed according to the arrangement order.

[0114] Afterwards, based on the first tag type of the first number obtained by multiple different users, feature analysis of call-related behaviors can be performed within a preset time to obtain multiple feature variables (for example, operator, location, number segment, premium number attributes, number of queries, query time, source IP, query channel, etc.); then, the scores of each feature variable under multiple different tag recognition models are determined respectively, and the scores are used to indicate the matching degree of the first number under each tag recognition model; the tag type corresponding to the tag recognition model with the highest score is used as the true tag type of the first number.

[0115] By using the above example, the real mark type of the first number can be determined. However, there is a situation where the first number appears for the first time, and in the recent period, numbers similar to the first number may be marks of other types, so the real mark type of the first number cannot be immediately provided to the outside world.

[0116] In this case, the number marking method may also include: pushing the real marking type of the first number when it is determined that the number of times the real marking type of the first number is marked is greater than a second preset marking number, and the difference between the marking time of the real marking type of the first number and the current time is less than a preset time threshold.

[0117] Specifically, when the number of times the real marking type of the first number is marked is greater than the second preset marking number, it means that the real marking type of the first number is correct, and when the difference between the marking time of the real marking type of the first number and the current time is less than the preset time threshold, it means that the first number was obtained recently and has a higher authenticity. Therefore, when the user is in a call state and the call number is the first number, the real marking type of the first number can be pushed to the user.

[0118] In other words, in actual application scenarios, a number may be marked as multiple types by different users, but when providing number identification services to the outside world, only one type is provided. If a number has been recently (as a non-limiting example, for example, 90 days, which can be adjusted according to actual data verification results) submitted by a user and the number of times the type is marked is greater than the preset number of times (as a non-limiting example, for example, 20 days, which can be adjusted according to actual data verification results), it means that the number is more active and the marking accuracy is higher. To facilitate understanding of the number marking method in the embodiments of this specification, a specific example is used below for explanation.

[0119] See also Figure 3 The interactive schematic diagram of a number marking method in the embodiment of this specification is shown in FIG. Figure 3 As shown, after the user marks the first number, the client can upload the acquired first number to the server after traversal and matching operations. The server can determine the mark type of the first number and perform a push operation.

[0120] Specifically, the following steps may be included:

[0121] S41, the user marks the first number.

[0122] In a specific implementation, the user may mark the first number when in a call state or after completing a call state, so that the first number may have a first mark type.

[0123] Next, the client executes step S42 to upload the acquired first number to the server.

[0124] Specifically including: S421, obtaining a first number marked by a user.

[0125] In some embodiments, based on the call duration of the user, a number whose call duration is not less than a preset duration is obtained as the first number marked by the user.

[0126] In some embodiments, for any first number, within a second preset time, one of the multiple first numbers marked by a single user is obtained.

[0127] S422, performing a query operation on the database, that is, traversing the second numbers stored in the database to determine whether there is a second number that is the same as the first number.

[0128] For example, S423, when it is determined that the first number matches the second number, the marking type of the second number is updated to the first marking type; for another example, S424, when it is determined that the first number does not match the second number, the first number, the first marking type of the first number, the number of times it is marked, and the user identification are stored in the database.

[0129] In some embodiments, different upload logics may be executed based on different matching results.

[0130] For example, if the matching result of the first preset time period is: there is a second number that matches the first number, then during the first preset time period, S425-1 is executed to upload the data in the database within the first preset time period; for another example, if the matching result of the first preset time period is: there is no second number that matches the first number, then during the first preset time period, S425-2 is executed to upload the data in the database within the first preset time period; for another example, if during the first time period, there is both a second number that matches the first number and a second number that does not match the first number, then after executing step S423 or S424, the data in the database within the first preset time period may be uploaded. The specific method may depend on the situation of the last first number in the first preset time period.

[0131] When the server obtains the data stored in the database for the first preset time period, step S43 may be executed to determine the real marking type of the first number.

[0132] Specifically, step S431 may be executed to filter out first numbers that have been marked more than the first preset number of times by the same user when it is determined that the number of marks for the same first number by the same user exceeds the first preset number of times.

[0133] Next, step S432 is executed to select a mark recognition model with the highest matching degree with the first number from multiple mark recognition models, and use the mark type corresponding to the mark recognition model as the real mark type of the first number.

[0134] And optionally, S433, when it is determined that the number of times the real marking type of the first number is marked is greater than the second preset marking number, and the difference between the marking time of the real marking type of the first number and the current time is less than the preset time threshold, the real marking type of the first number is pushed.

[0135] Finally, by executing steps S44 and S15, the real mark type of the first number can be pushed, so that when the user is in a call state and the call number is the first number, the real mark type of the first number can be accurately pushed to the user.

[0136] This specification also provides a number marking device corresponding to the above number marking method, which is described in detail below through specific embodiments with reference to the accompanying drawings.

[0137] Reference Figure 4 The structural diagram of a number marking device in the embodiment of this specification is shown in FIG. Figure 4 As shown, the number marking device 100 may include: a client 110 and a server 120, wherein:

[0138] The client 110 is adapted to obtain a first number marked by a user, the first number having a first marking type, wherein the client has a built-in database 111, wherein a plurality of marked second numbers are stored in the database, the second numbers having a second marking type; and by performing a query operation, when it is determined that the first number matches the second number in the database, the marking type of the second number is updated to the first marking type; when it is determined that the first number does not match the second number in the database, the first number, the first marking type of the first number, the number of times it is marked, and the user identification are stored in the database, and uploaded to the server, wherein the server has a plurality of marking recognition models (not shown in the figure), and one marking recognition model corresponds to one marking type;

[0139] The server is suitable for selecting a mark recognition model with the highest matching degree with the first number from multiple mark recognition models based on the first number, the first mark type of the first number, the number of times it is marked, and the user identifier, and using the mark type corresponding to the mark recognition model as the real mark type of the first number.

[0140] It is understandable that the division of the above units is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. In addition, the above units can be implemented in the form of a processor calling software.

[0141] By using the above-mentioned number marking device 100, through matching operations, the client 110 can execute different processing processes, and then based on the multiple mark recognition models in the server 120, it can select the mark recognition model with the highest matching degree with the first number from the multiple mark recognition models. Since one mark recognition model corresponds to one mark type, the mark type corresponding to the mark recognition model can be used as the real mark type of the first number, thereby improving the accuracy of the number marking type.

[0142] In order to enable those skilled in the art to better understand and implement, a specific implementation example of the number marking device is described below by way of example.

[0143] In a specific implementation, when a user marks a number, some marking information may be wrong or not be of reference significance.

[0144] For example, extremely short or extremely long call duration. If the call duration is extremely short, the user cannot know the actual status of the first number, and even if the first number is marked, the marking type will be inaccurate; if the call duration is extremely long, it means that the user corresponding to the first number is relatively familiar with each other, and if the first number is marked as "fraud" or "takeout" at this time, it will have no reference significance.

[0145] Based on this, when the client obtains the first number marked by the user, it can obtain a number whose call duration is not less than a preset duration according to the call duration of the user as the first number marked by the user.

[0146] The call duration can be obtained when the user is in a call state, and when the user ends the call state.

[0147] Specifically, when the call duration is not less than the preset duration, it means that the marking information is untrue and may be caused by system error or human error, so the first number of this type can be removed.

[0148] In a specific implementation, when marking numbers, the marking values ​​of different users are the same.

[0149] However, if there are some malicious users, since it is impossible to identify these users, their marking of a number will be equivalent to the marking of the number by normal users, which will bring great interference and noise to the accurate identification of the number, and even directly lead to number identification errors.

[0150] In this case, when the client obtains the first number marked by the user, for any first number, within the second preset time, one of the multiple first numbers marked by a single user is obtained through the client.

[0151] Specifically, within the second preset time (a shorter time, much shorter than the first preset time), the client obtains the same first number marked by a large number of users. At this time, it can be considered that the user is making malicious markings. In this way, only one first number can be obtained within the second preset time, even though the user has repeatedly marked the first number, thereby effectively avoiding or preventing misleading marking of a first number by a single user.

[0152] In a specific implementation example, the second preset time may be 1 hour.

[0153] In a specific implementation example, one of the multiple first numbers may be the first number obtained first.

[0154] By adopting the preventive measures in the above example, the first number of the user mark obtained can be correctly applied to the subsequent identification process, so that the above operation can be performed.

[0155] When the client obtains the first number marked by the user, it can perform a query operation to traverse the second numbers stored in the database. By matching the second number with the first number, when it is determined that the second number matches the first number, the marking type of the second number can be updated to the first marking type. In this way, there is no need to store the first number, which can reduce the storage capacity of the database; and when it is determined that the second number does not match the first number, the first number, the first marking type of the first number, the number of times it is marked, and the user identifier are stored in the database, so that the database can contain more different marked numbers.

[0156] When the duration reaches the first preset time period, the client can upload all the first numbers within the first preset time period, as well as the first marking type of the first number, the number of times it is marked, and the user identification to the server for further processing by the server to determine whether the first marking type of the first number is valid.

[0157] For example, the server has multiple tag recognition models. After obtaining the first number and related information of the first number within a first preset time period, each tag recognition model can be used to identify the first number, and the matching degree of the first number to each tag recognition model can be generated respectively, so that a tag recognition model with the highest matching degree can be selected. Since one tag recognition model corresponds to one tag type, the true tag type of the first number can be determined.

[0158] The manner in which the server determines the true marking type of the first number can be found in the aforementioned example and will not be described again here.

[0159] In some embodiments of the present specification, the server can determine the real mark type of the first number. However, there may be a situation where the first number appears for the first time, and in the recent period, numbers similar to the first number may be other types of marks, so the real mark type of the first number cannot be immediately provided to the outside world.

[0160] Based on this, see Figure 4 The number marking device 100 may also include: a push unit 130, adapted to push the real marking type of the first number when it is determined that the number of times the real marking type of the first number is marked is greater than a second preset marking number, and the difference between the marking time of the real marking type of the first number and the current time is less than a preset time threshold.

[0161] Specifically, when the number of times the real marking type of the first number is marked is greater than the second preset marking number, it means that the real marking type of the first number is correct, and when the difference between the marking time of the real marking type of the first number and the current time is less than the preset time threshold, it means that the first number was obtained recently and has a higher authenticity. Therefore, when the user is in a call state and the call number is the first number, the real marking type of the first number can be pushed to the user.

[0162] The embodiments of this specification also provide a number marking device, including: the number marking device described in any of the above embodiments, the number marking device including: a client and a server; and a mobile terminal, which is communicatively connected to the number marking device, and the client is set in the mobile terminal.

[0163] Specifically, when a user makes a call through a mobile terminal (such as a mobile phone or other device with communication and marking functions), or after the call, after marking the first number, the client and the server can execute the method described in the above example to display the marking type of the first number to the user through the mobile terminal.

[0164] The embodiment of this specification also provides an electronic device suitable for implementing the number marking method, wherein the electronic device includes a central processing unit (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) or the program loaded from the storage part to the random access memory (RAM), such as executing the method described in the above embodiment. In the RAM, various programs and data required for system operation are also stored. The CPU, ROM and RAM are connected to each other through a bus. The input / output (I / O) interface is also connected to the bus.

[0165] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. The drive 310 is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.

[0166] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), various functions defined in the system of the present application are executed.

[0167] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0168] In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. 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. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0169] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0170] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.

[0171] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.

[0172] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0173] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0174] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application 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 touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0175] Although the embodiments of this specification are disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, so the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. A number marking method, characterized in that: include: Acquire, through a client, a first number marked by a user, the first number having a first marking type, wherein the client has a built-in database, the database storing a plurality of marked second numbers, the second numbers having a second marking type; Performing a query operation through the client, when it is determined that the first number matches the second number in the database, updating the mark type of the second number to the first mark type; when it is determined that the first number does not match the second number in the database, storing the first number, the first mark type of the first number, the number of times it is marked, and the user identifier in the database; Uploading the first number acquired within a first preset time period, the first tag type of the first number, the number of times it has been marked, and the user identifier to a server through the client, wherein the server has multiple tag recognition models, and one tag recognition model corresponds to one tag type; Based on the first number, the first tag type of the first number, the number of times it has been marked, and the user identifier, a tag recognition model with the highest match to the first number is selected from multiple tag recognition models, and the tag type corresponding to the tag recognition model is used as the true tag type of the first number.

2. The number marking method according to claim 1, characterized in that: The obtaining, through the client, the first number marked by the user includes at least one of the following: According to the call duration of the user, obtaining a number whose call duration is not less than a preset duration as the first number marked by the user; Determine the interval between the time when the first number is marked and the time when the call starts, and use the number whose interval is shorter than a preset interval as the first number marked by the user.

3. The number marking method according to claim 1, characterized in that: The step of obtaining the first number marked by the user through the client comprises: For any first number, within a second preset time, one of the plurality of first numbers marked by a single user is obtained through the client.

4. The number marking method according to claim 1, characterized in that: Before uploading the first number, the first marking type, the number of markings, and the user identifier of the first number acquired within the first preset time period to the server through the client, the method further includes: When it is determined that the user's network fluctuates, the database is traversed, and the first number and / or the second number matching the first number marked as the first state in the database is uploaded to the server, and the first number and / or the second number matching the first number is updated to the second state, wherein the first state is a non-uploaded state and the second state is an uploaded state.

5. The number marking method according to claim 1, characterized in that: The method of selecting a mark recognition model with the highest matching degree with the first number from a plurality of mark recognition models based on the first number, the first mark type of the first number, the number of times the first number is marked, and the user identifier, and using the mark type corresponding to the mark recognition model as the true mark type of the first number includes: Based on the first mark types of the first number obtained by multiple different users, feature analysis is performed on call-related behaviors within a preset time to obtain multiple feature variables; Determining scores of each characteristic variable under a plurality of different marker recognition models respectively, wherein the scores are used to indicate a matching degree of the first number under each marker recognition model; The mark type corresponding to the mark recognition model with the highest score is used as the true mark type of the first number.

6. The number marking method according to claim 1, characterized in that: When the first number, the first marking type, the number of times the first number is marked, and the user identifier are uploaded to the server through the client within the first preset time period, the method further includes: For the same user, the number of first numbers marked by the same user is counted by the server; When it is determined that the number of first numbers marked by the same user exceeds a first preset marking number of times, the first numbers exceeding the first preset marking number of times are filtered out.

7. The number marking method according to claim 1, characterized in that: Also includes: When it is determined that the number of times the real marking type of the first number is marked is greater than the second preset marking number, and the difference between the marking time of the real marking type of the first number and the current time is less than the preset time threshold, the real marking type of the first number is pushed.

8. A number marking device, characterized in that: include: Client and server, where: The client is adapted to obtain a first number marked by a user, the first number having a first marking type, wherein the client has a built-in database, the database storing a plurality of marked second numbers, the second numbers having a second marking type; and by performing a query operation, when it is determined that the first number matches the second number in the database, updating the marking type of the second number to the first marking type; when it is determined that the first number does not match the second number in the database, storing the first number, the first marking type of the first number, the number of times it is marked, and the user identifier in the database, and uploading them to the server, wherein the server has a plurality of marking recognition models, and one marking recognition model corresponds to one marking type; The server is suitable for selecting a mark recognition model with the highest matching degree with the first number from multiple mark recognition models based on the first number, the first mark type of the first number, the number of times it is marked, and the user identifier, and using the mark type corresponding to the mark recognition model as the real mark type of the first number.

9. The number marking device according to claim 8, characterized in that: Also includes: The push unit is adapted to push the real marking type of the first number when it is determined that the number of times the real marking type of the first number is marked is greater than a second preset number of times, and the difference between the marking time of the real marking type of the first number and the current time is less than a preset time threshold.

10. A number marking device, characterized in that: include: The number marking device according to claim 8 or 9, the number marking device comprising: a client and a server; A mobile terminal, in communication with the number marking device; Wherein, the client is arranged in the mobile terminal.