WO2014056385A1 - 共同消息发送方法、电子设备及存储介质 - Google Patents

共同消息发送方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2014056385A1
WO2014056385A1 PCT/CN2013/083466 CN2013083466W WO2014056385A1 WO 2014056385 A1 WO2014056385 A1 WO 2014056385A1 CN 2013083466 W CN2013083466 W CN 2013083466W WO 2014056385 A1 WO2014056385 A1 WO 2014056385A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
subset
attention
users
common
Prior art date
Application number
PCT/CN2013/083466
Other languages
English (en)
French (fr)
Inventor
詹旭伟
田明
李钟伟
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2014056385A1 publication Critical patent/WO2014056385A1/zh
Priority to US14/682,357 priority Critical patent/US10541963B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1886Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5061Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the interaction between service providers and their network customers, e.g. customer relationship management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • 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/535Tracking the activity of the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • H04W4/21Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel for social networking applications

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to an efficient and fast common message sending method, an electronic device, and a storage medium.
  • UGC User Generated Content, user-generated content
  • Community network, video sharing and blogs are the main application forms of UGC.
  • UGC business is emerging, which has aroused widespread concern in the industry.
  • FIG. 1 is a schematic flowchart of a conventional UGC-based common message sending service method.
  • the purpose of the service is to push the dialogue between user A and user B (such as the dialogue between the idols) to the common fans of user A and user B, such as the "conversation" application service in Tencent Weibo.
  • the business method includes:
  • Step S101 acquiring all fans of user A and all fans of user B;
  • Step S102 calculating a common fan of user A and user B;
  • the service since the service only pushes the conversation message to the common fans of user A and user B, for example, the number of fans of user A and user B is quite different (for example, user A has only one fan, and user B has one thousand fans).
  • the last message sending user is mainly determined by the user with a small number of fans. Therefore, in the process of obtaining all the fans of user A and user B, there are a large number of unnecessary fan acquisitions, so the efficiency of performing the business is relatively low.
  • the object of the present invention is to provide a common message sending method, an electronic device and a storage medium for realizing efficient and fast sending of common messages by batch comparing fan users (focusing on users) and transmitting common messages, and solving the existing common message sending method. And the delay of the common message transmission of the device and the inefficiency of the technical problem.
  • the invention provides a common message sending method, which comprises the steps of:
  • A. Obtain a user of the first user according to the user number of the platform, to establish a first subset, and obtain a user of interest of the second user, to establish a second subset, wherein the user of the first subset
  • the number of users and the number of users of interest in the second subset are preset values
  • step B Acquire the first subset and the common attention users in the second subset, and send a common message to the common attention user, and return to step A until the first user's attention user acquisition is completed or the The second user's attention user is completed. .
  • the invention also provides an electronic device comprising:
  • One or more processors are One or more processors;
  • Focusing on a user acquisition module configured to acquire a user of interest of the first user according to a user number of the platform, to establish a first subset, and obtain a second user of the second user, to establish a second subset; wherein the first child
  • the number of focused users of the set and the number of interested users of the second subset are both preset values
  • a common message sending module configured to acquire the first subset and the common attention users in the second subset, and send a common message to the common attention user.
  • the present invention also provides a storage medium having stored therein processor-executable instructions, the processor providing a common message sending method by executing the instructions, including:
  • A. Obtain a user of the first user according to the user number of the platform, to establish a first subset, and obtain a user of interest of the second user, to establish a second subset; wherein the user of the first subset
  • the number of users and the number of users of interest in the second subset are both preset values
  • step B Acquire the first subset and the common attention users in the second subset, and send a common message to the common attention user; and return to step A until the first user's attention user acquisition is completed or The second user's attention user is completed.
  • the common message sending method, the electronic device and the storage medium of the present invention realize the efficient and rapid transmission of the common message by focusing on the user and transmitting the common message in batches, and solving the existing common message sending method and device.
  • FIG. 2 is a schematic structural view of a preferred embodiment of an electronic device of the present invention.
  • FIG. 3 is a flow chart of a preferred embodiment of a method for transmitting a common message according to the present invention.
  • FIG. 4 is a flowchart of a first embodiment of a common message sending method and an electronic device according to the present invention
  • FIG. 5 is a flowchart of a method for transmitting a common message and a second embodiment of an electronic device according to the present invention
  • FIG. 6 is a schematic structural diagram of a working environment of an electronic device according to the present invention.
  • the principles of the present invention operate using many other general purpose or special purpose computing, communication environments, or configurations.
  • Examples of computing systems, environments, and configurations that are well known for use with the present invention may include, but are not limited to, mobile phones, personal computers, servers, multi-processor systems, microcomputer-based systems, mainframe computers, and distributions.
  • a computing environment including any of the above systems or devices.
  • FIG. 2 is a schematic structural view of a preferred embodiment of the electronic device of the present invention.
  • the electronic device includes one or more processors; a memory and one or more programs, stored in the memory, and configured to be executed by one or more processors to provide a common messaging method, the one or more programs According to the functional division, the attention user acquisition module 21, the common message transmission module 22, and the attention user removal module 23 are included.
  • the user acquisition module 21 is configured to acquire a user of interest of the first user according to the user number of the platform, to establish a first subset, and acquire a user of interest of the second user, to establish a second subset, where the first subset
  • the number of users concerned and the number of users of the second subset are both preset values.
  • the common message sending module 22 is configured to acquire the first subset and the common attention users in the second subset, and send a common message to the common attention user.
  • the attention user removal module 23 is configured to determine to remove the attention users in the first subset or the attention users in the second subset according to the user number of the user in the first subset and the user number of the user in the second subset.
  • the user acquisition module 21 acquires the user of the first user according to the user number of the platform, to set up the first subset, and acquire the second user's attention user to establish the second subset. .
  • the user acquisition module 21 obtains the user number of the first user according to the user number of the platform, from small to large or from large to small, and sequentially acquires the attention of the second user of the preset number of users. user. Then, the attention user acquisition module 21 sets the preset number of users of the first user's attention users as the first subset, and the preset value number of the second user's attention users is set as the second subset.
  • the preset value can be set according to specific requirements (such as 50 or 500, etc.).
  • the common message sending module 22 then acquires the first subset and the common attention users in the second subset and sends a common message to the common attention user.
  • the common message may be conversation information between the first user and the second user, and the like.
  • the attention user removal module 23 determines to remove the attention users in the first subset and/or the attention users in the second subset according to the user number of the user in the first subset and the user number of the user in the second subset.
  • the attention users in the first subset and/or the attention users in the second subset may be moved out of all the attention users in the first subset or all the attention users in the second subset, or simultaneously remove the attention in the first subset. Users and users in the second subset.
  • the user removal module 23 moves out of all the users in the second subset; for example, the maximum user number of the user in the first subset Less than the largest user number of the user in the second subset, the user removal module 23 is removed from all the users of the first subset.
  • the user removal module 23 moves out of all the users in the second subset; for example, the minimum of the user in the first subset If the user number is greater than the minimum user number of the user in the second subset, then the user removal module 23 is removed from all the users of the first subset.
  • the user removal module 23 may move out all the users in the second subset, and move out of the first subset to be less than or equal to the second.
  • the user of the largest user number in the subset if the maximum user number of the user in the first subset is smaller than the largest user number of the user in the second subset, the user removal module 23 can move out all the users in the first subset, and A follow-up user in the second subset that is less than or equal to the largest user number in the first subset is removed.
  • the user removal module 23 may move out all the users in the second subset, and move out of the first subset to be greater than or equal to the second.
  • the user of the minimum user number in the subset if the minimum user number of the user in the first subset is greater than the minimum user number of the user in the second subset, the user removal module 23 can move out all the users in the first subset. And moving out of the second subset of interested users that are greater than or equal to the smallest user number in the first subset.
  • the user acquisition module 21 continues to acquire the preset number of the attention users that are removed from the subset of the attention users according to the user number of the platform, so that the first subset and the second subset each have a preset number of attention users. , or the first user's attention user acquisition is completed or the second user's attention user acquisition is completed.
  • the user removal module 23 finds that the first user's attention user has been acquired, and the attention user of the first subset is removed; or the user removal module 23 finds that the second user's attention user has been acquired, and the second subset is removed.
  • the user of interest is the process of transmitting the common message of the electronic device of the present invention.
  • the common message sending module 22 of the electronic device of the present invention comprises an online common message sending unit and an offline common message sending unit.
  • the online common message sending unit is configured to send a common message of the online attention user;
  • the offline common message sending unit is configured to send a common message of the offline attention user.
  • the processing priority of the online common messaging unit is higher than the processing priority of the offline common messaging unit. According to the requirements of the online user and the offline user for the real-time performance of the message, the common message sending process of different priority levels is performed, thereby further reducing the pressure of the message sending server and realizing the fast sending of the common message to the online user.
  • the specific use process of the electronic device of the present invention is the same as or similar to the use process of the specific embodiment of the common message sending method described below. Please refer to the specific embodiment of the common message sending method.
  • FIG. 3 is a flowchart of a preferred embodiment of a common message sending method according to the present invention.
  • the common message sending method includes:
  • Step S301 acquiring a user of interest of the first user according to the user number of the platform, to establish a first subset, and acquiring a user of interest of the second user, to establish a second subset, where the number of users of the first subset is And the number of users of interest in the second subset are preset values;
  • Step S302 Acquire a common subset of users in the first subset and the second subset, and send a common message to the common attention user;
  • Step S303 determining to remove the attention user in the first subset and/or the attention user in the second subset according to the user number of the user in the first subset and the user number of the user in the second subset, and return to step S301 until the first step.
  • the user's attention is obtained by the user or the second user's attention is obtained.
  • the attention user acquisition module 21 acquires the attention user of the first user according to the user number of the platform, sets up the first subset, and acquires the attention user of the second user to establish the second subset.
  • the user number of the platform here refers to a unique identifier of all users registered on the platform. Through this user number, the first user's attention user and the second user's attention user can be divided into the first subset and the second subset according to a certain rule, so that the same attention user is prevented from being divided into the same subset multiple times.
  • the user acquisition module 21 obtains the user number of the first user according to the user number of the platform, from small to large or from large to small, and sequentially acquires the attention of the second user of the preset number of users. user. Then, the attention user acquisition module 21 sets the preset number of users of the first user's attention users as the first subset, and the preset value number of the second user's attention users is set as the second subset.
  • the preset value can be set according to specific requirements (such as 50 or 500, etc.).
  • the way to obtain users according to the user number of the platform is not limited to the user number from small to large or from the user number from large to small (this method is simpler to implement), and can also be obtained by other methods (such as group acquisition, random acquisition). Etc.), as long as it can be guaranteed that the user of the same user number will not be assigned to the same subset multiple times to obtain the user of interest, it is within the scope of the present invention.
  • step S302 the common message sending module 22 acquires the first subset and the common attention users in the second subset, and sends a common message to the common attention user.
  • the common message may be conversation information between the first user and the second user, and the like.
  • step S303 the attention user removal module 23 determines to remove the attention user in the first subset and/or the attention user in the second subset according to the user number of the user in the first subset and the user number of the user in the second subset. .
  • the attention users in the first subset and/or the attention users in the second subset may be moved out of all the attention users in the first subset or all the attention users in the second subset, or simultaneously remove the attention in the first subset. Users and users in the second subset.
  • the removal here can be physical deletion or conceptual exclusion (not actual deletion).
  • the user removal module 23 moves out of all the users in the second subset; for example, the minimum of the user in the first subset If the user number is greater than the minimum user number of the user in the second subset, then the user removal module 23 is removed from all the users of the first subset.
  • the user removal module 23 may move out all the users in the second subset, and move out of the first subset to be less than or equal to the second.
  • the user of the largest user number in the subset if the maximum user number of the user in the first subset is smaller than the largest user number of the user in the second subset, the user removal module 23 can move out all the users in the first subset, and A follow-up user in the second subset that is less than or equal to the largest user number in the first subset is removed.
  • the user removal module 23 may move out all the users in the second subset, and move out of the first subset to be greater than or equal to the second.
  • the user of the minimum user number in the subset if the minimum user number of the user in the first subset is greater than the minimum user number of the user in the second subset, the user removal module 23 can move out all the users in the first subset. And moving out of the second subset of interested users that are greater than or equal to the smallest user number in the first subset.
  • the attention user removal module 23 can move out the attention user who has made the common attention user determination.
  • the user does not make a common user judgment, for example, the user number of the user of the first subset is 0-577, and the user of the second subset of the user concerned. The number is 0-677, and the user of the second subset with the user number 578-677 may not be selected into the first subset because the corresponding attention user is not selected, so that the user with the user number 578-677 in the second subset does not have Conduct effective joint attention to user decisions. Therefore, in this step, all the attention users in the subset with the largest user number are all removed (the other subset can be selected for partial removal), and another subset of the interested users who have not made the common attention user determination continues. The next cycle of common focus on user decisions.
  • the process returns to step S301, and the attention user acquisition module 21 continues to acquire the preset number of the attention users of the subset of the attention users according to the user number of the platform, so that the first subset and the second subset are both after the step S301 ends.
  • step S303 the user removal module 23 finds that the user of the first user has completed the acquisition (this acquired message should be generated by the acquisition operation of the first user who cannot obtain the preset number of values in the previous step S301) And in step S303, the attention user of the first subset is removed; or the attention user removal module 23 finds that the second user's attention user acquisition is completed, and in step S303, the attention user of the second subset is removed; that is, the completion is completed.
  • the common message sending method of the present invention separately processes the sending of the common message of the online attention user and the sending of the common message of the offline attention user, and the processing priority of the sending of the common message of the online attention user is higher than that of the offline interested user.
  • the processing priority of the sending of the common message According to the requirements of the online user and the offline user for the real-time performance of the message, the common message sending process of different priority levels is performed, thereby further reducing the pressure of the message sending server and realizing the fast sending of the common message to the online user.
  • FIG. 4 is a flowchart of the first embodiment of the common message sending method and the electronic device of the present invention.
  • the fan users of the first user ie, the attention users
  • the fan users that sequentially acquire the second user form a second subset, and are removed from the first subset.
  • the way the fan user and/or the fan user in the second subset is to move out of all fan users in the first subset or all fan users in the second subset.
  • the top left of Figure 4 is the user number of the fan user of User A, which is specifically: 1.3.4.5.6.7.8.9.10.12.13.18.19.25.26.28.29.35.39.45.47.49.52.56.59.63.68.74.84.89.
  • the top right side of Figure 4 is the user number of the user user of User B, which is specifically: 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.45.
  • the preset values of the number of the first subset and the second subset are all set to 10, so that the first time to acquire the fan users of the A user constitutes the first subset (1.3.4.5.6.7. 8.9.10.12), the first time to get the second user of the B user's fan users (1.2.3.4.5.6.7.8.9.10). Then get the first subset and the common fan users in the second subset (1.3.4.5.6.7.8.9.10) and send a common message to these common fan users. Since the maximum user number 12 of the fan user in the first subset is greater than the maximum user number 10 of the fan user in the second subset, all fan users in the second subset are removed.
  • a first subset and a common fan user (12) in the second subset are then obtained and a common message is sent to the common fan user. Since the maximum user number 12 of the fan user in the first subset is smaller than the maximum user number 20 of the fan user in the second subset, all the fan users in the first subset are removed.
  • the second time to get the A user's fan users to form the first subset (13.18.19.25.26.28.29.35.39.45).
  • the first subset and the common fan users in the second subset (13.18.19) are then obtained and a common message is sent to these common fan users. Since the maximum user number 45 of the fan user in the first subset is greater than the maximum user number 20 of the fan user in the second subset, all fan users in the second subset are removed.
  • the third time to get the B users' fan users to form a second subset (45.46.47.48.49.86.87.88.89.90).
  • a first subset and a common fan user (45) in the second subset are then obtained and a common message is sent to the common fan user. Since the maximum number 45 of the fan users in the first subset is smaller than the maximum user number 90 of the fan users in the second subset, all the fan users in the first subset are removed.
  • the third time to get the A user's fan users to form the first subset (47.49.52.56.59.63.68.74.84.89).
  • the first subset and the common fan users in the second subset (47.49.89) are then obtained and a common message is sent to these common fan users. Since the maximum number 89 of the fan users in the first subset is smaller than the maximum user number 90 of the fan users in the second subset, all the fan users in the first subset are removed, and all the fan users of the A user are acquired and removed.
  • the fan users in the first subset, the first subset will not be able to acquire new fan users, that is, the common message sending process of the present invention is completed, and the common messages of the A user and the B user are distributed to the A users and All common fan users of B users.
  • FIG. 5 is a flowchart of a common message sending method and a second specific embodiment of an electronic device according to the present invention.
  • the first user of the first user is composed of the first user and the second user is composed of the second user, and the second user is composed of the second user, and the fan user of the first subset is removed and/or The way for fan users in the second subset is to simultaneously remove the fan users in the first subset and the fan users in the second subset.
  • the top left side of Figure 5 is the user number of the fan user of User A, which is specifically: 1.3.4.5.6.7.8.9.10.12.13.18.19.25.26.28.29.35.39.45.47.49.52.56.59.63.68.74.84.85.8.
  • the top right of Figure 5 is the user number of the fan user of User B, which is specifically: 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.45.
  • the preset values of the number of the first subset and the second subset are all set to 10, so that the first time to acquire the fan users of the A user constitutes the first subset (1.3.4.5.6.7. 8.9.10.12), the first time to get the second user of the B user's fan users (1.2.3.4.5.6.7.8.9.10). Then get the first subset and the common fan users in the second subset (1.3.4.5.6.7.8.9.10) and send a common message to these common fan users. Since the maximum user number 12 of the fan user in the first subset is greater than the maximum user number 10 of the fan user in the second subset, all the fan users in the second subset and the fan users whose first subset has the user number less than or equal to 10 are removed.
  • a first subset and a common fan user (12) in the second subset are then obtained and a common message is sent to the common fan user. Since the maximum user number 12 of the fan user in the first subset is smaller than the maximum user number 20 of the fan user in the second subset, all the fan users in the first subset and the fan users in the second subset having the user number less than or equal to 12 are removed.
  • the first subset and the common fan users in the second subset (13.18.19) are then obtained and a common message is sent to these common fan users. Since the maximum user number 45 of the fan user in the first subset is greater than the maximum user number 20 of the fan user in the second subset, all the fan users in the second subset and the fan users in the first subset with the user number less than or equal to 20 are removed.
  • the third time to get the B users' fan users to form a second subset (45.46.47.48.49.86.87.88.89.90).
  • a first subset and a common fan user (45) in the second subset are then obtained and a common message is sent to the common fan user. Since the maximum number 45 of the fan users in the first subset is smaller than the maximum user number 90 of the fan users in the second subset, all the fan users in the first subset and the fan users in the second subset with the user number less than or equal to 45 are removed.
  • the first subset and the common fan users in the second subset (47.49.89) are then obtained and a common message is sent to these common fan users.
  • the maximum number 89 of the fan users in the first subset is smaller than the maximum user number 90 of the fan users in the second subset, all the fan users in the first subset and the fan users in the second subset with the user number less than or equal to 89 are removed, but At this time, all the fan users of the A user are obtained, and the fan users in the first subset are removed, and the first subset will not be able to acquire the new fan user, that is, the process of transmitting the common message of the present invention is completed, and the user A is The common message with the B user is distributed to all the common fan users of the A user and the B user.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM) or Random Access Memory (RAM).
  • the common message sending method, the electronic device and the storage medium of the invention compare the user and the common message by batch comparison, reduce the unnecessary attention of the user, reduce the cost of the transmission bandwidth, improve the transmission efficiency of the common message, and realize Efficient and fast sending of common messages; at the same time, different levels of message delivery are adopted for online users and offline users, which further improves the service experience of online users, and has little effect on the service experience of offline users;
  • the common message transmission method and the common message transmission delay of the device and the inefficiency of the technical problem are adopted for online users and offline users, which further improves the service experience of online users, and has little effect on the service experience of offline users.
  • ком ⁇ онент can be, but is not limited to being, a process running on a processor, a processor, an object, an executable application, a thread of execution, a program, and/or a computer.
  • a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable application, a thread of execution, a program, and/or a computer.
  • an application running on a controller and the controller can be a component.
  • One or more components can reside within a process and/or thread of execution, and a component can be located on a computer and/or distributed between two or more computers.
  • the claimed subject matter can be implemented as a method, apparatus, or article of manufacture that uses standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof, to control a computer to implement the disclosed subject matter.
  • article of manufacture as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media.
  • Example electronic device 612 includes, but is not limited to, a personal computer, a server computer, a handheld or laptop device, a mobile device (such as a mobile phone, a personal digital assistant (PDA), a media player, etc.), a multi-processor system, a consumer Electronic devices, small computers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like.
  • a personal computer such as a mobile phone, a personal digital assistant (PDA), a media player, etc.
  • PDA personal digital assistant
  • Multi-processor system such as a mobile phone, a personal digital assistant (PDA), a media player, etc.
  • consumer Electronic devices small computers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like.
  • Computer readable instructions may be distributed via computer readable media (discussed below).
  • Computer readable instructions may be implemented as program modules, such as functions, objects, application programming interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types.
  • program modules such as functions, objects, application programming interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types.
  • APIs application programming interfaces
  • data structures such as lists, etc. that perform particular tasks or implement particular abstract data types.
  • the functionality of the computer readable instructions can be combined or distributed at will in various environments.
  • FIG. 6 illustrates an example of an electronic device 612 that includes one or more embodiments of the common messaging method of the present invention.
  • electronic device 612 includes at least one processing unit 616 and memory 618.
  • memory 618 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in Figure 6 by dashed line 614.
  • electronic device 612 may include additional features and/or functionality.
  • device 612 may also include additional storage devices (eg, removable and/or non-removable) including, but not limited to, magnetic storage devices, optical storage devices, and the like.
  • additional storage devices eg, removable and/or non-removable
  • storage device 620 Such an additional storage device is illustrated by storage device 620 in FIG.
  • computer readable instructions for implementing one or more embodiments provided herein may be in storage device 620.
  • Storage device 620 can also store other computer readable instructions for implementing an operating system, applications, and the like. Computer readable instructions may be loaded into memory 618 for execution by, for example, processing unit 616.
  • 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 or other data.
  • Memory 618 and storage device 620 are examples of computer storage media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage device, magnetic tape cassette, magnetic tape, magnetic disk storage device or other magnetic storage device, Or any other medium that can be used to store desired information and that can be accessed by electronic device 612. Any such computer storage media may be part of the electronic device 612.
  • Electronic device 612 may also include a communication connection 626 that allows electronic device 612 to communicate with other devices.
  • Communication connection 626 may include, but is not limited to, a modem, a network interface card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB connection, or other interface for connecting electronic device 612 to other electronic devices.
  • Communication connection 626 can include a wired connection or a wireless connection.
  • Communication connection 626 can transmit and/or receive communication media.
  • Computer readable medium can include a communication medium.
  • Communication media typically embodies computer readable instructions or other data in "modulated data signals" such as carrier waves or other transport mechanisms, and includes any information delivery media.
  • modulated data signal can include a signal that one or more of the signal characteristics are set or changed in such a manner as to encode the information into the signal.
  • the electronic device 612 can include an input device 624 such as a keyboard, mouse, pen, voice input device, touch input device, infrared camera, video input device, and/or any other input device.
  • Output device 622 may also be included in device 612, such as one or more displays, speakers, printers, and/or any other output device.
  • Input device 624 and output device 622 can be connected to electronic device 612 via a wired connection, a wireless connection, or any combination thereof.
  • an input device or output device from another electronic device can be used as input device 624 or output device 622 of electronic device 612.
  • the components of electronic device 612 can be connected by various interconnects, such as a bus. Such interconnections may include Peripheral Component Interconnect (PCI) (such as Fast PCI), Universal Serial Bus (USB), Firewire (IEEE) 1394), optical bus structure, and the like.
  • PCI Peripheral Component Interconnect
  • USB Universal Serial Bus
  • Firewire IEEE 1394
  • optical bus structure and the like.
  • the components of electronic device 612 can be interconnected by a network.
  • memory 618 may be comprised of multiple physical memory units that are interconnected by a network located in different physical locations.
  • storage devices for storing computer readable instructions may be distributed across a network.
  • electronic device 630 accessible via network 628 can store computer readable instructions for implementing one or more embodiments of the present disclosure.
  • the electronic device 612 can access the electronic device 630 and download a portion or all of the computer readable instructions for execution.
  • electronic device 612 can download a plurality of computer readable instructions as needed, or some of the instructions can be executed at electronic device 612 and some of the instructions can be executed at electronic device 630.
  • the one or more operations may constitute computer readable instructions stored on one or more computer readable media that, when executed by an electronic device, cause the computing device to perform the operations.
  • the order in which some or all of the operations are described should not be construed as implying that the operations must be sequential. Those skilled in the art will appreciate alternative rankings that have the benefit of this specification. Moreover, it should be understood that not all operations must be present in every embodiment provided herein.
  • the word "preferred” as used herein is intended to serve as an example, instance, or illustration. Any aspect or design described as “preferred” by the text is not necessarily to be construed as being more advantageous than other aspects or designs. Instead, the use of the word “preferred” is intended to present a concept in a specific manner.
  • the term “or” as used in this application is intended to mean an “or” or “an” That is, unless otherwise specified or clear from the context, "X employs A or B” means naturally including any one of the permutations. That is, if X uses A; X uses B; or X uses both A and B, then "X uses A or B" is satisfied in any of the foregoing examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Coloring Foods And Improving Nutritive Qualities (AREA)

