CN111028091A - Social-based topic processing method, device, equipment and storage medium - Google Patents

Social-based topic processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111028091A
CN111028091A CN201911221357.1A CN201911221357A CN111028091A CN 111028091 A CN111028091 A CN 111028091A CN 201911221357 A CN201911221357 A CN 201911221357A CN 111028091 A CN111028091 A CN 111028091A
Authority
CN
China
Prior art keywords
social
account
topic
voting
social relationship
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.)
Granted
Application number
CN201911221357.1A
Other languages
Chinese (zh)
Other versions
CN111028091B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911221357.1A priority Critical patent/CN111028091B/en
Publication of CN111028091A publication Critical patent/CN111028091A/en
Application granted granted Critical
Publication of CN111028091B publication Critical patent/CN111028091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a social-based topic processing method, a social-based topic processing device, social-based topic processing equipment and a social-based topic processing storage medium; the method comprises the following steps: presenting topics expressing viewpoints through voting operation in a page of a client; in response to a voting operation of a social account for the topic, sending the opinion of the social account expressed by the voting operation to a social network; acquiring a social relation account which is subjected to voting operation on the topic and viewpoints which are expressed by the social relation account on the topic through corresponding voting operation, and displaying each viewpoint on the topic and the corresponding social relation account which is subjected to voting operation in a page of the client; wherein the social relationship account has a social relationship with the social account in the social network. By the method and the device, the target user can know the opinions of other users who have social relations with the target user about the topic.

Description

