Short message sending method, apparatus and device, and storage medium

By storing a preset blacklist and verification SMS center number in electronic devices, the problem of SMS center number being tampered with in user cards is solved, improving the security and reliability of SMS services and preventing SMS delivery failures and billing risks.

WO2026007365A1PCT designated stage Publication Date: 2026-01-08CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/143345
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-01
Filing Date
2024-12-27
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

When user equipment accesses a satellite communication network, the SMS center number in the user card may be tampered with, leading to SMS delivery failures or billing and security risks, especially in networks shared by multiple operators.

Method used

By storing a preset blacklist in electronic devices, the system verifies whether the SMS center number is authorized to perform SMS services and modifies the SMS center number when necessary to ensure that the correct SMS center number is used to send SMS messages. This is managed in conjunction with the security level and user card information.

Benefits of technology

It improves the security and reliability of SMS services, prevents SMS center numbers from being tampered with, reduces the risk of SMS leakage, and ensures the effectiveness of billing and supervision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024143345_08012026_PF_FP_ABST
    Figure CN2024143345_08012026_PF_FP_ABST
Patent Text Reader

Abstract

A short message sending method, apparatus and device, and a storage medium. The method is applied to an electronic device, the electronic device stores a preset blacklist, and a short message center number in the preset blacklist is not allowed to execute a short message service. The method comprises: receiving a target short message, which is input by a user; if it is determined that there is no first short message center number in a preset blacklist, sending the target short message on the basis of the first short message center number, wherein the first short message center number is a short message center number that is preset in a electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and equipment for sending short message and storage medium

[0001] The present application claims priority to the Chinese patent application No. 202410875581.7, filed on July 01, 2024, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present disclosure relates to the field of communication technology, and in particular, to a method, device and equipment for sending short message and storage medium. BACKGROUND

[0003] In recent years, with the development of communication technology, the communication functions of electronic devices (such as terminals and servers) are becoming more and more rich, and the communication services between electronic devices are also becoming more and more numerous. For example, the short message service between electronic devices.

[0004] At present, when an electronic device performs a short message service, the initiating end (i.e., the electronic device sending the short message) needs to forward the short message to the receiving end (i.e., the electronic device receiving the short message) through the short message center corresponding to the stored short message center number based on the short message center number. SUMMARY

[0005] In a first aspect, a method for sending a short message is provided, which is applied to an electronic device. The electronic device stores a preset blacklist. The short message center number in the preset blacklist is not allowed to perform a short message service. The method comprises: receiving a target short message input by a user. If it is determined that the preset blacklist does not exist a first short message center number, the target short message is sent based on the first short message center number. The first short message center number is a short message center number pre-set in the electronic device.

[0006] In some embodiments, the sending method further comprises: determining a target security level of the content in the target short message according to the target short message. If it is determined that the target security level is less than or equal to a preset level threshold, and it is determined that the preset blacklist does not exist the first short message center number, the target short message is sent based on the first short message center number.

[0007] In some embodiments, the electronic device further stores target user card information and a preset mapping table. The preset mapping table comprises a correspondence relationship between a plurality of preset user card information and a plurality of preset short message center numbers. The method further comprises: if it is determined that the target security level is greater than the preset level threshold, and it is determined that the first short message center number is the same as a second short message center number corresponding to the target user card information in the preset mapping table, the target short message is sent based on the first short message center number.

[0008] In some embodiments, the sending method further includes: if the first short message center number is different from the second short message center number, modifying the first short message center number to the second short message center number, and sending the target short message based on the second short message center number.

[0009] In some embodiments, the sending method further includes: if the target security level is less than or equal to the preset level threshold, and the first short message center number exists in the preset blacklist, modifying the first short message center number to the second short message center number, and sending the target short message based on the second short message center number.

[0010] In some embodiments, the target user card information includes operator information and number segment information of the user card.

[0011] In a second aspect, a sending device of a short message is provided, which is applied to an electronic device, the electronic device stores a preset blacklist, and short message center numbers in the preset blacklist are not allowed to perform short message services. The device includes an obtaining module, a processing module, and a sending module.

