CN109348438B - Customer identification method and device in short message communication process - Google Patents

Customer identification method and device in short message communication process Download PDF

Info

Publication number
CN109348438B
CN109348438B CN201811467760.8A CN201811467760A CN109348438B CN 109348438 B CN109348438 B CN 109348438B CN 201811467760 A CN201811467760 A CN 201811467760A CN 109348438 B CN109348438 B CN 109348438B
Authority
CN
China
Prior art keywords
character
number segment
identification number
characters
segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811467760.8A
Other languages
Chinese (zh)
Other versions
CN109348438A (en
Inventor
李�昊
许志强
孙昌勋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ronglian Yitong Information Technology Co ltd
Original Assignee
Beijing Ronglian Yitong Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ronglian Yitong Information Technology Co ltd filed Critical Beijing Ronglian Yitong Information Technology Co ltd
Priority to CN201811467760.8A priority Critical patent/CN109348438B/en
Publication of CN109348438A publication Critical patent/CN109348438A/en
Application granted granted Critical
Publication of CN109348438B publication Critical patent/CN109348438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for identifying a client in a short message communication process. The method is applied to a service provider server and comprises the following steps: receiving a short message sent by an operator server, and extracting the source number from the short message; wherein, the source number includes: the method comprises the steps that an operator accesses a number segment and a customer identification number segment, wherein the customer identification number segment comprises a plurality of characters; sequentially extracting characters in the source number from a character next to a last character of the operator access number segment, and sequentially matching the extracted characters with characters of the number segment stored in a preset database until a complete number segment in a data warehouse is matched and used as the customer identification number segment; and determining the client to which the client identification number segment belongs according to the client identification number segment. Thus, user experience can be improved.

Description

Customer identification method and device in short message communication process
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for identifying a client identity in a short message communication process.
Background
When the short message is used for communication, a service provider distinguishes different clients sending the short message through a source number carried in the short message, the number of digits of a number segment for distinguishing the clients, which is set in the source number, is fixed, and when a server of the service provider forwards the short message, the server needs to firstly determine the client to which the short message belongs; in the prior art, when a client to which a short message belongs is determined, a server of a service provider extracts a number segment of a fixed number, and then determines the client to which a source number belongs according to the extracted number segment of the fixed number.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for identifying a client in a short message communication process, so as to improve user experience.
In a first aspect, an embodiment of the present invention provides a method for identifying a client in a short message communication process, applied to a service provider server, including:
receiving a short message sent by an operator server, and extracting the source number from the short message; wherein, the source number includes: the method comprises the steps that an operator accesses a number segment and a customer identification number segment, wherein the customer identification number segment comprises a plurality of characters;
sequentially extracting each character in the source number from the next character of the last character of the operator access number segment, and sequentially matching each extracted character with the characters of the number segment stored in a preset database until a complete number segment in a data warehouse is matched and used as the client identification number segment;
and determining the client to which the short message belongs according to the client identification number segment.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the method further includes:
allocating a customer identification number segment to a customer in advance, and setting at least two continuous characters from an initial character to be different in the customer identification numbers of different customers;
and storing the client identification number segment in a preset database in a binary tree mode, wherein the initial character of the client identification number segment is used as a root node of the binary tree.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the initial character of the client identification number is a character length of the client identification number segment.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the method further includes:
allocating a customer identification number segment to a customer in advance, and setting at least two continuous characters from an initial character in the customer identification number segments of different customers to be different;
and storing the client identification number segment and the position label of each character in the client identification number segment in the preset database in a data table mode, and setting the initial character of the client identification number segment as the identifier of the data table.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the extracting, starting from a next character of a last character of the operator access number segment, each character in the extended number segment in turn, matching each extracted character with a character of a number segment stored in a preset database until a complete number segment in a database is matched as the extended number segment, includes:
firstly, extracting the next character of the last character of the operator access number segment, and matching a data table corresponding to the character from the preset database according to the character;
and sequentially extracting other characters after the characters and the position labels of the characters, matching the number with the characters with the same position labels in the table, and matching the next character after the number is consistent with the characters with the same position labels until a complete number segment is matched to serve as the extended number segment.
In a second aspect, an embodiment of the present invention provides a device for identifying a client in a short message communication process, including:
the extraction module is used for receiving a short message sent by an operator server and extracting a source number from the short message; wherein, the source number includes: the method comprises the steps that an operator accesses a number segment and a customer identification number segment, wherein the customer identification number segment comprises a plurality of characters;
the matching module is used for sequentially extracting characters in the source number from the next character of the last character of the number access segment of the operator, and sequentially matching the extracted characters with the characters of the number segment stored in a preset database until a complete number segment in a data warehouse is matched and used as the client identification number segment;
and the determining module is used for determining the client to which the short message belongs according to the client identification number segment.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the apparatus further includes:
a first allocation module, which is used for allocating customer identification number segments for customers in advance and setting that at least two continuous characters from initial characters in the customer identification numbers of different customers are different;
and the first storage module is used for storing the client identification number segment in a preset database in a binary tree mode, and the initial character of the client identification number segment is used as a root node of the binary tree.
With reference to the second aspect or the first possible implementation manner of the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the initial character of the client identification number is a character length of the client identification number segment.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the apparatus further includes:
a second allocation module, for allocating customer identification number segments to customers in advance, and setting at least two continuous characters from the initial character in the customer identification number segments of different customers to be different;
and the second storage module is used for storing the client identification number segment and the position label of each character in the client identification number segment in a preset database in a data table mode, and setting the initial character of the client identification number segment as the identifier of the data table.
With reference to the third possible implementation manner of the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the matching module is specifically configured to:
firstly, extracting the next character of the last character of the operator access number segment, and matching a data table corresponding to the character from the preset database according to the character;
and sequentially extracting other characters after the characters and the position labels of the characters, matching the number with the characters with the same position labels in the table, and matching the next character after the number is consistent with the characters with the same position labels until a complete number segment is matched to serve as the extended number segment.
The method and the device for identifying the client in the short message communication process provided by the embodiment of the invention start from the next character of the last character of the operator access number segment in the source number, sequentially extract each character in the source number, sequentially match each character with the characters of the number segment stored in a preset database until a complete number segment in the database is matched, and use the number segment as a countable identification number segment; and then determining the client to which the short message belongs according to the client identification number segment. In the application, the client identification number segments do not need to be set to be uniform and fixed lengths, the client identification number segments can be allowed to have different lengths, and the final client identification number segment is obtained by matching each character in the client identification number segment one by one, so that the problem that the client identification number segments cannot be identified when the lengths of the client identification number segments are not uniform in the prior art is solved; the user experience is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic view illustrating an application scenario of a method for identifying a client in a short message communication process according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a method for identifying a client in a short message communication process according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating data composition of a source number according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a binary tree provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating a device for identifying a client in a short message communication process according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, if the character lengths of the identification number segments of the clients are not uniform in the short message communication process, the service provider server may fail to identify the clients. Based on this, the embodiment of the present invention provides a method and an apparatus for identifying a client in a short message communication process, which are described below by an embodiment.
In a communication system, comprising: the service provider is used for providing basic traffic service, and the service provider provides richer service contents for the traffic service based on the basis of the basis provided by the operator, namely, value added services are operated in the operator network.
Fig. 1 is a schematic application scenario diagram of a method for identifying a client in a short message communication process according to an embodiment of the present application. Referring to fig. 1, the method for identifying a client in a short message communication process provided by the present application is applied to a service provider server, and the short message communication process includes: the customer of the service provider (short message enterprise customer) sends a short message to a user terminal (target user of an enterprise) through the service provider, wherein the short message comprises a mobile phone number, short message content and a source number, and the source number is used for enabling the service provider to distinguish different services. Specifically, as shown in fig. 2, the source number includes three parts: the service provider server receives the uplink short message, acquires a source number contained in the short message, and identifies the customer of the service provider by identifying the SP extension number after the service provider server removes the access number of the operator from the source number, so as to push the short message to the customer of the corresponding service provider. The SP extension number is the client identification number segment.
Fig. 3 is a flowchart illustrating a method for identifying a client in a short message communication process according to an embodiment of the present application. The method is applied to a server of a service provider, and as shown in fig. 3, the method includes the following steps S300 to S304:
step S300, receiving a short message sent by an operator server, and extracting the source number from the short message; wherein, the source number includes: the system comprises an operator access number section and a customer identification number section, wherein the customer identification number section comprises a plurality of characters.
The carrier access number segment is fixed and known to the service provider server and is a string or number sequence following the carrier access number on the data structure of the source code as the customer identification number segment.
And step S302, sequentially extracting characters in the source number from the next character of the last character of the operator access number segment, and sequentially matching the extracted characters with the characters of the number segment stored in a preset database until a complete number segment in a data warehouse is matched and used as the client identification number segment.
In the embodiment of the application, the next character of the last character of the operator access number is the first character in the customer identification number segment. After extracting the source number, the service provider server performs character extraction and character matching in sequence starting from a character next to a last character of the operator access number in the source number.
And step S304, determining the client of the short message according to the client identification number segment.
And after determining the customer of the short message, the service provider server sends the short message to the customer.
In the embodiment of the application, after receiving the uplink short message, the service provider server extracts the source number from the short message, and obtains the customer identification number segment of the customer of the service provider by performing matching analysis on the source number, specifically, the service provider server starts from the next character of the last character of the operator access number segment, extracts the character accordingly, matches the extracted character with the character in the preset database, and continues to match the next character until a complete number segment is matched, wherein the number segment is the customer identification number segment at this moment. Compared with the prior art, the method for identifying by extracting the character string with fixed length can allow the clients of the service provider to have the client identification number segments with different digits, thereby increasing the number of the clients capable of being identified; the problem of identification failure caused by non-uniform digits of the client identification number segments is also solved, and the user experience is improved.
In an embodiment of the present application, the method for identifying a client in a short message communication process further includes the following steps a10-a 20:
step a10, allocating customer identification number segments to customers in advance, and setting at least two continuous characters from the initial character in the customer identification numbers of different customers to be different.
In this embodiment, when a customer applies for a service for the first time, the service provider server may allocate a customer identification number segment to the customer, and when the server allocates the customer identification number segment to the customer, at least two consecutive characters (or numbers) of the customer identification number segment from an initial character are set to be different, for example, first characters in all the customer identification number segments are different, and second characters in identification numbers of all the customers are also different. Therefore, errors of the client identification code character segments with different digits in identification can be avoided.
Step A20, storing the client identification number segment in the preset database in a binary tree mode, wherein the initial character of the client identification number segment is used as the root node of the binary tree.
In a preferred embodiment, when the service provider server allocates the customer identification number segment to the customer, the service provider server sets the first character of the customer identification number segment to be the character length of the customer identification number segment, so that after the service provider server acquires the source number, the character length of the customer identification number segment can be judged according to the next character of the last character of the operator access number, further the character string with the character length can be extracted, and the characters in the character string are subjected to binary tree recursive search one by one to obtain a complete number segment, and further the customer identification number segment is obtained.
Fig. 4 is a schematic diagram of a binary tree in an embodiment of the present application, where a client identification number segment is: 346, for example, the length of the client identification code is 3, and the first character of the client identification code is 3, and when the client identification number segment is stored, the number 3 is used as the root node of the binary tree. And then when the service provider server extracts the first character of the customer identification number segment, firstly matching the first character to the root node of the binary tree, after the matching of the first character is completed, continuing to match the second bit character, performing matching search on the father node of the second bit character 4 in the binary tree, after the matching is successful, continuing to perform matching search on the third bit character, performing matching search on the character 6 and the child node in the binary tree, after the matching is successful, if the matching search on the fourth character is continued, no node is matched with the fourth character, at this moment, finishing the matching search, obtaining a complete number segment 346, wherein the number segment is the customer identification number segment, and the characters behind the customer identification number segment are the child extension numbers.
In this embodiment, when all the client identification number segments are stored in the binary tree manner, the server of the service provider may perform character-by-character matching in the binary tree recursive search manner until the last character is matched without node matching, and the obtained complete number segment is used as the user identification number.
In this embodiment, the service provider server may obtain length information of the user identification number segment according to the first character of the user identification number segment, and extract a character string of the length for matching.
In another possible embodiment of the present application, the method further includes the following steps B10-B20:
step B10, the service provider server allocates the customer identification number segment to the customer in advance, and sets at least two consecutive characters from the initial character in the customer identification number segments of different customers to be different.
Step B20, storing the client identification number segment and the position label of each character in the client identification number segment in the preset database in a data table manner, and setting the initial character of the client identification number segment as the identifier of the data table.
In the embodiment of the application, the service provider server correspondingly stores each character in the customer identification number segment and the position label of the character in a data table, and stores the data table in a preset database, so that when the customer is identified, the server firstly extracts the next character of the last character of the operator access number segment, and matches a data table corresponding to the character from the preset database according to the character.
And sequentially extracting other characters after the characters and the position labels of the characters, matching the number with the characters with the same position labels in the table, and matching the next character after the number is consistent with the characters with the same position labels until a complete number segment is matched to serve as the extended number segment.
The table in the data table is also provided with a corresponding position number, and when the customer identification code preset for the customer is stored, the characters in the customer identification code are stored in the table with the same position number as the characters.
Fig. 5 is a schematic structural diagram of a device for identifying a client in a short message communication process according to an embodiment of the present application. Referring to fig. 5, the apparatus includes:
an extraction module 401, configured to receive a short message sent by an operator server, and extract the source number from the short message; wherein, the source number includes: the method comprises the steps that an operator accesses a number segment and a customer identification number segment, wherein the customer identification number segment comprises a plurality of characters;
a matching module 402, configured to sequentially extract each character in the source number from a character next to a last character of the operator access number segment, and sequentially match each extracted character with a character of a number segment stored in a preset database until a complete number segment in a data warehouse is matched as the customer identification number segment;
a determining module 403, configured to determine, according to the mapping relationship between the extension number segment and the client stored in the database, a client to which the client identification number segment belongs.
In an optional embodiment of the present application, the apparatus further includes:
a first allocation module, which is used for allocating customer identification number segments for customers in advance and setting that at least two continuous characters from initial characters in the customer identification numbers of different customers are different;
and the first storage module is used for storing the client identification number segment in a preset database in a binary tree mode, and the initial character of the client identification number segment is used as a root node of the binary tree.
In an alternative embodiment of the present application, the initial character of the client identification number is a character length of the client identification number segment.
In an optional embodiment of the present application, the apparatus further includes:
a second allocation module, for allocating customer identification number segments to customers in advance, and setting at least two continuous characters from the initial character in the customer identification number segments of different customers to be different;
and the second storage module is used for storing the client identification number segment and the position label of each character in the client identification number segment in a preset database in a data table mode, and setting the initial character of the client identification number segment as the identifier of the data table.
In an optional embodiment of the present application, the matching module is specifically configured to:
firstly, extracting the next character of the last character of the operator access number segment, and matching a data table corresponding to the character from the preset database according to the character;
and sequentially extracting other characters after the characters and the position labels of the characters, matching the number with the characters with the same position labels in the table, and matching the next character after the number is consistent with the characters with the same position labels until a complete number segment is matched to serve as the extended number segment.
The computer program product of the method for identifying a client in a short message communication process provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
The device for identifying the client in the short message communication process provided by the embodiment of the invention can be specific hardware on equipment or software or firmware installed on the equipment and the like. The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided by the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the present invention in its spirit and scope. Are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for identifying a customer in a short message communication process is applied to a service provider server, and is characterized by comprising the following steps:
receiving a short message sent by an operator server, and extracting a source number from the short message; wherein, the source number includes: the method comprises the steps that an operator accesses a number segment and a customer identification number segment, wherein the customer identification number segment comprises a plurality of characters;
sequentially extracting characters in the source number from a character next to a last character of the operator access number segment, and sequentially matching the extracted characters with characters of the number segment stored in a preset database until a complete number segment in a data warehouse is matched and used as the customer identification number segment;
determining the client to which the short message belongs according to the client identification number segment;
further comprising: a customer identification number segment is assigned to a customer in advance, and at least two consecutive characters from an initial character in the customer identification numbers of different customers are set to be different.
2. The method of claim 1, further comprising:
and storing the client identification number segment in a preset database in a binary tree mode, wherein the initial character of the client identification number segment is used as a root node of the binary tree.
3. The method of claim 2 wherein the initial characters of the customer identification number are the character lengths of the customer identification number segments.
4. The method of claim 1, further comprising:
allocating a customer identification number segment to a customer in advance, and setting at least two continuous characters from an initial character in the customer identification number segments of different customers to be different;
and storing the client identification number segment and the position label of each character in the client identification number segment in the preset database in a data table mode, and setting the initial character of the client identification number segment as the identifier of the data table.
5. The method of claim 4, wherein sequentially extracting each character in the extended number segment starting from a character next to a last character of the operator access number segment, and matching the extracted each character with a character of a number segment stored in a preset database until a complete number segment in a database is matched as the extended number segment comprises:
firstly, extracting the next character of the last character of the operator access number segment, and matching a data table corresponding to the character from the preset database according to the character;
and sequentially extracting other characters after the characters and the position labels of the characters, matching the number with the characters with the same position labels in the table, and matching the next character after the number is consistent with the characters with the same position labels until a complete number segment is matched to serve as the extended number segment.
6. A device for identifying a client in a short message communication process is characterized by comprising:
the extraction module is used for receiving a short message sent by an operator server and extracting a source number from the short message; wherein, the source number includes: the method comprises the steps that an operator accesses a number segment and a customer identification number segment, wherein the customer identification number segment comprises a plurality of characters;
the matching module is used for sequentially extracting characters in the source number from the next character of the last character of the number access segment of the operator, and sequentially matching the extracted characters with the characters of the number segment stored in a preset database until a complete number segment in a data warehouse is matched and used as the client identification number segment;
the determining module is used for determining the client to which the short message belongs according to the client identification number segment;
the first distribution module is used for distributing customer identification number segments for customers in advance and setting at least two continuous characters from the initial character in the customer identification numbers of different customers to be different.
7. The apparatus of claim 6, further comprising:
and the first storage module is used for storing the client identification number segment in a preset database in a binary tree mode, and the initial character of the client identification number segment is used as a root node of the binary tree.
8. The apparatus of claim 7 wherein the initial character of the client identification number is the character length of the client identification number segment.
9. The apparatus of claim 6, further comprising:
a second allocation module, for allocating customer identification number segments to customers in advance, and setting at least two continuous characters from the initial character in the customer identification number segments of different customers to be different;
and the second storage module is used for storing the client identification number segment and the position label of each character in the client identification number segment in a preset database in a data table mode, and setting the initial character of the client identification number segment as the identifier of the data table.
10. The apparatus of claim 9, wherein the matching module is specifically configured to:
firstly, extracting the next character of the last character of the operator access number segment, and matching a data table corresponding to the character from the preset database according to the character;
and sequentially extracting other characters after the characters and the position labels of the characters, matching the number with the characters with the same position labels in the table, and matching the next character after the number is consistent with the position labels until a complete number segment is matched to be used as an extended number segment.
CN201811467760.8A 2018-12-03 2018-12-03 Customer identification method and device in short message communication process Active CN109348438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811467760.8A CN109348438B (en) 2018-12-03 2018-12-03 Customer identification method and device in short message communication process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811467760.8A CN109348438B (en) 2018-12-03 2018-12-03 Customer identification method and device in short message communication process

Publications (2)

Publication Number Publication Date
CN109348438A CN109348438A (en) 2019-02-15
CN109348438B true CN109348438B (en) 2021-08-03

Family

ID=65319375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811467760.8A Active CN109348438B (en) 2018-12-03 2018-12-03 Customer identification method and device in short message communication process

Country Status (1)

Country Link
CN (1) CN109348438B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112689249B (en) * 2020-12-11 2022-05-06 北京金山云网络技术有限公司 Short message sending method, device, system, storage medium and electronic equipment
CN114466322B (en) * 2022-02-15 2024-01-23 阿里巴巴(中国)有限公司 Communication method, system, device, storage medium and processor

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005043781A1 (en) * 2003-10-28 2005-05-12 Sheng Zhan Information Technology (Shanghai) Ltd. Method and system for connecting characters, words and signs to a telecommunication number
CN100466765C (en) * 2006-03-28 2009-03-04 华为技术有限公司 Pre-processing device, system and method for service short message
CN101080045B (en) * 2007-07-18 2012-01-11 中兴通讯股份有限公司 Message filtering distribution system and method
CN101516086B (en) * 2008-02-21 2010-12-01 卓望数码技术(深圳)有限公司 Service matching method for mobile communication
CN101668262B (en) * 2008-09-03 2012-03-07 中兴通讯股份有限公司 SP short message authentication method in short message gateway and configuration method of authentication number segment
CN103179499A (en) * 2011-12-22 2013-06-26 中国电信股份有限公司 Number display processing method and system of service provider service numbers
CN103986603A (en) * 2014-05-23 2014-08-13 上海新炬网络技术有限公司 SP service monitoring method based on user group consumption experience
US10034172B2 (en) * 2016-12-27 2018-07-24 Sap Se Facilitation of user authentication using mobile devices

Also Published As

Publication number Publication date
CN109348438A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN108460115B (en) Message pushing method and device, computer equipment and storage medium
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
US11038975B2 (en) Information pushing method and device
CN110276060B (en) Data processing method and device
CN108093026B (en) Method and device for processing multi-tenant request
CN109348438B (en) Customer identification method and device in short message communication process
CN111353773A (en) Method and device for processing identifier, storage medium and electronic device
CN111314238A (en) Token management method and device, storage medium and electronic device
CN107391277B (en) Information processing method and device
CN111753210B (en) Resource pushing method and device, computer equipment and computer readable storage medium
US20190012362A1 (en) Method and apparatus for processing information
CN111626796B (en) Flow estimation method and device
CN106571942B (en) Configuration data updating method, client and server
CN114610951A (en) Data processing method and device, electronic equipment and readable storage medium
CN110769064B (en) System, method and equipment for offline message pushing
CN110188276B (en) Data transmission device, method, electronic device, and computer-readable storage medium
CN114328632A (en) User data analysis method and device based on bitmap and computer equipment
CN109246280B (en) Address book cloud processing method and device, computer equipment and readable storage medium
CN112749173A (en) Method and device for updating object
CN112307297B (en) User identification unification method and system based on priority rule
CN111026613B (en) Log processing method and device
CN112395024A (en) Interface calling method and related device
CN103957230A (en) Client user number determination method, server and system, and server
CN108845995B (en) Data processing method, data processing apparatus, storage medium, and electronic apparatus
CN108038403B (en) Card reading method based on NFC technology and client

Legal Events

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