CN115379402B - Control method and device for pushing uplink short messages - Google Patents
Control method and device for pushing uplink short messages Download PDFInfo
- Publication number
- CN115379402B CN115379402B CN202210950848.5A CN202210950848A CN115379402B CN 115379402 B CN115379402 B CN 115379402B CN 202210950848 A CN202210950848 A CN 202210950848A CN 115379402 B CN115379402 B CN 115379402B
- Authority
- CN
- China
- Prior art keywords
- uplink
- short message
- client
- spreading code
- matching
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000007480 spreading Effects 0.000 claims abstract description 149
- 238000004891 communication Methods 0.000 claims description 17
- 238000011144 upstream manufacturing Methods 0.000 claims 1
- 230000003796 beauty Effects 0.000 description 6
- 230000000295 complement effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a control method and a device for pushing an uplink short message, wherein the control method comprises the following steps: when an uplink short message from an operator exists, acquiring an uplink spreading code of the uplink short message, wherein the uplink short message carries a mobile phone number; matching to a target client based on the mobile phone number; matching the clients by adopting a corresponding matching mode based on the number of bits of the spreading codes and the number of target clients; and pushing the uplink short message to the matching client. By the mode, the embodiment of the invention can improve the matching efficiency and accuracy.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling uplink short message pushing.
Background
In daily life, the mobile phone receives various short messages, wherein one type of short messages needs to be replied, such as whether to participate in an activity inquiry notice, a flow node approves information and the like. At this time, the user needs to reply the content of the specified short message to the specified number, and the information sender receives the reply message and then carries out the next processing, wherein the short message sent to the user is called as a downlink short message, the uplink short message of the user is called as an uplink short message, and the sending source number displayed on the mobile phone of the user is called as a long number. The process of sending and receiving the short message can be divided into a downlink stage and an uplink stage of the short message.
In the prior art, because the operator matches the customer account number according to the intermediate spreading code of the code number according to the uplink short message pushed by the channel, because the operator matches the customer account number according to the intermediate spreading code of the code number according to the uplink short message, in order to meet the requirement of an uplink unique platform, the account spreading code allocated to each customer is also required to be unique, the account spreading code of the platform level is limited, a short message company generally allocates 5-8 longer customer spreading codes, the operator prescribes the channel code number to be 20, deducts the 10-bit code number and deducts the account spreading code allocated by the 5-bit platform, only 5-bit code is reserved for the customer, and when the company customer increases the service account number, the 5-bit code cannot meet the requirement and the matching error easily occurs.
Disclosure of Invention
The invention provides a control method and a device for pushing an uplink short message, which solve the technical problem of insufficient spreading code bits in the prior art.
The technical scheme of the invention is as follows: the method for controlling the pushing of the uplink short message comprises the following steps: when an uplink short message from an operator exists, acquiring an uplink spreading code of the uplink short message, wherein the uplink short message carries a mobile phone number; matching to a target client based on the mobile phone number; matching the clients by adopting a corresponding matching mode based on the number of bits of the spreading codes and the number of target clients; and pushing the uplink short message to the matching client.
In an optional manner, the matching the clients based on the number of bits of the spreading code and the number of target clients in a corresponding matching manner includes:
When the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is available, matching is performed in a first mode based on the uplink short message to obtain matched clients;
And when the uplink spreading code is smaller than the preset bit number and more than one target client is needed, complementing the uplink spreading code of the corresponding target client, and carrying out second mode matching based on the complemented uplink spreading code to obtain a matched client.
In an optional manner, the matching to the target client based on the mobile phone number includes:
analyzing information sent by the mobile phone number in a preset time period;
And acquiring a target client according to the analysis result and the uplink short message.
In an optional manner, when the uplink spreading code is greater than or equal to a preset number of bits and more than one target client, performing a first mode to perform matching based on the uplink short message, to obtain a matched client, including:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
Identifying the clients which are the same as the channel codes carried by the uplink short messages from the acquired clients;
when more than one user is identified, judging whether the user with the same channel expansion code as the uplink expansion code carried by the downlink short message exists in the identified user;
if one client exists, obtaining a matched client;
if more than one client is available, the client with the smallest difference between the sending time of the uplink short message and the sending time of the downlink short message in the clients is obtained as the matched client.
In an optional manner, when the uplink spreading code is smaller than a preset number of bits and more than one target client is included, the method for complementing the uplink spreading code of the corresponding target client, and performing a second manner matching based on the complemented uplink spreading code, to obtain a matched client includes:
respectively acquiring unique serial numbers of the short messages sent by the target clients;
Respectively obtaining corresponding client records based on the unique serial numbers;
the uplink spreading code corresponding to the target client is complemented according to the client record;
And comparing and matching the uplink spreading code with the currently stored downlink short message to obtain matched clients.
In an optional manner, the comparing and matching the uplink spreading code with the currently stored number information to obtain a matched client includes:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
If more than one client is obtained, comparing the channel number carried by the downlink short message of the obtained client with the channel number carried by the uplink short message to obtain the clients with the same channel number;
And if more than one client is obtained by comparison, matching the channel spreading code of the client obtained by comparison with the uplink spreading code to obtain a matched client.
In an optional manner, the pushing the uplink short message to the matching client includes: pushing the uplink short message and the corresponding unique serial number to the matching client.
The embodiment of the invention also provides a control device for pushing the uplink short message, which comprises the following steps:
The mobile phone comprises an acquisition module, a mobile phone number acquisition module and a mobile phone number acquisition module, wherein the acquisition module is used for acquiring an uplink spreading code of an uplink short message when the uplink short message from an operator exists;
the first matching module is used for matching to the target client based on the mobile phone number;
the second matching module is used for matching the clients in a corresponding matching mode based on the bit number of the expansion code and the number of the target clients;
And the pushing module is used for pushing the uplink short message to the matching client.
The present invention also provides a computing device comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
The memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the steps of the control method for pushing the uplink short message.
The invention also provides a computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute the steps of the control method for pushing the uplink short message.
Compared with the prior art, the invention has the beneficial effects that: the clients are matched in a corresponding mode according to the number of bits of the uplink spreading code and the number of target clients, the matched clients are not affected by the number of bits of the spreading code, and the matching efficiency and accuracy can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the embodiments are briefly described below, and the drawings in the following description are only drawings corresponding to some embodiments of the present invention.
Fig. 1 shows a flowchart of a control method for pushing an uplink short message according to a preferred embodiment of the present invention;
fig. 2 shows that the preferred embodiment of the present invention provides a schematic diagram of a transmission scenario of an uplink short message and a downlink short message;
Fig. 3 is a specific flow chart of step S3 of a control method for pushing an uplink short message according to an embodiment of the present invention;
fig. 4 shows a schematic structural diagram of a control device for pushing an uplink short message according to an embodiment of the present invention;
FIG. 5 illustrates a schematic diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms of directions used in the present invention, such as "up", "down", "front", "back", "left", "right", "inside", "outside", "side", "top" and "bottom", are used for explaining and understanding the present invention only with reference to the orientation of the drawings, and are not intended to limit the present invention.
The words "first," "second," and the like in the terminology of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance and not as limiting the order of precedence.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
Referring to fig. 1, a flowchart of a control method for pushing an uplink short message is provided in a preferred embodiment of the present invention, where the control method includes:
step S1, when an uplink short message from an operator exists, an uplink spreading code of the uplink short message is obtained;
Specifically, with reference to fig. 2, when a client sends a downlink short message to a mobile phone number of a user, a control platform receives and stores the downlink short message, where the control platform is provided with a client side short message recording pool and an operator side short message recording pool, and information (client side information) stored in the client side recording pool may include: customer identification code (ID), customer extension code, channel extension code, mobile phone number, customer side message issuing time, unique serial number CID (core ID), then send the issued message to the operator through the channel side, store the channel side information to the channel side message record pool, the channel side information includes: the method includes the steps that when an operator receives a downlink short message sent by a control platform through a channel side, the downlink short message is sent to a corresponding user, the user receives the downlink short message and feeds back information to the client, the feedback information firstly reaches the operator side, the operator receives the feedback information and pushes the feedback information to the control platform, namely the operator pushes the uplink short message to the control platform, and the uplink short message can comprise: the method comprises the steps of pushing channel numbers (codes), uplink spreading codes, uplink time, mobile phone numbers and the like, and when an uplink short message of an operator is received, firstly, obtaining the uplink spreading codes of the uplink short message.
Step S2, matching to a target client based on the mobile phone number;
Specifically, the target clients are matched according to the mobile phone number of the uplink short message, and in general, the user may send information to different clients by using the same mobile phone number, and a plurality of target clients may appear at this time, in a preferred scheme, the user only sends information to one client in a preset time period, where the preset time period may be one week, half month, one month, 24 hours, 12 hours, or other time periods, which is not limited herein, and preferably, the preset time period is 24 hours. The client may be a platform APP, for example, a precious and a beauty group, in an actual scene, a user sends sending information (downlink short message) when sending the beauty group by a mobile phone, the control platform stores the sending information, the user can send feedback information when receiving the sending information, the feedback information firstly arrives at an operator, the operator pushes the uplink short message based on the feedback information, if the user sends information only once in 24 hours, the beauty group is the only client, no matching is needed, if the user sends feedback information to different clients in 24 hours, the information sent in 24 hours can be acquired at this time, the sent information is analyzed, and the target client is acquired, namely, the client which sends information to the user in 24 hours is the target client.
Step S3, matching the clients by adopting a corresponding matching mode based on the number of digits of the spreading codes and the number of target clients;
Specifically, the number of the uplink spreading codes of the uplink short message and the number of the target clients are matched in a corresponding matching manner, and the number of the uplink spreading codes can be 3 bits, 4 bits, 5 bits or other numerical values, which is not limited herein.
In this embodiment, as shown in fig. 3, the step S3 specifically includes:
step S31, when the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is available, matching is performed in a first mode based on the uplink short message, and a matched client is obtained;
specifically, the preset number of bits is preferably 5 bits, and when the number of bits of the spreading code is greater than or equal to 5 and more than one target client is used, a first mode is adopted for matching;
And S32, when the uplink spreading code is smaller than the preset bit number and more than one target client is needed, the uplink spreading code of the corresponding target client is complemented according to the downlink information, and the second mode matching is performed based on the complemented uplink spreading code and the uplink short message, so that the matched client is obtained.
Specifically, when the number of bits of the uplink spreading code is less than 5 bits and more than one target client is present, a second matching method is adopted to perform matching.
Step S4, pushing the uplink short message to the matching client;
Specifically, after the uplink short message is matched with the client, the uplink short message is pushed through the control platform.
In this embodiment, the clients are matched in a corresponding manner according to the number of bits of the uplink spreading code and the number of target clients, and the matched clients are not affected by the number of bits of the spreading code, so that the matching efficiency and accuracy can be improved.
In a preferred aspect of the present embodiment, the step S31 specifically includes:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
Specifically, firstly, identifying customers according to mobile phone numbers, namely mobile phone numbers carried by the uplink short message, wherein the same mobile phone number possibly sends information to different customers, and obtaining target customers of the information sent by the same mobile phone number, and locking all target customers;
identifying the clients with the same channel codes carried by the uplink short messages from the acquired clients;
Specifically, based on the locked target clients, the clients with the same channel codes are identified according to the information analysis carried by the downlink short messages of the respective target clients stored currently, namely, the clients use the same channel to send information, and the identified clients may be more than one or only one, if only one, the clients are matched clients; if more than one is needed, the process goes to the next step;
Judging whether the identified clients have clients with the same channel spreading code carried by the downlink short message and the same uplink spreading code carried by the uplink short message;
specifically, when more than one target client needs to be further analyzed and matched, whether the uplink spreading code carried by the uplink short message is the same as the channel spreading code of the target client is judged, namely, the channel spreading code carried by the downlink short message of the currently stored target client is checked, the channel spreading code is compared with the uplink spreading code, and if the channel spreading code of one target client is the same as the uplink spreading code, the target client is the matched client; if more than one client has the channel spreading code carried by the downlink short message and the uplink spreading code carried by the uplink message, the client with the smallest difference between the uplink time of the uplink short message in the clients and the time for transmitting the downlink short message is obtained as the matched client, namely, the client with the smallest difference is obtained as the matched client. Preferably, the time for sending the downlink short message may be a time point when the client sends the downlink short message to the control platform.
In this embodiment, the clients are gradually matched in a plurality of ways, so that the matching accuracy and the coverage rate of the clients can be improved.
In another preferred aspect of the present embodiment, the step S32 specifically includes:
respectively acquiring unique serial numbers of the short messages sent by the target clients;
Specifically, each short message carries a corresponding unique serial number (CID), and the unique serial number of each short message of each client is obtained, preferably, the unique serial number of the short message issued by the target client in a preset time period is obtained, and based on the uplink spreading code, the uplink time and the mobile phone number, the corresponding unique serial number is obtained, namely, the downlink short message corresponding to the target client is obtained according to the information, and the corresponding unique serial number is obtained according to the downlink short message, so that the unique serial number of each target client is obtained;
respectively obtaining corresponding client records based on the unique serial numbers;
Specifically, according to the unique serial number, the corresponding client records are obtained, namely, the corresponding client is obtained from the client side short message record pool, and the channel side information is obtained from the side information channel side short message record pool. The client record may include client side information and channel side information;
the uplink spreading code of the target client is complemented according to the client record;
Specifically, the uplink spreading code of the target client is complemented according to the client record, for example: the spreading code sent by the control platform to the operator is 123456, the uplink spreading code pushed by the operator is also 123456, the spreading code of the client side corresponding to the client record is 123456789, and the spreading code is complemented into 123456789 before the uplink short message is pushed to the client;
Comparing and matching the uplink spreading code with the currently stored downlink short message to obtain matched clients;
specifically, matching is performed based on the uplink spreading code of each target client and the corresponding downlink short message respectively, so as to obtain matched clients;
in this embodiment, the specific process of comparing and matching the uplink spreading code with the currently stored downlink short message to obtain the matched client is as follows:
Acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
Specifically, comparing the mobile phone number carried by the downlink short message of the target client with the mobile phone number carried by the received uplink short message respectively to obtain clients with the same mobile phone number, wherein if the mobile phone number carried by the downlink short message of only one client is the same as the mobile phone number carried by the received uplink short message, the clients are matched clients; if the acquired clients are more than one, the next step is carried out;
comparing the channel number carried by the downlink short message of the obtained client with the channel number carried by the uplink spreading code to obtain the client with the same channel number;
specifically, the channel number of the downlink short message of the client obtained in the previous step is compared with the channel number carried by the uplink short message, the clients with the same channel number are matched clients if the clients are only one, and the next step is carried out if the clients are more than one;
matching the channel spreading code of the client obtained by comparison with the uplink spreading code to obtain a matched client;
Specifically, the channel spreading code of more than one client is compared with the complementary uplink spreading code, if the channel spreading code is equal to the complementary uplink spreading code, the corresponding client is a matching client, and if the channel spreading code is different from the complementary uplink spreading code, the client is abandoned, and at this time, the matching client can be one, two or three or four, which is not limited herein.
In this embodiment, the specific process of step S4 is as follows: and pushing the uplink short message and the corresponding unique serial number to the matched client, further pushing the obtained downlink short message of the client side and the channel side-issued short message to the matched client together with the uplink short message, and if more than one matched client exists, respectively pushing the downlink short message of the client side and the channel side-issued short message and the uplink short message of the client side to the corresponding matched client.
In this embodiment, the clients are matched in a corresponding manner according to the number of bits of the uplink spreading code and the number of target clients, and the matched clients are not affected by the number of bits of the spreading code, so that the matching efficiency and accuracy can be improved.
And secondly, the unique serial number is combined to complement the uplink spreading code, so that the coverage rate of the client is improved, and the matching accuracy is further improved.
Based on the above embodiment, the present invention further provides a control device for pushing an uplink short message, as shown in fig. 4: a schematic structural diagram of a control device for pushing an uplink short message according to an embodiment of the present invention is shown, where the control device includes: the device comprises an acquisition module 401, a first matching module 302 connected with the acquisition module 401, a second matching module 403 connected with the first matching module 402, and a pushing module 404 connected with the second matching module 403, wherein:
an obtaining module 401, configured to obtain an uplink spreading code of an uplink short message when there is the uplink short message from an operator;
Specifically, when a client sends a downlink short message to a mobile phone number of a user, a control platform receives and stores the downlink short message, where the control platform is provided with a client side short message recording pool and an operator side short message recording pool, and information (client side information) stored in the client side recording pool may include: customer Identification (ID), customer extension code, channel extension code, mobile phone number, customer side SMS issue time, unique serial number CID, then send the issued SMS to the operator through the channel side, store the channel side information to the channel side SMS record pool, the channel side information includes: the method includes the steps that when an operator receives a downlink short message sent by a control platform through a channel side, the downlink short message is sent to a corresponding user, the user receives the downlink short message and feeds back information to the client, the feedback information firstly reaches the operator side, the operator receives the feedback information and pushes the feedback information to the control platform, namely the operator pushes the uplink short message to the control platform, and the uplink short message can comprise: the method comprises the steps of pushing channel numbers (codes), uplink spreading codes, uplink time, mobile phone numbers and the like, and when an uplink short message of an operator is received, firstly, obtaining the uplink spreading codes of the uplink short message.
A first matching module 402, configured to match to a target client based on a mobile phone number;
Specifically, the target clients are matched according to the mobile phone number of the uplink short message, in general, the user may send information to different clients by using the same mobile phone number, and a plurality of target clients may appear at this time. Preferably, the preset time period is 24 hours. The client may be a platform APP, for example, a precious and a beauty group, in an actual scene, a user sends sending information (downlink short message) when sending the beauty group by a mobile phone, the control platform stores the sending information, the user can send feedback information when receiving the sending information, the feedback information firstly arrives at an operator, the operator pushes the uplink short message based on the feedback information, if the user sends information only once in 24 hours, the beauty group is the only client, no matching is needed, if the user sends feedback information to different clients in 24 hours, the information sent in 24 hours can be acquired at this time, the sent information is analyzed, and the target client is acquired, namely, the client which sends information to the user in 24 hours is the target client.
A second matching module 403, configured to match the clients in a corresponding matching manner based on the number of digits of the spreading code and the number of target clients;
Specifically, the number of the uplink spreading codes of the uplink short message and the number of the target clients are matched in a corresponding matching manner, and the number of the uplink spreading codes can be 3 bits, 4 bits, 5 bits or other numerical values, which is not limited herein.
In this embodiment, the second matching module 303 is specifically configured to: when the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is available, the method is used for matching in a first mode based on the uplink short message to obtain matched clients;
specifically, the preset number of bits is preferably 5 bits, and when the number of bits of the spreading code is greater than or equal to 5 and more than one target client is used, a first mode is adopted for matching;
And when the uplink spreading code is smaller than the preset bit number and more than one target client is needed, the method is also used for complementing the uplink spreading code of the corresponding target client according to the downlink information, and carrying out second mode matching based on the complemented uplink spreading code and the uplink short message to obtain a matched client.
Specifically, when the number of bits of the uplink spreading code is less than 5 bits and more than one target client is present, a second matching method is adopted to perform matching.
And the pushing module 404 is configured to push the uplink short message to the matching client.
Specifically, after the uplink short message is matched with the client, the uplink short message is pushed through the control platform.
In this embodiment, the clients are matched in a corresponding manner according to the number of bits of the uplink spreading code and the number of target clients, and the matched clients are not affected by the number of bits of the spreading code, so that the matching efficiency and accuracy can be improved.
In an alternative way, the matching the clients in a corresponding matching way based on the number of bits of the spreading code and the number of target clients includes:
When the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is available, matching is performed in a first mode based on the uplink short message to obtain matched clients;
And when the uplink spreading code is smaller than the preset bit number and more than one target client is needed, complementing the uplink spreading code of the corresponding target client, and carrying out second mode matching based on the complemented uplink spreading code to obtain a matched client.
In an alternative manner, the matching to the target client based on the mobile phone number includes:
analyzing information sent by the mobile phone number in a preset time period;
And acquiring a target client according to the analysis result and the uplink short message.
In an optional manner, when the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is located, performing a first mode to perform matching based on the uplink short message, to obtain a matched client, including:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
Identifying the clients which are the same as the channel codes carried by the uplink short messages from the acquired clients;
when more than one user is identified, judging whether the user with the same channel expansion code as the uplink expansion code carried by the downlink short message exists in the identified user;
if one client exists, obtaining a matched client;
if more than one client is available, the client with the smallest difference between the sending time of the uplink short message and the sending time of the downlink short message in the clients is obtained as the matched client.
In an optional manner, when the uplink spreading code is smaller than a preset number of bits and more than one target client is included, the method for complementing the uplink spreading code of the corresponding target client, and performing a second manner matching based on the complemented uplink spreading code, to obtain a matched client includes:
respectively acquiring unique serial numbers of the short messages sent by the target clients;
Respectively obtaining corresponding client records based on the unique serial numbers;
the uplink spreading code corresponding to the target client is complemented according to the client record;
And comparing and matching the uplink spreading code with the currently stored downlink short message to obtain matched clients.
In an optional manner, the comparing and matching the uplink spreading code with the currently stored number information to obtain a matched client includes:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
If more than one client is obtained, comparing the channel number carried by the downlink short message of the obtained client with the channel number carried by the uplink short message to obtain the clients with the same channel number;
And if more than one client is obtained by comparison, matching the channel spreading code of the client obtained by comparison with the uplink spreading code to obtain a matched client.
In an optional manner, the pushing the uplink short message to the matching client includes: pushing the uplink short message and the corresponding unique serial number to the matching client.
It should be noted that the control device may be a control platform described in the above method embodiment.
It may be understood that the functions of each program module of the control device for pushing an uplink short message in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not repeated herein.
In the embodiment of the invention, the clients are matched in a corresponding mode according to the number of bits of the uplink spreading code and the number of target clients, and the matched clients are not influenced by the number of bits of the spreading code, so that the matching efficiency and accuracy can be improved.
And secondly, the unique serial number is combined to complement the uplink spreading code, so that the coverage rate of the client is improved, and the matching accuracy is further improved.
The embodiment of the invention provides a nonvolatile computer storage medium, which stores at least one executable instruction, and the computer executable instruction can execute the control method for pushing the uplink short message in any method embodiment.
The executable instructions may be particularly useful for causing a processor to:
When an uplink short message from an operator exists, acquiring an uplink spreading code of the uplink short message, wherein the uplink short message carries a mobile phone number;
Matching to a target client based on the mobile phone number;
matching the clients by adopting a corresponding matching mode based on the number of bits of the spreading codes and the number of target clients;
And pushing the uplink short message to the matching client.
In one alternative, the executable instructions cause the processor to:
When the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is available, matching is performed in a first mode based on the uplink short message to obtain matched clients;
And when the uplink spreading code is smaller than the preset bit number and more than one target client is needed, complementing the uplink spreading code of the corresponding target client, and carrying out second mode matching based on the complemented uplink spreading code to obtain a matched client.
In one alternative, the executable instructions cause the processor to:
analyzing information sent by the mobile phone number in a preset time period;
And acquiring a target client according to the analysis result and the uplink short message.
In an alternative manner, the executable instructions cause the processor to perform the following operations when the uplink spreading code is greater than or equal to a preset number of bits and the target client is more than one:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
Identifying the clients which are the same as the channel codes carried by the uplink short messages from the acquired clients;
when more than one user is identified, judging whether the user with the same channel expansion code as the uplink expansion code carried by the downlink short message exists in the identified user;
if one client exists, obtaining a matched client;
if more than one client is available, the client with the smallest difference between the sending time of the uplink short message and the sending time of the downlink short message in the clients is obtained as the matched client.
In an alternative manner, the executable instructions cause the processor to perform the following operations when the uplink spreading code is less than a preset number of bits and the target client is more than one:
respectively acquiring unique serial numbers of the short messages sent by the target clients;
Respectively obtaining corresponding client records based on the unique serial numbers;
the uplink spreading code corresponding to the target client is complemented according to the client record;
And comparing and matching the uplink spreading code with the currently stored downlink short message to obtain matched clients.
In one alternative, the executable instructions cause the processor to:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
If more than one client is obtained, comparing the channel number carried by the downlink short message of the obtained client with the channel number carried by the uplink short message to obtain the clients with the same channel number;
And if more than one client is obtained by comparison, matching the channel spreading code of the client obtained by comparison with the uplink spreading code to obtain a matched client.
In one alternative, the executable instructions cause the processor to:
pushing the uplink short message and the corresponding unique serial number to the matching client.
FIG. 5 illustrates a schematic diagram of a computing device according to an embodiment of the present invention, and the embodiment of the present invention is not limited to the specific implementation of the device.
As shown in fig. 5, the computing device may include: a processor 502, a communication interface (Communications Interface) 504, a memory 506, and a communication bus 508.
Wherein: processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508. A communication interface 504 for communicating with network elements of other devices, such as clients or other servers. The processor 502 is configured to execute the program 510, and may specifically execute relevant steps in the above-described control method embodiment of uplink short message pushing.
In particular, program 510 may include program code including computer-operating instructions.
The processor 502 may be a central processing unit CPU, or an Application-specific integrated Circuit ASIC (Application SPECIFIC INTEGRATED Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The device includes one or each processor, which may be the same type of processor, such as one or each CPU; but may also be different types of processors such as one or each CPU and one or each ASIC.
A memory 506 for storing a program 510. Memory 506 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may be specifically operable to cause the processor 502 to:
When an uplink short message from an operator exists, acquiring an uplink spreading code of the uplink short message, wherein the uplink short message carries a mobile phone number;
Matching to a target client based on the mobile phone number;
matching the clients by adopting a corresponding matching mode based on the number of bits of the spreading codes and the number of target clients;
And pushing the uplink short message to the matching client.
In an alternative, program 510 may be specifically operative to cause processor 502 to:
When the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is available, matching is performed in a first mode based on the uplink short message to obtain matched clients;
And when the uplink spreading code is smaller than the preset bit number and more than one target client is needed, complementing the uplink spreading code of the corresponding target client, and carrying out second mode matching based on the complemented uplink spreading code to obtain a matched client.
In an alternative, program 510 may be specifically operative to cause processor 502 to:
analyzing information sent by the mobile phone number in a preset time period;
And acquiring a target client according to the analysis result and the uplink short message.
In an alternative manner, when the uplink spreading code is greater than or equal to a preset number of bits and more than one target client is included, the program 510 may specifically be configured to cause the processor 502 to:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
Identifying the clients which are the same as the channel codes carried by the uplink short messages from the acquired clients;
when more than one user is identified, judging whether the user with the same channel expansion code as the uplink expansion code carried by the downlink short message exists in the identified user;
if one client exists, obtaining a matched client;
if more than one client is available, the client with the smallest difference between the sending time of the uplink short message and the sending time of the downlink short message in the clients is obtained as the matched client.
In an alternative manner, when the uplink spreading code is smaller than a preset number of bits and the target client is more than one, the program 510 may specifically be configured to cause the processor 502 to:
respectively acquiring unique serial numbers of the short messages sent by the target clients;
Respectively obtaining corresponding client records based on the unique serial numbers;
the uplink spreading code corresponding to the target client is complemented according to the client record;
And comparing and matching the uplink spreading code with the currently stored downlink short message to obtain matched clients.
In an alternative, program 510 may be specifically operative to cause processor 502 to:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
If more than one client is obtained, comparing the channel number carried by the downlink short message of the obtained client with the channel number carried by the uplink short message to obtain the clients with the same channel number;
And if more than one client is obtained by comparison, matching the channel spreading code of the client obtained by comparison with the uplink spreading code to obtain a matched client.
In an alternative manner, the charging information includes charging emergency data and trust data of the charging vehicle, and the program 510 may be specifically configured to cause the processor 502 to:
pushing the uplink short message and the corresponding unique serial number to the matching client.
In the invention, the clients are matched in a corresponding mode according to the number of bits of the uplink spreading code and the number of target clients, and the matched clients are not influenced by the number of bits of the spreading code, so that the matching efficiency and accuracy can be improved.
And secondly, the unique serial number is combined to complement the uplink spreading code, so that the coverage rate of the client is improved, and the matching accuracy is further improved.
In summary, although the present invention has been described in terms of the preferred embodiments, the above-mentioned embodiments are not intended to limit the invention, and those skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention, so that the scope of the invention is defined by the appended claims.
Claims (8)
1. The control method for pushing the uplink short message is characterized by comprising the following steps:
When an uplink short message from an operator exists, acquiring an uplink spreading code of the uplink short message, wherein the uplink short message carries a mobile phone number;
Matching to a target client based on the mobile phone number;
When a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message is obtained; identifying the clients which are the same as the channel codes carried by the uplink short messages from the acquired clients; when more than one user is identified, judging whether the user with the same channel expansion code as the uplink expansion code carried by the downlink short message exists in the identified user; if one client exists, obtaining a matched client; if more than one client is available, acquiring the client with the minimum difference between the sending time of the uplink short message and the sending time of the downlink short message in the clients as a matched client; when the uplink spreading code is smaller than a preset bit number and more than one target client is provided, the uplink spreading code of the corresponding target client is complemented, and a second mode matching is performed based on the complemented uplink spreading code, so that matched clients are obtained;
And pushing the uplink short message to the matching client.
2. The control method according to claim 1, wherein said matching to a target client based on said mobile phone number comprises:
analyzing information sent by the mobile phone number in a preset time period;
And acquiring a target client according to the analysis result and the uplink short message.
3. The control method according to claim 1, wherein when the uplink spreading code is smaller than a preset number of bits and more than one target client is included, the step of complementing the uplink spreading code of the corresponding target client, and performing the second mode matching based on the complemented uplink spreading code, to obtain the matched client includes:
respectively acquiring unique serial numbers of the short messages sent by the target clients;
Respectively obtaining corresponding client records based on the unique serial numbers;
the uplink spreading code corresponding to the target client is complemented according to the client record;
And comparing and matching the uplink spreading code with the currently stored downlink short message to obtain matched clients.
4. The control method according to claim 3, wherein the comparing and matching the uplink spreading code with the currently stored number information to obtain the matched client includes:
acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message;
If more than one client is obtained, comparing the channel number carried by the downlink short message of the obtained client with the channel number carried by the uplink short message to obtain the clients with the same channel number;
And if more than one client is obtained by comparison, matching the channel spreading code of the client obtained by comparison with the uplink spreading code to obtain a matched client.
5. The control method according to claim 1, wherein the pushing the uplink short message to the matching client includes: pushing the uplink short message and the corresponding unique serial number to the matching client.
6. The control device for pushing the uplink short message is characterized by comprising the following components:
The mobile phone comprises an acquisition module, a mobile phone number acquisition module and a mobile phone number acquisition module, wherein the acquisition module is used for acquiring an uplink spreading code of an uplink short message when the uplink short message from an operator exists;
the first matching module is used for matching to the target client based on the mobile phone number;
The second matching module is used for acquiring a customer with the same mobile phone number carried in the downlink short message as the mobile phone number carried in the uplink short message; identifying the clients which are the same as the channel codes carried by the uplink short messages from the acquired clients; when more than one user is identified, judging whether the user with the same channel expansion code as the uplink expansion code carried by the downlink short message exists in the identified user; if one client exists, obtaining a matched client; if more than one client is available, acquiring the client with the minimum difference between the sending time of the uplink short message and the sending time of the downlink short message in the clients as a matched client; when the uplink spreading code is smaller than a preset bit number and more than one target client is provided, the uplink spreading code of the corresponding target client is complemented, and a second mode matching is performed based on the complemented uplink spreading code, so that matched clients are obtained;
And the pushing module is used for pushing the uplink short message to the matching client.
7. A computing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
The memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform the steps of the control method for pushing an uplink short message according to any one of claims 1 to 6.
8. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform the steps of the control method for upstream sms push according to claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210950848.5A CN115379402B (en) | 2022-08-09 | 2022-08-09 | Control method and device for pushing uplink short messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210950848.5A CN115379402B (en) | 2022-08-09 | 2022-08-09 | Control method and device for pushing uplink short messages |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115379402A CN115379402A (en) | 2022-11-22 |
CN115379402B true CN115379402B (en) | 2024-05-28 |
Family
ID=84063589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210950848.5A Active CN115379402B (en) | 2022-08-09 | 2022-08-09 | Control method and device for pushing uplink short messages |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115379402B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096273A (en) * | 2011-10-31 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Uplink short message service (SMS) sending method, equipment and system |
WO2019200799A1 (en) * | 2018-04-17 | 2019-10-24 | 平安科技(深圳)有限公司 | Short message verification code pushing method, electronic device and readable storage medium |
CN112689249A (en) * | 2020-12-11 | 2021-04-20 | 北京金山云网络技术有限公司 | Short message sending method, device, system, storage medium and electronic equipment |
WO2021163970A1 (en) * | 2020-02-20 | 2021-08-26 | 深圳市欢太科技有限公司 | Short message pushing method and apparatus, server, and storage medium |
CN113473396A (en) * | 2020-03-31 | 2021-10-01 | 苏宁云计算有限公司 | Short message matching method and device, computer equipment and storage medium |
-
2022
- 2022-08-09 CN CN202210950848.5A patent/CN115379402B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096273A (en) * | 2011-10-31 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Uplink short message service (SMS) sending method, equipment and system |
WO2019200799A1 (en) * | 2018-04-17 | 2019-10-24 | 平安科技(深圳)有限公司 | Short message verification code pushing method, electronic device and readable storage medium |
WO2021163970A1 (en) * | 2020-02-20 | 2021-08-26 | 深圳市欢太科技有限公司 | Short message pushing method and apparatus, server, and storage medium |
CN113473396A (en) * | 2020-03-31 | 2021-10-01 | 苏宁云计算有限公司 | Short message matching method and device, computer equipment and storage medium |
CN112689249A (en) * | 2020-12-11 | 2021-04-20 | 北京金山云网络技术有限公司 | Short message sending method, device, system, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115379402A (en) | 2022-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8001249B2 (en) | Session management system and method for use with stateless messaging services | |
CN110808948B (en) | Remote procedure calling method, device and system | |
CN112491941A (en) | Data management method, related product and communication system | |
US20080254815A1 (en) | Session management system and method for use with stateless messaging services | |
US20060135117A1 (en) | Method for providing paying services, user identification device, and device for providing said services | |
CN115379402B (en) | Control method and device for pushing uplink short messages | |
US6415160B1 (en) | Device for managing data in a mobile telephone | |
JP2011147187A (en) | System and method for correlating messages within wireless transaction | |
CN103929731A (en) | Method and device for ordering value added service | |
CN112215672B (en) | Order secondary confirmation method, device, electronic equipment and medium | |
CN116521634B (en) | Method, system, electronic equipment and storage medium for processing call ticket data service | |
CN101742394B (en) | Electronic work order priority level adjustment method and electronic work order executing method and device | |
CN113473396A (en) | Short message matching method and device, computer equipment and storage medium | |
EP2203025A1 (en) | Method for transmitting sms and sms platform | |
US5752194A (en) | Method and apparatus for assigning channels to transmitters in a radio communication system | |
CN115510366A (en) | Business message pushing method and device, computer equipment and storage medium | |
CN112689249B (en) | Short message sending method, device, system, storage medium and electronic equipment | |
CN113949640B (en) | Service data processing method and device | |
CN102075386A (en) | Identification method and device | |
CN113986995A (en) | Request distribution method and device, storage medium and electronic equipment | |
US7554947B2 (en) | Resource allocation in a packet-based radio communication system | |
CN110533285B (en) | Data processing method to be accepted, electronic device and computer readable storage medium | |
CN110972222A (en) | Downlink gateway selection method, device and computer storage medium | |
CN113852919B (en) | Method and device for generating early warning message, storage medium and electronic device | |
CN112311859B (en) | Method and system for integrated data and interface processing of Internet of things card |
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 |