[0012] The obtaining module is configured to receive a target short message input by a user. The processing module is configured to determine whether a first short message center number exists in the preset blacklist, the first short message center number being a short message center number pre-set in the electronic device. The sending module is configured to send the target short message based on the first short message center number if it is determined that the first short message center number does not exist in the preset blacklist.

[0013] In some embodiments, the processing module is further configured to determine a target security level of content in the target short message according to the target short message. The processing module is further configured to determine whether the target security level is greater than a preset level threshold. The processing module is configured to determine whether the first short message center number exists in the preset blacklist if the target security level is less than or equal to the preset level threshold.

[0014] In some embodiments, the electronic device further stores target user card information and a preset mapping table, the preset mapping table including a correspondence between a plurality of preset user card information and a plurality of preset short message center numbers. The processing module is further configured to determine whether the first short message center number is the same as a second short message center number corresponding to the target user card information in the preset mapping table if it is determined that the target security level is greater than the preset level threshold. The processing module is further configured to send the target short message based on the first short message center number if it is determined that the first short message center number is the same as the second short message center number.

[0015] In some embodiments, the processing module is further configured to modify the first short message center number to the second short message center number and send the target short message based on the second short message center number if it is determined that the first short message center number is different from the second short message center number.

[0016] In some embodiments, the processing module is further configured to, if it is determined that the target security level is less than or equal to the preset level threshold and the preset blacklist exists the first short message center number, modify the first short message center number to a second short message center number, and send the target short message based on the second short message center number.

[0017] In some embodiments, the target user card information includes operator information and number segment information of the user card.

[0018] In a third aspect, a short message sending device is provided. The short message sending device includes a processor and a memory coupled to the processor. The memory is configured to store one or more programs including computer-executable instructions. When the short message sending device is running, the processor executes the computer-executable instructions stored in the memory to implement the short message sending method described in the first aspect or any one of the embodiments of the first aspect.

[0019] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are run on a computer, the computer executes the short message sending method described in the first aspect or any one of the embodiments of the first aspect.

[0020] In a fifth aspect, a computer program product is provided. The computer program product is applied to a server. The computer program product includes computer instructions. When the computer instructions are run on the server, the server implements the short message sending method described in the first aspect or any one of the embodiments of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0021] FIG. 1 is a schematic diagram of a communication system according to some embodiments;

[0022] FIG. 2 is a flowchart of a short message sending method according to some embodiments;

[0023] FIG. 3 is a flowchart of another short message sending method according to some embodiments;

[0024] FIG. 4 is a flowchart of yet another short message sending method according to some embodiments;

[0025] FIG. 5 is a flowchart of yet another short message sending method according to some embodiments;

[0026] FIG. 6A is a block diagram of a short message sending apparatus according to some embodiments;

[0027] FIG. 6B is a block diagram of another short message sending apparatus according to some embodiments;

[0028] FIG. 7 is a block diagram of a short message sending device according to some embodiments;

[0029] FIG. 8 is a conceptual partial view of a computer program product, according to some embodiments. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present disclosure.

[0031] The character " / " in the present disclosure generally represents an "or" relationship between the associated objects before and after. For example, A / B can be understood as A or B.

[0032] The terms "first" and "second" in the description and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of the objects.

[0033] In addition, the terms "comprise" and "have" and any variations thereof mentioned in the description of the present disclosure are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but also includes other steps or modules that are not listed, or further includes other steps or modules inherent to the process, method, product or device.

[0034] In addition, in some embodiments of the present disclosure, the words "exemplarily" or "for example" are used to represent as an example, illustration or description. Any embodiment or design scheme described as "exemplarily" or "for example" in the present disclosure should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words "exemplarily" or "for example" are intended to present the concept in an exemplary manner.

[0035] Before the sending method of the short message provided by some embodiments of the present disclosure is described in detail, the implementation environment and application scenario of some embodiments of the present disclosure are introduced.