Social-based topic processing method, device, equipment and storage medium
Technical Field
The present invention relates to data processing technologies, and in particular, to a social-based topic processing method and apparatus, an electronic device, and a storage medium.
Background
With the development of computer technology, scenes in which topics need to be shown often appear in Application programs (apps) of electronic devices to help users better understand hot topics in life, for example, reading the topics that can be shown recently in apps, such as hot entertainment events, economic events, and the like.
In order to understand the user's view of a topic, the topic shown in App can be voted to express the user's view of the topic.
However, in this way, the target user cannot know the viewpoint of the topic of another user, or only the viewpoint of a user who votes for the topic, and cannot know the viewpoint of the topic of another user who has a social relationship with the target user.
Disclosure of Invention
Embodiments of the present invention provide a social-based topic processing method and apparatus, an electronic device, and a storage medium, which enable a target user to know the view of other users having social relationships with the target user on a topic.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a social contact-based topic processing method, which comprises the following steps:
presenting topics expressing viewpoints through voting operation in a page of a client;
in response to a voting operation of a social account for the topic, sending the opinion of the social account expressed by the voting operation to a social network;
acquiring a social relation account voting for the topic and a viewpoint expressed by the social relation account aiming at the topic through corresponding voting operation, and obtaining
Displaying each viewpoint of the topic and the corresponding social relationship account subjected to voting operation in a page of the client;
wherein the social relationship account has a social relationship with the social account in the social network.
In the above technical solution, the method further includes:
storing the viewpoint expressed by the social account through the voting operation into a data table corresponding to the social account;
storing the viewpoint into a data table corresponding to the social relationship account in a write diffusion mode;
the data table is used for obtaining, according to the topic, a social relationship account voted for the topic through one query operation on the data table, and a viewpoint expressed by the social relationship account for the topic through a corresponding voting operation.
The embodiment of the invention provides a social-based topic processing device, which comprises:
the presentation module is used for presenting topics expressing viewpoints through voting operation in a page of the client;
the sending module is used for responding to the voting operation of the social account number for the topic, and sending the opinion expressed by the voting operation of the social account number to a social network;
a processing module, configured to acquire a social relationship account that has performed a voting operation on the topic and a view that the social relationship account expresses on the topic through a corresponding voting operation, and
displaying each viewpoint of the topic and the corresponding social relationship account subjected to voting operation in a page of the client;
wherein the social relationship account has a social relationship with the social account in the social network.
In the above technical solution, the presentation module is further configured to present, in response to an operation of viewing friend attention content of the social account, content included in a hot topic of a friend attention page of the client, and present, in the hot topic, content included in the topic
At least two perspectives on the topic expressed by the voting operation are presented.
In the above technical solution, the sending module is further configured to send the opinion expressed by the social account to a social network logged in by the social account, where the social network includes social relationship accounts participating in the topic interaction, so that the social network may be used to enable the topic interaction to be performed
And the client receiving the opinions displays corresponding notification messages in a social dynamic page, and displays the opinions expressed by the social account numbers for the topics in response to the viewing operation of the notification messages.
In the above technical solution, the apparatus further includes:
the first storage module is used for storing the viewpoints expressed by the social account through the voting operation into a data table corresponding to the social account;
storing the viewpoint into a data table corresponding to the social relationship account in a write diffusion mode;
the data table is used for obtaining, according to the topic, a social relationship account voted for the topic through one query operation on the data table, and a viewpoint expressed by the social relationship account for the topic through a corresponding voting operation.
In the above technical solution, the apparatus further includes:
the second storage module is used for storing the viewpoints expressed by the social account through the voting operation into a data table and an index table of the social account;
storing the viewpoint into an index table corresponding to the social relationship account in a write diffusion mode;
wherein the data table includes at least one of the following information distinguished from the index table: the operation identifier of the voting operation corresponding to the social account, the voting sequence number of the voting operation corresponding to the social account for the topic, the time of the voting operation, the repeated voting identifier and the voting cancellation operation identifier;
the index table is used for obtaining, according to the topic, a social relationship account voted for the topic through one query operation on the index table, and a viewpoint expressed by the social relationship account for the topic through a corresponding voting operation.
In the above technical solution, the apparatus further includes:
a first display module to display a topic notification indicating that there is a social relationship account participating in the topic vote;
and the topic notification is used for triggering to display the viewpoint of the social relationship account participating in the topic voting, which is directed to the topic, and the social relationship account on which the voting operation is correspondingly performed in a page of the client when a triggering operation is received.
In the above technical solution, the processing module is further configured to display viewpoints involved in the voting operation of the social relationship accounts in a page of the client, and display the number and/or proportion of the social relationship accounts in which the voting operation is performed for each of the viewpoints involved.
In the above technical solution, the processing module is further configured to display, in a page of the client, a viewpoint related to a voting operation of the social relationship account;
and displaying part or all of the identifications of the social relationship accounts voting for each involved viewpoint on a page of the client.
In the above technical solution, the processing module is further configured to determine time for voting by the social relationship account, sort the time in an ascending order, and display an identifier of the corresponding social relationship account according to a result of sorting the time; or,
determining the intimacy of the social relationship account and the social relationship account, sequencing the intimacy in a descending order, and displaying the corresponding identification of the social relationship account according to the sequencing result of the intimacy.
In the foregoing technical solution, the processing module is further configured to determine the number of social relationship accounts that perform a voting operation for each involved viewpoint, and when the number is greater than a threshold, identify, in a page display portion of the client, the social relationship account that performs a voting operation for each involved viewpoint.
In the above technical solution, the apparatus further includes:
a first response module, configured to present, in a form of a list, an identifier of a social relationship account having a same view as the target social relationship account for the topic in response to a click operation for the identifier of the target social relationship account,
and displaying a user information display page of the corresponding social relation account when the identifier of the social relation account displayed through the list receives the trigger operation.
In the above technical solution, the apparatus further includes:
a second response module, configured to, in response to a click operation for an identifier of a social relationship account presented through the list, present a user information display page of a target social relationship account corresponding to the click operation;
and the user information display interface is used for presenting a session interface corresponding to the target social relationship account when receiving the triggering operation.
In the above technical solution, the processing module is further configured to display each viewpoint for the topic in a static effect in a page of the client, and display a corresponding social relationship account on which a voting operation is performed in an animation effect;
the device further comprises:
and the second display module is used for displaying the non-social relationship account numbers which are voted for each viewpoint of the topic in a static effect in the page of the client.
The embodiment of the invention provides a social-based topic processing device, which comprises:
a memory for storing executable instructions;
and the processor is used for realizing the social-based topic processing method provided by the embodiment of the invention when the executable instructions stored in the memory are executed.
The embodiment of the invention provides a storage medium, which stores executable instructions and is used for causing a processor to execute the executable instructions so as to realize the social-based topic processing method provided by the embodiment of the invention.
The embodiment of the invention has the following beneficial effects:
the topic is voted through the social account, and the opinion expressed by the social account through the voting operation is sent to the social network, so that the social network has the opinions expressed by all the social accounts through the voting operation, and the social relationship account voted for the topic and the opinion expressed by the social relationship account through the corresponding voting operation are obtained through the social network, so that a target user corresponding to the social account knows the opinions of other users having social relationships with the target user to the topic, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of an application scenario of a social-based topic processing system 10 provided by an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a social-based topic processing device provided by an embodiment of the invention;
3A-3D are schematic flow diagrams of a social-based topic processing method provided by an embodiment of the invention;
FIG. 4 is a diagram illustrating a user issuing a vote, according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a user querying friend voting information according to an embodiment of the present invention;
fig. 6-15 are schematic diagrams of pages in the voting process provided by the embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the description that follows, references to the terms "first", "second", and the like, are intended only to distinguish similar objects and not to indicate a particular ordering for the objects, it being understood that "first", "second", and the like may be interchanged under certain circumstances or sequences of events to enable embodiments of the invention described herein to be practiced in other than the order illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) Social account numbers: accounts in a social network, such as accounts in instant messaging, WeChat accounts, QQ accounts, and the like.
2) Social relationships: in a social network, the social accounts have associated relationships therebetween, e.g., the social relationships may be two-way relationships (e.g., a friend relationship, i.e., social account 1 and social account 2 are interested in each other), may be one-way relationships (e.g., a one-way interest relationship (e.g., social account 1 is interested in social account 2, single social account 2 is not interested in social account 1), a subscription relationship (e.g., social account 1 subscribes to merchandise information of social account 2)). The social relationship account refers to an account having a social relationship with a social account in a social network, for example, if friend accounts of the social account 1 are the social account 2 and the social account 3, the social account 2 and the social account 3 are social relationship accounts of the social account 1.
3) Voting: the user selects multiple views of a topic in APP, for example, topic 1 has 3 views, and the user can select the 3 views, either alternatively or in multiple ways.
4) The viewpoint is as follows: there may be multiple opinions or feelings of possession (positive, negative, neutral, etc.) for a topic, i.e., a point of view, e.g., "do AA support? ", there may be two opposing views, namely" yes "or" both ", for the topic" whether XX stars are supported? There may be three opposing views, namely "very liked", "neutral", or "disliked".
Embodiments of the present invention provide a social-based topic processing method and apparatus, an electronic device, and a storage medium, which enable a target user to know the views of other users having social relationships with the target user on topics. An exemplary application of the social-based topic processing device provided by the embodiment of the present invention is described below, and the social-based topic processing device provided by the embodiment of the present invention can be implemented as various types of user terminals such as a notebook computer, a tablet computer, a desktop computer, a mobile device (e.g., a mobile phone, a personal digital assistant, a portable game device), and the like, and can also be implemented as a server. In the following, an exemplary application will be explained when the device is implemented as a terminal.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a social-based topic processing system 10 provided by an embodiment of the present invention, where a terminal 200 (exemplary shown are a terminal 200-1 and a terminal 200-2) is connected to a server 100 through a network 300, and the network 300 may be a wide area network or a local area network, or a combination of the two. The terminal 200 is used for receiving topics expressed by the server through voting operation and presenting the topics in a page 210 (an exemplary client interface 210-1 and a graphic interface 210-2 are shown) of the client; responding to the voting operation of the social account for the topic, sending the opinion expressed by the social account through the voting operation to the social network, inquiring the social relation account which is voted for the topic and the opinion expressed by the social relation account for the topic through the corresponding voting operation, and displaying each opinion for the topic and the corresponding social relation account which is voted for the topic in a page of the client. The server 100 is used to transmit topics expressing viewpoints by voting operations.
An exemplary structure of a social-based topic processing device implementing the embodiment of the present invention is described below, where the social-based topic processing device may be various terminals, such as a mobile phone, a computer, and the like, and may also be a server.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a social-based topic processing apparatus provided by an embodiment of the present invention, and the social-based topic processing apparatus shown in fig. 2 includes: at least one processor 510, memory 550, at least one network interface 520, and a user interface 530. The various components in the social-based topic processing device 500 are coupled together by a bus system 540. It is understood that the bus system 540 is used to enable communications among the components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 540 in fig. 2.
The Processor 510 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 530 includes one or more output devices 531 enabling presentation of media content, including one or more speakers and/or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may comprise volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The non-volatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 550 described in connection with embodiments of the invention is intended to comprise any suitable type of memory. Memory 550 optionally includes one or more storage devices physically located remote from processor 510.
In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a network communication module 552 for communicating to other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a display module 553 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
an input processing module 554 to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
In some embodiments, the social-based topic processing apparatus provided by the embodiments of the present invention may be implemented by combining software and hardware, and by way of example, the social-based topic processing apparatus provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the social-based topic processing method provided by the embodiments of the present invention, for example, the processor in the form of the hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
In other embodiments, the social-based topic processing apparatus provided in the embodiment of the present invention may be implemented in software, and fig. 2 illustrates the social-based topic processing apparatus 555 stored in the memory 550, which may be software in the form of programs and plug-ins, and includes a series of modules, including a presentation module 5551, a transmission module 5552, a processing module 5553, a first storage module 5554, a second storage module 5555, a first display module 5556, a first response module 5557, a second response module 5558, and a second display module 5559; the presenting module 5551, the sending module 5552, the processing module 5553, the first storage module 5554, the second storage module 5555, the first display module 5556, the first response module 5557, the second response module 5558, and the second display module 5559 are used to implement the social-based topic processing method provided by the embodiment of the invention.
The social-based topic processing method provided by the embodiment of the invention is described below with reference to an exemplary application and implementation of the terminal provided by the embodiment of the invention. Referring to fig. 3A, fig. 3A is a schematic flowchart of a social topic processing method according to an embodiment of the present invention, and is described with reference to the steps shown in fig. 3A.
In step 101, a topic that expresses a point of view by a voting operation is presented in a page of a client.
The terminal can be provided with a social client, such as WeChat, QQ and the like, and can receive topics comprising various materials sent by the server and present the topics on the page of the client. The material is diversified, for example, the material may be a social hotspot event, economy, education, entertainment and the like, and the material may be presented in various forms, such as video, audio, pictures, texts and the like, the user may express his own view of a topic by voting on the topic, such as the topic "whether you like AA stars", and when the client presents the topic, the material about AA stars may be attached, such as a picture about AA stars may be presented, or a video introducing the AA stars may be presented.
In some embodiments, the topic of presentation of the perspective is expressed in the page of the client by a voting operation, including: in response to an operation of viewing friend attention content of a social account, content included in a topic is presented in a hot topic of a friend attention page of a client, and at least two viewpoints of the topic expressed by a voting operation are presented.
After a user logs in a client through a social account, the user can view friend dynamics of the social account through a page of the client, present content included in a received topic which expresses a viewpoint through voting operation in the social dynamic page of the client, present two or more candidate viewpoints which are expressed through the voting operation and are aimed at the topic for the user to select, for example, after the user logs in a certain social client, the user can view friend dynamics of the user by clicking a 'view' button of the social client, present content included in the topic in the social dynamic page of the client, and present two or more candidate viewpoints which are expressed through the voting operation and are aimed at the topic.
The client may receive a topic issued by the server and different candidate viewpoints corresponding to the topic (for example, the viewpoints may be different emotions held for the topic and include positive, negative, and neutral), and when a user views the dynamics of a social relationship user (for example, a friend) according to a social account, the client presents content included in the topic and two or more candidate viewpoints for the topic expressed through a voting operation in a client page, so that the user performs a corresponding voting operation according to the emotion held by the user.
The client can also receive topics issued by the server, when a user views the dynamic state of a social relationship user (such as a friend) according to the social account, the client presents the content of the topics and an editing window expressing viewpoints in a client page to receive viewpoints expressed by the user, and submits the viewpoints expressed by the user to the server, after the server receives the viewpoints edited by the user and aimed at the topics, the server can perform sentiment classification on the edited viewpoints through an artificial intelligence model, so that the viewpoints of the user and aimed at the topics are determined, namely the viewpoints expressed by the social account through voting operation are determined according to the artificial intelligence model.
In step 102, in response to a voting operation of the social account for the topic, the social account is sent to the social network from a perspective expressed by the voting operation.
After the user votes for the topic according to the social account logged in the client, the client may send the perspective expressed by the social account through the voting operation to the social network, and count the perspective expressed by each social account through the voting operation through the social network, so that each perspective for the topic and the corresponding social relationship account subjected to the voting operation are displayed in a page of the client in the following.
In some embodiments, sending the perspective of the social account expressed by the voting operation to the social network comprises: and sending the viewpoint expressed by the social account into a social network logged in by the social account, wherein the social network comprises social relation accounts participating in topic interaction, so that a client receiving the viewpoint displays a corresponding notification message in a social dynamic page, and responding to a viewing operation for the notification message, and displaying the viewpoint expressed by the social account for the topic.
After a user votes for a topic according to a social account logged in by the client, the client can send a view expressed by the social account through a voting operation to a social network, and the social network comprises the social relationship account participating in topic interaction, so that the view expressed by the social account can be sent to the client logged in the social relationship account participating in topic interaction, so that the client receiving the view can record the view expressed by the social account and display a corresponding notification message in a social dynamic page, and after a friend of the user views the notification message, the view expressed by the social account for the topic can be displayed on the page of the client receiving the view. The social relationship account participating in the topic interaction may be an account participating in topic praise, message, vote and other interactions and having a social relationship with the social relationship account.
Because the user can also cancel the vote after voting for the topic according to the social account logged in by the client, when the user does not cancel the vote for the topic according to the social account logged in by the client within a set time period, the view expressed by the social account is sent to the social network logged in by the social account.
In some embodiments, the method further comprises: storing the viewpoint expressed by the social account through voting operation into a data table corresponding to the social account; and storing the viewpoint in a data table corresponding to the social relationship account in a write diffusion mode.
The data table is used for obtaining the social relationship account numbers which are voted for the topics through one query operation of the data table according to the topics, and the viewpoints which are expressed by the social relationship account numbers for the topics through the corresponding voting operation.
After a user votes for a topic according to a social account logged in by the client, the client may store a viewpoint expressed by the social account through a voting operation in a data table corresponding to the social account, so that the viewpoint expressed by the social account through the voting operation is stored in the data table, and the viewpoint is stored in the data table corresponding to the social relationship account in a write-diffusion manner, so that the viewpoint expressed by the social account through the voting operation is also stored in the data table corresponding to the social relationship account. Therefore, after the social relationship account votes for the topic, the perspective expressed by the social relationship account through the voting operation is stored in the data table corresponding to the social relationship account, and the perspective is stored in the data table corresponding to the social relationship account (for example, a friend of a friend, that is, including the user himself) of the social relationship account in a write-diffusion manner, so that the data table corresponding to the social relationship account includes the perspective expressed by the social relationship account through the voting operation and the perspective expressed by the social relationship account through the voting operation, and then the query operation can be directly performed once according to the data table corresponding to the social relationship account, and the social relationship account subjected to the voting operation for the topic and the perspective expressed by the social relationship account through the corresponding voting operation can be obtained, and all accounts subjected to the voting operation for the topic can be avoided, the social relationship account numbers which are voted for the topics are obtained in a traversing mode, and therefore the calculation complexity is greatly reduced.
It should be noted that the data table may include an operation identifier of a voting operation corresponding to the social account, a voting sequence number of the voting operation corresponding to the social account for the topic, a time of the voting operation, a repeated voting identifier, and a cancellation voting operation identifier, { a social relationship account identifier, a voting sequence number of the corresponding voting operation for the topic, and a time of the voting operation }, and the like.
Referring to fig. 3B, fig. 3B is an alternative flow chart provided by the embodiment of the present invention, and in some embodiments, fig. 3B shows fig. 3A, which further includes step 105.
In step 105, storing the perspective expressed by the social account through the voting operation into a data table and an index table of the social account; storing the viewpoints into an index table corresponding to the social relationship account in a write diffusion mode;
wherein the data table includes at least one of the following information distinguished from the index table: the method comprises the steps that operation identification of voting operation corresponding to a social account, a voting sequence number of the voting operation corresponding to the social account aiming at a topic, time of the voting operation, repeated voting identification and voting cancellation operation identification are carried out; and the index table is used for obtaining the social relationship account numbers which are voted for the topics through one query operation of the index table according to the topics and the viewpoints which are expressed by the social relationship account numbers for the topics through the corresponding voting operation.
After a user votes for a topic according to a social account logged in by the client, the client may store a viewpoint expressed by the social account through a voting operation into a data table and an index table corresponding to the social account, where an operation identifier of the voting operation corresponding to the social account, a voting sequence number of the voting operation for the topic corresponding to the social account, a time of the voting operation, a repeat voting identifier, and a cancel voting operation identifier are stored in the data table, so that the viewpoint expressed by the social account through the voting operation is stored in the data table. The viewpoint expressed by the social account through the voting operation can be simplified, so that the viewpoint expressed by the social account through the voting operation includes an operation identifier of the voting operation corresponding to the social account, a voting sequence number of the voting operation corresponding to the social account for a topic, and time of the voting operation, the viewpoint expressed by the simplified social account through the voting operation is stored in an index table corresponding to the social account, the viewpoint is stored in a data table corresponding to the social relationship account in a write-diffusion manner, and the viewpoint expressed by the simplified social account through the voting operation is also stored in the data table corresponding to the social relationship account. Therefore, after the social relationship account votes for the topic, the perspective expressed by the social relationship account through the voting operation is stored in the data table corresponding to the social relationship account, and the simplified perspective is stored in the data table corresponding to the social relationship account (for example, the friend of the friend, that is, the friend includes the user) of the social relationship account in a write-diffusion manner, so that the data table corresponding to the social relationship account includes the perspective expressed by the social relationship account through the voting operation and the perspective expressed by the social relationship account through the voting operation, and then the query operation can be directly performed once according to the index table corresponding to the social relationship account, thereby obtaining the social relationship account subjected to the voting operation for the topic and the perspective expressed by the social relationship account for the topic through the corresponding voting operation, and avoiding the need of querying all accounts subjected to the voting operation for the topic, the social relationship account numbers which are voted for the topics are obtained in a traversing mode, and therefore the calculation complexity is greatly reduced. In addition, each social account is correspondingly provided with two tables which are respectively a data table and an index table, a detailed viewpoint of the social account expressed by voting operation is stored through the data table, and a simplified viewpoint of the social account expressed by voting operation is stored through the index table, so that the two tables can be inquired according to requirements in the subsequent inquiry process, and when the social relationship account subjected to voting operation on a topic and the viewpoint of the social relationship account expressed by the corresponding voting operation on the topic are inquired, quick inquiry can be carried out according to the index table of the social account; when the social account numbers which are voted for the topic and the viewpoints of the social account numbers expressed for the topic through the corresponding voting operation need to be inquired in detail, quick inquiry can be carried out according to the data table of the social account numbers.
It should be noted that the index table may include an operation identifier of a voting operation corresponding to the social account, a voting number of the voting operation corresponding to the social account for the topic, a time of the voting operation, { social relationship account identifier, a voting number of the corresponding voting operation for the topic, and a time of the voting operation }.
It should be noted that, after the user repeatedly votes for a topic according to the social account logged in at the client, the perspective expressed by the social account through the voting operation includes a repeated voting identifier, that is, the data table of the social account includes the repeated voting identifier; when a user votes for a topic according to a social account logged in a client, the user cancels the vote within a set time period, and a viewpoint expressed by the social account through the voting operation includes a cancellation voting operation identifier, that is, a data table of the social account includes the cancellation voting operation identifier.
In addition, the sending of the opinion expressed by the social account through the voting operation to the social network and the storing of the opinion expressed by the social account through the voting operation are two independent processes, and there is no obvious sequence.
In step 103, the social connection account which has performed the voting operation on the topic and the perspective of the social connection account expressed on the topic by the corresponding voting operation are acquired.
After a user votes for a topic according to a social account logged in a client, a social relationship account voted for the topic and a view expressed by the social relationship account for the topic through a corresponding voting operation can be obtained through one query operation on a data table according to the topic; alternatively, according to a topic, a social relationship account voted for the topic and a view expressed by the social relationship account for the topic through a corresponding voting operation can be obtained through one querying operation on the index table.
Wherein the social relationship account has a social relationship with the social account in the social network. The social relationship may be a two-way relationship (e.g., a friend relationship, i.e., social account 1 and social account 2 are interested in each other), and may be a one-way relationship (e.g., a one-way interest relationship (e.g., social account 1 is interested in social account 2, single social account 2 is not interested in social account 1), a subscription relationship (e.g., social account 1 subscribes to merchandise information of social account 2)).
In step 104, each viewpoint for the topic and the corresponding social relationship account on which the voting operation is performed are displayed on the page of the client.
After the client inquires the social relationship account which is voted for the topic and the viewpoints which are expressed by the social relationship account for the topic through the corresponding voting operation, each viewpoint for the topic and the corresponding social relationship account which is voted for the topic can be displayed in a page of the client, so that a user can know the viewpoint of the friend for the topic, and good communication with the friend can be realized subsequently.
In some embodiments, before displaying each corresponding viewpoint for the topic and the corresponding voting account in the page of the client, the method further comprises: displaying a topic notification indicating that there are social relationship accounts participating in the topic vote; and the topic notification is used for triggering the display of the view of the social relationship account participating in the topic voting for the topic and the social relationship account corresponding to the voting operation in the page of the client when the triggering operation is received.
After a user votes for a topic according to a social relationship account logged in at a client, and the social relationship account also participates in topic voting, a topic notification may be sent to the client logged in the social relationship account to indicate that there is a social relationship account participating in topic voting, and after the client logged in the social relationship account receives and displays the topic notification indicating that there is a social relationship account participating in topic voting, the user may click the topic notification, so that a view of the social relationship account participating in topic voting for the topic and the social relationship account on which a voting operation is correspondingly performed are displayed in a page of the client, so that the user can view the social relationship account participating in topic voting, and know the dynamics of the social relationship account.
Referring to fig. 3C, fig. 3C is an optional flowchart provided in an embodiment of the present invention, and in some embodiments, fig. 3C shows that step 104 in fig. 3A may be implemented by step 104A shown in fig. 3C.
In step 104A, viewpoints involved in the voting operation of the social relationship accounts are displayed in the page of the client, and the number and/or proportion of the social relationship accounts that are subjected to the voting operation for each involved viewpoint are displayed.
In order to facilitate the user to view the social relationship accounts voting for each referred viewpoint, the social relationship accounts voting for the topic and the viewpoints expressed by the social relationship accounts through the corresponding voting operation are inquired according to the data table or the index table of the social relationship accounts, and the number and/or the proportion of the social relationship accounts voting for each referred viewpoint are counted, so that the viewpoints referred to by the voting operation of the social relationship accounts are displayed on the page of the client, and the number and/or the proportion of the social relationship accounts voting for each referred viewpoint are displayed.
In some embodiments, displaying each view of a topic and a corresponding social relationship account on which a voting operation is performed in a page of a client includes: displaying viewpoints related to voting operation of the social relationship account in a page of the client; and displaying part or all of the identifications of the social relationship accounts voting for each involved viewpoint on a page of the client.
After a user votes for a topic according to a social account logged in a client, and inquires about a social relationship account voted for the topic and a viewpoint expressed by the social relationship account for the topic through a corresponding voting operation, a viewpoint related to the voting operation of the social relationship account and an identifier (such as an avatar/name) of the social relationship account voted for each related viewpoint may be displayed on a page of the client, so that a subsequent user may select to view the social relationship account participating in the voting operation as required.
In some embodiments, displaying, on a page of the client, partial or full identification of the social relationship accounts voting for each involved opinion includes: determining the time of voting operation of the social relationship accounts, sequencing the time in an ascending order, and displaying the corresponding identification of the social relationship accounts according to the sequencing result of the time; or determining the intimacy of the social relationship account and the social relationship account, sequencing the intimacy in a descending order, and displaying the corresponding identification of the social relationship account according to the sequencing result of the intimacy.
In order to better understand the viewpoint of different social relationship accounts on a topic, the time of voting operation performed by the social relationship accounts can be determined, the social relationship accounts with the voting time before the topic are arranged in the front by sequencing the time in an ascending order and displaying the identifier of the corresponding social relationship account according to the sequencing result of the time, that is, the social relationship account which firstly pays attention to the topic is arranged in the front, so that a user can conveniently understand the viewpoint of the social relationship account on the topic.
In order to better understand the view of different social relationship accounts on topics, the intimacy degree of the social relationship accounts and the social relationship accounts can be determined, the intimacy degree is sorted in a descending order, the corresponding identification of the social relationship accounts is displayed according to the sorting result of the intimacy degree, and the social relationship accounts which are closer to the social relationship accounts are arranged in front so that a user can conveniently understand the view of the social relationship accounts which are closer to the user on topics. The affinity may be determined according to the frequency of interaction between the social connection account and the social connection account, or the degree of attention of the social connection account to the social connection account, and the like, and the method of determining the degree of relationship between the social connection account and the social connection account may be used to determine the affinity between the social connection account and the social connection account.
In some embodiments, the identification of the social relationship accounts for which the page display portion of the client performs a voting operation for each involved opinion includes: and determining the number of the social relationship accounts voting for each involved viewpoint, and when the number is larger than a threshold value, identifying the social relationship accounts voting for each involved viewpoint in a page display part of the client.
The number of social relationship accounts voting for each involved viewpoint may be determined in view of the limited display area of the page of the client, and when the number is greater than a threshold value (exceeding the maximum number that can be displayed in the display area), the identification of the social relationship accounts voting for each involved viewpoint is performed in the page display portion of the client. For example, when the number is greater than N, N identifiers of the social relationship accounts for which voting operation is performed for each involved viewpoint are displayed on a page of the client, that is, the time for voting operation by the social relationship accounts can be determined, the times are sorted in an ascending order, and the identifiers of the top N corresponding social relationship accounts are displayed according to a sorting result of the times; or determining the intimacy of the social relationship account numbers and the social relationship account numbers, sequencing the intimacy in a descending order, and displaying the identifications of the top N corresponding social relationship account numbers according to the sequencing result of the intimacy.
In addition, while the page display part of the client displays the identification of the social relationship account performing the voting operation for each referred viewpoint, a "view more" button may be displayed on the page of the client, and when the user needs to view all the social relationship accounts performing the voting operation, the user may click the "view more" button, that is, all the identifications of the social relationship accounts performing the voting operation for each referred viewpoint may be displayed on the page of the client.
In some embodiments, after the page of the client displays the identification of the social relationship accounts that are partially or wholly voting for each involved opinion, the method further comprises: and in response to the click operation of the identification of the target social relationship account, presenting the identification of the social relationship account with the same view of the target social relationship account on the topic in the form of a list.
After a page of the client displays part or all of the identifications of the social relationship accounts voting for each related viewpoint, a user can click the identification of any one of the social relationship accounts displayed on the page of the client at will, wherein the clicked social relationship account is a target social relationship account, and the client responds to the click operation of the identification of the target social relationship account and presents the identification of the social relationship account with the same viewpoint as the target social relationship account for a topic in a list form.
In some embodiments, the method further comprises: in response to a click operation on the identification of the social relationship account presented through the list, presenting a user information presentation page of a target social relationship account corresponding to the click operation; and the user information display interface is used for presenting a session interface corresponding to the target social relationship account when the triggering operation is received.
After the client responds to the click operation of the identification of the target social relationship account, the identification of the social relationship account with the same view point as the target social relationship account on the topic is presented in a list form, when a user needs to check any user information display page of the social relationship account with the same view point as the target social relationship account on the topic, or needs to interact with a certain social relationship account with the same view point as the target social relationship account on the topic, the user can click the identification of the social relationship account, and the client responds to the trigger operation of the identification of the social relationship account presented through the list to present the user information display page of the corresponding social relationship account.
Referring to fig. 3D, fig. 3D is an optional flowchart provided in an embodiment of the present invention, and in some embodiments, fig. 3D shows that step 104 in fig. 3A may be implemented by step 104B shown in fig. 3D, which further includes step 106.
In step 104B, each viewpoint for the topic is displayed in a static effect in the page of the client, and the corresponding social relationship account on which the voting operation is performed is displayed in an animation effect.
In step 106, the non-social relationship accounts which have been voted for each view of the topic are displayed in a static effect in the page of the client.
In order to enable a user to clearly know the social relationship account voting on the topic, each viewpoint for the topic can be displayed in a static effect in a page of the client, the social relationship account corresponding to the voting operation is displayed in an animation effect, and the social relationship account corresponding to the voting operation is highlighted in the animation effect, so that the user can clearly know the social relationship account voting on the topic.
In order to enable the user to know the non-social relationship account voting for the topic, so that the user can know the non-social relationship account voting for the interest of the user according to the topic voting, the user can be subsequently associated with the non-social relationship account. Therefore, part of the non-social relationship accounts can be determined, and the non-social relationship accounts which are voted for each view of the topic are displayed in a static effect in a page of the client.
With reference to the exemplary application and implementation of the terminal provided by the embodiment of the present invention, the social-based topic processing method provided by the embodiment of the present invention is described, and a scheme for implementing social-based topic processing by matching modules in the social-based topic processing device 555 provided by the embodiment of the present invention is continuously described below.
A presentation module 5551 for presenting topics expressing viewpoints by voting operations in a page of the client;
a sending module 5552, configured to send, in response to a voting operation of a social account for the topic, a perspective of the social account expressed by the voting operation to a social network;
the processing module 5553 is configured to acquire the social relationship account voted for the topic and viewpoints expressed by the social relationship account through corresponding voting operations, and display each viewpoint of the topic and the corresponding social relationship account voted for the topic in a page of the client;
wherein the social relationship account has a social relationship with the social account in the social network.
In some embodiments, the presenting module 5551 is further configured to present, in response to an operation of viewing friend attention content of the social account, content included in a hot topic of a friend attention page of the client, and present at least two perspectives on the topic expressed by a voting operation.
In some embodiments, the sending module 5552 is further configured to send the opinion expressed by the social account to a social network logged in with the social account, the social network including social relationship accounts participating in the topic interaction, so that a client receiving the opinion displays a corresponding notification message in a social dynamic page, and displays the opinion expressed by the social account for the topic in response to a viewing operation for the notification message.
In some embodiments, the social based topic processing device 555 further comprises:
the first storage module 5554 is configured to store the perspective expressed by the social account through the voting operation into a data table corresponding to the social account; storing the viewpoint into a data table corresponding to the social relationship account in a write diffusion mode; the data table is used for obtaining, according to the topic, a social relationship account voted for the topic through one query operation on the data table, and a viewpoint expressed by the social relationship account for the topic through a corresponding voting operation.
In some embodiments, the social based topic processing device 555 further comprises:
a second storage module 5555, configured to store the perspective expressed by the social account through the voting operation into a data table and an index table of the social account; storing the viewpoint into an index table corresponding to the social relationship account in a write diffusion mode; wherein the data table includes at least one of the following information distinguished from the index table: the operation identifier of the voting operation corresponding to the social account, the voting sequence number of the voting operation corresponding to the social account for the topic, the time of the voting operation, the repeated voting identifier and the voting cancellation operation identifier; the index table is used for obtaining, according to the topic, a social relationship account voted for the topic through one query operation on the index table, and a viewpoint expressed by the social relationship account for the topic through a corresponding voting operation.
In some embodiments, the social based topic processing device 555 further comprises:
a first display module 5556, configured to display a topic notification indicating that there is a social relationship account participating in the topic vote; and the topic notification is used for triggering to display the viewpoint of the social relationship account participating in the topic voting, which is directed to the topic, and the social relationship account on which the voting operation is correspondingly performed in a page of the client when a triggering operation is received.
In some embodiments, the processing module 5553 is further configured to display viewpoints involved in the voting operation of the social relationship accounts in a page of the client, and display the number and/or proportion of the social relationship accounts involved in the voting operation for each viewpoint.
In some embodiments, the processing module 5553 is further configured to display, in a page of the client, viewpoints involved in the voting operation of the social relationship account; and displaying part or all of the identifications of the social relationship accounts voting for each involved viewpoint on a page of the client.
In some embodiments, the processing module 5553 is further configured to determine a time for the voting operation of the social connection account, sort the time in an ascending order, and display an identifier of the corresponding social connection account according to a result of the sorting of the time; or determining the intimacy of the social relationship account and the social relationship account, sorting the intimacy in a descending order, and displaying the corresponding social relationship account identification according to the sorting result of the intimacy.
In some embodiments, the processing module 5553 is further configured to determine the number of social relationship accounts voting for each involved viewpoint, and when the number is greater than a threshold, identify the social relationship accounts voting for each involved viewpoint in the page display portion of the client.
In some embodiments, the social based topic processing device 555 further comprises:
the first response module 5557 is configured to, in response to a click operation on an identifier of a target social relationship account, present, in a form of a list, an identifier of a social relationship account having a same viewpoint as the target social relationship account with respect to the topic, so that when the identifier of the social relationship account presented through the list receives a trigger operation, a user information display page of the corresponding social relationship account is presented.
In some embodiments, the social based topic processing device 555 further comprises:
a second response module 5558, configured to, in response to a click operation on an identifier of a social relationship account presented through the list, present a user information presentation page of a target social relationship account corresponding to the click operation;
the user information display interface is used for presenting a session interface corresponding to the target social relationship account when receiving a trigger operation
In some embodiments, the processing module 5553 is further configured to display each viewpoint for the topic in a static effect in a page of the client, and display a corresponding social relationship account on which a voting operation is performed in an animation effect;
the social based topic processing device 555 further includes:
a second display module 5559, configured to display, in a static effect, the non-social relationship account voted for each viewpoint of the topic in the page of the client.
Embodiments of the present invention provide a storage medium having stored therein executable instructions that, when executed by a processor, will cause the processor to perform a social based topic processing method provided by embodiments of the present invention, for example, the social based topic processing method as shown in fig. 3A-3D.
In some embodiments, the storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EE PROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, may be stored in a portion of a file that holds other programs or data, e.g., in one or more scripts in a HyperText markup Language (H TML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
In the following, an exemplary application of the embodiments of the present invention in a practical application scenario will be described.
The embodiment of the invention is mainly a new interaction form of the first-degree (the first-degree represents the friends of the user and the second-degree represents the friends of the user) social relationship based on the social client. Within the one-at-one-view-friend-at-view scenario of a social client, a user may communicate through content as a social medium. In addition to the traditional interaction types (praise, comment and the like), in order to reduce the interaction threshold of the user, a voting function expressing attitude or viewpoint can be formed on the basis of the hot topics (content media which are concentrated in user attention and are easier to express), and the user can perform voting interaction in a one-degree social relationship and check the formal situation and opinion tendency of friend integrity in a certain topic.
In the related art, a global counter is maintained for each option (viewpoint) of voting. When the user selects the option to vote, an operation is added to the designated counter, that is, voting is performed through the global view angle topic (the object of voting statistics is full-network data, and the voting result of the full network is displayed), and the voting result cannot be checked under the friend view angle. For example, the user wants to know the proportion of the user's friends that participated in the vote and which options were cast separately. If the voting is carried out through the global perspective topic, the friend relationship chain of the user needs to be filtered by using global voting information (whole network data) when the voting result is inquired each time, so that the data belonging to the friends of the user is obtained, and then the data of the friends of the user is displayed. By the global perspective topic voting, the method realizes high complexity and low efficiency of friend voting checking. The prior art has the defects of high technical cost and low execution efficiency. For example, assume that a topic vote has 100 million people participating, with 50 million people selecting option A and another 50 million people selecting option B. For the User1, who has three friends (User2, User3, User4), when the User1 wants to check the voting information of the friends, it needs to go through 100 thousands of persons' voting information (voter information) and determine whether each person is a friend of the User (one of User2, User3, User4), so as to filter out the voting information of the friends. Assuming that the total number of votes is N and the number of friends of the user is M, the temporal complexity of the global perspective topic vote is o (N) (i.e., the complexity depends on the size of the users participating in the vote). The scheme of the invention can realize the time complexity of O (1) through a write diffusion scheme, thereby solving the problem of high voting complexity of global visual angle topics. If the upper bound of the time complexity is independent of the input size for an algorithm, it is said to have a constant time, denoted as O (1), e.g., accessing a single element in an array, since accessing an element requires only one instruction, i.e., the time complexity is O (1). However, if the smallest element is to be found in an unordered array, the time complexity is O (N) because it is a linear time operation that needs to traverse all elements to find the smallest value.
In order to view the voting result under the friend view, the embodiment of the present invention may maintain an index table (index table) and a data table (info table) for each User, and when the User1 publishes the vote on the client, the voting information of the User1 may be written into its info _1 table, and then the voting information is simplified and then written into the index _ i tables of all the friends of the User, and at the same time, the User's own index _1 table may also be diffused. When a friend User _ i of a User wants to check a voting result, the User can know which friends participate in the voting by inquiring the indexi table (the index _ i table records the friends participating in the same activity voting as the User), and when the User finally shows the voting result, the User respectively reads the info tables of the friends and obtains the voting result of the friends from the in fo table of the friends for final verification. The simplified voting information may include a voting friend identifier, a voting option identifier, and a voting operation time. Both the inde table and the info table can record voting information, and the difference is that the info table further requires identification of queued (prevent short-term simultaneous multiple votes) and seq identification (write sequence number of voting behavior in the background, i.e. voting sequence number), for example, the info table includes: uin (user identifier), topic identifier), create _ time (creation time of voting operation), update _ time (last update time), voteid (option identifier), requestid (anti-reentrant identifier), seq (serial number of voting operation), redo (repeat voting identifier), deleted (cancel voting identifier); the index table includes: uin (user identification), topic (option identification), { uin (friend identification), update e _ time (update time of friend voting operation), voteid (option identification) }, and the like.
If the volume of the saving table is not considered, only one data table can be maintained for each user, and when the user participates in the voting activity, the voting information of the user is recorded in the table and is diffused into the data tables of friends of the user. When any user inquires the voting activities participated by the friends, the voting information of the friends can be obtained only by inquiring the table of the corresponding user.
The technical scheme of the embodiment of the invention is divided into 2 parts: 1) the user issues a voting scheme; 2) and the user queries a friend voting information scheme. These two parts are described in detail below:
1) the user issues a voting scheme: as shown in fig. 4, fig. 4 is a schematic diagram of a user issuing a vote according to an embodiment of the present invention, where a user a sends a vote request (vote information including a view expressed through a vote operation) to an access layer of a background (social network) through a hypertext Transfer security (HTTPS) Protocol at a client, and after receiving the vote request, the access layer writes the vote information into a data table of the user a and an index table of friends at the same time. Suppose that user a has N friends, N pieces of voting data are written into the background at the same time to be stored in the index table of user a friend. Similarly, when the friend of the user a (taking the user B as an example) votes, the voting information corresponding to the user B is also written into the index tables of the user B and the friend of the user B (including the user a).
2) The scheme for inquiring friend voting information by the user is as follows: as shown in fig. 5, fig. 5 is a schematic diagram of a user querying voting information of friends according to an embodiment of the present invention, where a user a sends a voting query request to an access layer in a background through an HTTPS protocol at a client, and after receiving the voting query request, the access layer queries an index table of the user a, so as to obtain the voting information of the friends. Assuming that the user has N buddies, it only needs to query 1 time (i.e., query only the index table of user a).
The voting product in the embodiment of the invention can be edited based on hot topics, and new interaction of one-degree social relations can be realized according to distribution of the topics. The product form is shown as follows: 1) topic content generation: based on the background of the hot topic, realizing topic editing and voting; 2) topic content distribution: in the same application scene, topic votes are distributed to a first-degree relation through a social client; 3) topic content consumption: the users can check the representation of friends under a certain hot topic by participating in voting. For example, as shown in fig. 6, a voting interface is displayed on the page of the client, which may present the topic "do you next see the game of NBA", and the options "meeting" and "not"; the user may click any one of the two options in fig. 6, and when the user clicks the topic "do you next see the NBA game" to vote and clicks the option "meet", as shown in fig. 7, the number of friends and the avatar of the friend account that have performed voting operations on the two options of the topic respectively may be displayed in the page of the client; as shown in fig. 8, when the user does not want to vote on the topic "do you will see the NBA game next", the user can click the option "meeting" again, and cancel the vote; a user can click any one of the images of the friends displayed in the option "meeting" in fig. 7 at will, as shown in fig. 9, the client responds to the click operation and presents the head portrait of the friend of the option "meeting" in a list form; when the user clicks the image of any one of the friends in fig. 9, as shown in fig. 10, the client presents a user information presentation page of the corresponding friend on the page in response to the click operation of the friend image presented through the list; as shown in fig. 11, a voting interface is displayed on the page of the client, and the voting interface can present the topics "do you see the NBA game next", and a plurality of voting options 9 "[ climbers ]," [ chinese captain ], "[ my and my motherland ]," [ sub-tomorrow ] ") that the user can select a plurality of options in one vote; after the user votes successfully, a message notification can be sent to all the friends who have interacted (review, comment and vote), and when the user cancels the voting, the message notification is not sent; as shown in fig. 12, the user may also receive a message notification; when the user clicks the message notification in fig. 12, as shown in fig. 13, the client presents topics voted about the user in response to the click operation through the message notification, and presents corresponding friends on a page, for example, see nicknames (Jessica, bean, etc.) of the friends voted to "climber" in the message box; by clicking the topic in fig. 13, as shown in fig. 14, a specific topic voting interface can be displayed, and the head portrait of the friend (Jessica, bean, etc.) in fig. 13 is faded out for 2 seconds, so as to prompt the corresponding relationship between the user and the friend; the user can click on the image of any one of the friends displayed in the option "climber" in fig. 14 at will, and as shown in fig. 15, the client presents the head portrait of the friend in the option "climber" in the form of a list in response to the click operation.
The embodiment of the invention can greatly reduce the complexity of voting statistics under the friend viewing angle and support the real-time viewing of the friend voting information.
In summary, in the embodiments of the present invention, a topic is voted through a social account, and a view expressed by the social account through the voting operation is sent to a social network, so that the social network has views expressed by all social accounts through the voting operation, and a social relationship account subjected to the voting operation on the topic and a view expressed by the social relationship account on the topic through a corresponding voting operation are obtained through the social network, so that a target user corresponding to the social account knows the views of other users having a social relationship with the target user on the topic, and user experience is improved.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (15)

