CN112887925B - Short message pushing method, edge server node and service server node - Google Patents

Short message pushing method, edge server node and service server node Download PDF

Info

Publication number
CN112887925B
CN112887925B CN202110203402.1A CN202110203402A CN112887925B CN 112887925 B CN112887925 B CN 112887925B CN 202110203402 A CN202110203402 A CN 202110203402A CN 112887925 B CN112887925 B CN 112887925B
Authority
CN
China
Prior art keywords
short message
user
server node
user number
edge server
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
CN202110203402.1A
Other languages
Chinese (zh)
Other versions
CN112887925A (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 CN202110203402.1A priority Critical patent/CN112887925B/en
Publication of CN112887925A publication Critical patent/CN112887925A/en
Application granted granted Critical
Publication of CN112887925B publication Critical patent/CN112887925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Abstract

The present disclosure provides a short message pushing method based on a block chain, an edge server node, a service server node, a computer device and a storage medium, wherein the method comprises: the edge server node regularly acquires and updates a user number time list; the user number time list is inquired regularly, users meeting the conditions of sending the short messages are found out, a user number time sub-list is formed by the corresponding relation between the user number and the time period when the user terminal is in the state of conveniently checking the short messages, the short messages are sent to a block chain network, so that each service server node finds out the users meeting the requirements of sending the short messages from the user number time sub-list respectively, and the user numbers and the contents of the short messages to be sent are returned to an edge server node; and sending the short message to the corresponding user according to the user number meeting the short message sending requirement and the content of the short message to be sent. The technical scheme provided by the disclosure can greatly improve the probability of reading the short message content by the user and realize the effect of accurately pushing the short message at a proper time.

Description

Short message pushing method, edge server node and service server node
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a short message push method based on a block chain, an edge server node, a service server node, a computer device, and a computer-readable storage medium.
Background
The telecom operator or various service providers (such as banking business, e-commerce advertisement business) generally adopt a short message group sending mode when needing to push new business to users. However, the currently adopted group sending short message push method has the following two problems: first, the pushed content is not necessarily user-desired; secondly, the push time is likely to be the time when the user is inconvenient to view the short messages such as working, meeting or driving, so that the user rarely views the short messages, even if the user possibly views the short messages in idle, the short messages are usually not too much concerned because the unread short messages are too many and the short messages are advertisement short messages. The two problems result in the existing short message push mode that the probability of reading the short message content by the user is low.
Therefore, it is an urgent need to solve the problem of providing a short message push scheme capable of improving the probability of reading the content of the short message by the user.
Disclosure of Invention
The present disclosure has been made to at least partially solve the technical problems occurring in the prior art.
According to an aspect of the embodiments of the present disclosure, a method for pushing a short message based on a block chain is provided, where the method includes:
the edge server node regularly acquires and updates a user number time list, wherein the user number time list comprises the corresponding relation between the user number of each user and the time period when the user terminal is in a state of conveniently checking the short message;
the edge server node periodically inquires the user number time list, finds out the users meeting the conditions of sending the short messages, and forms a user number time sub-list by the corresponding relation between the user numbers and the short message state time periods which are convenient to check of the user terminals;
the method comprises the steps that an edge server node sends a first broadcast message to a block chain network, wherein the first broadcast message comprises a user number time sub-table, the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, so that after each service server node receives the first broadcast message, users meeting the requirement of sending short messages are searched from the user number time sub-table respectively, and the user numbers and the short message contents to be sent are returned to the edge server node; and the number of the first and second groups,
the edge server node sends the short message to the corresponding user according to the user number which is sent by each service server node and accords with the short message sending requirement and the short message content which needs to be sent.
According to another aspect of the embodiments of the present disclosure, a method for pushing a short message based on a block chain is provided, where the method includes:
the method comprises the steps that a service server node acquires a first broadcast message sent by an edge server node from a blockchain network, the blockchain network comprises a plurality of edge server nodes and a plurality of service server nodes, the first broadcast message comprises a user number time sub-table, and the user number time sub-table is formed by periodically inquiring the user number time list after the edge server node periodically acquires and updates the user number time list, finding out a user meeting a short message sending condition from the user number time list and enabling the user number of the user number to be in a corresponding relation with a user terminal in a time period convenient for short message checking;
the service server node searches for the user meeting the requirement of sending the short message in the user number time sub-table;
if the user meeting the requirement of sending the short message is found, the service server node returns the user number meeting the requirement of sending the short message and the content of the short message to be sent to the edge server node, so that the edge server node sends the short message to the corresponding user according to the user number meeting the requirement of sending the short message and the content of the short message to be sent by each service server node.
According to another aspect of the embodiments of the present disclosure, there is provided an edge server node, including:
the first acquisition module is set to periodically acquire and update a user number time list, wherein the user number time list comprises the corresponding relation between the user number of each user and the time period when the user terminal is in the state of conveniently checking the short message;
the first query module is arranged for periodically querying the user number time list, finding out users meeting the conditions of sending the short messages and forming a user number time sub-list by the corresponding relation between the user numbers and the time periods of the user terminals in which the short messages are conveniently checked;
the first sending module is arranged for sending a first broadcast message to a block chain network, wherein the first broadcast message comprises a user number time sub-table, the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, so that after each service server node receives the first broadcast message, users meeting the requirement of sending short messages are respectively found out from the user number time sub-table, and the user numbers and the short message contents to be sent are returned to the edge server nodes; and the number of the first and second groups,
and the short message issuing module is set to issue short messages to corresponding users according to the user numbers which are sent by the service server nodes and meet the requirements of sending the short messages and the contents of the short messages to be sent.
According to still another aspect of the embodiments of the present disclosure, there is provided a service server node, including:
the second acquisition module is arranged for acquiring a first broadcast message sent by an edge server node from a block chain network, wherein the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, the first broadcast message comprises a user number time sub-table, and the user number time sub-table is formed by periodically inquiring the user number time list after the edge server node periodically acquires and updates the user number time list, finding out a user meeting a short message sending condition from the user number time list and enabling the user number of the user number to be in a corresponding relation with a user terminal in a short message state time period convenient to view;
the second query module is set to search the user meeting the requirement of sending the short message in the user number time sub-table; and the number of the first and second groups,
and the second sending module is set to return the user number meeting the short message sending requirement and the short message content to be sent to the edge server node when the second query module finds the user meeting the short message sending requirement, so that the edge server node sends the short message to the corresponding user according to the user number meeting the short message sending requirement and the short message content to be sent by each service server node.
According to still another aspect of the embodiments of the present disclosure, a computer device is provided, which includes a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the foregoing short message push method based on a blockchain.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor executes the foregoing short message push method based on a block chain.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the short message pushing method based on the block chain, provided by the embodiment of the disclosure, collects the time period when the user terminal of each user is in the use state in advance, acquires the time period when the user terminal of each user is in the state convenient for viewing the short message based on the time period, and then pushes the short message to the user meeting the short message sending condition and the short message sending requirement at the same time, so that the probability of reading the short message content by the user can be greatly improved, the effect of accurately pushing the short message at the proper time is realized, and economic benefits are brought to service providers.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the disclosure. The objectives and other advantages of the disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the example serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a schematic flowchart of a short message pushing method based on a block chain according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another short message push method based on a block chain according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another short message pushing method based on a block chain according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an edge server node according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a service server node according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a computer device provided in an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, specific embodiments of the present disclosure are described below in detail with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order; also, the embodiments and features of the embodiments in the present disclosure may be arbitrarily combined with each other without conflict.
Fig. 1 is a schematic flow chart of a short message pushing method based on a block chain according to an embodiment of the present disclosure. As shown in fig. 1, the method includes the following steps S101 to S104.
S101, periodically acquiring and updating a user number time list by an edge server node, wherein the user number time list comprises a corresponding relation between user numbers of users and a time period when a user terminal is in a state of conveniently checking short messages;
s102, the edge server node periodically inquires the user number time list, finds out users meeting the short message sending condition, and forms a user number time sub-list by the corresponding relation of the user number and the time period of the short message state which is convenient to check of the user terminal;
s103, the edge server node sends a first broadcast message to a block chain network, wherein the first broadcast message comprises a user number time sub-table, the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, so that after each service server node receives the first broadcast message, users meeting the requirement of sending short messages are searched from the user number time sub-table respectively, and the user numbers and the short message contents to be sent are returned to the edge server node;
and S104, the edge server node sends the short message to the corresponding user according to the user number which is sent by each service server node and meets the requirement of sending the short message and the content of the short message to be sent.
In the prior art, when a user terminal (e.g., a smart phone, etc.) receives a mass texting message, a default setting mode is as follows: if the terminal is in a screen locking state, partial short message content is displayed on a screen of the terminal to prompt a user to receive new information, and generally, the user has no time to completely read the short message content, so that even if the short message content is possibly viewed after being idle for a while, the short message content cannot be paid much attention because the unread short message is too much and is an advertisement short message; if the terminal is in a use state, partial short message content can be displayed on a toolbar at the top of a terminal screen to prompt a user to receive new information, and if the displayed partial short message content contains content concerned by the user, the user can possibly check the complete short message content after the operation is finished. In view of the foregoing analysis, the embodiment collects the time period when the user terminal of each user is in the use state in advance, obtains the time period when the user terminal of each user is in the state convenient for viewing the short message based on the time period, and then pushes the short message to the user in the time period, so that the probability of the user reading the content of the short message can be greatly improved, and the effect of accurately pushing the short message at a proper time can be realized.
Specifically, the usage habit of the user terminal can be analyzed by using the network data to determine the time period in which the user terminal is in a state of conveniently viewing the short messages, wherein the time period is the time period in which the user is most likely to view the just received short messages.
Traffic generated by a user using APP (Application, abbreviation of Application) is carried through a mobile network or a broadband network. Because the broadband network associates the user mobile phone number with the network use condition, the operator mostly adopts the data of the mobile network to analyze the user use behavior. Moreover, the mobile phone number needs to be reported when the mobile phone registers the mobile network, so that the information such as the APP name, the use time (including the start time and the end time), the use duration and the like used by the user can be restored by unpacking and analyzing the data traffic packet generated by the user, and the information can be used for deducing what time period the user is convenient to view the short message so as to obtain the time period when the user is more likely to open and view the complete content after receiving the short message. For example, when the user uses shopping software and chatting software, the user tends to open the view of the just received short message, and when the user uses long-distance office software such as nails for a long time, the user is likely to be in a video conference or busy in public affairs, and the user is not occupied in opening the view of the just received short message.
After the time period that the user terminal is in the state of conveniently viewing the short message is deduced, the user number of each user and the time period that the user terminal is in the state of conveniently viewing the short message can be written into a user number time list in pairs, and the user number time list is stored in a user habit database table, and then the user number time list is sent to each edge server node periodically, so that each edge server node acquires and updates the user number time list periodically (namely the step S101), and the user number time list is acquired and updated once, and can be set and adjusted by technicians in the field according to actual requirements. The Edge server is an MEC (Mobile Edge Computing) server. The blockchain network consists of all edge server nodes and all service server (server of service provider needing to push short message) nodes.
In step S102, the edge server node may query the user number time list every preset time (for example, one hour), and match out the users meeting the conditions for sending the short message. The users meeting the short message sending condition are all users whose user terminals are in the state of conveniently viewing the short messages within a preset time period, for example, all users whose user terminals are in the state of conveniently viewing the short messages within the last hour. The users meeting the requirement of sending the short message can be screened from the users meeting the condition of sending the short message by each service server node according to respective actual conditions.
In a specific implementation manner, the first broadcast message further includes a public key, so that each service server node encrypts a user number meeting a requirement of sending a short message and content of the short message to be sent by using the public key to form an encrypted message, and returns the encrypted message to the edge server node.
Accordingly, step S105 is further included between steps S103 and S104:
and S105, the edge server node decrypts the encrypted message sent by each service server node by using the private key of the edge server node to obtain the user number meeting the requirement of sending the short message and the content of the short message to be sent, and then the step S104 is executed.
In the embodiment, the service server node encrypts the user number meeting the requirement of sending the short message and the content of the short message to be sent by using the public key of the edge server node, and then decrypts the short message by using the private key of the edge server node, so that the safety of data transmission is improved, and the user information leakage is avoided.
In a specific embodiment, between steps S102 and S103, the following step S106 is further included:
s106, the edge server node encrypts the user number timetable by using a processing mode appointed with each service server node in advance, the user number timetable included in the first broadcast message is the encrypted user number timetable, so that after each service server node receives the first broadcast message, the user number timetable is decrypted by using the processing mode appointed with each edge server node in advance, then users meeting the requirement of sending short messages are searched out from the decrypted user number timetable respectively, and the user numbers and the short message contents to be sent are returned to the edge server node.
In this embodiment, the user number schedule is encrypted at the edge server in a processing manner agreed with the service server in advance, and then decrypted at the service server in a processing manner agreed with the edge server in advance, so as to prevent the user number from being leaked.
In a specific embodiment, after step S104, the following step S107 is further included:
and S107, the edge server nodes send second broadcast messages to the block chain network, wherein the second broadcast messages comprise the numbers of the users who send the short messages, short message content providers and time stamps, so that each edge server node and each service server node respectively record the numbers of the users who send the short messages, the short message content providers and the time stamps into a respective block chain account book.
Of course, the edge server node may send the second broadcast message to the blockchain network, or may obtain the second broadcast message sent by other edge server nodes from the blockchain network.
Accordingly, step S102 includes the following steps S1021 to S1024.
S1021, the edge server node periodically inquires the user number time list to find out the users meeting the conditions of sending the short messages;
s1022, the edge server node inquires a recent block chain account book of the edge server node, judges whether all found user numbers meeting the condition of sending the short message are recorded in the recent block chain account book, and executes step S1023 if only part of the found user numbers are recorded in the recent block chain account book; if all records are recorded in the recent block chain account book, no operation is performed, and the step S1021 is returned to; if all are not recorded in the recent blockchain account book, executing step S1024;
s1023, the edge server node removes the user number recorded in the recent block chain account book from the found user numbers meeting the condition of sending the short message, namely removes the user number which has sent the short message recently, and forms a user number time sub-table by the corresponding relation between the residual user numbers and the time period when the user terminal is in a state of conveniently checking the short message;
and S1024, the edge server node forms a user number time sub-table by the corresponding relation between the found user number which accords with the short message sending condition and the time period in which the user terminal is convenient to check the short message state.
Further, between steps S1021 and S1022, the following step S1025 is further included:
s1025, judging whether the ratio of the found users meeting the conditions of sending the short message to all the target users exceeds a preset ratio (for example, 5%), and executing the step S1022 if the ratio exceeds the preset ratio; if the ratio does not exceed the preset ratio, no operation is performed, and the process returns to step S1021.
In step S1022, the edge server node may query its blockchain ledger of the last week.
In this embodiment, when the edge server node finds out a user meeting the short message sending condition from the user number time list, it first queries its recent block chain account book, and removes the user number recorded in the recent block chain account book from the user number meeting the short message sending condition, so as to avoid repeatedly pushing short messages to the same user in a short period of time and affecting the user experience.
In a specific embodiment, after step S104, the following step S107 is further included:
and S107, every preset accounting period, the edge server node sends the latest block chain account book to an operator headquarter settlement center so that the operator headquarter settlement center settles with the corresponding business server node based on the block chain account book.
In this embodiment, the block chain account book may provide a system settlement basis for the operator headquarters settlement center, so as to improve the settlement efficiency and the reliability.
Fig. 2 is a schematic flow chart of another block chain-based short message push method according to an embodiment of the present disclosure. As shown in fig. 2, the method includes the following steps S201 to S204.
S201, a service server node acquires a first broadcast message sent by an edge server node from a block chain network, wherein the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, the first broadcast message comprises a user number time sub-table, and the user number time sub-table is formed by periodically inquiring the user number time list after the edge server node periodically acquires and updates the user number time list, finding out a user meeting a short message sending condition from the user number time list and enabling the user number of the user number to be in a corresponding relation with a user terminal in a short message state time period convenient to view;
s202, the service server node searches for the user meeting the requirement of sending the short message in the user number time sub-table, and if the user meeting the requirement of sending the short message is found, the step S203 is executed; if the user meeting the requirement of sending the short message is not found, executing the step S204;
s203, the service server node returns the user number meeting the requirement of sending the short message and the content of the short message to be sent to the edge server node, so that the edge server node sends the short message to the corresponding user according to the user number meeting the requirement of sending the short message and the content of the short message to be sent by each service server node;
and S204, the service server node returns an empty message to the edge server node.
In the embodiment, the service server node searches a user meeting the requirement of sending the short message in a user number time sub-table, wherein the user meeting the requirement of sending the short message is a marketing object of a service provider, and if the marketing object is searched, the user number meeting the requirement of sending the short message and the content of the short message to be sent are returned to the edge server node; and if the marketing object is not found, returning an empty message to the edge server node.
Because telecommunication operators only have user network data and do not have business data such as user consumption data and chatting data (the part of data can be encrypted during transmission), but business service providers (Jingdong and bank clients) and the like have business data of users and know the consumption requirements of the users most, the short message content to be sent is matched by the users according to the user numbers, the short message pushing is more accurate, and the business service providers can update the short message content in time.
In a specific embodiment, the first broadcast message further includes a public key.
Correspondingly, step S203 specifically includes:
the service server node encrypts a user number meeting the requirement of sending the short message and the content of the short message to be sent by using a public key to form an encrypted message and returns the encrypted message to the edge server node, so that the edge server node decrypts the encrypted message sent by each service server node by using a private key thereof to obtain the user number meeting the requirement of sending the short message and the content of the short message to be sent, and sends the short message to a corresponding user.
In the embodiment, the service server node encrypts the user number meeting the requirement of sending the short message and the content of the short message to be sent by using the public key of the edge server node, and then decrypts the short message by using the private key of the edge server node, so that the safety of data transmission is improved, and the user information leakage is avoided.
In a specific embodiment, the user number schedule included in the first broadcast message is a user number schedule encrypted by the edge server node using a processing method agreed with each service server node in advance.
Accordingly, between steps S201 and S202, the following step S205 is further included:
s205, the service server node decrypts the user number schedule by using the processing mode appointed with each edge server node in advance, and then executes the step S202.
In this embodiment, the user number schedule is encrypted at the edge server in a processing manner agreed with the service server in advance, and then decrypted at the service server in a processing manner agreed with the edge server in advance, so as to prevent the user number from being leaked.
In a specific embodiment, after step S204, the following steps S206 and S207 are further included.
S206, the service server node acquires a second broadcast message sent by the edge server node from the block chain network, wherein the second broadcast message comprises a user number of a sent short message, a short message content provider and a timestamp;
and S207, the service server node records the second broadcast message into a block chain account book of the service server node.
In this embodiment, the service server node records the second broadcast message sent by each edge server node in its block chain ledger, so that the edge server node can play a role of reconciliation when settling in the operator headquarters clearing center by using its block chain ledger, thereby improving the reliability of settlement.
Fig. 3 is a schematic flow chart of another block chain-based short message push method according to an embodiment of the present disclosure. As shown in fig. 3, the method includes the following steps S301 to S312.
S301, a telecom operator analyzes the use habit of the user terminal by using network data to determine the time period when the user terminal is in a state of conveniently viewing the short message;
s302, a telecom operator writes user numbers of users and a time period in which a user terminal is in a state of conveniently viewing short messages into a user number time list in pairs, and sends the user number time list to edge server nodes periodically so that the edge server nodes acquire and update the user number time list periodically;
s303, the edge server node inquires the user number time list every hour, and if more than 5% of the user terminals in the latest hour are found to be in a state of conveniently checking the short message, the user terminals are regarded as users meeting the short message sending condition;
s304, the edge server node inquires a block chain account book of the last week, judges whether all the found user numbers meeting the conditions of sending the short messages are recorded in the block chain account book of the last week, and executes the step S305 if only part of the found user numbers are recorded in the block chain account book of the last week; if all records are recorded in the recent block chain account book, returning to the step S303; if all are not recorded in the recent block chain account book, executing step S306;
s305, the edge server node removes the user numbers recorded in the recent block chain account book from the found user numbers meeting the conditions of sending the short messages, and forms a user number time sub-table by the corresponding relation between the remaining user numbers and the time period of the short message state which is convenient for the user terminal to check, and then executes the step S307;
s306, the edge server node forms a user number time sub-table by the corresponding relation between the found user number which accords with the short message sending condition and the time period of the short message state which is convenient for the user terminal to check, and then executes the step S307;
s307, the edge server node sends a first broadcast message to the block chain network, wherein the first broadcast message comprises a public key and a user number schedule;
s308, after all nodes of the block chain network receive the first broadcast message, if the nodes are edge server nodes, the nodes do not process the first broadcast message, and directly feed back the received message; if the node is a service server node, searching out a user meeting the requirement of sending the short message from the user number sub-table, encrypting the user number meeting the requirement of sending the short message and the content of the short message to be sent by using a public key to form an encrypted message and returning the encrypted message;
s309, after the edge server node receives all the node feedback messages, if the message is 'received', no processing is carried out; if the message is encrypted, the private key is used for decrypting to obtain the user number meeting the requirement of sending the short message and the content of the short message to be sent, and then the short message is sent to the corresponding user;
s310, the edge server node sends a second broadcast message to the block chain network, wherein the second broadcast message comprises a user number of a sent short message, a short message content provider and a timestamp;
steps S303 to S310 only describe the work flow of a certain edge server node in the blockchain network, and the work flows of other edge server nodes in the blockchain network are the same and are not described again;
s311, after all the nodes of the block chain network receive the second broadcast message, recording the current operation content of the edge server node into a block chain account book, wherein the recording content is as follows: the user number of the sent short message, the short message content provider and the timestamp;
in this step, since the blockchain account book of each node records the second broadcast message, after a certain edge server node obtains a user meeting the condition of sending a short message, the blockchain account book of a last week can be checked to screen out the user meeting the condition of sending the short message and not recorded in the blockchain account book, and the corresponding relation between the user number and the user terminal in the time period in which the short message is conveniently checked constitutes a user number time sub-table;
and S312, every other account period, each edge server node sends the latest block chain account book to the operator headquarters settlement center, so that the operator headquarters settlement center settles accounts with the corresponding business server nodes based on the block chain account book.
The short message pushing method based on the block chain, provided by the embodiment of the disclosure, collects the time period when the user terminal of each user is in the use state in advance, acquires the time period when the user terminal of each user is in the state convenient for viewing the short message based on the time period, and then pushes the short message to the user meeting the short message sending condition and the short message sending requirement at the same time, so that the probability of reading the short message content by the user can be greatly improved, the effect of accurately pushing the short message at the proper time is realized, and economic benefits are brought to service providers.
Fig. 4 is a schematic structural diagram of an edge server node according to an embodiment of the present disclosure. As shown in fig. 4, the edge server node 4 includes: the system comprises a first acquisition module 41, a first query module 42, a first sending module 43 and a short message issuing module 44.
The first obtaining module 41 is configured to obtain and update a user number time list periodically, where the user number time list includes a corresponding relationship between user numbers of users and a time period in which a user terminal is in a state of conveniently viewing a short message; the first query module 42 is configured to periodically query the user number time list, find out users meeting the conditions for sending short messages, and form a user number time sub-list by using the corresponding relationship between the user number and the time period when the user terminal is in a state of conveniently viewing short messages; the first sending module 43 is configured to send a first broadcast message to a blockchain network, where the first broadcast message includes a user number time sub-table, and the blockchain network includes a plurality of edge server nodes and a plurality of service server nodes, so that after each service server node receives the first broadcast message, the service server nodes respectively find out users meeting the requirement of sending short messages from the user number time sub-table, and return the user numbers and the short message contents to be sent to the edge server nodes; the short message sending module 44 is configured to send the short message to the corresponding user according to the user number meeting the requirement of sending the short message and the content of the short message to be sent, which are sent by each service server node.
In a specific implementation manner, the first broadcast message further includes a public key, so that each service server node encrypts a user number meeting a requirement of sending a short message and content of the short message to be sent by using the public key to form an encrypted message, and returns the encrypted message to the edge server node.
Accordingly, the edge server node 4 further includes: a first decryption module 45.
The first decryption module 45 is configured to decrypt the encrypted message sent by each service server node by using the private key of the edge server node to obtain the user number meeting the requirement of sending the short message and the content of the short message to be sent; the short message sending module 44 is specifically configured to send the short message to the corresponding user according to the decrypted user number meeting the requirement of sending the short message and the content of the short message to be sent.
In one embodiment, the edge server node 4 further includes: a first encryption module 46.
The first encryption module 46 is configured to encrypt the subscriber number schedule using a processing scheme previously agreed with each service server node.
Accordingly, the user number schedule included in the first broadcast message sent by the first sending module 43 to the blockchain network is the encrypted user number schedule, so that each service server node decrypts the user number schedule by using the processing method agreed with each edge server node in advance after receiving the first broadcast message.
In a specific embodiment, the first sending module 43 is further configured to send a second broadcast message to the blockchain network, where the second broadcast message includes the number of the user who sent the short message, the content provider of the short message, and a timestamp, so that each edge server node and each service server node respectively record the number of the user who sent the short message, the content provider of the short message, and the timestamp in their respective blockchain books.
Accordingly, the edge server node 4 further includes: a first recording module (not shown in the figure) configured to record the second broadcast message sent by the other edge server node into its blockchain ledger.
The first query module 42 is specifically configured to periodically query the user number time list to find out the users meeting the conditions for sending the short message; inquiring a recent block chain account book of the user terminal, judging whether all found user numbers meeting the conditions of sending the short messages are recorded in the recent block chain account book, if only part of the found user numbers meeting the conditions of sending the short messages are recorded in the recent block chain account book, removing the user numbers recorded in the recent block chain account book from the found user numbers meeting the conditions of sending the short messages, namely removing the user numbers which have sent the short messages recently, and forming a user number time sub-table by corresponding relations between the remaining user numbers and the user terminal in the time period which is convenient for viewing the short message state; if all records are recorded in the recent block chain account book, no operation is performed; if all the user numbers are not recorded in the recent block chain account book, the corresponding relation between the found user numbers meeting the short message sending condition and the time period when the user terminal is in the state of conveniently checking the short messages forms a user number time sub-table.
In one embodiment, the first sending module 43 is further configured to send the latest block chain account book of the edge server node to the operator headquarters clearing center every preset account period, so that the operator headquarters clearing center performs clearing with the corresponding service server node based on the block chain account book.
Fig. 5 is a schematic structural diagram of a service server node according to an embodiment of the present disclosure. As shown in fig. 5, the service server node 5 includes: a second obtaining module 51, a second querying module 52 and a second sending module 53.
The second obtaining module 51 is configured to obtain a first broadcast message sent by an edge server node from a blockchain network, where the blockchain network includes a plurality of edge server nodes and a plurality of service server nodes, the first broadcast message includes a user number timetable, and the user number timetable is formed by periodically querying the user number timetable after the edge server node periodically obtains and updates the user number timetable, finding out a user meeting a short message sending condition from the user number timetable, and placing the user number of the user number in a corresponding relationship with a user terminal in a time period in which a short message state is convenient to view; the second query module 52 is configured to search the user number time sub-table for the user meeting the requirement of sending the short message; the second sending module 53 is configured to, when the second query module 52 finds a user meeting a requirement of sending a short message, return the user number meeting the requirement of sending the short message and the content of the short message to be sent to the edge server node, so that the edge server node issues a short message to a corresponding user according to the user number meeting the requirement of sending the short message and the content of the short message to be sent by each service server node, and return an empty message to the edge server node when the second query module 52 does not find a user meeting the requirement of sending the short message.
In a specific embodiment, the first broadcast message further includes a public key.
Correspondingly, the service server node 5 further comprises: a second encryption module 54.
The second encryption module 54 is configured to encrypt the user number meeting the requirement of sending the short message and the content of the short message to be sent by using a public key to form an encrypted message; the second sending module 53 is specifically configured to return the encrypted message to the edge server node, so that the edge server node decrypts the encrypted message sent by each service server node by using its private key, and obtains the user number meeting the requirement of sending the short message and the content of the short message to be sent.
In a specific embodiment, the user number schedule included in the first broadcast message is a user number schedule encrypted by the edge server node using a processing method agreed with each service server node in advance.
Correspondingly, the service server node 5 further comprises: a second decryption module 55.
The second decryption module 55 is configured to decrypt the subscriber number schedule using a processing scheme previously agreed with each edge server node. The second searching module 52 is specifically configured to search the decrypted user number schedule for the user meeting the requirement of sending the short message.
In one embodiment, the service server node 5 further includes: a receiving module and a second recording module (not shown in the figure).
The receiving module is used for acquiring a second broadcast message sent by the edge server node from the block chain network, wherein the second broadcast message comprises a user number of a sent short message, a short message content provider and a timestamp; the second recording module is configured to record the second broadcast message in its blockchain ledger.
Based on the same technical concept, the embodiment of the disclosure correspondingly provides a short message pushing system based on the block chain, and the system comprises a plurality of edge server nodes and a plurality of service server nodes.
Since the structures of the edge server node and the service server node have been described in detail in the foregoing embodiments, they are not described in detail here.
The short message pushing system based on the block chain, provided by the embodiment of the disclosure, collects the time period when the user terminal of each user is in the use state in advance, acquires the time period when the user terminal of each user is in the state convenient for viewing the short message based on the time period, and then pushes the short message to the user meeting the short message sending condition and the short message sending requirement at the same time, so that the probability of reading the short message content by the user can be greatly improved, the effect of accurately pushing the short message at the proper time is realized, and economic benefits are brought to service providers.
Based on the same technical concept, the embodiment of the present disclosure correspondingly provides a computer device, as shown in fig. 6, the computer device 6 includes a memory 61 and a processor 62, the memory 61 stores a computer program, and when the processor 62 runs the computer program stored in the memory 61, the processor 62 executes the foregoing short message push method based on the blockchain.
Based on the same technical concept, embodiments of the present disclosure correspondingly provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor executes the foregoing short message push method based on the block chain.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.

Claims (12)

1. A short message pushing method based on a block chain is characterized by comprising the following steps:
the edge server node regularly acquires and updates a user number time list, wherein the user number time list comprises the corresponding relation between the user number of each user and the time period when the user terminal is in a state of conveniently checking the short message;
the edge server node periodically inquires the user number time list, finds out the users meeting the conditions of sending the short messages, and forms a user number time sub-list by the corresponding relation between the user numbers and the short message state time periods which are convenient to check of the user terminals;
the method comprises the steps that an edge server node sends a first broadcast message to a block chain network, wherein the first broadcast message comprises a user number time sub-table, the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, so that after each service server node receives the first broadcast message, users meeting the requirement of sending short messages are searched from the user number time sub-table respectively, and the user numbers and the short message contents to be sent are returned to the edge server node; and the number of the first and second groups,
the edge server node sends the short message to the corresponding user according to the user number which is sent by each service server node and accords with the short message sending requirement and the short message content which needs to be sent.
2. The method of claim 1, wherein the first broadcast message further comprises a public key, so that each service server node encrypts the user number meeting the requirement of sending the short message and the content of the short message to be sent by using the public key to form an encrypted message and returns the encrypted message to the edge server node;
the method further comprises the following steps:
the edge server node uses the private key thereof to decrypt the encrypted message sent by each service server node to obtain the user number meeting the requirement of sending the short message and the content of the short message to be sent.
3. The method of claim 1, further comprising, prior to the edge server node sending the first broadcast message to the blockchain network:
the edge server node encrypts the user number timetable by using a processing mode appointed with each service server node in advance, and the user number timetable included in the first broadcast message is the encrypted user number timetable, so that each service server node decrypts the user number timetable by using the processing mode appointed with each edge server node in advance after receiving the first broadcast message.
4. The method of claim 1, wherein after the edge server node sends the short message to the corresponding user, the method further comprises:
the edge server nodes send second broadcast messages to the block chain network, wherein the second broadcast messages comprise the numbers of the users who send the short messages, short message content providers and time stamps, so that the numbers of the users who send the short messages, the short message content providers and the time stamps are respectively recorded into respective block chain accounts by the edge server nodes and the service server nodes;
after the edge server node periodically inquires the user number time list and finds out the users meeting the conditions of sending the short message, the method further comprises the following steps:
the edge server node inquires a recent block chain account book of the edge server node and judges whether all found user numbers meeting the conditions of sending the short messages are recorded in the recent block chain account book;
if only part of the user numbers are recorded in the recent block chain account book, the edge server node removes the user numbers recorded in the recent block chain account book from the found user numbers meeting the condition of sending the short messages, and forms a user number time sub-table by the corresponding relation between the remaining user numbers and the time period when the user terminal is in the state of conveniently checking the short messages.
5. The method of claim 4, wherein after the edge server node sends the short message to the corresponding user, the method further comprises:
and at every preset accounting period, the edge server node sends the latest block chain account book to an operator headquarter settlement center so that the operator headquarter settlement center settles accounts with the corresponding business server node based on the block chain account book.
6. A short message pushing method based on a block chain is characterized by comprising the following steps:
the method comprises the steps that a service server node acquires a first broadcast message sent by an edge server node from a blockchain network, the blockchain network comprises a plurality of edge server nodes and a plurality of service server nodes, the first broadcast message comprises a user number time sub-table, and the user number time sub-table is formed by periodically inquiring the user number time list after the edge server node periodically acquires and updates the user number time list, finding out a user meeting a short message sending condition from the user number time list and enabling the user number of the user number to be in a corresponding relation with a user terminal in a time period convenient for short message checking;
the service server node searches for the user meeting the requirement of sending the short message in the user number time sub-table;
if the user meeting the requirement of sending the short message is found, the service server node returns the user number meeting the requirement of sending the short message and the content of the short message to be sent to the edge server node, so that the edge server node sends the short message to the corresponding user according to the user number meeting the requirement of sending the short message and the content of the short message to be sent by each service server node.
7. The method of claim 6, wherein the first broadcast message further comprises a public key;
the service server node returns the user number meeting the requirement of sending the short message and the content of the short message to be sent to the edge server node, and the method specifically comprises the following steps:
the service server node encrypts the user number meeting the requirement of sending the short message and the content of the short message to be sent by using a public key to form an encrypted message and returns the encrypted message to the edge server node, so that the edge server node decrypts the encrypted message sent by each service server node by using a private key thereof to obtain the user number meeting the requirement of sending the short message and the content of the short message to be sent.
8. The method of claim 6, further comprising:
the service server node acquires a second broadcast message sent by the edge server node from the blockchain network, wherein the second broadcast message comprises a user number of a sent short message, a short message content provider and a timestamp;
the service server node logs the second broadcast message into its blockchain ledger.
9. An edge server node, comprising:
the first acquisition module is set to periodically acquire and update a user number time list, wherein the user number time list comprises the corresponding relation between the user number of each user and the time period when the user terminal is in the state of conveniently checking the short message;
the first query module is arranged for periodically querying the user number time list, finding out users meeting the conditions of sending the short messages and forming a user number time sub-list by the corresponding relation between the user numbers and the time periods of the user terminals in which the short messages are conveniently checked;
the first sending module is arranged for sending a first broadcast message to a block chain network, wherein the first broadcast message comprises a user number time sub-table, the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, so that after each service server node receives the first broadcast message, users meeting the requirement of sending short messages are respectively found out from the user number time sub-table, and the user numbers and the short message contents to be sent are returned to the edge server nodes; and the number of the first and second groups,
and the short message issuing module is set to issue short messages to corresponding users according to the user numbers which are sent by the service server nodes and meet the requirements of sending the short messages and the contents of the short messages to be sent.
10. A traffic server node, comprising:
the second acquisition module is arranged for acquiring a first broadcast message sent by an edge server node from a block chain network, wherein the block chain network comprises a plurality of edge server nodes and a plurality of service server nodes, the first broadcast message comprises a user number time sub-table, and the user number time sub-table is formed by periodically inquiring the user number time list after the edge server node periodically acquires and updates the user number time list, finding out a user meeting a short message sending condition from the user number time list and enabling the user number of the user number to be in a corresponding relation with a user terminal in a short message state time period convenient to view;
the second query module is set to search the user meeting the requirement of sending the short message in the user number time sub-table; and the number of the first and second groups,
and the second sending module is set to return the user number meeting the short message sending requirement and the short message content to be sent to the edge server node when the second query module finds the user meeting the short message sending requirement, so that the edge server node sends the short message to the corresponding user according to the user number meeting the short message sending requirement and the short message content to be sent by each service server node.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the short message push method based on the block chain according to any one of claims 1 to 8.
12. A computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the processor executes the short message push method based on the blockchain according to any one of claims 1 to 8.
CN202110203402.1A 2021-02-23 2021-02-23 Short message pushing method, edge server node and service server node Active CN112887925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110203402.1A CN112887925B (en) 2021-02-23 2021-02-23 Short message pushing method, edge server node and service server node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110203402.1A CN112887925B (en) 2021-02-23 2021-02-23 Short message pushing method, edge server node and service server node

Publications (2)

Publication Number Publication Date
CN112887925A CN112887925A (en) 2021-06-01
CN112887925B true CN112887925B (en) 2021-12-10

Family

ID=76053915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110203402.1A Active CN112887925B (en) 2021-02-23 2021-02-23 Short message pushing method, edge server node and service server node

Country Status (1)

Country Link
CN (1) CN112887925B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900803A (en) * 2022-05-31 2022-08-12 深圳市智信科技有限公司 Distributed short message verification message sending method based on computer cloud platform

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574035A (en) * 2014-08-25 2015-04-29 中国地质调查局发展研究中心 Control method and system for short-message timed reminding of to-be-done work
US20180098195A1 (en) * 2016-10-05 2018-04-05 Saguna Networks Ltd. Methods Circuits Devices Systems and Functionally Associated Computer Executable Code to Support Location Based Services to a Wireless Devices Communicatively Coupled to a Communication Network
CN111240925A (en) * 2019-12-30 2020-06-05 昆明尚禾农业科技有限公司 Agricultural automation equipment monitoring operation and maintenance system
CN111263126A (en) * 2020-03-31 2020-06-09 陈小河 Video intelligent identification and information push precaution management system

Also Published As

Publication number Publication date
CN112887925A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US11580535B2 (en) Recordation of device usage to public/private blockchains
US20220019559A1 (en) Blockchain Services
US8938534B2 (en) Automatic provisioning of new users of interest for capture on a communication network
CN1254041C (en) Method and system for providing object to user of telecommunication network
US7765228B2 (en) Method and system for data collection for alert delivery
US20120096145A1 (en) Multi-tier integrated security system and method to enhance lawful data interception and resource allocation
KR101120687B1 (en) Differential update for data broadcasting
CN106375458B (en) Service calling system, method and device
US9058323B2 (en) System for accessing a set of communication and transaction data associated with a user of interest sourced from multiple different network carriers and for enabling multiple analysts to independently and confidentially access the set of communication and transaction data
US20140059024A1 (en) System and method of storage, recovery, and management of data intercepted on a communication network
US7761084B2 (en) Systems and methods for session records correlation
CN101110759A (en) Peer-to-peer file download system for IPTV network
CN101711470A (en) A system and method for creating a list of shared information on a peer-to-peer network
US20040073607A1 (en) Multimedia messaging system and method
CN101072067A (en) Device and method for realizing short-message classified sending, receiving and displaying
JP2004213653A (en) Apparatus and method for distributing multimedia contents to mobile terminal
CN104636477A (en) Push list duplicate removal method before information push
CN112887925B (en) Short message pushing method, edge server node and service server node
KR20070081827A (en) Method for mediating between a one-to-one question and answer in communication network and system for executing the method
CN101674143A (en) Method and system for releasing news to mobile equipment at regular time
CN101309220A (en) Flow control method and apparatus
US9942766B1 (en) Caller validation for end service providers
CN110808841A (en) Communication system based on block chain network and communication method thereof
CN100414876C (en) Method for switching on broadband video frequency business
CN112689249B (en) Short message sending method, device, system, storage medium and electronic equipment

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