[0036] Firstly, the application scenario of some embodiments of the present disclosure is introduced.

[0037] Mobile phone direct satellite service has become a hot spot in the field of satellite communication, and providing basic communication services for public users through satellites is an inevitable direction for the evolution of the 6th generation mobile networks (6G) network in the future. There are already mobile phone direct satellite products on the market, which can provide basic voice and SMS services for users through mobile phone direct high-orbit satellite. The current high-orbit satellite is still a 2th generation mobile networks (2G) / 3th generation mobile networks (3G) system, and the SMS sending needs to read and use the SMSC number in the user card to correctly address the corresponding SMSC.

[0038] However, the current implementation of the user equipment is to directly read and use the SMSC number in the user card for SMS sending. Since the SMSC number in the user card can be modified by the user, when the user equipment accesses the satellite communication network, there may be a risk of reading and using the wrong SMSC number, resulting in SMS sending failure. In some cases, users can modify the SMSC number to avoid billing and regulation, resulting in billing and security risks. For example, in a multi-operator shared satellite access network, this risk is particularly evident. And sending SMS through the SMSC corresponding to the wrong SMSC number may cause SMS leakage and reduce the security of SMS service.

[0039] Therefore, how to verify the SMSC number in the user card, prevent the SMSC number in the user card from being tampered with, and improve the security of the SMS service has become a technical problem to be solved.

[0040] To solve the above problems, some embodiments of the present disclosure provide a SMS sending method applied to a SMS sending scenario. The SMS sending method of some embodiments of the present disclosure can manage the SMS service of the to-be-sent SMS by determining whether the pre-stored SMSC number in the electronic device is the SMSC number in the preset blacklist that does not allow the electronic device to perform the SMS service when the electronic device performs the SMS service. If the pre-stored SMSC number in the electronic device is not the SMSC number in the preset blacklist, the electronic device can determine that the pre-stored SMSC number is verified, and perform the SMS service on the to-be-sent SMS based on the pre-stored SMSC number. In this way, the security of the SMS service can be improved.

[0041] The implementation environment of some embodiments of the present disclosure is introduced below.

[0042] FIG. 1 is a schematic diagram of a communication system according to some embodiments. As shown in FIG. 1, the communication system 100 can include at least two electronic devices (e.g., electronic device 101 and electronic device 102) and at least one short message center (e.g., at least one of short message center 103 or short message center 104). Here, the electronic device 101 can perform wired or wireless communication with the electronic device 102 through at least one of the short message center 103 or the short message center 104.

[0043] In some embodiments, the electronic device 101 can receive a user-inputted short message to be sent, and verify whether a stored short message center number (e.g., a number of the short message center 103 or a number of the short message center 104) in the electronic device 101 is a short message center number in a pre-set black list which is not allowed to perform short message service by the electronic device 101. If the stored short message center number is not a short message center number in the black list, the electronic device 101 can send the user-inputted short message to be sent to the electronic device 102 through a short message center (e.g., the short message center 103 or the short message center 104) corresponding to the stored short message center number.

[0044] It should be noted that the electronic devices (e.g., the electronic device 101 and the electronic device 102) and the short message centers (e.g., the short message center 103 and the short message center 104) are not limited in some embodiments of the present disclosure. For example, the electronic device can be a terminal. Alternatively, the electronic device can be a server. For another example, the short message center can be a terminal. Alternatively, the short message center can be a server.

[0045] Here, the server can be a single physical server, or can also be a server cluster composed of multiple servers. Alternatively, the server cluster can also be a distributed cluster. Alternatively, the server can be a cloud server. The present disclosure does not limit the implementation of the server.

[0046] The terminal can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a Netbook, or the like, which has a transceiver function, and the present disclosure does not specially limit the form of the terminal. It can perform human-computer interaction with a user through one or more ways such as a keyboard, a touchpad, a touch screen, a remote controller, voice interaction, or a handwriting device.