Abstract

本发明涉及一种共同消息发送方法、电子设备及存储介质。该共同消息发送方法包括步骤:根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,以及获取第二用户的关注用户,以设立第二子集;获取第一子集以及第二子集中的共同关注用户,并向共同关注用户发送共同消息。本发明还涉及一种电子设备及存储介质。本发明的共同消息发送方法、电子设备及存储介质通过分批比较关注用户和发送共同消息实现共同消息的高效快速发送。

Description

共同消息发送方法、电子设备及存储介质 技术领域
本发明涉及计算机技术领域,特别是涉及一种高效快速的共同消息发送方法、电子设备及存储介质。
背景技术
UGC(User Generated Content,用户生成内容)是一种用户使用互联网的新方式,即由原来的以下载为主变成下载和上传并重。社区网络、视频分享以及博客等都是UGC的主要应用形式,随着智能终端的多样化以及全球互联网业务的不断发展,UGC业务正在日渐崛起,引起了业界的广泛关注。
图1为现有的一种基于UGC的共同消息发送业务方法的流程示意图。该业务的目的是将用户A和用户B之间的对话(如偶像间的对话)以消息的方式推送给用户A和用户B的共同粉丝,如现在腾讯微博中的“对话”应用业务。该业务方法包括:
步骤S101,获取用户A的全部粉丝和用户B的全部粉丝;
步骤S102,计算用户A和用户B的共同粉丝;
步骤S103,将用户A和用户B之间的对话消息推送给用户A和用户B的共同粉丝。
使用上述的共同消息发送业务方法由于需要获取用户A的全部粉丝和用户B的全部粉丝,当用户A和用户B的粉丝数量较多时,获取时间也就比较长,可能造成比较严重的延迟问题。
同时由于该业务只将对话消息推送给用户A和用户B的共同粉丝,如用户A和用户B的粉丝数量相差较大(如用户A只有一个粉丝,而用户B却有一千个粉丝),最后的消息发送用户主要由粉丝数量较少的用户确定,因此获取用户A和用户B的全部粉丝的过程中有大量不必要的粉丝获取,因此造成进行该业务的效率比较低下。
技术问题
本发明的目的在于提供一种通过分批比较粉丝用户(关注用户)和发送共同消息实现共同消息的高效快速发送的共同消息发送方法、电子设备及存储介质,解决了现有的共同消息发送方法及装置的共同消息发送的延迟较大以及效率低下的技术问题。
技术解决方案
为解决上述问题,本发明提供的技术方案如下:
本发明提供一种共同消息发送方法,其包括步骤:
A、根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,且获取第二用户的关注用户,以设立组成第二子集,其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量为预设值;以及
B、获取所述第一子集以及所述第二子集中的共同关注用户,并向所述共同关注用户发送共同消息,且返回步骤A直至所述第一用户的关注用户获取完毕或所述第二用户的关注用户获取完毕。。
本发明还提供一种电子设备,其包括:
一个或一个以上处理器;
存储器;以及
一个或一个以上程序,存储在所述存储器中,且经配置以由所述一个或一个以上处理器执行以提供一共同消息发送方法,所述一个或一个以上程序按照功能划分,包括:
关注用户获取模块,用于根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,且获取第二用户的关注用户,以设立第二子集;其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量均为预设值;以及
共同消息发送模块,用于获取所述第一子集以及所述第二子集中的共同关注用户,并向所述共同关注用户发送共同消息。
本发明还提供一种存储介质,其内存储有处理器可执行指令,该处理器通过执行所述指令提供一种共同消息发送方法,包括:
A、根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,且获取第二用户的关注用户,以设立组成第二子集;其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量均为预设值;以及
B、获取所述第一子集以及所述第二子集中的共同关注用户,并向所述共同关注用户发送共同消息;且返回步骤A直至所述第一用户的关注用户获取完毕或所述第二用户的关注用户获取完毕。
有益效果
相较于现有技术,本发明的共同消息发送方法、电子设备及存储介质通过分批比较关注用户和发送共同消息实现共同消息的高效快速发送,解决了现有的共同消息发送方法及装置的共同消息发送的延迟较大以及效率低下的技术问题。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为现有的一种基于UGC的共同消息发送业务方法的流程示意图;
图2为本发明的电子设备的优选实施例的结构示意图;
图3为本发明的共同消息发送方法的优选实施例的流程图;
图4为本发明的共同消息发送方法及电子设备的第一具体实施例的流程图;
图5为本发明的共同消息发送方法及电子设备的第二具体实施例的流程图;
图6为本发明的电子设备的工作环境结构示意图。
请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。
在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行之作业的步骤及符号来说明,除非另有述明。因此,其将可了解到这些步骤及操作,其中有数次提到为由计算机执行,包括了由代表了以一结构化型式中的数据之电子信号的计算机处理单元所操纵。此操纵转换该数据或将其维持在该计算机之内存系统中的位置处,其可重新配置或另外以本领域技术人员所熟知的方式来改变该计算机之运作。该数据所维持的数据结构为该内存之实体位置,其具有由该数据格式所定义的特定特性。但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域技术人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。
本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行作业。所熟知适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)行动电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。
本发明提供一种电子设备,如图2所示,图2为本发明的电子设备的优选实施例的结构示意图。该电子设备包括一个或一个以上处理器;存储器以及一个或一个以上程序,存储在存储器中,且经配置以由一个或一个以上处理器执行以提供一共同消息发送方法,该一个或一个以上程序按照功能划分包括关注用户获取模块21、共同消息发送模块22以及关注用户移出模块23。
关注用户获取模块21用于根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,以及获取第二用户的关注用户,以设立第二子集,其中第一子集的关注用户的数量和第二子集的关注用户的数量均为预设值。共同消息发送模块22用于获取第一子集以及第二子集中的共同关注用户,并向共同关注用户发送共同消息。关注用户移出模块23用于根据第一子集中关注用户的用户编号以及第二子集中关注用户的用户编号,确定移出第一子集中的关注用户或第二子集中的关注用户。
本发明的电子设备使用时,首先关注用户获取模块21根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,以及获取第二用户的关注用户,以设立第二子集。
具体可为:关注用户获取模块21按平台的用户编号,从小到大或从大到小依次获取预设值数量的第一用户的关注用户,以及依次获取预设值数量的第二用户的关注用户。然后关注用户获取模块21将预设值数量的第一用户的关注用户设定为第一子集,预设值数量的第二用户的关注用户设定为第二子集。该预设值可根据具体的要求进行设置(如50或500等)。
然后共同消息发送模块22获取第一子集以及第二子集中的共同关注用户,并向共同关注用户发送共同消息。该共同消息可为第一用户与第二用户之间的交谈信息等。
然后关注用户移出模块23根据第一子集中关注用户的用户编号以及第二子集中关注用户的用户编号,确定移出第一子集中的关注用户和/或第二子集中的关注用户。
这里的移出第一子集中的关注用户和/或第二子集中的关注用户可以是移出第一子集中的所有关注用户或第二子集中的所有关注用户,或同时移出第一子集中的关注用户和第二子集中的关注用户。
具体可为:在从小到大依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最大用户编号大于第二子集中关注用户的最大用户编号,则关注用户移出模块23移出第二子集中的所有关注用户;如第一子集中关注用户的最大用户编号小于第二子集中关注用户的最大用户编号,则关注用户移出模块23移出第一子集中的所有关注用户。
在从大到小依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最小用户编号小于第二子集中关注用户的最小用户编号,则关注用户移出模块23移出所述第二子集中的所有关注用户;如第一子集中关注用户的最小用户编号大于第二子集中关注用户的最小用户编号,则关注用户移出模块23移出第一子集中的所有关注用户。
在从小到大依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最大用户编号大于第二子集中关注用户的最大用户编号,关注用户移出模块23可移出第二子集中的所有关注用户,以及移出第一子集中的小于等于第二子集中的最大用户编号的关注用户;如第一子集中关注用户的最大用户编号小于第二子集中关注用户的最大用户编号,关注用户移出模块23可移出第一子集中的所有关注用户,以及移出第二子集中的小于等于第一子集中的最大用户编号的关注用户。
在从大到小依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最小用户编号小于第二子集中关注用户的最小用户编号,关注用户移出模块23可移出第二子集中的所有关注用户,以及移出第一子集中的大于等于第二子集中的所述最小用户编号的关注用户;如第一子集中关注用户的最小用户编号大于第二子集中关注用户的最小用户编号,关注用户移出模块23可移出第一子集中的所有关注用户,以及移出第二子集中的大于等于第一子集中的最小用户编号的关注用户。
随后关注用户获取模块21根据平台的用户编号,继续获取预设值数量的被移出关注用户的子集的关注用户,以使得第一子集和第二子集均有预设值数量的关注用户,或第一用户的关注用户获取完毕或第二用户的关注用户获取完毕。
如关注用户移出模块23发现第一用户的关注用户获取完毕,且移出了第一子集中的关注用户;或关注用户移出模块23发现第二用户的关注用户获取完毕,且移出了第二子集中的关注用户,即完成了本发明的电子设备的共同消息的发送过程。
优选的,本发明的电子设备的共同消息发送模块22包括在线共同消息发送单元以及离线共同消息发送单元。在线共同消息发送单元用于发送在线关注用户的共同消息;离线共同消息发送单元用于发送离线关注用户的共同消息。在线共同消息发送单元的处理优先级高于离线共同消息发送单元的处理优先级。根据在线用户和离线用户对消息实时性的要求不同,对其进行不同优先级别的共同消息发送处理,进一步减轻了消息发送服务器的压力,以及实现了对在线用户快速发送共同消息。
本发明的电子设备的具体使用过程与下述的共同消息发送方法的具体实施例的使用过程相同或相似,请参见共同消息发送方法的具体实施例。
请参照图2和图3,图3为本发明的共同消息发送方法的优选实施例的流程图。该共同消息发送方法包括:
步骤S301,根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,以及获取第二用户的关注用户,以设立第二子集,其中第一子集的关注用户的数量和第二子集的关注用户的数量均为预设值;
步骤S302,获取第一子集以及第二子集中的共同关注用户,并向共同关注用户发送共同消息;
步骤S303,根据第一子集中关注用户的用户编号以及第二子集中关注用户的用户编号,确定移出第一子集中的关注用户和/或第二子集中的关注用户,返回步骤S301直至第一用户的关注用户获取完毕或第二用户的关注用户获取完毕。
这样即快速高效地将第一用户和第二用户的共同消息发送给他们的共同关注用户。
下面详细说明本发明的共同消息发送方法的各步骤的具体流程。
在步骤S301中,关注用户获取模块21根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,以及获取第二用户的关注用户,以设立第二子集。这里平台的用户编号是指在该平台注册的所有用户的一种唯一性标识。通过这个用户编号可将第一用户的关注用户和第二用户的关注用户按一定的规则进行第一子集和第二子集的划分,避免同一关注用户被多次分到同一子集。
具体可为:关注用户获取模块21按平台的用户编号,从小到大或从大到小依次获取预设值数量的第一用户的关注用户,以及依次获取预设值数量的第二用户的关注用户。然后关注用户获取模块21将预设值数量的第一用户的关注用户设定为第一子集,预设值数量的第二用户的关注用户设定为第二子集。该预设值可根据具体的要求进行设置(如50或500等)。根据平台的用户编号获取关注用户的方式不仅局限于按用户编号从小到大或按用户编号从大到小(此种方式实现较简单),也可使用其他的方式获取(例如分组获取、随机获取等),只要能保证不会将同一用户编号的关注用户多次分到同一子集的获取关注用户的方式均属于本发明的保护范围。
随后来到步骤S302。
在步骤S302中,共同消息发送模块22获取第一子集以及第二子集中的共同关注用户,并向共同关注用户发送共同消息。该共同消息可为第一用户与第二用户之间的交谈信息等。
随后来到步骤S303。
在步骤S303中,关注用户移出模块23根据第一子集中关注用户的用户编号以及第二子集中关注用户的用户编号,确定移出第一子集中的关注用户和/或第二子集中的关注用户。
这里的移出第一子集中的关注用户和/或第二子集中的关注用户可以是移出第一子集中的所有关注用户或第二子集中的所有关注用户,或同时移出第一子集中的关注用户和第二子集中的关注用户。当然这里的移出可以是物理删除也可以是概念上的排除(并非实际删除)。
具体可为:在从小到大依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最大用户编号大于第二子集中关注用户的最大用户编号,则关注用户移出模块23移出第二子集中的所有关注用户;如第一子集中关注用户的最大用户编号小于第二子集中关注用户的最大用户编号,则关注用户移出模块23移出第一子集中的所有关注用户。
在从大到小依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最小用户编号小于第二子集中关注用户的最小用户编号,则关注用户移出模块23移出所述第二子集中的所有关注用户;如第一子集中关注用户的最小用户编号大于第二子集中关注用户的最小用户编号,则关注用户移出模块23移出第一子集中的所有关注用户。
在从小到大依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最大用户编号大于第二子集中关注用户的最大用户编号,关注用户移出模块23可移出第二子集中的所有关注用户,以及移出第一子集中的小于等于第二子集中的最大用户编号的关注用户;如第一子集中关注用户的最大用户编号小于第二子集中关注用户的最大用户编号,关注用户移出模块23可移出第一子集中的所有关注用户,以及移出第二子集中的小于等于第一子集中的最大用户编号的关注用户。
在从大到小依次获取第一用户的关注用户组成第一子集以及依次获取第二用户的关注用户组成第二子集的情况下。如第一子集中关注用户的最小用户编号小于第二子集中关注用户的最小用户编号,关注用户移出模块23可移出第二子集中的所有关注用户,以及移出第一子集中的大于等于第二子集中的所述最小用户编号的关注用户;如第一子集中关注用户的最小用户编号大于第二子集中关注用户的最小用户编号,关注用户移出模块23可移出第一子集中的所有关注用户,以及移出第二子集中的大于等于第一子集中的最小用户编号的关注用户。
在步骤S302中共同消息发送模块22对部分的共同关注用户发送共同消息后,关注用户移出模块23对已进行共同关注用户判定的关注用户可进行移出。但是由于第一子集或第二子集中可能会有部分关注用户没有进行共同关注用户判定,如第一子集的关注用户的用户编号为0-577,而第二子集的关注用户的用户编号为0-677,第二子集中的用户编号为578-677的关注用户可能由于相应的关注用户没有被选入第一子集,使得第二子集中的用户编号为578-677的用户没有进行有效的共同关注用户判定。因此在本步骤中,将最大用户编号较小的子集中的关注用户全部移出(另一子集可选择进行部分移出),而存在未进行共同关注用户判定的关注用户的另一子集继续进行下一循环的共同关注用户判定。
随后返回步骤S301,关注用户获取模块21根据平台的用户编号,继续获取预设值数量的被移出关注用户的子集的关注用户,以使得步骤S301结束后第一子集和第二子集均有预设值数量的关注用户,或第一用户的关注用户获取完毕或第二用户的关注用户获取完毕(如第一用户的关注用户获取完毕,可能会导致第一子集的关注用户的数量达不到预设值)。
如在步骤S303中关注用户移出模块23发现第一用户的关注用户获取完毕(这个获取完毕的消息应由之前步骤S301中无法获取到预设值数量的第一用户的关注用户的获取操作产生),且在步骤S303中移出了第一子集中的关注用户;或关注用户移出模块23发现第二用户的关注用户获取完毕,且在步骤S303中移出了第二子集中的关注用户;即完成了本发明的共同消息发送方法的共同消息的发送过程。
优选的,本发明的共同消息发送方法对于在线关注用户的共同消息的发送和离线关注用户的共同消息的发送分别进行处理,同时在线关注用户的共同消息的发送的处理优先级高于离线关注用户的共同消息的发送的处理优先级。根据在线用户和离线用户对消息实时性的要求不同,对其进行不同优先级别的共同消息发送处理,进一步减轻了消息发送服务器的压力,以及实现了对在线用户快速发送共同消息。
下面通过图4和图5的具体实施例详细说明本发明的共同消息发送方法及电子设备的工作流程,图4为本发明的共同消息发送方法及电子设备的第一具体实施例的流程图。在本具体实施例中,从小到大依次获取第一用户的粉丝用户(即关注用户)组成第一子集以及依次获取第二用户的粉丝用户组成第二子集,且移出第一子集中的粉丝用户和/或第二子集中的粉丝用户的方式为移出第一子集中的所有粉丝用户或第二子集中的所有粉丝用户。
图4顶端左侧为用户A的粉丝用户的用户编号,具体为:1.3.4.5.6.7.8.9.10.12.13.18.19.25.26.28.29.35.39.45.47.49.52.56.59.63.68.74.85.89。图4顶端右侧为用户B的粉丝用户的用户编号,具体为:1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.45.
46.47.48.49.86.87.88.89.90。
在本优选实施例中,第一子集和第二子集的数量的预设值均设置为10个,这样第一次获取A用户的粉丝用户组成第一子集(1.3.4.5.6.7.8.9.10.12),第一次获取B用户的粉丝用户组成第二子集(1.2.3.4.5.6.7.8.9.10)。然后获取第一子集以及第二子集中的共同粉丝用户(1.3.4.5.6.7.8.9.10),并向这些共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大用户编号12大于第二子集中粉丝用户的最大用户编号10,因此移出第二子集中的所有的粉丝用户。
随后第二次获取B用户的粉丝用户组成第二子集(11.12.13.14.15.16.17.18.19.20)。然后获取第一子集以及第二子集中的共同粉丝用户(12),并向该共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大用户编号12小于第二子集中粉丝用户的最大用户编号20,因此移出第一子集中的所有的粉丝用户。
随后第二次获取A用户的粉丝用户组成第一子集(13.18.19.25.26.28.29.35.39.45)。然后获取第一子集以及第二子集中的共同粉丝用户(13.18.19),并向这些共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大用户编号45大于第二子集中粉丝用户的最大用户编号20,因此移出第二子集中的所有的粉丝用户。
随后第三次获取B用户的粉丝用户组成第二子集(45.46.47.48.49.86.87.88.89.90)。然后获取第一子集以及第二子集中的共同粉丝用户(45),并向该共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大编号45小于第二子集中粉丝用户的最大用户编号90,因此移出第一子集中的所有的粉丝用户。
随后第三次获取A用户的粉丝用户组成第一子集(47.49.52.56.59.63.68.74.85.89)。然后获取第一子集以及第二子集中的共同粉丝用户(47.49.89),并向这些共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大编号89小于第二子集中粉丝用户的最大用户编号90,因此移出第一子集中的所有的粉丝用户,这时A用户的所有粉丝用户均获取完毕,且移出了第一子集中的粉丝用户,第一子集将无法获取新的粉丝用户,即完成了本发明的共同消息的发送过程,将A用户和B用户的共同消息分批发送给了A用户和B用户的所有共同粉丝用户。
图5为本发明的共同消息发送方法及电子设备的第二具体实施例的流程图。在本具体实施例中,从小到大依次获取第一用户的粉丝用户组成第一子集以及依次获取第二用户的粉丝用户组成第二子集,且移出第一子集中的粉丝用户和/或第二子集中的粉丝用户的方式为同时移出第一子集中的粉丝用户和第二子集中的粉丝用户。
图5顶端左侧为用户A的粉丝用户的用户编号,具体为:1.3.4.5.6.7.8.9.10.12.13.18.19.25.26.28.29.35.39.45.47.49.52.56.59.63.68.74.85.89。图5顶端右侧为用户B的粉丝用户的用户编号,具体为:1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.45.
46.47.48.49.86.87.88.89.90。
在本优选实施例中,第一子集和第二子集的数量的预设值均设置为10个,这样第一次获取A用户的粉丝用户组成第一子集(1.3.4.5.6.7.8.9.10.12),第一次获取B用户的粉丝用户组成第二子集(1.2.3.4.5.6.7.8.9.10)。然后获取第一子集以及第二子集中的共同粉丝用户(1.3.4.5.6.7.8.9.10),并向这些共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大用户编号12大于第二子集中粉丝用户的最大用户编号10,因此移出第二子集中的所有的粉丝用户以及第一子集中用户编号小于等于10的粉丝用户。
随后第二次获取B用户的粉丝用户组成第二子集(11.12.13.14.15.16.17.18.19.20)。然后获取第一子集以及第二子集中的共同粉丝用户(12),并向该共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大用户编号12小于第二子集中粉丝用户的最大用户编号20,因此移出第一子集中的所有的粉丝用户以及第二子集中用户编号小于等于12的粉丝用户。
随后第二次获取A用户的粉丝用户组成第一子集(13.18.19.25.26.28.29.35.39.45)。然后获取第一子集以及第二子集中的共同粉丝用户(13.18.19),并向这些共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大用户编号45大于第二子集中粉丝用户的最大用户编号20,因此移出第二子集中的所有的粉丝用户以及第一子集中用户编号小于等于20的粉丝用户。
随后第三次获取B用户的粉丝用户组成第二子集(45.46.47.48.49.86.87.88.89.90)。然后获取第一子集以及第二子集中的共同粉丝用户(45),并向该共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大编号45小于第二子集中粉丝用户的最大用户编号90,因此移出第一子集中的所有的粉丝用户以及第二子集中用户编号小于等于45的粉丝用户。
随后第三次获取A用户的粉丝用户组成第一子集(47.49.52.56.59.63.68.74.85.89)。然后获取第一子集以及第二子集中的共同粉丝用户(47.49.89),并向这些共同粉丝用户发送共同消息。由于第一子集中粉丝用户的最大编号89小于第二子集中粉丝用户的最大用户编号90,因此移出第一子集中的所有的粉丝用户以及第二子集中用户编号小于等于89的粉丝用户,但这时A用户的所有粉丝用户均获取完毕,且移出了第一子集中的粉丝用户,第一子集将无法获取新的粉丝用户,即完成了本发明的共同消息的发送过程,将A用户和B用户的共同消息分批发送给了A用户和B用户的所有共同粉丝用户。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
本发明的共同消息发送方法、电子设备及存储介质通过分批比较关注用户和发送共同消息,减少了不必要的关注用户的获取,降低了传输带宽的成本,提升了共同消息的发送效率,实现了共同消息的高效快速发送;同时对于在线用户和离线用户采用不同的消息发送的优选级别,进一步提升了在线用户的业务体验效果,而对离线用户的业务体验效果影响很小;解决了现有的共同消息发送方法及装置的共同消息发送的延迟较大以及效率低下的技术问题。
如本申请所使用的术语“组件”、“模块”、“系统”、“接口”等等一般地旨在指计算机相关实体:硬件、硬件和软件的组合、软件或执行中的软件。例如,组件可以是但不限于是运行在处理器上的进程、处理器、对象、可执行应用、执行的线程、程序和/或计算机。通过图示,运行在控制器上的应用和该控制器二者都可以是组件。一个或多个组件可以有在于执行的进程和/或线程内,并且组件可以位于一个计算机上和/或分布在两个或更多计算机之间。
而且,要求保护的主题可以被实现为使用标准编程和/或工程技术产生软件、固件、硬件或其任意组合以控制计算机实现所公开的主题的方法、装置或制造品。本文所使用的术语“制造品”旨在包含可从任意计算机可读设备、载体或介质访问的计算机程序。当然,本领域技术人员将认识到可以对该配置进行许多修改,而不脱离要求保护的主题的范围或精神。
图6和随后的讨论提供了对实现本发明所述的电子设备的工作环境的简短、概括的描述。图6的工作环境仅仅是适当的工作环境的一个实例并且不旨在建议关于工作环境的用途或功能的范围的任何限制。实例电子设备612包括但不限于个人计算机、服务器计算机、手持式或膝上型设备、移动设备(比如移动电话、个人数字助理(PDA)、媒体播放器等等)、多处理器系统、消费型电子设备、小型计算机、大型计算机、包括上述任意系统或设备的分布式计算环境,等等。
尽管没有要求,但是在“计算机可读指令”被一个或多个电子设备执行的通用背景下描述实施例。计算机可读指令可以经由计算机可读介质来分布(下文讨论)。计算机可读指令可以实现为程序模块,比如执行特定任务或实现特定抽象数据类型的功能、对象、应用编程接口(API)、数据结构等等。典型地,该计算机可读指令的功能可以在各种环境中随意组合或分布。
图6图示了包括本发明的共同消息发送方法的一个或多个实施例的电子设备612的实例。在一种配置中,电子设备612包括至少一个处理单元616和存储器618。根据电子设备的确切配置和类型,存储器618可以是易失性的(比如RAM)、非易失性的(比如ROM、闪存等)或二者的某种组合。该配置在图6中由虚线614图示。
在其他实施例中,电子设备612可以包括附加特征和/或功能。例如,设备612还可以包括附加的存储装置(例如可移除和/或不可移除的),其包括但不限于磁存储装置、光存储装置等等。这种附加存储装置在图6中由存储装置620图示。在一个实施例中,用于实现本文所提供的一个或多个实施例的计算机可读指令可以在存储装置620中。存储装置620还可以存储用于实现操作系统、应用程序等的其他计算机可读指令。计算机可读指令可以载入存储器618中由例如处理单元616执行。
本文所使用的术语“计算机可读介质”包括计算机存储介质。计算机存储介质包括以用于存储诸如计算机可读指令或其他数据之类的信息的任何方法或技术实现的易失性和非易失性、可移除和不可移除介质。存储器618和存储装置620是计算机存储介质的实例。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字通用盘(DVD)或其他光存储装置、盒式磁带、磁带、磁盘存储装置或其他磁存储设备、或可以用于存储期望信息并可以被电子设备612访问的任何其他介质。任意这样的计算机存储介质可以是电子设备612的一部分。
电子设备612还可以包括允许电子设备612与其他设备通信的通信连接626。通信连接626可以包括但不限于调制解调器、网络接口卡(NIC)、集成网络接口、射频发射器/接收器、红外端口、USB连接或用于将电子设备612连接到其他电子设备的其他接口。通信连接626可以包括有线连接或无线连接。通信连接626可以发射和/或接收通信媒体。
术语“计算机可读介质”可以包括通信介质。通信介质典型地包含计算机可读指令或诸如载波或其他传输机构之类的“己调制数据信号”中的其他数据,并且包括任何信息递送介质。术语“己调制数据信号”可以包括这样的信号:该信号特性中的一个或多个按照将信息编码到信号中的方式来设置或改变。
电子设备612可以包括输入设备624,比如键盘、鼠标、笔、语音输入设备、触摸输入设备、红外相机、视频输入设备和/或任何其他输入设备。设备612中也可以包括输出设备622,比如一个或多个显示器、扬声器、打印机和/或任意其他输出设备。输入设备624和输出设备622可以经由有线连接、无线连接或其任意组合连接到电子设备612。在一个实施例中,来自另一个电子设备的输入设备或输出设备可以被用作电子设备612的输入设备624或输出设备622。
电子设备612的组件可以通过各种互连(比如总线)连接。这样的互连可以包括外围组件互连(PCI)(比如快速PCI)、通用串行总线(USB)、火线(IEEE 1394)、光学总线结构等等。在另一个实施例中,电子设备612的组件可以通过网络互连。例如,存储器618可以由位于不同物理位置中的、通过网络互连的多个物理存储器单元构成。
本领域技术人员将认识到,用于存储计算机可读指令的存储设备可以跨越网络分布。例如,可经由网络628访问的电子设备630可以存储用于实现本发明所提供的一个或多个实施例的计算机可读指令。电子设备612可以访问电子设备630并且下载计算机可读指令的一部分或所有以供执行。可替代地,电子设备612可以按需要下载多条计算机可读指令,或者一些指令可以在电子设备612处执行并且一些指令可以在电子设备630处执行。
本文提供了实施例的各种操作。在一个实施例中,所述的一个或多个操作可以构成一个或多个计算机可读介质上存储的计算机可读指令,其在被电子设备执行时将使得计算设备执行所述操作。描述一些或所有操作的顺序不应当被解释为暗示这些操作必需是顺序相关的。本领域技术人员将理解具有本说明书的益处的可替代的排序。而且,应当理解,不是所有操作必需在本文所提供的每个实施例中存在。
而且,本文所使用的词语“优选的”意指用作实例、示例或例证。奉文描述为“优选的”任意方面或设计不必被解释为比其他方面或设计更有利。相反,词语“优选的”的使用旨在以具体方式提出概念。如本申请中所使用的术语“或”旨在意指包含的“或”而非排除的“或”。即,除非另外指定或从上下文中清楚,“X使用A或B”意指自然包括排列的任意一个。即,如果X使用A;X使用B;或X使用A和B二者,则“X使用A或B”在前述任一示例中得到满足。
而且,尽管已经相对于一个或多个实现方式示出并描述了本公开,但是本领域技术人员基于对本说明书和附图的阅读和理解将会想到等价变型和修改。本公开包括所有这样的修改和变型,并且仅由所附权利要求的范围限制。特别地关于由上述组件(例如元件、资源等)执行的各种功能,用于描述这样的组件的术语旨在对应于执行所述组件的指定功能(例如其在功能上是等价的)的任意组件(除非另外指示),即使在结构上与执行本文所示的本公开的示范性实现方式中的功能的公开结构不等同。此外,尽管本公开的特定特征已经相对于若干实现方式中的仅一个被公开,但是这种特征可以与如可以对给定或特定应用而言是期望和有利的其他实现方式的一个或多个其他特征组合。而且,就术语“包括”、“具有”、“含有”或其变形被用在具体实施方式或权利要求中而言,这样的术语旨在以与术语“包含”相似的方式包括。
综上所述,虽然本发明已以优选实施例揭露如上,但上述优选实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。
本发明的实施方式
工业实用性
序列表自由内容

Claims (17)

  1. 一种共同消息发送方法,其包括步骤:
    A、根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,且获取第二用户的关注用户,以设立组成第二子集,其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量为预设值;以及
    B、获取所述第一子集以及所述第二子集中的共同关注用户,并向所述共同关注用户发送共同消息,且返回步骤A直至所述第一用户的关注用户获取完毕或所述第二用户的关注用户获取完毕。
  2. 根据权利要求1所述的共同消息发送方法,其中所述步骤A包括:
    按所述平台的用户编号,从小到大或从大到小依次获取所述第一用户的关注用户,以设立所述第一子集,以及依次获取所述第二用户的关注用户,以设立所述第二子集,其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量均为预设值。
  3. 根据权利要求2所述的共同消息发送方法,其中所述步骤B包括:
    获取所述第一子集以及所述第二子集中的共同关注用户,并向所述共同关注用户发送共同消息;
    根据所述第一子集中关注用户的用户编号以及所述第二子集中关注用户的用户编号,确定移出所述第一子集中的所有关注用户或所述第二子集中的所有关注用户;以及
    返回步骤A直至所述第一用户的关注用户获取完毕或所述第二用户的关注用户获取完毕。
  4. 根据权利要求3所述的共同消息发送方法,其中在从小到大依次获取所述第一用户的关注用户,以设立所述第一子集,以及从小到大依次获取所述第二用户的关注用户,以设立所述第二子集时,
    在步骤B中,
    如所述第一子集中所述关注用户的最大用户编号大于所述第二子集中所述关注用户的最大用户编号,则移出所述第二子集中的所有关注用户;
    如所述第一子集中所述关注用户的最大用户编号小于所述第二子集中所述关注用户的最大用户编号,则移出所述第一子集中的所有关注用户;
    在从大到小依次获取所述第一用户的关注用户,以设立所述第一子集,以及从大到小依次获取所述第二用户的关注用户,以设立所述第二子集时,
    在步骤B中,
    如所述第一子集中所述关注用户的最小用户编号小于所述第二子集中所述关注用户的最小用户编号,则移出所述第二子集中的所有关注用户;
    如所述第一子集中所述关注用户的最小用户编号大于所述第二子集中所述关注用户的最小用户编号,则移出所述第一子集中的所有关注用户。
  5. 根据权利要求2所述的共同消息发送方法,其中所述步骤B包括:
    获取所述第一子集以及所述第二子集中的所述共同关注用户,并向所述共同关注用户发送所述共同消息;
    根据所述第一子集中所述关注用户的用户编号以及所述第二子集中所述关注用户的用户编号,确定移出所述第一子集中的所述关注用户和所述第二子集中的所述关注用户;以及
    返回步骤A直至所述第一用户的关注用户获取完毕或所述第二用户的关注用户获取完毕。
  6. 根据权利要求5所述的共同消息发送方法,其中在从小到大依次获取所述第一用户的关注用户,以设立所述第一子集以及从小到大依次获取所述第二用户的关注用户,以设立所述第二子集时,
    在步骤B中,
    如所述第一子集中所述关注用户的最大用户编号大于所述第二子集中所述关注用户的最大用户编号,则移出所述第二子集中的所有关注用户,以及移出所述第一子集中的小于等于所述第二子集中的所述最大用户编号的所述关注用户;
    如所述第一子集中所述关注用户的最大用户编号小于所述第二子集中所述关注用户的最大用户编号,则移出所述第一子集中的所有关注用户,以及移出所述第二子集中的小于等于所述第一子集中的所述最大用户编号的所述关注用户;
    在从大到小依次获取所述第一用户的关注用户,以设立所述第一子集,以及从大到小依次获取所述第二用户的关注用户,以设立所述第二子集时,
    在步骤B中,
    如所述第一子集中所述关注用户的最小用户编号小于所述第二子集中所述关注用户的最小用户编号,则移出所述第二子集中的所有关注用户,以及移出所述第一子集中的大于等于所述第二子集中的所述最小用户编号的所述关注用户;
    如所述第一子集中所述关注用户的最小用户编号大于所述第二子集中所述关注用户的最小用户编号,则移出所述第一子集中的所有关注用户,以及移出所述第二子集中的大于等于所述第一子集中的所述最小用户编号的所述关注用户。
  7. 根据权利要求3或5所述的共同消息发送方法,其中,
    如在步骤B中移出了所述第一子集中的所有关注用户,则根据所述平台的用户编号,从小到大或从大到小依次获取所述第一用户的关注用户组成所述第一子集,并且所述第一子集的所述关注用户的数量为预设值;
    如在步骤B中移出了所述第二子集中的所有关注用户,则根据所述平台的用户编号,从小到大或从大到小依次获取所述第二用户的关注用户组成所述第二子集,并且所述第二子集的所述关注用户的数量为预设值。
  8. 根据权利要求1所述的共同消息发送方法,其中在线关注用户的所述共同消息的发送和离线关注用户的所述共同消息的发送分别进行处理;所述在线关注用户的所述共同消息的发送的处理优先级高于所述离线关注用户的所述共同消息的发送的处理优先级。
  9. 一种电子设备,其包括:
    一个或一个以上处理器;
    存储器;以及
    一个或一个以上程序,存储在所述存储器中,且经配置以由所述一个或一个以上处理器执行以提供一共同消息发送方法,所述一个或一个以上程序按照功能划分,包括:
    关注用户获取模块,用于根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,且获取第二用户的关注用户,以设立第二子集;其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量均为预设值;以及
    共同消息发送模块,用于获取所述第一子集以及所述第二子集中的共同关注用户,并向所述共同关注用户发送共同消息。
  10. 根据权利要求9所述的电子设备,其中所述关注用户获取模块用于:
    按所述平台的用户编号,从小到大或从大到小依次获取所述第一用户的关注用户,以设立所述第一子集,以及依次获取所述第二用户的关注用户,以设立所述第二子集,其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量均为预设值。
  11. 根据权利要求10所述的电子设备,其中所述电子设备还包括:
    关注用户移出模块,用于根据所述第一子集中关注用户的用户编号以及所述第二子集中关注用户的用户编号,确定移出所述第一子集中的所有关注用户或所述第二子集中的所有关注用户。
  12. 根据权利要求11所述的电子设备,其中在所述关注用户获取模块从小到大依次获取所述第一用户的关注用户,以设立所述第一子集,以及从小到大依次获取所述第二用户的关注用户,以设立所述第二子集时;
    如所述第一子集中所述关注用户的最大用户编号大于所述第二子集中所述关注用户的最大用户编号,则所述关注用户移出模块移出所述第二子集中的所有关注用户;
    如所述第一子集中所述关注用户的最大用户编号小于所述第二子集中所述关注用户的最大用户编号,则所述关注用户移出模块移出所述第一子集中的所有关注用户;
    在所述关注用户获取模块从大到小依次获取所述第一用户的关注用户,以设立所述第一子集,以及从大到小依次获取所述第二用户的关注用户,以设立所述第二子集时;
    如所述第一子集中所述关注用户的最小用户编号小于所述第二子集中所述关注用户的最小用户编号,则所述关注用户移出模块移出所述第二子集中的所有关注用户;
    如所述第一子集中所述关注用户的最小用户编号大于所述第二子集中所述关注用户的最小用户编号,则所述关注用户移出模块移出所述第一子集中的所有关注用户。
  13. 根据权利要求10所述的电子设备,其中所述电子设备还包括:
    关注用户移出模块,用于根据所述第一子集中所述关注用户的用户编号以及所述第二子集中所述关注用户的用户编号,确定移出所述第一子集中的所述关注用户和所述第二子集中的所述关注用户。
  14. 根据权利要求13所述的电子设备,其中在所述关注用户获取模块从小到大依次获取所述第一用户的关注用户,以设立所述第一子集,以及从小到大依次获取所述第二用户的关注用户,以设立所述第二子集时,
    如所述第一子集中所述关注用户的最大用户编号大于所述第二子集中所述关注用户的最大用户编号,则所述关注用户移出模块移出所述第二子集中的所有关注用户,以及移出所述第一子集中的小于等于所述第二子集中的所述最大用户编号的所述关注用户;
    如所述第一子集中所述关注用户的最大用户编号小于所述第二子集中所述关注用户的最大用户编号,则所述关注用户移出模块移出所述第一子集中的所有关注用户,以及移出所述第二子集中的小于等于所述第一子集中的所述最大用户编号的所述关注用户;
    在所述关注用户获取模块从大到小依次获取所述第一用户的关注用户,以设立所述第一子集,以及从大到小依次获取所述第二用户的关注用户,以设立所述第二子集时,
    如所述第一子集中关注用户的最小用户编号小于所述第二子集中所述关注用户的最小用户编号,则所述关注用户移出模块移出所述第二子集中的所有关注用户,以及移出所述第一子集中的大于等于所述第二子集中的所述最小用户编号的所述关注用户;
    如所述第一子集中所述关注用户的最小用户编号大于所述第二子集中所述关注用户的最小用户编号,则所述关注用户移出模块移出所述第一子集中的所有关注用户,以及移出所述第二子集中的大于等于所述第一子集中的所述最小用户编号的所述关注用户。
  15. 根据权利要求11或13所述的电子设备,其中,
    如所述关注用户移出模块移出了所述第一子集中的所有关注用户,则所述关注用户获取模块根据所述平台的用户编号,从小到大或从大到小依次获取所述第一用户的关注用户组成所述第一子集,并且所述第一子集的所述关注用户的数量为预设值;
    如所述关注用户移出模块移出了所述第二子集中的所有关注用户,则所述关注用户获取模块根据所述平台的用户编号,从小到大或从大到小依次获取所述第二用户的关注用户组成所述第二子集,并且所述第二子集的所述关注用户的数量为预设值。
  16. 根据权利要求9所述的电子设备,其中所述共同消息发送模块包括用于发送在线关注用户的所述共同消息的在线共同消息发送单元以及用于发送离线关注用户的所述共同消息的离线共同消息发送单元;所述在线共同消息发送单元的处理优先级高于所述离线共同消息发送单元的处理优先级。
  17. 一种存储介质,其内存储有处理器可执行指令,该处理器通过执行所述指令提供一种共同消息发送方法,包括:
    A、根据平台的用户编号,获取第一用户的关注用户,以设立第一子集,且获取第二用户的关注用户,以设立组成第二子集;其中所述第一子集的关注用户的数量和所述第二子集的关注用户的数量均为预设值;以及
    B、获取所述第一子集以及所述第二子集中的共同关注用户,并向所述共同关注用户发送共同消息;且返回步骤A直至所述第一用户的关注用户获取完毕或所述第二用户的关注用户获取完毕。