1. A social-based topic processing method, the method comprising:
presenting topics expressing viewpoints through voting operation in a page of a client;
in response to a voting operation of a social account for the topic, sending the opinion of the social account expressed by the voting operation to a social network;
acquiring a social relation account voting for the topic and a viewpoint expressed by the social relation account aiming at the topic through corresponding voting operation, and obtaining
Displaying each viewpoint of the topic and the corresponding social relationship account subjected to voting operation in a page of the client;
wherein the social relationship account has a social relationship with the social account in the social network.
2. The method of claim 1, wherein presenting the topic in the page of the client that expresses the point of view through a voting operation comprises:
in response to the operation of viewing the friend attention content of the social account, the content included in the topic is presented in the hot topic of the friend attention page of the client, and
at least two perspectives on the topic expressed by the voting operation are presented.
3. The method of claim 1, wherein sending the perspective of the social account number expressed by the voting operation to a social network comprises:
sending the expressed opinion of the social account into a social network logged in with the social account, the social network including social relationship accounts participating in the topic interaction, such that
And the client receiving the opinions displays corresponding notification messages in a social dynamic page, and displays the opinions expressed by the social account numbers for the topics in response to the viewing operation of the notification messages.
4. The method of claim 1, further comprising:
storing the viewpoints of the social account expressed by the voting operation into a data table and an index table of the social account;
storing the viewpoint into an index table corresponding to the social relationship account in a write diffusion mode;
wherein the data table includes at least one of the following information distinguished from the index table: the operation identifier of the voting operation corresponding to the social account, the voting sequence number of the voting operation corresponding to the social account for the topic, the time of the voting operation, the repeated voting identifier and the voting cancellation operation identifier;
the index table is used for obtaining, according to the topic, a social relationship account voted for the topic through one query operation on the index table, and a viewpoint expressed by the social relationship account for the topic through a corresponding voting operation.
5. The method of claim 1, wherein before displaying each corresponding viewpoint for the topic and the corresponding voting account number in the page of the client, the method further comprises:
displaying a topic notification indicating that there are social relationship accounts participating in the topic vote;
and the topic notification is used for triggering to display the viewpoint of the social relationship account participating in the topic voting, which is directed to the topic, and the social relationship account on which the voting operation is correspondingly performed in a page of the client when a triggering operation is received.
6. The method as claimed in claims 1-5, wherein the displaying each view of the topic and the corresponding social relationship account which has been voted for in the page of the client comprises:
and displaying viewpoints involved in the voting operation of the social relationship accounts in a page of the client, and displaying the number and/or proportion of the social relationship accounts which are subjected to the voting operation according to each involved viewpoint.
7. The method as claimed in claims 1-5, wherein the displaying each view of the topic and the corresponding social relationship account which has been voted for in the page of the client comprises:
displaying viewpoints related to voting operation of the social relationship account in a page of the client;
and displaying part or all of the identifications of the social relationship accounts voting for each involved viewpoint on a page of the client.
8. The method of claim 7, wherein displaying on the client's page some or all of the identifications of the social connection accounts voting for each of the involved perspectives comprises:
determining the time of voting operation of the social relationship accounts, sequencing the time in an ascending order, and displaying the corresponding identifications of the social relationship accounts according to the sequencing result of the time; or,
determining the intimacy of the social relationship account and the social relationship account, sequencing the intimacy in a descending order, and displaying the corresponding identification of the social relationship account according to the sequencing result of the intimacy.
9. The method of claim 7, wherein the identification of the social relationship accounts for which the page display portion of the client performs a voting operation for each involved opinion comprises:
and determining the number of the social relationship accounts voting for each involved viewpoint, and when the number is larger than a threshold value, identifying the social relationship accounts voting for each involved viewpoint in a page display part of the client.
10. The method of claim 7, wherein after the page of the client displays an identification of some or all of the social connection accounts voting for each of the involved perspectives, the method further comprises:
and responding to the clicking operation of the identification of the target social relationship account, and presenting the identification of the social relationship account with the same view of the target social relationship account for the topic in a form of a list.
11. The method of claim 10, further comprising:
responding to a click operation aiming at the identification of the social relationship account presented through the list, and presenting a user information display page of a target social relationship account corresponding to the click operation;
and the user information display interface is used for presenting a session interface corresponding to the target social relationship account when receiving the triggering operation.
12. The method of claim 1, wherein displaying each view of the topic and the corresponding voting account in the page of the client comprises:
displaying each viewpoint aiming at the topic in a static effect in a page of the client, and displaying a corresponding social relation account subjected to voting operation in an animation effect;
the method further comprises the following steps:
and displaying the non-social relation account voted for each viewpoint of the topic in a static effect in a page of the client.
13. A social based topic processing apparatus, the apparatus comprising:
the presentation module is used for presenting topics expressing viewpoints through voting operation in a page of the client;
the sending module is used for responding to the voting operation of the social account number for the topic, and sending the opinion expressed by the voting operation of the social account number to a social network;
a processing module, configured to acquire a social relationship account that has performed a voting operation on the topic and a view that the social relationship account expresses on the topic through a corresponding voting operation, and
displaying each viewpoint of the topic and the corresponding social relationship account subjected to voting operation in a page of the client;
wherein the social relationship account has a social relationship with the social account in the social network.
14. A social-based topic processing device, the device comprising:
a memory for storing executable instructions;
a processor for implementing the social based topic processing method of any one of claims 1 to 12 when executing executable instructions stored in the memory.
15. A storage medium having stored thereon executable instructions for causing a processor to, when executed, implement the social based topic processing method of any one of claims 1 to 12.
CN201911221357.1A 2019-12-03 2019-12-03 Topic processing method, device, equipment and storage medium based on social contact Active CN111028091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911221357.1A CN111028091B (en) 2019-12-03 2019-12-03 Topic processing method, device, equipment and storage medium based on social contact

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911221357.1A CN111028091B (en) 2019-12-03 2019-12-03 Topic processing method, device, equipment and storage medium based on social contact