[0047] After introducing the application scenarios and implementation environments of some embodiments of the present disclosure, the short message sending method provided by some embodiments of the present disclosure will be described in detail below in combination with the above implementation environment.

[0048] The methods in the following embodiments can be implemented in the above application scenarios and implementation environments. Some embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0049] FIG. 2 is a flowchart of a method for sending a short message, according to some embodiments. As shown in FIG. 2, the method can include S201-S203.

[0050] S201, the electronic device receives a target short message input by a user.

[0051] In an implementation manner, the electronic device can receive information input by the user through human-computer interaction with the user, and generate the target short message.

[0052] It should be noted that for the process of receiving information input by the user through human-computer interaction with the user, and generating the target short message, reference can be made to the introduction of editing a short message in a mobile phone by a user in related technologies, which will not be described herein.

[0053] S202, the electronic device determines whether the first short message center number exists in the blacklist.

[0054] Here, the first short message center number is a short message center number pre-set in the electronic device, and the first short message center number is a short message center number referred to by the electronic device when performing a short message service. The electronic device can also pre-store a preset blacklist, and the short message center numbers in the preset blacklist are not allowed to perform a short message service.

[0055] In some embodiments, the preset blacklist stored in the mobile phone (i.e., the electronic device) includes, for example, 100011, 100012. If the first short message center number pre-stored in the mobile phone is 100010, the mobile phone can refer to 100010 to determine the short message center corresponding to 100010 to perform forwarding of the short message service. If the first short message center number pre-stored in the mobile phone is 100011, the mobile phone does not perform the short message service.

[0056] In an implementation manner, the preset blacklists stored in different electronic devices are different. Here, the preset blacklist corresponding to each electronic device is determined by the positioning information, the operator information, and the communication package information of the electronic device.

[0057] In some embodiments, if the electronic device determines that the first short message center number exists in the blacklist, the electronic device does not perform the short message service on the target short message (i.e., does not send the target short message).

[0058] In some other embodiments, if the electronic device determines that the first short message center number does not exist in the blacklist, the electronic device can perform the short message service on the target short message (i.e., perform S203).

[0059] S203, the electronic device sends the target short message based on the first short message center.

[0060] In an implementation manner, the electronic device can determine the first short message center corresponding to the first short message center number based on the first short message center number, and send the target short message to the first short message center to complete the short message service of the target short message.

[0061] The technical solutions provided by the above embodiments at least have the following beneficial effects: when the electronic device performs the short message service on the short message, the short message service of the to-be-sent short message is managed by determining whether the pre-stored short message center number in the electronic device is a short message center number in the preset blacklist, which is not allowed to perform the short message service by the electronic device. If the pre-stored short message center number in the electronic device is not the short message center number in the preset blacklist, the electronic device can determine that the pre-stored short message center number is verified, and perform the short message service on the to-be-sent short message based on the pre-stored short message center number. In this way, the security of the short message service can be provided.

[0062] It should be noted that different short message contents sent by the user correspond to different security requirements, so it is necessary to manage the short messages with different security requirements differently.

[0063] In some embodiments, as shown in FIG. 3, after the electronic device receives the target short message input by the user (i.e., S201), the method can further include S301-S303.

[0064] S301, the electronic device determines a target security level of the content in the target short message according to the target short message.

[0065] Here, the target security level is used to represent the security degree corresponding to the content in the target short message.

[0066] In an implementation manner, the electronic device stores a plurality of preset keywords and a preset security level corresponding to each keyword in the plurality of preset keywords. The electronic device can take the preset keyword contained in the content in the target short message as a target keyword, and sum the preset security levels corresponding to all target keywords to determine the target security level of the content in the target short message.

[0067] S302, the electronic device determines whether the target security level is greater than a preset level threshold.

[0068] In an implementation manner, the electronic device can further store a preset level threshold. The electronic device can manage the short message service of the target short message based on the size relationship between the target security level and the preset level threshold.

[0069] In some embodiments, if the electronic device determines that the target security level is less than or equal to the preset level threshold, the electronic device can perform S202.

[0070] In some other embodiments, if the electronic device determines that the target security level is greater than the preset level threshold, the electronic device can perform S303.

[0071] S303. The electronic device determines whether the first short message center number is the same as a second short message center number corresponding to the target user card information in the preset mapping table.

[0072] Here, the electronic device can also store the target user card information and the preset mapping table, and the preset mapping table can include a correspondence between a plurality of preset user card information and a plurality of preset short message center numbers.

[0073] It should be noted that in some embodiments of the present disclosure, the user card information can include relevant information of the user card (mobile directory number (MDN), integrated circuit card identity (ICCID), international mobile subscriber identification number (IMSI)), or the user card information can include operator information and number segment information corresponding to the user card.

[0074] In an implementation manner, the electronic device can determine, based on the target user card information, user card information that is the same as the target user card information from the plurality of preset user card information, and take a preset short message center number corresponding to the user card information that is the same as the target user card information from the plurality of preset user card information as the second short message center number, to obtain the second short message center number.

[0075] In some embodiments of the present disclosure, the electronic device can manage the short message service of the target short message by determining whether the first short message center number is the same as the second short message center number.

[0076] In some embodiments, if the electronic device determines that the first short message center number is the same as the second short message center number, the electronic device can perform S203.

[0077] In some other embodiments, if the electronic device determines that the first short message center number is not the same as the second short message center number, the electronic device can not perform the short message service on the target short message.

[0078] In some embodiments, if the electronic device determines that the first short message center number is different from the second short message center number, the electronic device can modify the first short message center number to the second short message center number, and send the target short message based on the second short message center number.

[0079] It should be noted that the process of the electronic device sending the target short message based on the second short message center number can refer to the above introduction of the electronic device sending the target short message based on the first short message center, which will not be repeated here.

[0080] In some embodiments, in combination with the above embodiments, if the electronic device determines that the target security level is less than or equal to the preset level threshold, and the preset blacklist exists the first short message center number, the electronic device can modify the first short message center number to the second short message center number, and send the target short message based on the second short message center number.

[0081] It can be understood that the electronic device can perform different verification strategies on the pre-stored short message center number based on the security requirement of the content in the to-be-sent short message, and in the case of high security requirement, it is required that the short message center number referred to for performing the short message service is the correct short message center number corresponding to the user card, and in the case of low security requirement, the short message center number referred to for performing the short message service can have error variation within a predetermined range. In this way, the flexibility of verifying the short message center number can be improved.

[0082] Next, the sending method of the short message provided by some embodiments of the present disclosure will be introduced in combination with examples, that is, a method for terminal to identify whether the short message center number in the user card is tampered is proposed. After the step of the user equipment in the related art directly reading the short message center number in the user card, a step of the user equipment judging whether the short message center number is tampered is added. By configuring the identification strategy on the user equipment side, the user equipment matches the identification strategy after reading the short message center in the user card, such as matching successfully, then normally sending the short message; if the matching is unsuccessful, the short message center number in the user card is automatically corrected to the correct value according to the identification strategy.

[0083] For example, the user equipment receives the correspondence between the user card number segment and the short message center number provided by the operator, and establishes a mapping table for storing the operator number segment and the short message center number. Then, the user equipment reads the related information (MDN, ICCID, IMSI) of the user card, judges the operator and the number segment to which the user card belongs, and then matches the mapping table stored in the user equipment according to the operator and the number segment information of the user card, to judge whether the short message center number in the user card is correct, if not, it is automatically corrected to the correct short message center number. As shown in FIG. 4, the control method further comprises:

[0084] S1, the user equipment accesses the satellite network.

[0085] S2, the user equipment reads the short message center number of the user card.

[0086] S3, the user equipment identifies whether the short message center number is correct according to the configured identification strategy.

[0087] In some embodiments, if the user equipment identifies that the short message center number is incorrect, the user equipment performs S4.

[0088] S4, the user equipment automatically modifies the short message center number of the user card.

[0089] Here, after the user equipment completes the modification of the short message center number of the user card, the user equipment can perform S5.