PCT/CN2013/083466 2012-10-11 2013-09-13 共同消息发送方法、电子设备及存储介质 WO2014056385A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/682,357 US10541963B2 (en) 2012-10-11 2015-04-09 Common message sending method, electronic device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210384149.5 2012-10-11
CN201210384149.5A CN103731335B (zh) 2012-10-11 2012-10-11 共同消息发送方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/682,357 Continuation US10541963B2 (en) 2012-10-11 2015-04-09 Common message sending method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
WO2014056385A1 true WO2014056385A1 (zh) 2014-04-17

Family

ID=50455270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083466 WO2014056385A1 (zh) 2012-10-11 2013-09-13 共同消息发送方法、电子设备及存储介质

Country Status (3)

Country Link
US (1) US10541963B2 (zh)
CN (1) CN103731335B (zh)
WO (1) WO2014056385A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184830B (zh) * 2014-09-11 2019-11-08 北京市地震局 地震应急专题信息传输系统
CN111371854B (zh) * 2020-02-24 2021-06-22 南京甄视智能科技有限公司 物联网中的离线消息发送方法、装置、存储介质及服务器

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035891A (zh) * 2010-12-17 2011-04-27 百度在线网络技术(北京)有限公司 一种网络交友平台中推荐好友的方法和装置
CN102360376A (zh) * 2011-10-12 2012-02-22 段卫东 获取与好友共同相识朋友圈子的方法和操作界面装置
CN102724140A (zh) * 2012-06-28 2012-10-10 奇智软件(北京)有限公司 即时通信好友添加方法及装置
CN102724168A (zh) * 2011-03-30 2012-10-10 腾讯科技(深圳)有限公司 一种推送用户信息的方法及装置
CN102724139A (zh) * 2012-06-28 2012-10-10 奇智软件(北京)有限公司 即时通信好友推荐方法及装置

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6430592B1 (en) * 1994-06-02 2002-08-06 International Business Machines Corporation System for sharing CPU time amongst multiple users
JP4137264B2 (ja) * 1999-01-05 2008-08-20 株式会社日立製作所 データベース負荷分散処理方法及びその実施装置
US7644125B2 (en) * 2000-09-11 2010-01-05 Ianywhere Solutions, Inc. Method, system, and computer program product for synchronization of similar data objects with event information
US7774409B2 (en) * 2002-08-27 2010-08-10 International Business Machines Corporation Providing common contact discovery and management to electronic mail users
US7895273B1 (en) * 2003-01-23 2011-02-22 Sprint Spectrum L.P. System and method for sorting instant messages
US20040260701A1 (en) * 2003-05-27 2004-12-23 Juha Lehikoinen System and method for weblog and sharing in a peer-to-peer environment
US20050171954A1 (en) * 2004-01-29 2005-08-04 Yahoo! Inc. Selective electronic messaging within an online social network for SPAM detection
US7953800B2 (en) * 2004-03-08 2011-05-31 Netsuite, Inc. Integrating a web-based business application with existing client-side electronic mail systems
US9092807B1 (en) * 2006-05-05 2015-07-28 Appnexus Yieldex Llc Network-based systems and methods for defining and managing multi-dimensional, advertising impression inventory
US8130917B2 (en) * 2006-12-21 2012-03-06 Verizon Data Services Llc Method and apparatus for group messaging
US20090307349A1 (en) * 2008-06-10 2009-12-10 Motorola, Inc. System and method for communication based on an availability of a user
US20100161369A1 (en) * 2008-12-23 2010-06-24 International Business Machines Corporation Application of relationship weights to social network connections
US9450769B2 (en) * 2009-05-22 2016-09-20 Facebook, Inc. Unified online conversation application and platform
US20110302249A1 (en) * 2010-06-02 2011-12-08 Research In Motion Limited Method for assisted message generation
US8364716B2 (en) * 2010-12-17 2013-01-29 Netapp, Inc. Methods and apparatus for incrementally computing similarity of data sources
US20120221571A1 (en) * 2011-02-28 2012-08-30 Hilarie Orman Efficient presentation of comupter object names based on attribute clustering
US9552334B1 (en) * 2011-05-10 2017-01-24 Myplanit Inc. Geotemporal web and mobile service system and methods
US8662484B2 (en) * 2011-07-11 2014-03-04 Michael Valois Linear flexure bearing
WO2013006979A1 (en) * 2011-07-13 2013-01-17 Han Yui Group-based social interaction using location-aware mobile devices
US8688793B2 (en) * 2011-11-08 2014-04-01 Blackberry Limited System and method for insertion of addresses in electronic messages
US10147145B2 (en) * 2011-11-25 2018-12-04 Microsoft Technology Licensing, Llc Integrating an application into operating system components of a mobile computing platform
US8811588B2 (en) * 2011-12-20 2014-08-19 Motorola Mobility Llc Method and system for managing multiple simultaneously placed calls
US8886734B2 (en) * 2012-02-03 2014-11-11 Apple Inc. Email mailbox management with sender-specific message lists
US20130268603A1 (en) * 2012-04-10 2013-10-10 Majed Saeed M. ALDOSARI Systems and methods of communicating in a networking environment
US9513950B2 (en) * 2012-07-25 2016-12-06 Vmware, Inc. Dynamic resource configuration based on context

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035891A (zh) * 2010-12-17 2011-04-27 百度在线网络技术(北京)有限公司 一种网络交友平台中推荐好友的方法和装置
CN102724168A (zh) * 2011-03-30 2012-10-10 腾讯科技(深圳)有限公司 一种推送用户信息的方法及装置
CN102360376A (zh) * 2011-10-12 2012-02-22 段卫东 获取与好友共同相识朋友圈子的方法和操作界面装置
CN102724140A (zh) * 2012-06-28 2012-10-10 奇智软件(北京)有限公司 即时通信好友添加方法及装置
CN102724139A (zh) * 2012-06-28 2012-10-10 奇智软件(北京)有限公司 即时通信好友推荐方法及装置