Publications (2)

Publication Number Publication Date
CN111028091A true CN111028091A (en) 2020-04-17
CN111028091B CN111028091B (en) 2023-10-10

Family

ID=70207810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911221357.1A Active CN111028091B (en) 2019-12-03 2019-12-03 Topic processing method, device, equipment and storage medium based on social contact

Country Status (1)

Country Link
CN (1) CN111028091B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112435136A (en) * 2020-11-23 2021-03-02 浙江天眼创智科技有限公司 Community online communication interactive platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080013701A1 (en) * 2006-04-04 2008-01-17 Barhydt William J Voting And Multi-Media Actionable Messaging Services For Mobile Social Networks
US20130024946A1 (en) * 2011-07-19 2013-01-24 Ebay Inc. Method and system for streamlining voting process
CN104951960A (en) * 2015-05-21 2015-09-30 腾讯科技(北京)有限公司 Target information based interaction method and target information based interaction device
CN105205906A (en) * 2014-06-25 2015-12-30 阿里巴巴集团控股有限公司 Method and device for processing voting tasks and distributing voting tasks
US20170337761A1 (en) * 2016-05-17 2017-11-23 Jordan Kyle Dunnington Live Concert Music Voting System
CN109376252A (en) * 2018-09-14 2019-02-22 传线网络科技(上海)有限公司 Topic fights method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080013701A1 (en) * 2006-04-04 2008-01-17 Barhydt William J Voting And Multi-Media Actionable Messaging Services For Mobile Social Networks
US20130024946A1 (en) * 2011-07-19 2013-01-24 Ebay Inc. Method and system for streamlining voting process
CN105205906A (en) * 2014-06-25 2015-12-30 阿里巴巴集团控股有限公司 Method and device for processing voting tasks and distributing voting tasks
CN104951960A (en) * 2015-05-21 2015-09-30 腾讯科技(北京)有限公司 Target information based interaction method and target information based interaction device
US20170337761A1 (en) * 2016-05-17 2017-11-23 Jordan Kyle Dunnington Live Concert Music Voting System
CN109376252A (en) * 2018-09-14 2019-02-22 传线网络科技(上海)有限公司 Topic fights method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112435136A (en) * 2020-11-23 2021-03-02 浙江天眼创智科技有限公司 Community online communication interactive platform