[0090] S5, the user equipment allows the user to send a short message.

[0091] In other embodiments, after S3, if the user equipment identifies that the short message center number is correct, the user equipment can directly perform S5.

[0092] In some embodiments, the user equipment can set a specific short message center number as a blacklist (which can cause the user to bypass charging and supervision), when the user equipment accesses the satellite network, the user equipment reads the short message center number in the user card and matches it with the set blacklist, if it does not belong to the blacklisted number set by the user equipment, the user equipment allows the user to send a short message; if it belongs to the blacklist in the user equipment, the user equipment prohibits the user from sending a short message. As shown in FIG. 5, the control method further comprises:

[0093] S10, the user equipment accesses the satellite network.

[0094] S20, the user equipment reads the short message center number of the user card.

[0095] S30, the user equipment identifies whether the short message center number is a number in the set blacklist. If yes, S40 is performed; if no, S50 is performed.

[0096] S40, if it is determined that the short message center number identified by the user equipment is a number in the set blacklist, the user equipment does not allow the user to send a short message.

[0097] S50, if the short message center number identified by the user equipment is not a number in the set blacklist, the user equipment allows the user to send a short message.

[0098] The above mainly introduces the scheme provided by some embodiments of the present disclosure from the perspective of the computer device. It can be understood that the computer device contains the hardware structure and / or software module corresponding to each function in order to implement the above functions. Those skilled in the art should easily realize that the sending method steps of the short message of each example described in combination with the disclosed embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present disclosure.

[0099] Some embodiments of the present disclosure also provide a short message sending device. The short message sending device can be a computer device, a central processing unit (CPU) in the computer device, a processing module for sending a short message in the computer device, or a client for sending a short message in the computer device.

[0100] Some embodiments of the present disclosure can divide the short message sending device into functional modules or functional units according to the above method examples. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or software functional module or functional unit. Here, the division of modules or units in some embodiments of the present disclosure is illustrative, and is only a logical functional division. When actually implemented, there can be another division method.

[0101] FIG. 6A is a block diagram of a short message sending device according to some embodiments. As shown in FIG. 6A, the short message sending device is used to execute the short message sending method shown in FIG. 2 or FIG. 3. The short message sending device 600 is applied to an electronic device, the electronic device stores a preset blacklist, the short message center number in the preset blacklist is not allowed to perform a short message service, and the short message sending device 600 can include an acquisition module 601 and a processing module 602.

[0102] The acquisition module 601 is configured to receive a target short message input by a user. The processing module 602 is configured to determine whether a first short message center number exists in the preset blacklist, the first short message center number being a short message center number pre-set in the electronic device.

[0103] As shown in FIG. 6B, the sending device 600 can further include a sending module 603 configured to send the target short message based on the first short message center number if it is determined that the first short message center number does not exist in the preset blacklist.

[0104] In some embodiments, the processing module 602 is further configured to determine a target security level of the content in the target short message according to the target short message.

[0105] The processing module 602 is further configured to determine whether the target security level is greater than a preset level threshold.

[0106] The processing module 602 is further configured to determine whether the first short message center number exists in the preset blacklist if the target security level is less than or equal to the preset level threshold.

[0107] In some embodiments, the electronic device further stores target user card information and a preset mapping table, and the preset mapping table includes a correspondence between a plurality of preset user card information and a plurality of preset short message center numbers. The processing module 602 is further configured to determine whether the first short message center number is the same as a second short message center number corresponding to the target user card information in the preset mapping table if the target security level is greater than the preset level threshold.

[0108] The processing module 602 is further configured to send the target short message based on the first short message center number if it is determined that the first short message center number is the same as the second short message center number.

[0109] In some embodiments, the processing module 602 is further configured to modify the first short message center number to the second short message center number and send the target short message based on the second short message center number if it is determined that the first short message center number is not the same as the second short message center number.