Also Published As

Publication number Publication date
US10541963B2 (en) 2020-01-21
US20150215264A1 (en) 2015-07-30
CN103731335B (zh) 2017-10-24
CN103731335A (zh) 2014-04-16

Similar Documents

Publication Publication Date Title
WO2020135186A1 (zh) 在线文档的共享方法、装置、电子设备和存储介质
WO2015127722A1 (zh) 一种基于云平台同步联系人的方法及系统
WO2018010269A1 (zh) 一种消息处理的方法及装置
CN110300165B (zh) 一种功能程序的调用方法、装置、设备及存储介质
WO2015133859A1 (en) Method and system for establishing a connection between a seeker device and a target device
CN111368519A (zh) 一种线上表格的编辑方法、装置、设备和存储介质
WO2014142610A1 (en) Terminal and method for synchronizing application thereof
WO2014056385A1 (zh) 共同消息发送方法、电子设备及存储介质
WO2017219534A1 (zh) 一种应用程序的处理方法及系统
CN113596328B (zh) 摄像头调用方法、装置和电子设备
CN112418389A (zh) 数据处理方法、装置、电子设备及计算机可读存储介质
WO2018082177A1 (zh) 一种基于即时通信应用的数据同步方法及装置
US20210182123A1 (en) System and method for constructing filter graph-based media processing pipelines in a browser
CN111131741B (zh) 多方视频通话方法、电子设备、装置及计算机可读存储介质
CN110048865B (zh) 一种总线数据传输方法、装置、电子设备及存储介质
WO2018218805A1 (zh) 终端响铃提示方法及系统
WO2014044121A1 (zh) 数据读取方法、电子设备及存储介质
CN115658655A (zh) 信息处理方法、装置、电子设备和存储介质
EP2982156A1 (en) Context recognition and social profiling using mobile devices
CN114566173A (zh) 一种音频混音方法、装置、设备及存储介质
WO2018223550A1 (zh) 终端闹钟的设置方法及系统
CN113055350B (zh) 数据传输方法、装置、设备及可读存储介质
WO2022080706A1 (ko) 통신 네트워크 시스템 및 그것의 제어방법
CN111581930A (zh) 在线表格数据处理方法、装置、电子设备和可读介质
WO2018170889A1 (zh) 即时通信的好友分组方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13844897

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31/08/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13844897

Country of ref document: EP

Kind code of ref document: A1