CN114422968B - Unsubscribed short message processing method and device - Google Patents

Unsubscribed short message processing method and device Download PDF

Info

Publication number
CN114422968B
CN114422968B CN202011176289.4A CN202011176289A CN114422968B CN 114422968 B CN114422968 B CN 114422968B CN 202011176289 A CN202011176289 A CN 202011176289A CN 114422968 B CN114422968 B CN 114422968B
Authority
CN
China
Prior art keywords
short message
unsubscribed
enterprise
uplink
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011176289.4A
Other languages
Chinese (zh)
Other versions
CN114422968A (en
Inventor
王九九
沈超
杨昊
李�浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011176289.4A priority Critical patent/CN114422968B/en
Publication of CN114422968A publication Critical patent/CN114422968A/en
Application granted granted Critical
Publication of CN114422968B publication Critical patent/CN114422968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and a device for processing unsubscribed short messages, and the method for processing unsubscribed short messages provided by the embodiment comprises the following steps: obtaining a sending short message, wherein the sending short message comprises the following steps: an access number of a first enterprise and a mobile phone number of a first target user; judging whether the first target user unsubscribes the enterprise short message corresponding to the access number according to the issued short message and a unsubscribed short message record table on a preset blockchain platform; stopping sending operation of sending the short message when determining that the first target user unsubscribes the enterprise short message; and storing the issued short message into an interception short message record table of a preset blockchain platform. The unsubscribed short message processing method provided by the embodiment of the invention realizes smooth inquiry of unsubscribed short messages and accurate inquiry result.

Description

Unsubscribed short message processing method and device
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a method and a device for processing unsubscribed short messages.
Background
At present, the society is in a rapidly developed information age, and industry short messages become one of main channels for communication between merchants and users, and users receive industry short messages sent by a plurality of merchants every day, including verification code short messages, popularization short messages and the like; if the user is not interested in the business short message of the merchant, the user can reply the business short message sent by the merchant by the 'TD' or the '0000'.
The query link in the unsubscribed short message processing method in the prior art is mainly carried out by calling a database query interface or directly querying a service log file according to a management page of a service node. This query method has two disadvantages: 1. the cooperation of all nodes in a short message sending route is needed to be relied on; because of more nodes and a plurality of uncertainty factors, when a certain node in the route fails to be associated, inquiring the unsubscribed short message fails; 2. the query object, namely the traditional database or the log file, cannot guarantee the non-tamper property of the data, so that the query result is not necessarily accurate.
Therefore, how to ensure that the unsubscribed short message is successfully queried and the query result is accurate is a problem to be solved urgently.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
The disclosure provides a method for processing unsubscribed short messages, which is used for smoothly inquiring unsubscribed short messages and has accurate inquiry results.
In a first aspect, the present disclosure provides a method for processing an unsubscribed sms, including:
obtaining a sending short message, wherein the sending short message comprises the following steps: an access number of a first enterprise and a mobile phone number of a first target user;
judging whether the first target user unsubscribes the enterprise short message corresponding to the access number according to the issued short message and a unsubscribed short message record table on a preset blockchain platform;
stopping sending operation of sending the short message when determining that the first target user unsubscribes the enterprise short message; and storing the issued short message into an interception short message record table of a preset blockchain platform.
In one possible design, before determining whether the first destination user unsubscribes the enterprise sms corresponding to the access number according to the issued sms and the unsubscribed sms record table on the preset blockchain platform, the method further includes:
receiving an uplink unsubscribed short message, wherein the uplink unsubscribed short message comprises: an access number of a first enterprise and a mobile phone number of a first target user;
and storing the uplink unsubscribed short message into an unsubscribed short message record list by using a preset unsubscribed short message uplink interface of a preset blockchain platform.
In one possible design, the preset blockchain platform includes, in addition to the unsubscribing the link port on the sms message: unsubscribing a short message query interface, intercepting a short message uplink interface and intercepting a short message query interface;
the unsubscribed short message inquiry interface is used for inquiring an unsubscribed short message record table according to the first service requirement; the blocking short message uplink port is used for storing the package uplink of the issued short message into the blocking short message record list when determining that the first target user unsubscribes the enterprise short message; the blocking truncated message query interface is used for querying the blocking truncated message record table according to the second service requirement.
In one possible design, the fields of the unsubscribed sms log table include: the method comprises the steps of a first blockchain account number, a unsubscribed short message serial number, an access number of a first enterprise, a mobile phone number of a first target user, unsubscribing time and short message content of unsubscribed short messages;
the first blockchain account is used for storing the unsubscribed short message record table to a preset blockchain platform.
In one possible design, the fields of the intercept sms log table include: the second blockchain account number, the short message interception serial number, the access number of a second enterprise, the mobile phone number of a second target user, the interception time and the short message content of the short message interception;
the second blockchain account is used for storing the short message interception record table to a preset blockchain platform.
In a second aspect, the present disclosure further provides a unsubscribed sms processing apparatus, including:
the acquisition module is used for acquiring the sending short message, and the sending short message comprises: an access number of a first enterprise and a mobile phone number of a first target user;
the first processing module is used for judging whether the first target user unsubscribes the enterprise short message corresponding to the access number according to the issued short message and a unsubscribed short message record table on a preset block chain platform;
the second processing module is used for stopping sending operation of sending the short message when determining that the first target user unsubscribes the enterprise short message; and storing the issued short message into an interception short message record table of a preset blockchain platform.
In one possible design, the first processing module is further configured to:
receiving an uplink unsubscribed short message, wherein the uplink unsubscribed short message comprises: an access number of a first enterprise and a mobile phone number of a first target user;
and storing the uplink unsubscribed short message into an unsubscribed short message record list by using a preset unsubscribed short message uplink interface of a preset blockchain platform.
In one possible design, the preset blockchain platform includes, in addition to the unsubscribing the link port on the sms message: unsubscribing a short message query interface, intercepting a short message uplink interface and intercepting a short message query interface;
the unsubscribed short message inquiry interface is used for inquiring an unsubscribed short message record table according to the first service requirement; the blocking short message uplink port is used for storing the package uplink of the issued short message into the blocking short message record list when determining that the first target user unsubscribes the enterprise short message; the blocking truncated message query interface is used for querying the blocking truncated message record table according to the second service requirement.
In one possible design, the fields of the unsubscribed sms log table include: the method comprises the steps of a first blockchain account number, a unsubscribed short message serial number, an access number of a first enterprise, a mobile phone number of a first target user, unsubscribing time and short message content of unsubscribed short messages;
the first blockchain account is used for storing the unsubscribed short message record table to a preset blockchain platform.
In one possible design, the fields of the intercept sms log table include: the second blockchain account number, the short message interception serial number, the access number of a second enterprise, the mobile phone number of a second target user, the interception time and the short message content of the short message interception;
the second blockchain account is used for storing the short message interception record table to a preset blockchain platform.
In a third aspect, the present disclosure also provides an electronic device, including:
a processor; the method comprises the steps of,
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute any one of the unsubscribed text message processing methods of the first aspect via execution of the executable instructions.
In a fourth aspect, an embodiment of the present disclosure further provides a storage medium having stored thereon a computer program that, when executed by a processor, implements any one of the unsubscribed sms processing methods of the first aspect.
The disclosure provides a method and a device for processing unsubscribed short messages, wherein the method and the device acquire the issued short messages, and the issued short messages comprise the following steps: an access number of a first enterprise and a mobile phone number of a first target user; judging whether the first target user unsubscribes the enterprise short message corresponding to the access number according to the issued short message and a unsubscribed short message record table on a preset blockchain platform; stopping sending operation of sending the short message when determining that the first target user unsubscribes the enterprise short message; and storing the issued short message into an interception short message record table of a preset blockchain platform so as to realize smooth inquiry of the unsubscribed short message and accurate inquiry result.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the description of the prior art, it being obvious that the drawings in the following description are some embodiments of the present disclosure, and that other drawings may be obtained from these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is an application scenario diagram of a unsubscribed sms processing method according to an exemplary embodiment of the present disclosure;
fig. 2 is a flow chart of a method for processing unsubscribed sms according to an exemplary embodiment of the present disclosure;
fig. 3 is a schematic flow chart of an actual scenario of a unsubscribed sms processing method according to an exemplary embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an unsubscribed sms processing apparatus according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural view of an electronic device according to an example embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein, for example. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following describes the technical solutions of the present disclosure and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
Fig. 1 is an application scenario diagram of an unsubscribed sms processing method according to an exemplary embodiment of the present disclosure, as shown in fig. 1, including a blockchain platform 101, an unsubscribed sms uplink interface 102, an unsubscribed sms query interface 103, an intercepted sms uplink interface 104, and an intercepted sms query interface 105. The method comprises the steps that block chain programs are deployed on a plurality of Linux nodes in advance, each node for deploying the block chain programs serves as a consensus node, and when the block chain programs are started, all deployed nodes form a block chain bottom layer network; deploying an intelligent contract on the bottom layer blockchain framework, wherein a development program is started on the intelligent contract to construct a blockchain platform 101, and when a user sends an unsubscribed short message to a short message gateway, the short message gateway packages and uplinks the unsubscribed short message to store the unsubscribed short message in an unsubscribed short message record table by calling an unsubscribed short message uplink interface 102 on the blockchain platform 101; inquiring whether the user unsubscribes the enterprise short message through the unsubscribed short message inquiry interface 103 when the enterprise issues the short message to the user, and packaging and uplink-storing the issued short message to an intercepted short message record list through the truncated message blocking uplink interface 104 when the user is determined to unsubscribe the enterprise short message; and stopping the sending operation of the sending short message; when a follow-up enterprise has a request for blocking the truncated message, a query confirmation operation can be performed through the truncated message blocking query interface 105. By the method for processing the unsubscribed short message, the unsubscribed short message can be successfully inquired, and the inquiry result is accurate.
Fig. 2 is a flow chart of a method for processing unsubscribed sms according to an exemplary embodiment of the present disclosure; as shown in fig. 2, the unsubscribed sms processing method provided in this embodiment includes:
step 201, obtaining a sending short message, where the sending short message includes: an access number of a first enterprise and a mobile phone number of a first target user;
specifically, when the first enterprise issues a short message to the first destination user, the short message gateway acquires the issued short message of the first enterprise.
Step 202, judging whether a first target user unsubscribes an enterprise short message corresponding to an access number according to a sent short message and a unsubscribed short message record table on a preset blockchain platform;
specifically, a blockchain program is deployed on a plurality of Linux nodes in advance, each node for deploying the blockchain program is used as a consensus node, and when the blockchain program is started, all deployed nodes form a blockchain bottom network; and deploying an intelligent contract on the bottom layer blockchain framework, wherein a development program is started on the intelligent contract to construct a blockchain platform, and uplink information table data comprising an unsubscribed short message record table and an intercepted short message record table are preset on the initial blockchain platform, and when a downlink short message is received, whether the first target user unsubscribes the enterprise short message corresponding to the access number or not is judged according to the inquiry of the unsubscribed short message record table.
In one possible implementation manner, when a first destination user unsubscribes a short message of a first enterprise, the unsubscribed short message is sent to the first enterprise, and a short message gateway receives an uplink unsubscribed short message, where the uplink unsubscribed short message includes: an access number of a first enterprise and a mobile phone number of a first target user;
the method comprises the steps that an uplink unsubscribed short message is stored in an unsubscribed short message record table by using a preset unsubscribed short message uplink interface of a preset blockchain platform, for example, when the uplink unsubscribed short message is received, a short message gateway calls the unsubscribed short message uplink interface of the blockchain platform in an HTTP POST mode, the uplink unsubscribed short message is stored in a mapping memory table of an intelligent contract, and meanwhile, a synchronous blockchain framework bottom layer automatically writes data into a blockchain of a bottom layer. The mapping memory table is an unsubscribed short message record table, and the fields of the unsubscribed short message record table are assembled into the POST request BODY format BODY in a JS object numbered musical notation (JavaScript Object Notation, JSON) mode.
In one possible implementation manner, the preset blockchain platform includes, in addition to the link port on the unsubscribed sms, the following steps: unsubscribing a short message query interface, intercepting a short message uplink interface and intercepting a short message query interface;
the unsubscribed short message inquiry interface is used for inquiring an unsubscribed short message record table according to the first service requirement; the first service requirement is for example to inquire whether the user has unsubscribed the enterprise short message so as to judge whether to issue the short message, and the short message interception uplink port is used for packing and uplink-storing the issued short message into the short message interception record table when determining that the first target user unsubscribes the enterprise short message; the blocking message-shortening inquiry interface is used for inquiring the blocking message-shortening record table according to a second service requirement, wherein the second service requirement is for inquiring which messages in the messages issued by an enterprise are contracted by which users. The 4 interfaces of the preset blockchain platform are distinguished by different virtual catalogues, for example, the unsubscribed SMS uplink interface is http:// 10.0.0.14/upload_unsubscriber; the unsubscribed short message query interface is http://10.0.0.0.14/query_unsubscribe; the blocking truncated message uplink interface is http:// 10.0.0.14/upload_interrupt; the blocking message query interface is http:// 10.0.0.14/query_interrupt.
In one possible implementation manner, the fields of the preset unsubscribed sms record table include: the method comprises the steps of a first blockchain account number, a unsubscribed short message serial number, an access number of a first enterprise, a mobile phone number of a first target user, unsubscribing time and short message content of unsubscribed short messages; the first blockchain account is used for storing the unsubscribed short message record table to a preset blockchain platform, and the specific content is shown in the table one.
List one
Figure BDA0002748762810000061
Figure BDA0002748762810000071
The unsubscribed short message serial number is automatically generated by the blockchain platform and has the characteristics of uniqueness, non-tamper property and the like.
Step 203, stopping sending the sending operation of the sending short message when determining that the first target user unsubscribes the enterprise short message; and storing the issued short message into an interception short message record table of a preset blockchain platform.
Specifically, when the first target user unsubscribes the enterprise short message according to the unsubscribed short message record list, the short message gateway stops sending the issued short message, returns a corresponding error code of the first enterprise, for example, the error code is-18 error, calls the interception short message uplink interface of the blockchain platform, and stores the issued short message in the interception short message record list.
In one possible implementation, the intercepting the fields of the sms log table includes: the second blockchain account number, the short message interception serial number, the access number of a second enterprise, the mobile phone number of a second target user, the interception time and the short message content of the short message interception; the second blockchain account is used for storing the short message interception record table to a preset blockchain platform.
Watch II
Fields Length (byte) Type(s) Description of the invention
Blocking message sequence number 32 Character string Automatic generation of blockchain platform
Second blockchain account 21 Character string Operating an account
Access number of second enterprise 21 Character string Access number of enterprise
Mobile phone number of second destination user 21 Character string Mobile phone number for blocking truncated message
Interception time 14 Date of day Interception time
Short message content for blocking truncated message 255 Character string Short message content for blocking truncated message
In one possible implementation, when it is determined that the first destination user does not unsubscribe the enterprise sms, the sms gateway sends the delivered sms to the downstream network element to continue the delivery process.
Fig. 3 is a schematic flow chart of a practical scenario of an unsubscribed sms processing method according to an exemplary embodiment of the present disclosure, as shown in fig. 3, by the method of steps 201-203, an unsubscribed sms recording table and an intercepted sms recording table are stored on a preset blockchain platform 301, when a terminal user 302 needs to unsubscribe a sms of an enterprise client 303, the unsubscribed sms is sent to a sms gateway 304, the sms gateway 304 packages the unsubscribed sms to the blockchain platform 301, and then, when the sms gateway 304 obtains a sent sms of the enterprise client 303, whether the terminal user 302 unsubscribes an enterprise sms corresponding to an access number according to the sent sms and the unsubscribed sms recording table on the preset blockchain platform 301; stopping sending the sending operation of the sending short message when determining that the terminal user 302 unsubscribes the enterprise short message; and the issued short message is stored in the short message interception record table of the blockchain platform 301 so as to facilitate subsequent short message interception inquiry, and the processing method realizes that the unsubscribed short message is successfully inquired and the inquiry result is accurate.
Fig. 4 is a schematic structural diagram of an unsubscribed sms processing apparatus according to an exemplary embodiment of the present disclosure. As shown in fig. 4, the unsubscribed sms processing apparatus 40 provided in this embodiment includes:
the obtaining module 401 is configured to obtain a sending short message, where the sending short message includes: an access number of a first enterprise and a mobile phone number of a first target user;
the first processing module 402 is configured to determine whether the first destination user unsubscribes the enterprise sms corresponding to the access number according to the issued sms and a unsubscribed sms record table on a preset blockchain platform;
the second processing module 403 is configured to stop sending the sending operation of the sending short message when it is determined that the first destination user unsubscribes the enterprise short message; and storing the issued short message into an interception short message record table of a preset blockchain platform.
In one possible design, the first processing module 402 is further configured to:
receiving an uplink unsubscribed short message, wherein the uplink unsubscribed short message comprises: an access number of a first enterprise and a mobile phone number of a first target user;
and storing the uplink unsubscribed short message into an unsubscribed short message record list by using a preset unsubscribed short message uplink interface of a preset blockchain platform.
In one possible design, the preset blockchain platform includes, in addition to the unsubscribing the link port on the sms message: unsubscribing a short message query interface, intercepting a short message uplink interface and intercepting a short message query interface;
the unsubscribed short message inquiry interface is used for inquiring an unsubscribed short message record table according to the first service requirement; the blocking short message uplink port is used for storing the package uplink of the issued short message into the blocking short message record list when determining that the first target user unsubscribes the enterprise short message; the blocking truncated message query interface is used for querying the blocking truncated message record table according to the second service requirement.
In one possible design, the fields of the unsubscribed sms log table include: the method comprises the steps of a first blockchain account number, a unsubscribed short message serial number, an access number of a first enterprise, a mobile phone number of a first target user, unsubscribing time and short message content of unsubscribed short messages;
the first blockchain account is used for storing the unsubscribed short message record table to a preset blockchain platform.
In one possible design, the fields of the intercept sms log table include: the second blockchain account number, the short message interception serial number, the access number of a second enterprise, the mobile phone number of a second target user, the interception time and the short message content of the short message interception;
the second blockchain account is used for storing the short message interception record table to a preset blockchain platform.
Fig. 5 is a schematic structural view of an electronic device according to an example embodiment of the present disclosure. As shown in fig. 5, an electronic device 50 provided in this embodiment includes:
a processor 501; the method comprises the steps of,
a memory 502 for storing executable instructions of the processor, which may also be a flash memory;
wherein the processor 501 is configured to perform the steps of the above-described method via execution of executable instructions. Reference may be made in particular to the description of the embodiments of the method described above.
Alternatively, the memory 502 may be separate or integrated with the processor 501.
When the memory 502 is a device separate from the processor 501, the electronic device 50 may further include:
a bus 503 for connecting the processor 501 and the memory 502.
In addition, the embodiment of the application further provides a computer-readable storage medium, in which computer-executable instructions are stored, when the at least one processor of the user equipment executes the computer-executable instructions, the user equipment performs the above possible methods.
Among them, computer-readable media include computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in a user device. The processor and the storage medium may reside as discrete components in a communication device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present disclosure, and not for limiting the same; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present disclosure.

Claims (5)

1. The method for processing the unsubscribed short message is characterized by comprising the following steps of:
obtaining a sending short message, wherein the sending short message comprises the following steps: an access number of a first enterprise and a mobile phone number of a first target user;
judging whether the first target user unsubscribes the enterprise short message corresponding to the access number according to the issued short message and a unsubscribed short message record table on a preset blockchain platform, wherein the fields of the unsubscribed short message record table comprise: the method comprises the steps of a first blockchain account number, an unsubscribed short message serial number, an access number of a first enterprise, a mobile phone number of a first target user, unsubscribing time and short message content of an unsubscribed short message; the first blockchain account is used for storing the unsubscribed short message record table to the preset blockchain platform;
stopping the sending operation of the sending short message when the first target user unsubscribes the enterprise short message; storing the issued short message into an interception short message record table of the preset blockchain platform;
before judging whether the first target user unsubscribes the enterprise short message corresponding to the access number according to the issued short message and the unsubscribed short message record table on the preset blockchain platform, the method further comprises:
receiving an uplink unsubscribed short message, wherein the uplink unsubscribed short message comprises: the access number of the first enterprise and the mobile phone number of the first target user;
storing the uplink unsubscribed short message into the unsubscribed short message record list by utilizing a preset unsubscribed short message uplink interface of the preset blockchain platform;
the preset blockchain platform comprises the following components besides the link opening of the unsubscribed short message: unsubscribing a short message query interface, intercepting a short message uplink interface and intercepting a short message query interface;
the unsubscribed short message inquiry interface is used for inquiring the unsubscribed short message record list according to a first service requirement; the short message interception uplink port is used for storing the package uplink of the issued short message into the short message interception record table when the first target user is confirmed to unsubscribe the enterprise short message; and the blocking short message inquiring interface is used for inquiring the short message blocking record table according to the second service requirement.
2. The method of claim 1, wherein the fields of the intercepted short message record table comprise: the second blockchain account number, the short message interception serial number, the access number of a second enterprise, the mobile phone number of a second target user, the interception time and the short message content of the short message interception;
the second blockchain account is used for storing the short message interception record table to the preset blockchain platform.
3. An unsubscribed short message processing device, characterized by comprising:
the acquisition module is used for acquiring the sending short message, and the sending short message comprises: an access number of a first enterprise and a mobile phone number of a first target user;
the first processing module is configured to determine whether the first destination user unsubscribes the enterprise short message corresponding to the access number according to the issued short message and a unsubscribed short message record table on a preset blockchain platform, where fields of the unsubscribed short message record table include: the method comprises the steps of a first blockchain account number, an unsubscribed short message serial number, an access number of a first enterprise, a mobile phone number of a first target user, unsubscribing time and short message content of an unsubscribed short message; the first blockchain account is used for storing the unsubscribed short message record table to the preset blockchain platform;
the second processing module is used for stopping the sending operation of the sending short message when the first target user is determined to unsubscribe the enterprise short message; storing the issued short message into an interception short message record table of the preset blockchain platform;
the first processing module is further configured to:
receiving an uplink unsubscribed short message, wherein the uplink unsubscribed short message comprises: the access number of the first enterprise and the mobile phone number of the first target user;
storing the uplink unsubscribed short message into the unsubscribed short message record list by utilizing a preset unsubscribed short message uplink interface of the preset blockchain platform;
the preset blockchain platform comprises the following components besides the link opening of the unsubscribed short message: unsubscribing a short message query interface, intercepting a short message uplink interface and intercepting a short message query interface;
the unsubscribed short message inquiry interface is used for inquiring the unsubscribed short message record list according to a first service requirement; the short message interception uplink port is used for storing the package uplink of the issued short message into the short message interception record table when the first target user is confirmed to unsubscribe the enterprise short message; and the blocking short message inquiring interface is used for inquiring the short message blocking record table according to the second service requirement.
4. An electronic device, comprising:
a processor; the method comprises the steps of,
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the unsubscribed text message processing method of claim 1 or 2 via execution of the executable instructions.
5. A storage medium having stored thereon a computer program, which when executed by a processor implements the unsubscribed sms processing method of claim 1 or 2.
CN202011176289.4A 2020-10-28 2020-10-28 Unsubscribed short message processing method and device Active CN114422968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011176289.4A CN114422968B (en) 2020-10-28 2020-10-28 Unsubscribed short message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011176289.4A CN114422968B (en) 2020-10-28 2020-10-28 Unsubscribed short message processing method and device

Publications (2)

Publication Number Publication Date
CN114422968A CN114422968A (en) 2022-04-29
CN114422968B true CN114422968B (en) 2023-06-13

Family

ID=81260650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011176289.4A Active CN114422968B (en) 2020-10-28 2020-10-28 Unsubscribed short message processing method and device

Country Status (1)

Country Link
CN (1) CN114422968B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530617A (en) * 2016-03-09 2016-04-27 珠海市小源科技有限公司 Short message unsubscribing method and device thereof
CN108777848A (en) * 2018-05-23 2018-11-09 上海连尚网络科技有限公司 For intercept information and the method for determining intercept information
CN109219004A (en) * 2018-11-19 2019-01-15 努比亚技术有限公司 Short message unsubscription method, device, mobile terminal and readable storage medium storing program for executing
CN109309905A (en) * 2017-07-26 2019-02-05 中国移动通信集团公司 A kind of identification of pseudo-base station note and hold-up interception method and device
CN110971759A (en) * 2019-11-29 2020-04-07 西安闻泰电子科技有限公司 Processing method and device for unsubscribed short message and server
CN111684826A (en) * 2018-06-25 2020-09-18 日本电气株式会社 Method and system for indicating SMS subscription to UE when SMS subscription in network changes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130024520A1 (en) * 2011-07-18 2013-01-24 James Siminoff Systems And Methods For Managing Commercial Emails

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530617A (en) * 2016-03-09 2016-04-27 珠海市小源科技有限公司 Short message unsubscribing method and device thereof
CN109309905A (en) * 2017-07-26 2019-02-05 中国移动通信集团公司 A kind of identification of pseudo-base station note and hold-up interception method and device
CN108777848A (en) * 2018-05-23 2018-11-09 上海连尚网络科技有限公司 For intercept information and the method for determining intercept information
CN111684826A (en) * 2018-06-25 2020-09-18 日本电气株式会社 Method and system for indicating SMS subscription to UE when SMS subscription in network changes
CN109219004A (en) * 2018-11-19 2019-01-15 努比亚技术有限公司 Short message unsubscription method, device, mobile terminal and readable storage medium storing program for executing
CN110971759A (en) * 2019-11-29 2020-04-07 西安闻泰电子科技有限公司 Processing method and device for unsubscribed short message and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于短信平台的邮政报刊订阅系统的设计与实现;林木辉;林莉;;福建电脑(12);全文 *

Also Published As

Publication number Publication date
CN114422968A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN108228814B (en) Data synchronization method and device
CN105681165A (en) Relationship and task prompting method and device in communication process
CN106878367B (en) Method and device for realizing asynchronous call of service interface
US20150039707A1 (en) Document processing
EP4030367A1 (en) Sign-bill collection method and apparatus based on blockchain, and device and readable storage medium
CN111045806A (en) Method and system for realizing delay message queue
CN107276970B (en) Unbinding and binding method and device
CN110515965A (en) Business paper processing method, device, computer equipment and storage medium
CN106547646B (en) Data backup and recovery method and data backup and recovery device
CN113435862B (en) Bill processing method and device based on mailbox
CN104702675A (en) Response method and device of user events
AU2020203022A1 (en) Method and apparatus for sending express delivery information, storage medium, and express delivery locker
CN114401319B (en) Request processing method, device, server and storage medium
CN107295052B (en) Service processing method and device
CN114422968B (en) Unsubscribed short message processing method and device
CN105450733A (en) Business data distribution processing method and system
CN111428463A (en) Short message processing method and device, electronic equipment and storage medium
CN110730075A (en) Data processing method, device and system
CN112491943A (en) Data request method, device, storage medium and electronic equipment
CN114429408B (en) Method, device, equipment and system for checking configuration file of intelligent substation
CN112948501B (en) Data analysis method, device and system
CN106548331B (en) Method and device for determining release sequence
CN109462868B (en) Method and equipment for inquiring target information by wireless access point
CN109120661B (en) Method and apparatus for distributing electronic card, server and readable storage medium
CN110324361A (en) The method, apparatus of authentification of message calculates equipment and medium

Legal Events

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