[0110] In some embodiments, the processing module 602 is further configured to modify the first short message center number to the second short message center number and send the target short message based on the second short message center number if it is determined that the target security level is less than or equal to the preset level threshold and the first short message center number exists in the preset blacklist.

[0111] In some embodiments, the target user card information includes operator information and number segment information of the user card.

[0112] FIG. 7 is a block diagram of a short message sending device according to some embodiments. The short message sending device can include a processor 702 configured to execute application program code to implement the short message sending method in some embodiments of the present disclosure.

[0113] The processor 702 can be a CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling program execution of schemes in some embodiments of the present disclosure.

[0114] As shown in FIG. 7, the short message sending device can further include a memory 703. Here, the memory 703 is configured to store application program codes for implementing schemes in some embodiments of the present disclosure, and the execution is controlled by the processor 702.

[0115] The memory 703 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magneto-optical disk, a magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but the present disclosure is not limited thereto. The memory 703 can exist independently and be connected to the processor 702 through the bus 704. The memory 703 can also be integrated with the processor 702.

[0116] As shown in FIG. 7, the short message sending device can further include a communication interface 701. Here, the communication interface 701, the processor 702 and the memory 703 can be coupled with each other, for example, through the bus 704. The communication interface 701 is configured to interact with other devices, for example, to support information interaction between the short message sending device and other devices.

[0117] It should be noted that the device structure shown in FIG. 7 does not constitute a limitation on the short message sending device. In addition to the components shown in FIG. 7, the short message sending device can include more or fewer components than those shown, or some components can be combined, or different components can be arranged.

[0118] In actual implementation, the functions implemented by the processing module 602 can be implemented by the processor 702 in FIG. 7 invoking program codes in the memory 703.

[0119] Some embodiments of the present disclosure further provide a computer readable storage medium, and the computer readable storage medium stores instructions, when the instructions in the computer readable storage medium are executed by a processor of a computer device, the computer is enabled to perform the sending of the short message provided by the above-mentioned embodiments. For example, the computer readable storage medium can be the memory 703 including instructions, and the above-mentioned instructions can be executed by the processor 702 of the computer device to complete the above-mentioned method. In some embodiments, the computer readable storage medium can be a non-transitory computer readable storage medium. For example, the non-transitory computer readable storage medium can be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0120] FIG. 8 is a conceptual partial view of a computer program product including a computer program for executing a computer process on a computing device, according to some embodiments.

[0121] In some embodiments, the computer program product is provided using a signal bearing medium 800. The signal bearing medium 800 can include one or more program instructions which, when executed by one or more processors, can provide the functionality or some portion of the functionality described above with respect to FIG. 2 or FIG. 3. Thus, for example, one or more features of S201-S203 can be undertaken by one or more instructions associated with the signal bearing medium 800, with reference to the embodiment illustrated in FIG. 2. Further, the program instructions in FIG. 8 also describe example instructions.

[0122] In some embodiments, the signal bearing medium 800 can include a computer readable medium 801 such as, but not limited to, a hard disk drive, a compact disc (CD), a digital video disc (DVD), a digital tape, memory, read-only memory (ROM), random access memory (RAM), etc.

[0123] In some embodiments, the signal bearing medium 800 can also include a computer recordable medium 802 such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, etc.

[0124] In some embodiments, the signal bearing medium 800 can also include a communication medium 803 such as, but not limited to, a digital and / or an analog communication medium (e.g., a fiber optic cable, a waveguide, a wired communication link, a wireless communication link, etc.).

[0125] The signal-bearing medium 800 can be conveyed by a wireless form of the communication medium 803. The one or more program instructions can be, for example, computer-executable instructions or logic-implementing instructions.

[0126] In some examples, the sending device of a short message, such as described with respect to FIG. 6A or FIG. 6B, can be configured to provide various operations, functions, or actions in response to the one or more program instructions of the computer-readable medium 801, the computer-recordable medium 802, or the communication medium 803.

[0127] From the above description of the embodiments, it is apparent that for the convenience and conciseness of description, only the division of the above functional modules is taken as an example for description, and in actual application, the above functions can be completed by different functional modules, i.e., the internal structure of the device is divided into different functional modules to complete the full classification or part of the functions described above.

[0128] In several embodiments provided in the present disclosure, it can be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the modules or units is only a logical function division, and in actual implementation, another division manner can be adopted, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.

[0129] The units described as separate components can or can not be physically separate, and the components displayed as units can be one physical unit or a plurality of physical units, i.e., can be in one place or can be distributed to a plurality of different places. Part or all of the classification units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0130] In addition, each functional unit in each embodiment of the present disclosure can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0131] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of some embodiments of the present disclosure or the part that contributes to the related art or the whole classification or part of the technical solutions can be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute the whole classification or part of the steps of the method of various embodiments of the present disclosure. The aforementioned storage medium includes a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media that can store program codes.

[0132] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any changes or replacements within the technical scope disclosed by the present disclosure should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A method for sending a short message, applied to an electronic device, wherein the electronic device stores a preset blacklist, and a short message center number in the preset blacklist is not allowed to perform a short message service, and the method comprises: receiving a target short message input by a user; if it is determined that a first short message center number does not exist in the preset blacklist, sending the target short message based on the first short message center number, wherein the first short message center number is a short message center number pre-set in the electronic device.

2. The method of claim 1, wherein, After the receiving of the target short message input by the user, the method further comprises: determining a target security level of content in the target short message according to the target short message; if it is determined that the target security level is less than or equal to a preset level threshold, and it is determined that the first short message center number does not exist in the preset blacklist, sending the target short message based on the first short message center number.

3. The method of claim 2, wherein, The electronic device further stores target user card information and a preset mapping table, and the preset mapping table comprises a correspondence between a plurality of preset user card information and a plurality of preset short message center numbers. The method further comprises: if it is determined that the target security level is greater than the preset level threshold, and it is determined that the first short message center number is the same as a second short message center number corresponding to the target user card information in the preset mapping table, sending the target short message based on the first short message center number. 4.The method of claim 3, further comprising: if it is determined that the first short message center number is not the same as the second short message center number, modifying the first short message center number to the second short message center number, and sending the target short message based on the second short message center number. 5.The method of claim 3, further comprising: if it is determined that the target security level is less than or equal to the preset level threshold, and the first short message center number exists in the preset blacklist, modifying the first short message center number to the second short message center number, and sending the target short message based on the second short message center number.

6. The method of any one of claims 3-5, wherein, The target user card information comprises operator information and number segment information of a user card. 7.A sending device for a short message, applied to an electronic device, wherein the electronic device stores a preset blacklist, and a short message center number in the preset blacklist is not allowed to perform a short message service, and the device comprises: an acquisition module, configured to receive a target short message input by a user; a processing module, configured to determine whether a first short message center number exists in the preset blacklist, wherein the first short message center number is a short message center number pre-set in the electronic device; and a sending module, configured to if it is determined that the first short message center number does not exist in the preset blacklist, send the target short message based on the first short message center number. a processor and a memory; 8. A short message sending device, comprising: the processor and the memory are coupled. ​ The memory is configured to store one or more programs including computer-executable instructions, and the processor is configured to execute the computer-executable instructions stored in the memory to cause the short message sending device to perform the short message sending method according to any one of claims 1-6 when the short message sending device is running.

9. A computer-readable storage medium having stored therein instructions, wherein, When the computer executes the instructions, the computer performs the short message sending method according to any one of claims 1-6.

10. A computer program product, wherein, The computer program product includes computer program instructions which, when executed, implement the short message sending method according to any one of claims 1-6.

Citation Information

Patent Citations

  • System and method for realizing data update of user SIM card

    CN102695147A

  • Base station message recognition method and device, mobile terminal and storage medium

    CN110868720A

  • Short message sending method and device, equipment and storage medium

    CN118632200A

  • Method and apparatus for detecting SMS-based malware

    US20150011186A1

  • Working method and system for self-learning intellectualized short message firewall of mobile terminal

    WO2011069438A1