CN115243204A - Message sending method, device, equipment and computer storage medium - Google Patents
Message sending method, device, equipment and computer storage medium Download PDFInfo
- Publication number
- CN115243204A CN115243204A CN202110438324.3A CN202110438324A CN115243204A CN 115243204 A CN115243204 A CN 115243204A CN 202110438324 A CN202110438324 A CN 202110438324A CN 115243204 A CN115243204 A CN 115243204A
- Authority
- CN
- China
- Prior art keywords
- message
- sending
- destination number
- client
- mass
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000004044 response Effects 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 14
- WNTGYJSOUMFZEP-UHFFFAOYSA-N 2-(4-chloro-2-methylphenoxy)propanoic acid Chemical compound OC(=O)C(C)OC1=CC=C(Cl)C=C1C WNTGYJSOUMFZEP-UHFFFAOYSA-N 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the application provides a message sending method, a message sending device, message sending equipment and a computer storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining a mass-sending message sent by a client, splitting the mass-sending message into at least one first message, wherein the first message comprises a destination number, and the destination numbers of different first messages are different. And judging whether the destination number contained in the first message is legal or not, sending the first message corresponding to the destination number to a short message center when the destination number is legal, and returning a sending failure message to the client when the destination number is illegal. According to the message sending method, under the condition that the mass-sending message contains the illegal destination numbers, the first messages corresponding to the rest legal destination numbers can be continuously sent, and the message sending efficiency is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a message sending method, device, apparatus, and computer storage medium.
Background
Currently, with the development of communication technology, the number of communication services is increasing, and many communication services need to be implemented by mass messaging. The mass-sending message uses China Mobile Internet short message gateway interface protocol (CMPP) to SUBMIT a mass-sending message packet CMPP _ SUBMIT, and judges the legality of all destination numbers in the packet, when an illegal number exists, the message of the destination number in the whole packet fails to be issued, and a failure response packet is replied.
Although the prior art can realize the message group sending, the prior art cannot judge which number is an illegal target number, thereby reducing the message sending efficiency.
Disclosure of Invention
The embodiment of the application provides a message sending method, a message sending device, equipment and a computer storage medium, which can split group-sending message data into a plurality of messages only containing one destination number, judge the legality of each destination number, and send the messages corresponding to the legal destination numbers, thereby avoiding the sending failure of the whole group-sending message caused by the fact that a certain destination number is illegal, and improving the message sending efficiency.
In a first aspect, an embodiment of the present application provides a message sending method, where the method includes:
acquiring a mass-sending message sent by a client, wherein the mass-sending message comprises at least one destination number;
splitting the group sending message into at least one first message, wherein the first message comprises a destination number, and the destination numbers of different first messages are different;
judging whether the destination number of the first message is legal or not;
when the destination number is legal, sending a first message corresponding to the destination number to the short message center;
and when the destination number is illegal, sending a destination number sending failure message to the client.
In a second aspect, an embodiment of the present application provides a message sending apparatus, including:
the system comprises an acquisition module, a sending module and a sending module, wherein the acquisition module is used for acquiring a mass-sending message sent by a client, and the mass-sending message comprises at least one destination number;
the splitting module is used for splitting the mass-sending message into at least one first message, wherein the first message comprises a destination number, and different first messages comprise different destination numbers;
the judging module is used for sending a first message corresponding to the destination number to the short message center when the destination number is legal;
and the second sending module is used for sending a sending failure message of the destination number to the client when the destination number is illegal.
In a third aspect, an embodiment of the present application provides a message sending device, where the message sending device includes:
a processor, and a memory storing computer program instructions;
the processor reads and executes the computer program instructions to implement the message sending method in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer storage medium, where computer program instructions are stored, and when executed by a processor, the computer program instructions implement the message sending method in the first aspect.
The message sending method, the message sending device, the message sending equipment and the computer storage medium can split the mass-sending messages sent by the client side to obtain a plurality of messages only containing one destination number, and can send the messages with the legal destination numbers by judging the legality of each destination number, so that the failure of sending the whole mass-sending message due to the illegal destination number is avoided, and the message sending efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a prior art implementation of a group message;
fig. 2 is a flowchart illustrating a message sending method according to an embodiment of the present application;
fig. 3 is a flowchart of message sending provided in an embodiment of the present application;
fig. 4 is a schematic diagram of an implementation manner of a mass messaging provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a message sending device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising 8230; \8230;" comprises 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
At present, with the increase of internet services, the volume of mass messaging services also gradually increases. As shown in fig. 1, a client sends a mass texting message to an industry gateway in the form of a CMPP _ SUBMIT mass texting packet, where the mass texting message includes a plurality of destination numbers. And (4) after the group sending message is disassembled, judging whether all the destination numbers are legal or not, if the illegal destination numbers exist, returning a failure response to the client, and if the illegal destination numbers do not exist, not sending the group sending message, so that the message sending efficiency is low.
In order to solve the problem of the prior art, embodiments of the present application provide a message sending method, an apparatus, a device, and a computer storage medium. First, a message sending method provided in an embodiment of the present application is described below.
Fig. 2 illustrates a flow diagram of a message sending method according to an embodiment of the present application. As shown in fig. 2, the method may include the steps of:
s110, obtaining a mass-sending message sent by the client, wherein the mass-sending message comprises at least one destination number.
And acquiring a mass-sending message packet CMPP _ SUBMIT sent by the client, wherein the mass-sending message packet comprises at least one destination number.
In some embodiments, after obtaining the group message packet sent by the client, a response packet CMPP _ SUBMIT _ RESP of a successful response message is returned to the client, where the code of the response packet is 0, which represents successful reception.
In some embodiments, before returning the response packet CMPP _ SUBMIT _ RESP of the successful response message to the client, the method may further include: and judging the state of the function switch. When the state of the function switch is closed, namely the configuration is 0, a successful response message is returned to the client; when the function switch is on, namely configured to be 1, whether the destination number contained in the mass sending message is legal or not is judged. When an illegal destination number exists, returning a failure response to the client; and when all the destination numbers are legal, sending the mass-sending message to the short message center.
S120, splitting the mass-sending message into at least one first message, wherein the first message comprises a destination number, and different first messages comprise different destination numbers.
The method comprises the steps of splitting the mass-sending message into a plurality of first messages, wherein the specific number of the first messages is determined by the number of destination numbers contained in the mass-sending message. Wherein, each first message only contains one destination number, and the destination numbers of different first messages are different.
S130, judging whether the destination number of the first message is legal or not.
And sequentially judging the legality of each split destination number.
In some embodiments, determining the validity of the destination number may include at least one of: and judging whether the destination number is in the preset number segment data, judging whether the destination number is in the service range of the client, and judging whether the format of the destination number is correct.
In an embodiment, as shown in fig. 3, after receiving a mass-sending message carried by a CMPP _ SUBMIT packet sent by the client, a successful response message is returned to the client, where the response message is carried by the CMPP _ SUBMIT _ RESP packet. And assigning a variable total according to the number of the destination numbers in the CMPP _ SUBMIT packet, and determining the times of judging the validity of the destination numbers. When the destination number is judged to be legal, firstly, judging whether the format of the destination number is correct, specifically, whether the format of the number is correct or not: the length of the number is less than 3 or more than 20, and the number contains spaces or non-numbers; when the format of the destination number is correct, judging whether the destination number is in the preset number segment data, specifically, whether the number is checked in the preset number segment data: whether the number is in the local number section or the whole network number section or not, and when the format of the destination number is incorrect, generating a destination number and sending a failure message and putting the failure message back to the client; when the destination number is in the preset number segment data, judging whether the destination number is in the service range, specifically, whether the number is checked in the service range: if the number is in the full network number segment, the client is required to have the full network service authority, otherwise, the number is not sent, and when the destination number is not in the preset number segment data, the destination number is generated and a sending failure message is put back to the client. And when the destination number is in the service range, sending the message corresponding to the destination number to the short message center, otherwise, generating a sending failure message for the destination number and returning the sending failure message to the client side until all messages corresponding to the destination number included in the mass-sending message are processed. In the embodiment, the message with the legal destination number can be sent to the short message center by the splitting method, and the message with the illegal destination number is returned to the client to send the failure message, so that the message sending efficiency is improved.
S140, when the destination number is legal, a first message corresponding to the destination number is sent to the short message center.
And when the destination number is judged to be legal, sending a first message corresponding to the legal destination number to the message center.
And S150, when the destination number is illegal, sending a destination number sending failure message to the client.
And when the destination number is judged to be illegal, sending a sending failure message of the illegal destination number to the client, and not sending a first message corresponding to the illegal destination number to the short message center. Wherein the transmission failure message is transmitted in the form of a failure status report.
The message sending method provided by the embodiment of the invention can obtain a plurality of messages only containing one destination number by splitting the group sending message sent by the client. Whether each target number is legal or not is judged, the message of the legal target number is sent according to the judgment result, the message of the illegal target number is not sent, and a sending failure message is returned to the client, so that the data sending failure of the whole mass-sending message caused by the illegal target number can be avoided, and the message sending efficiency is improved.
In some embodiments, after sending a first message corresponding to the destination number to the short message center or sending a failure message of sending the destination number to the client, the method further includes: receiving a response message sent by a short message center, wherein the response message comprises receiving information or receiving failure information; and sending a return message to the client based on the response message, wherein the return message comprises successful receiving information or receiving failure information. Specifically, a response message of each destination number is received, and a return message corresponding to each destination number is sent to the client according to the response message.
In an embodiment, as shown in fig. 4, after receiving a mass-sending message packet CMPP _ SUBMIT including 5 destination numbers sent by the client, a response packet CMPP _ SUBMIT _ RESP of a successful response message is returned to the client, and the mass-sending message is disassembled into 5 messages each including one destination number. And judging whether each destination number is legal or not, for example, when the 4 th destination number is illegal, sending a failure state report of the fourth destination number to the client, sending messages of other legal destination numbers to the short message center, and receiving a response message of the short message center. When receiving the success status report of the 1 st, 3 rd and 5 th destination numbers sent by the short message center, returning the success status report of the 1 st, 3 th and 5 th destination numbers to the client; and when receiving a failure status report of the 2 nd destination number sent by the short message center, returning the failure status report of the 2 nd destination number to the client.
The message sending method provided by the embodiment of the invention can split the mass-sending message sent by the client into a plurality of messages only containing one destination number. And judging whether each target number is legal or not, sending the message of the legal target number according to the judgment result, not sending the message of the illegal target number, and returning a sending failure message to the client. After receiving the response message sent by the short message center/gateway, sending a return message to the client according to the response message of each destination number. The illegal target number can be judged, and the message corresponding to the legal target number is sent, so that the message mass-sending efficiency is improved.
Fig. 5 is a schematic structural diagram of a message apparatus 500 according to an embodiment of the present application. As shown in fig. 5, the apparatus 500 includes an obtaining module 510, a splitting module 520, a determining module 530, a first sending module 540, and a second sending module 550.
The obtaining module 510 is configured to obtain a mass texting message sent by a client, where the mass texting message includes at least one destination number.
Acquiring a mass-sending message packet CMPP _ SUBMIT sent by a client, wherein the mass-sending message packet comprises at least one destination number.
The splitting module 520 is configured to split the mass texting message into at least one first message, where the first message includes a destination number, and different first messages include different destination numbers.
The method comprises the steps of splitting the mass-sending message into a plurality of first messages, wherein the specific number of the first messages is determined by the number of destination numbers contained in the mass-sending message. Wherein, each first message only contains one destination number, and the destination numbers of different first messages are different.
The determining module 530 is configured to determine whether the destination number of the first message is legal.
The first sending module 540 is configured to send a first message corresponding to the destination number to the short message center when the destination number is legal.
And a second sending module 550, configured to send a failure message of sending the destination number to the client when the destination number is illegal.
The message sending device 500 provided by the embodiment of the invention can split the mass-sending message to obtain a plurality of messages containing one destination number, judge whether the destination number is legal, send the message of the legal destination number to the short message center, and return the sending failure message to the client for the illegal destination number. The method of the embodiment of the invention can send the message of the legal destination number to the short message center under the condition that the mass-sending message contains the illegal destination number, thereby improving the efficiency of sending the message.
In some embodiments, the apparatus further comprises a returning module 560 configured to return a successful response message of the bulk message to the client after obtaining the bulk message sent by the client.
In some embodiments, determining whether the destination number of the first message is legitimate comprises at least one of: and judging whether the destination number of the first message is in the preset number segment data, judging whether the destination number of the first message is in the service range of the client, and judging whether the destination number format of the first message is correct.
In some embodiments, the apparatus further comprises a receiving module 570, a third sending module 580. The receiving module 570 is configured to receive a response message sent by the short message center, where the response message includes successful receiving information or receiving failure information; a third sending module 580, configured to send a return message to the client based on the response message, where the return message includes information of successful reception or information of failed reception.
The message sending apparatus 500 provided in the embodiment of the present invention can split the group sending message sent by the client into a plurality of messages only including one destination number, send the message corresponding to the destination number determined to be legal to the short message center, and generate a corresponding sending failure message to return to the client if the message corresponding to the destination number determined to be illegal is generated. By the aid of the device, the message sending failure corresponding to all the destination numbers due to a certain illegal destination number can be avoided, and the message sending efficiency is improved.
It should be noted that the apparatus in the embodiment in fig. 5 may be used as an execution main body in the methods in the embodiments, and may implement corresponding processes in the methods to achieve the same technical effects, and for simplicity, the content of this aspect is not repeated.
Fig. 6 shows a hardware structure diagram of message sending provided in the embodiment of the present application.
The messaging device may include a processor 601 and memory 602 that stores computer program instructions.
Specifically, the processor 601 may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
In one example, memory 602 may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory 602 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform operations described with reference to a method according to an aspect of the application.
The processor 601 reads and executes the computer program instructions stored in the memory 602 to implement the methods/steps S110 to S150 in the embodiment shown in fig. 2, and achieve the corresponding technical effects achieved by executing the methods/steps in the example shown in fig. 2, which are not described herein again for brevity.
In one example, the messaging device may also include a communication interface 603 and a bus 610. As shown in fig. 6, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 to complete communication therebetween.
The communication interface 603 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
The bus 610 includes hardware, software, or both to couple the components of the messaging devices to one another. By way of example, and not limitation, a Bus may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (Front Side Bus, FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) Bus, an infiniband interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a Micro Channel Architecture (MCA) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a video electronics standards association local (VLB) Bus, or other suitable Bus or a combination of two or more of these. Bus 610 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The message sending equipment can be used for sending messages which only contain one destination number to a plurality of messages based on the group sending messages sent by the splitting client, sending the messages corresponding to the destination numbers judged to be legal to the short message center, and generating corresponding sending failure messages to the client by the destination numbers judged to be illegal, so that the message sending efficiency is improved, and the message sending method described by combining the figure 2 is realized.
In addition, in combination with the message sending method in the foregoing embodiments, embodiments of the present application may provide a computer storage medium to implement. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the above embodiments in a method of messaging.
It is to be understood that the present application is not limited to the particular arrangements and instrumentalities described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps, after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic Circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments can be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed at the same time.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based computer instructions which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.
Claims (10)
1. A method for sending a message, comprising:
acquiring a mass-sending message sent by a client, wherein the mass-sending message comprises at least one destination number;
splitting the mass-sending message into at least one first message, wherein the first message comprises a destination number, and different first messages comprise different destination numbers;
judging whether the destination number of the first message is legal or not;
when the destination number is legal, sending the first message corresponding to the destination number to a short message center;
and when the destination number is illegal, sending a sending failure message of the destination number to the client.
2. The method of claim 1, wherein after obtaining the mass-sending message sent by the client, the method further comprises:
and returning a successful response message of the mass sending message to the client.
3. The method according to claim 1 or 2, wherein the determining whether the destination number of the first message is legal comprises at least one of:
and judging whether the destination number of the first message is in preset number segment data, judging whether the destination number of the first message is in a service range of a client, and judging whether the destination number format of the first message is correct.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and receiving a response message sent by the short message center, wherein the response message comprises successful receiving information or receiving failure information.
5. The method of claim 4, further comprising:
and sending a return message to the client based on the response message, wherein the return message comprises successful receiving information or receiving failure information.
6. A message transmission apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a sending module and a sending module, wherein the acquisition module is used for acquiring a mass-sending message sent by a client, and the mass-sending message comprises at least one destination number;
the splitting module is used for splitting the group sending message into at least one first message, wherein the first message comprises a destination number, and the destination numbers of different first messages are different;
the judging module is used for judging whether the destination number of the first message is legal or not;
the first sending module is used for sending the first message corresponding to the destination number to a short message center when the destination number is legal;
and the second sending module is used for sending a sending failure message of the destination number to the client when the destination number is illegal.
7. The apparatus of claim 6, further comprising:
and the return module is used for returning a successful response message of the mass sending message to the client after the mass sending message sent by the client is obtained.
8. The apparatus according to claim 6 or 7, wherein the determining whether the destination number of the first message is legal comprises at least one of:
and judging whether the destination number of the first message is in preset number segment data, judging whether the destination number of the first message is in a service range of a client, and judging whether the destination number format of the first message is correct.
9. A message transmission device, characterized in that the message transmission device comprises: a processor, and a memory storing computer program instructions;
the processor reads and executes the computer program instructions to implement the messaging method of any of claims 1-5.
10. A computer storage medium, characterized in that the computer storage medium has stored thereon computer program instructions which, when executed by a processor, implement a message sending method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110438324.3A CN115243204A (en) | 2021-04-22 | 2021-04-22 | Message sending method, device, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110438324.3A CN115243204A (en) | 2021-04-22 | 2021-04-22 | Message sending method, device, equipment and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115243204A true CN115243204A (en) | 2022-10-25 |
Family
ID=83666669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110438324.3A Pending CN115243204A (en) | 2021-04-22 | 2021-04-22 | Message sending method, device, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115243204A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933619A (en) * | 2006-10-25 | 2007-03-21 | 华为技术有限公司 | Short message group sending method and short message center |
CN101483838A (en) * | 2008-04-08 | 2009-07-15 | 中兴通讯股份有限公司 | Method and system for implementing short message group sending |
CN101610483A (en) * | 2008-06-20 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method and system of short-message cluster-sending |
CN101873536A (en) * | 2009-04-22 | 2010-10-27 | 华为技术有限公司 | Group sending message processing method, service distribution platform and related equipment |
CN102801866A (en) * | 2012-08-24 | 2012-11-28 | 广东欧珀移动通信有限公司 | Group-texting method of mobile terminal |
CN102970662A (en) * | 2012-11-28 | 2013-03-13 | 内蒙古华腾科技发展有限公司 | Short and multimedia message sending method based on middleware platform |
CN103533505A (en) * | 2012-07-05 | 2014-01-22 | 中国移动通信集团江苏有限公司 | Short message sending method, short message sending server, short message sending system and mobile terminal |
CN110493736A (en) * | 2019-08-29 | 2019-11-22 | 凡普数字技术有限公司 | Note transmission method, device and storage medium |
-
2021
- 2021-04-22 CN CN202110438324.3A patent/CN115243204A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933619A (en) * | 2006-10-25 | 2007-03-21 | 华为技术有限公司 | Short message group sending method and short message center |
CN101483838A (en) * | 2008-04-08 | 2009-07-15 | 中兴通讯股份有限公司 | Method and system for implementing short message group sending |
CN101610483A (en) * | 2008-06-20 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method and system of short-message cluster-sending |
CN101873536A (en) * | 2009-04-22 | 2010-10-27 | 华为技术有限公司 | Group sending message processing method, service distribution platform and related equipment |
CN103533505A (en) * | 2012-07-05 | 2014-01-22 | 中国移动通信集团江苏有限公司 | Short message sending method, short message sending server, short message sending system and mobile terminal |
CN102801866A (en) * | 2012-08-24 | 2012-11-28 | 广东欧珀移动通信有限公司 | Group-texting method of mobile terminal |
CN102970662A (en) * | 2012-11-28 | 2013-03-13 | 内蒙古华腾科技发展有限公司 | Short and multimedia message sending method based on middleware platform |
CN110493736A (en) * | 2019-08-29 | 2019-11-22 | 凡普数字技术有限公司 | Note transmission method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110855792B (en) | Message pushing method, device, equipment and medium | |
CN112803950A (en) | Data compression method, device and equipment and computer storage medium | |
CN111356091B (en) | Message sending and receiving method and terminal | |
CN115208877A (en) | File transmission method, device, equipment, medium and product | |
CN115942430A (en) | Communication method, communication device, terminal and computer-readable storage medium | |
CN111385256A (en) | Method, device, equipment and medium for migrating batch applications | |
CN115243204A (en) | Message sending method, device, equipment and computer storage medium | |
CN112714108B (en) | Method, device and equipment for verifying terminal communication number and computer storage medium | |
CN115225170A (en) | Method and device for testing shielding effect of shielding device | |
CN114650544B (en) | Networking method, device and equipment of self-organizing network and computer storage medium | |
CN112422467A (en) | Logistics big data transmission method based on 5G network | |
CN113452693B (en) | Login method and device for page back end, storage medium and electronic device | |
CN113596830B (en) | Communication method, communication apparatus, electronic device, storage medium, and program product | |
CN118509070B (en) | Cross-equipment data transmission method, equipment, system and medium | |
CN114650511B (en) | Short message service processing method, device and system | |
CN116962524A (en) | Data processing method, device, equipment and computer storage medium | |
CN111614601B (en) | Method, device and system for realizing information transmission | |
CN115379400B (en) | Method and device for group short message receipt | |
CN114625987A (en) | Two-dimensional code address generation method, device and equipment and computer storage medium | |
CN117295070A (en) | Short message verification code sending method, device, equipment and medium | |
CN118796223A (en) | Device upgrading method, device and computer storage medium | |
CN117014159A (en) | Message verification method, device, equipment and computer storage medium | |
CN114640715A (en) | Data processing method, device, equipment and computer storage medium | |
CN116963151A (en) | Terminal determining method, device, equipment and computer storage medium | |
CN104936155A (en) | Short message signature processing method and apparatus |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221025 |
|
RJ01 | Rejection of invention patent application after publication |