Also Published As

Publication number Publication date
CN111028091B (en) 2023-10-10

Similar Documents

Publication Publication Date Title
KR101687927B1 (en) Obtaining event reviews
Preece et al. Online communities: focusing on sociability and usability
US8725826B2 (en) Linking users into live social networking interactions based on the users' actions relative to similar content
US20150088622A1 (en) Social media application for a media content providing platform
US20130080467A1 (en) Social networking system and method
CN106330668A (en) WeChat-based voting implementation method and system
CN102932454A (en) Social network of multi-dimensional information organization structure
US10397322B2 (en) Mobile and computer applications, systems and methods for large group travel and event management
US20120084372A1 (en) System and method for providing information in a network
Fatimatuzzahro et al. What If It Was You (# WIIWY) digital activism on TikTok to fight gender-based violence online and cyberbullying.
Hassim et al. Social media or social comparison? An analysis of Instagram use among Malaysian youth
CN111028091A (en) Social-based topic processing method, device, equipment and storage medium
WO2015061696A1 (en) Social event system
CN114257570A (en) Processing method, device, equipment and medium based on multi-person session
KR20210106285A (en) Method and system for evaluating content on instant messaging application
CN111885139A (en) Content sharing method, device and system, mobile terminal and server
KR20210040561A (en) Method and platform for Service of Image SNS Platform based on Cloud
Gonçalves Groupster: Narrowcasting on social networking sites
KR102722401B1 (en) System for providing psychological counseling and method thereof
CN114448924B (en) User group upgrading method, device, equipment and storage medium
KR102704381B1 (en) System for providing psychological counseling and method thereof
Kınlı et al. The Turkish Ordeal–A Historical-Processual Analysis of the Perception and Engagement of Elderly People in the Digital Transformation
Pintado Connection generation: How connection determines our place in society and business
US20140181854A1 (en) System and a method for interpretating data via audience polling system
CN116418776A (en) Communication object recommendation method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40022211

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant