CN102436336A - Method and device for displaying user data - Google Patents
Method and device for displaying user data Download PDFInfo
- Publication number
- CN102436336A CN102436336A CN2010105018075A CN201010501807A CN102436336A CN 102436336 A CN102436336 A CN 102436336A CN 2010105018075 A CN2010105018075 A CN 2010105018075A CN 201010501807 A CN201010501807 A CN 201010501807A CN 102436336 A CN102436336 A CN 102436336A
- Authority
- CN
- China
- Prior art keywords
- user
- microblog
- data
- head portrait
- portrait icon
- 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.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method for displaying user data. The method comprises the following steps: presetting a head portrait icon control of a microblog user; monitoring and acquiring the movement track information of a user mouse, determining that the movement track of the user mouse is within a preset movement track range of a head portrait icon of a microblog user, and timing; determining the preset timing time for the residence of the mouse moving track of the user, and triggering to acquire user data corresponding to the moving track range of the head portrait icon of the microblog user; and updating a preset microblog user head portrait icon control according to the acquired user data, and displaying a display window corresponding to the microblog user head portrait icon control on the current interface in a parallel mode with the current microblog user head portrait icon window. The invention also discloses a device for displaying the user data. By the method and the device, operation processes can be reduced, usability of the microblog client side is improved, and user experience is improved.
Description
Technical Field
The present invention relates to computer network technology, and more particularly, to a method and apparatus for displaying user data.
Background
With the development of computer network technology, Instant Messaging (IM) tools for realizing Instant communication on the internet through a peer-to-peer technology are increasingly popular, and IM has been accepted by most users and becomes an essential part of the daily lives of the users.
The micro blog (microblog) is used as a part of application of the IM tool, and due to the fact that the admission technology is low, the emotion of the user can be expressed immediately through a sentence of about 140 words and shared with a microblog user who pays attention to the user, therefore, the information transmission efficiency is high, and the application of the micro blog is more and more extensive.
With the increasing use of IM tool software for daily communication, users have made higher and higher demands on the usability, personalized services, and other aspects of IM tool software. In the existing microblog client, microblog messages are displayed in a fixed and pre-provided manner, for example, the microblog messages are displayed in a microblog window according to the sequence of receiving time of the microblog messages, but because the existing microblog user listener list is theoretically not limited, the number of correspondingly received microblog messages is huge. Therefore, before browsing the microblog messages, the user hopes to check some personal data of the microblog user from the listener list, and determines whether to continue browsing the microblog messages sent by the microblog user or not by browsing the personal data of the microblog user, so that the interested microblog user can be selected, the time required for browsing all the microblog messages is reduced, and the user experience is improved.
In the prior art, a user can select a concerned microblog user in a homepage, pop up a pull-down menu, and select the attribute of the microblog user from the pull-down menu, so that a current page is switched to a personal data page of the microblog user and displayed, after the user browses the personal data of the microblog user, the current microblog user data page is closed and switched back to the homepage, and whether to browse a microblog message sent by the microblog user is determined. Through the same method, the data of other microblog users can be acquired, and the related information of the microblog users can be known.
Therefore, the existing method for inquiring and displaying the microblog user data is complicated to operate, and the time for inquiring and acquiring the microblog user data is long, so that the usability of a microblog client is reduced, and the user experience is poor.
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a method for displaying user data, which reduces operation procedures, improves usability of a microblog client, and improves user experience.
Another objective of the present invention is to provide a device for displaying user data, which reduces the operation procedures, improves the usability of the microblog client, and improves the user experience.
In order to achieve the above object, the present invention provides a method for displaying user data, which presets a microblog user head portrait icon control, and the method comprises:
monitoring and acquiring the movement track information of a user mouse, determining that the movement track of the user mouse is within a preset movement track range of a head portrait icon of a microblog user, and timing;
when the timing time of the mouse moving track of the user exceeds the preset timing time, triggering to acquire user data corresponding to the moving track range of the head portrait icon of the microblog user;
and updating a preset microblog user head portrait icon control by the acquired user data, and displaying a display window corresponding to the microblog user head portrait icon control.
The microblog user head portrait icon control is provided with a general user data display format, display content and display position information.
The triggering and obtaining of the user data corresponding to the moving track range of the head portrait icon of the microblog user specifically comprises:
inquiring whether user data corresponding to the moving track range of the microblog user head portrait icon is stored locally or not, and if so, acquiring the user data; and if not, sending a user data acquisition request to the external server, carrying the user number, and outputting the user data corresponding to the user number to the microblog client by the external server according to the user number carried in the user data acquisition request.
The user profile includes: user basic data, user introduction data and user authentication data.
The updating of the pre-set microblog user head portrait icon control of the acquired user profile specifically comprises:
and if the corresponding user data in the microblog user head portrait icon control is empty, hiding the display field corresponding to the user data in the microblog user head portrait icon control.
The displaying the display window corresponding to the microblog user head portrait icon control specifically comprises:
and displaying the display window corresponding to the microblog user head portrait icon control on the current interface in a parallel mode with the current microblog user head portrait icon window.
Further comprising:
presetting classified data priority identification comprising user basic data, user introduction data and user authentication data, and outputting the classified data priority identification to a server, wherein the server stores the corresponding relation between the classified data priority identification and the classified data;
the user data acquisition request sent to the external server further carries the priority identification of each classified data;
the server receives a user data acquisition request, preferentially inquires and acquires the classified data corresponding to the classified data priority identification with the maximum priority identification according to the carried classified data priority identification and the stored corresponding relation, packages the classified data into a data packet and sends the data packet to the microblog client, inquires and acquires the classified data corresponding to the classified data priority identification with the second maximum priority identification, packages the classified data into the data packet and sends the data packet to the microblog client until the classified data corresponding to the minimum classified data priority identification is inquired and acquired, packages the classified data into the data packet and sends the data packet to the microblog client.
Further comprising:
presetting classified data identification and classified data priority identification comprising user basic data, user introduction data and user authentication data, and outputting the corresponding relation between the classified data identification and the classified data to a server for storage;
the sending of the user data acquisition request to the external server, carrying the user number, and outputting, by the external server, the user data corresponding to the user number to the microblog client according to the user number carried in the user data acquisition request specifically includes:
according to the preset classified data priority identification, user data acquisition requests are respectively sent to external servers, and the user numbers and the classified data identifications corresponding to the classified data priority identification are sequentially carried, the external servers inquire the stored corresponding relation according to the user numbers and the classified data identifications carried in the user data acquisition requests, the classified data corresponding to the user numbers are sequentially output to the microblog client, and the microblog client sequentially receives the classified data corresponding to the classified data priority identification returned by the external servers.
The updating of the pre-set microblog user head portrait icon control of the acquired user profile specifically comprises:
and the microblog client inserts the received classified data into corresponding positions in the microblog user head portrait icon control in sequence, and displays the microblog user head portrait icon control with the classified data inserted into the current interface in a parallel mode in sequence.
And the microblog user head portrait icon control is further provided with a personalized communication sub-control for triggering communication with the microblog user to which the microblog user head portrait icon belongs.
The personalized communication sub-control comprises: a listening child control, a dialog child control, and a personal letter control.
Further comprising:
when the situation that the moving track of a user mouse moves from the current microblog user head portrait icon to the next microblog user head portrait icon within the moving track range and exceeds the preset timing time is monitored, triggering to obtain the moving track range of the next microblog user head portrait icon and user data corresponding to the moving track range of the next microblog user head portrait icon, updating the current microblog user head portrait icon control with the obtained user data, calculating the displacement of the current microblog user head portrait icon control relative to the next microblog user head portrait icon control according to the obtained moving track range of the next microblog user head portrait icon, and determining the position of the updated microblog user head portrait icon control in the display window according to the displacement.
Further comprising:
and when the movement track of the mouse of the user moves out of the preset movement track range, blanking the displayed user data.
An apparatus for presenting a user profile, the apparatus comprising: a microblog head portrait module, a microblog personal data card logic management module and a personal data card management module, wherein,
the microblog head portrait module is used for monitoring and acquiring the movement track information of the user mouse and outputting the movement track information of the user mouse to the microblog personal data card logic management module and the personal data card management module;
the microblog personal data card logic management module is used for determining that the movement track of a mouse of a user is within the preset movement track range of the head portrait icon of the microblog user, outputting timing notification information to the personal data card management module, receiving trigger information output by the personal data card management module, triggering and acquiring user data corresponding to the movement track range of the head portrait icon of the microblog user, updating the preset head portrait icon control of the microblog user with the acquired user data, and outputting the updated head portrait icon control of the microblog user to the personal data card management module;
and the personal data card management module is used for receiving the timing notification information, starting timing, outputting trigger information to the microblog personal data card logic management module when the timing time of the mouse moving track of the user exceeds the preset timing time, receiving the microblog user head portrait icon control output by the microblog personal data card logic management module, and displaying the display window corresponding to the control.
Further comprising:
and the user data storage module is used for storing the user data output by the microblog personal data card logic management module.
The logic management module of the microblog personal data card comprises: a moving track comparing unit, a microblog user head portrait icon moving track storage unit, a user data acquisition unit and a microblog user head portrait icon control processing unit,
the moving track comparing unit is used for receiving the user mouse moving track information output by the microblog head portrait module, judging whether the user mouse moving track information is in the moving track range of the head portrait icons of the microblog users stored in the microblog head portrait icon moving track storage unit, and if so, outputting timing notification information to the personal data card management module;
the microblog user head portrait icon moving track storage unit is used for storing the moving track range information of the head portrait icons of the microblog users;
the user data acquisition unit is used for receiving the trigger information output by the personal data card management module, triggering and acquiring user data corresponding to the moving track range of the head portrait icon of the microblog user, and outputting the acquired user data to the microblog user head portrait icon control processing unit;
and the microblog user head portrait icon control processing unit is used for updating the preset microblog user head portrait icon control according to the received user data and outputting the updated microblog user head portrait icon control to the personal data card management module.
The logic management module of the microblog personal data card further comprises:
a classified data priority label storage unit for storing the classified data priority labels in the user data,
the user data acquisition unit is used for receiving the trigger information output by the personal data card management module, sending a user data acquisition request to an external server, carrying a user number and priority identifications of all classified data, and outputting the classified data returned by the server to the microblog user head portrait icon control processing unit in sequence;
and the microblog user head portrait icon control processing unit is used for sequentially updating the preset microblog user head portrait icon controls according to the received classification data and sequentially outputting the updated microblog user head portrait icon controls to the personal data card management module.
According to the technical scheme, the method and the device for displaying the user data have the advantages that the microblog user head portrait icon control is preset; monitoring and acquiring the movement track information of a user mouse, determining that the movement track of the user mouse is within a preset movement track range of a head portrait icon of a microblog user, and timing; when the timing time of the mouse moving track of the user exceeds the preset timing time, triggering to acquire user data corresponding to the moving track range of the head portrait icon of the microblog user; and updating a preset microblog user head portrait icon control by the acquired user data, and displaying a display window corresponding to the microblog user head portrait icon control. Therefore, the user mouse is resident in the microblog user head portrait icon control, the user data to which the microblog user head portrait icon belongs is automatically triggered and acquired and displayed, the user operation is simple, the operation times are few, the usability of the microblog client side is improved, and the user experience is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for displaying user data according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a current interface structure for displaying user data according to an embodiment of the present invention.
FIG. 3 is a schematic diagram of an apparatus for displaying user data according to an embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating user profiles based on fig. 3 according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
With the continuous development of the IM tool software, a large amount of IM software is used by users to realize communication with friends, colleagues and classmates no matter in life or work, and microblogs are rapidly increasing as new products and new applications of an extended IM message propagation mechanism, and are becoming an important mode for information sharing, information acquisition and communication. Therefore, the operation process that the user acquires the user data in the listener list is reduced, the IM message browsing efficiency is improved, the usability of the microblog client is improved, the user experience is improved, and the method is the direction of IM development.
In practical application, the control has a wide application scene in various communication software, real-time display software and other software, particularly an application scene such as a list of head portrait icons of a search user, and preset information corresponding to the head portrait icons of the user can be displayed in a current window in a control mode by triggering the head portrait icons of the user. In the embodiment of the invention, the function of the control is considered to be utilized, the user data concerned by the user is automatically acquired, and the acquired user data is displayed on the current interface (window).
FIG. 1 is a flowchart illustrating a method for displaying user data according to an embodiment of the present invention. Referring to fig. 1, the process includes:
101, presetting a head portrait icon control of a microblog user;
in this step, because the microblog client can only display the information of one microblog user in a special application scene of the user information, that is, at a certain time point, the number of the microblog user head portrait icon controls preset in one microblog client can be one for sharing by all microblog users in the listener list, the microblog user head portrait icon controls are provided with information such as the display format, the display content and the display position of the general user information, and the microblog user head portrait icon controls of the microblog users can be formed by filling the user information of the corresponding microblog users into the corresponding positions preset in the microblog user head portrait icon controls. The method for setting the head portrait control of the microblog user belongs to the prior art, and specific reference can be made to related technical documents, which are not described herein again.
102, monitoring and acquiring the movement track information of a user mouse, determining that the movement track of the user mouse is within a preset movement track range of a head portrait icon of a microblog user, and timing;
in this step, the moving track information may be coordinate information, and after each microblog user in the listener list displayed on the current interface displays each microblog user head portrait icon in a certain area of the current display interface corresponding to a corresponding coordinate range, the microblog client acquires, records and stores the microblog user head portrait icon coordinate range information corresponding to each microblog user in the listener list displayed on the current interface. The method for acquiring the coordinate range information corresponding to the microblog user by the microblog client belongs to the prior art, and reference may be made to related technical documents, which are not described herein again. Certainly, after the microblog users in the listener list displayed on the current interface change, the microblog user head portrait icon coordinate range information corresponding to each microblog user in the listener list displayed on the current interface, which is stored by the microblog client, is correspondingly updated.
If the mouse moving track of the user is in the moving track range of any pre-set microblog user head portrait icon, for example, if the coordinate of the current mouse moving track of the user is (40, 30) and the number of the microblog users shown in the current interface listener list is 3, the pre-set microblog user head portrait icon moving track range comprises the coordinate ranges of 3 microblog users and can correspondingly set the positions of the microblog user head portrait icon controls corresponding to the microblog user head portrait icon moving track range on the display window, supposing that the microblog users 1(20 is more than or equal to x and is less than or equal to 60, 0 is more than or equal to y and is less than or equal to 40), the microblog users 2(20 is more than or equal to x and is less than or equal to 60, 80 is less than or equal to y and is less than or equal to-50), the microblog users 3(20 is more than or equal to x and is less than or equal to 60, and-160 is, the timer is started.
103, when the timing time of the mouse moving track of the user exceeds the preset timing time, triggering to acquire user data corresponding to the moving track range of the head portrait icon of the microblog user;
in this step, when it is determined that the user mouse movement track resides in the microblog user avatar icon movement track range, timing is started, and a preset timing time for the user mouse movement track to reside is required, that is, the user mouse movement track timing time is required to exceed the preset timing time, so as to effectively prevent the user misoperation from causing frequent triggering to acquire the user data corresponding to the microblog user avatar icon movement track range, thereby increasing the frequent operation times for acquiring the user data. If the mouse moving track of the user always moves within the moving track range of the head portrait icon of the microblog user within the preset timing time, the fact that the user really wants to acquire and browse the personal data of the microblog user can be determined.
In practical application, if the mouse movement track of the user does not reside for the preset timing time within the movement track range of the head portrait icon of the microblog user, the step 102 is executed again.
In this embodiment, the triggering and obtaining the user data corresponding to the moving track range of the head portrait icon of the microblog user specifically includes:
inquiring whether user data corresponding to the moving track range of the microblog user head portrait icon is stored locally or not, and if so, acquiring the user data; and if not, sending a user data acquisition request to the external server, carrying the user number, and outputting the user data corresponding to the user number to the microblog client by the external server according to the user number carried in the user data acquisition request.
In the embodiment of the present invention, the user profile may be divided into the following according to the data size contained in each specific classification profile: the user basic data, the user introduction data, the user authentication data and other classification data, wherein the user basic data comprises: user Identification (ID), user nickname, etc. In practical application, classification data identifiers can be set for the classification data respectively, and the corresponding relation between the classification data identifiers and the classification data is stored in the server.
In practical applications, during an interaction process between a microblog client and an external server, the number of bytes transmitted by a data packet is limited by the maximum number of bytes transmitted by a network, during microblog communication, according to a relevant protocol, the maximum number of bytes of the data packet transmitted by the network is about 800 bytes, and in user data, the number of bytes contained in user introduction data and user authentication data is large, for example, the number of bytes contained in the user introduction data and the user authentication data is generally not less than 600 bytes. Therefore, if the microblog client requests to pull the user data when sending the user data acquisition request to the server, the server sends the packaged data packets to the microblog client in sequence after inquiring and acquiring the user data including the user basic data, the user introduction data and the user authentication data according to the requirement of network transmission data packets, and the microblog client displays all the pulled user data after pulling all the data of the user. Therefore, in the embodiment of the present invention, preferably, the priority identifier of the classified data is preset to identify and obtain the priority order of the classified data, such as the user basic data, the user introduction data, and the user authentication data, in the user data, and output the priority order to the server, and the server stores the corresponding relationship between the priority identifier of the classified data and the classified data. For example, since the user profile contains a small number of bytes, the network transmission delay is correspondingly short, that is, the network response speed is fast, so that if the classified profile is preferentially pulled and preferentially displayed to the user, the user experience can be further improved. Thus, for example, a user profile id a, a corresponding profile priority id 3, a user introduction profile id B, a corresponding profile priority id 2, a user authentication profile id C, a corresponding profile priority id 1 may be preset, and a larger profile priority id indicates a higher priority for pulling the profile. In this way, the user data acquisition request sent to the external server further carries the priority identification of each classified data, the external server receives the user data acquisition request, preferentially inquires and acquires the classified data corresponding to the maximum priority identification of the classified data according to the priority identification of each carried classified data, encapsulates the classified data into a data packet and sends the data packet to the microblog client; then, inquiring and acquiring classified data corresponding to the second largest classified data priority identification, packaging the classified data into a data packet, and sending the data packet to a microblog client; and by analogy, finally, inquiring and obtaining the classified data corresponding to the minimum classified data priority identification, packaging the classified data into a data packet, and sending the data packet to the microblog client.
Certainly, in practical application, the microblog client may also send a user data acquisition request according to a preset classified data priority identifier, further carry a classified data identifier corresponding to the classified data priority identifier at the maximum on the basis of carrying the user number, receive the user data acquisition request by the external server, query and acquire classified data corresponding to the classified data identifier according to the carried classified data identifier, encapsulate the classified data into a data packet, and send the data packet to the microblog client; after receiving the data packet, the microblog client triggers to send a user data acquisition request to the server, carries the classified data identifier corresponding to the classified data priority identifier which is the second largest, and so on until triggering to send the user data acquisition request to the server, carries the classified data identifier corresponding to the classified data priority identifier which is the smallest, and receives the corresponding data packet. That is, according to the preset priority identifiers of the classified data, the user data acquisition requests are respectively sent to the external servers, the classified data identifiers corresponding to the priority identifiers of the classified data are sequentially carried, and the classified data corresponding to the priority identifiers of the classified data returned by the external servers are sequentially received.
And 104, updating the preset microblog user head portrait icon control by the acquired user data, and displaying a display window corresponding to the control.
Preferably, the display window corresponding to the microblog user head portrait icon control is displayed on the current interface in a parallel mode with the current microblog user head portrait icon window. The method specifically comprises the following steps:
A. inserting the acquired user data into the corresponding position of the control according to the setting of the control;
in this step, the control sets the information of the storage area, the storage format and the display position of each classified data in the user data.
In practical application, if the corresponding user profile in the control is empty, the display field corresponding to the user profile in the control is hidden.
B. And displaying the control inserted with the user data on the current interface in a way of being parallel to the head portrait icon window of the current microblog user.
In this step, for the case that all the user data are acquired at one time in step 103, all the user data are filled into the control, and the control is displayed on the current interface in a parallel manner.
For the case of sequentially obtaining the classified data in step 103, when the microblog client receives a class of classified data, the classified data is inserted into a corresponding position in the control, and the control is displayed on the current interface in a parallel manner, when the microblog client receives the subsequent classified data, the subsequently received classified data is inserted into a corresponding position in the control, and the control displayed on the current interface is updated. Because each classified data has corresponding priority and has corresponding storage area, storage format and display position information in the control, the subsequent classified data displayed on the current interface are sequentially arranged behind the currently displayed classified data. Therefore, response speed of the microblog client and the server can be increased, usability of the microblog client is improved, a user can conveniently know detailed information of the microblog user in the listener list, and user experience is improved.
FIG. 2 is a diagram illustrating a current interface structure for displaying user data according to an embodiment of the present invention. Referring to fig. 2, when a user clicks a user list and inputs a search keyword 'flight message' in a search bar, a user related to flight message in the user list can be obtained, when a mouse of the user is resident in a flight message entertainment avatar icon for a preset timing time, the user triggers to pull personal data of the flight message entertainment user, and a control filled with the flight message entertainment user data is displayed on the left side of a flight message entertainment user interface. Therefore, the user can automatically trigger and acquire the personal data of the user only by staying the mouse in the head portrait icon of the relevant user in the user list and display the personal data on the current display interface without frequent selection and switching operation, and the operation flow is effectively reduced.
Further, a personalized communication sub-control can be set in the control, and communication with the user is triggered through the set personalized communication sub-control.
The personalized communication sub-control may include: a listening child control, a dialogue child control, a private letter control, and the like. The method for triggering communication may be the same as the method for triggering acquisition of user data, or communication may be triggered by monitoring information of clicking the child control.
In order to further improve the experience of the user, the display window corresponding to the control can be an animation display window which gradually appears and/or gradually increases from small to large.
In practical applications, the method shown in fig. 1 may further include the following steps:
in this step, in order to further reduce the time required for pulling the user data from the external server and improve the trigger response speed, the user data pulled from the server is stored under the permission of the local storage area of the microblog client, and the storage area is updated by adopting a first-in first-out strategy under the condition that the local storage area is full, so that when the user data corresponding to the moving track range of the head portrait icon of the microblog user is obtained under the trigger, whether the user data exists or not can be judged from the local storage area, and if the user data exists, the user data does not need to be pulled from the server.
And 106, when the movement track of the mouse of the user moves out of the preset movement track range, blanking the displayed user data.
In this step, if the mouse movement track of the user moves out of the preset movement track range, or the mouse movement track of the user moves out of the preset movement track range for more than the preset time, it indicates that the user has browsed the personal data of the relevant user, and the microblog client automatically blanks the displayed user data.
In practical application, if a user needs to browse personal data of other users, the mouse moving track is resident at the head portrait icon of the next microblog user for a preset timing time, so that the user data corresponding to the moving track range of the head portrait icon of the microblog user can be triggered to be acquired, and the acquired user data is used for updating the control and moving the corresponding position. Namely, when the movement track of the mouse of the user is monitored to move from the current head portrait icon of the microblog user to the next head portrait icon of the microblog user within the movement track range and exceed the preset timing time, triggering to obtain the moving track range of the head portrait icon of the next microblog user and the user data corresponding to the moving track range of the head portrait icon of the next microblog user, updating the current microblog user head portrait icon control with the obtained user data, and calculating the displacement of the head portrait icon control of the current micro-blog user relative to the head portrait icon control of the next micro-blog user according to the acquired moving track range of the head portrait icon of the next micro-blog user, determining the position of the updated microblog user head portrait icon control in the display window according to the displacement, wherein in practical application, the position of the microblog user head portrait icon control corresponding to the microblog user head portrait icon moving track range in the display window can be preset. Therefore, when the personal data information of another user is triggered at the next time, multiplexing can be achieved at the control level, and only the triggered data of the user needs to be updated, so that the occupation of the memory can be effectively reduced.
It should be noted that the method for displaying user data in the embodiment of the present invention may be based on a development environment of an Active Template Library (ATL) project of the existing Visual Studio 2005, and details are not described herein.
According to the embodiment, the method for displaying the user data comprises the steps of setting the head portrait icon control of the microblog user in advance, automatically acquiring the user data to which the head portrait icon of the microblog user belongs by taking the mouse of the user residing on the head portrait icon control of the microblog user as a trigger condition, filling according to the head portrait icon control of the microblog user, and displaying the display windows corresponding to the controls on the current interface in a parallel mode after filling. Therefore, the user operation is simple, the operation times are few, the usability of the microblog client is improved, and the user experience is improved; furthermore, by setting the priority identification of the classified data, pulling the corresponding classified data in sequence according to the priority identification of the classified data, and displaying the pulled classified data in real time, the time required by a user for browsing personal data of related microblog users is further shortened, and the user experience is further improved; in addition, in the process of popping up the display window corresponding to the control, the operation experience of the user can be improved through the animation process of gradual emerging and size gradual change of the window. In addition, as long as the user moves the mouse to the head portrait icon of the microblog user in the listener list, various detailed information of the microblog user can be easily seen, including basic data such as user ID (identity), nickname and the like, and abundant data such as user personal introduction, microblog authentication data and the like; and operations with lighter magnitude such as conversation, private letter and the like can be performed, so that the user experience is greatly improved.
FIG. 3 is a schematic diagram of an apparatus for displaying user data according to an embodiment of the present invention. Referring to fig. 3, the apparatus includes: a microblog head portrait module, a microblog personal data card logic management module and a personal data card management module, wherein,
the microblog head portrait module is used for monitoring and acquiring the movement track information of the user mouse and outputting the movement track information of the user mouse to the microblog personal data card logic management module and the personal data card management module;
in the embodiment of the invention, the microblog head portrait module is further used for creating microblog head portrait fillets, shadows, mouse over highlight, shielding marks and the like by adopting the partition area control for self-drawing, so that various personalized requirements of a user are realized, and the memory occupation and the expense of a CPU for drawing the microblog head portrait icon can be effectively reduced.
The microblog personal data card logic management module is used for determining that the movement track of a mouse of a user is within the preset movement track range of the head portrait icon of the microblog user, outputting timing notification information to the personal data card management module, receiving trigger information output by the personal data card management module, triggering and acquiring user data corresponding to the movement track range of the head portrait icon of the microblog user, updating the preset head portrait icon control of the microblog user with the acquired user data, and outputting the updated head portrait icon control of the microblog user to the personal data card management module;
and the personal data card management module is used for receiving the timing notification information, starting timing, determining the received user mouse moving track resident preset timing time, outputting trigger information to the microblog personal data card logic management module, receiving the microblog user head portrait icon control output by the microblog personal data card logic management module, and displaying a display window corresponding to the control.
In the embodiment of the invention, the logic management module of the microblog personal data card comprises: a moving track comparing unit, a microblog user head portrait icon moving track storage unit, a user data acquisition unit and a microblog user head portrait icon control processing unit,
the moving track comparing unit is used for receiving the user mouse moving track information output by the microblog head portrait module, judging whether the user mouse moving track information is in the moving track range of the head portrait icons of the microblog users stored in the microblog head portrait icon moving track storage unit, and if so, outputting timing notification information to the personal data card management module;
the microblog user head portrait icon moving track storage unit is used for storing the moving track range information of the head portrait icons of the microblog users;
the user data acquisition unit is used for receiving the trigger information output by the personal data card management module, triggering and acquiring user data corresponding to the moving track range of the head portrait icon of the microblog user, and outputting the acquired user data to the microblog user head portrait icon control processing unit;
and the microblog user head portrait icon control processing unit is used for updating the preset microblog user head portrait icon control according to the received user data and outputting the updated microblog user head portrait icon control to the personal data card management module.
The logic management module of the microblog personal data card further comprises a classified data priority identifier storage unit which is used for storing the classified data priority identifiers in the user data and correspondingly,
the user data acquisition unit is used for receiving the trigger information output by the personal data card management module, sending a user data acquisition request to an external server, carrying a user number and priority identifications of all classified data, and outputting the classified data returned by the server to the microblog user head portrait icon control processing unit in sequence;
and the microblog user head portrait icon control processing unit is used for sequentially updating the preset microblog user head portrait icon controls according to the received classification data and sequentially outputting the updated microblog user head portrait icon controls to the personal data card management module.
In the embodiment of the present invention, the apparatus may further include: and the user data storage module is used for storing the user data output by the microblog personal data card logic management module.
Fig. 4 is a schematic diagram illustrating user profiles based on fig. 3 according to an embodiment of the invention. Referring to fig. 4, in the embodiment of the present invention, in order to achieve a loosely-coupled code framework design, a design concept of a layered model is adopted, related logical functions are encapsulated in one layer, and layers are expressed by data structures that are abstract as much as possible, such as interfaces and pure virtual functions, so that reusability of codes is better. Wherein,
the microblog head portrait module is mainly responsible for logic control of the head portrait control and is realized by adopting a regional control self-drawing mode. In addition, the module also mainly processes logic control of triggering personal data calling by moving a user mouse into a microblog head portrait.
The microblog personal data card logic management module is mainly responsible for logic management control of user personal data, and comprises a strategy of triggering a server to pull the user data, and a unique microblog user head portrait icon control instance maintained at a microblog client for presentation. When a new user data is triggered and displayed, the microblog user head portrait icon control is not recreated but is reused originally, and only new microblog user data is refilled.
And the personal data card management module is used for processing corresponding callback opportunity logic processing and processing the animation display process of the whole control.
Specifically, the processing mainly executed by the microblog personal data card logic management module comprises the following steps:
judging whether the current user number (UIN) abundant data exists locally, if so, calling a personal data card (user data) management module to work, and if not, acquiring personal data and filling the personal data into a control;
receiving the data card control part class returned by the personal data card management module, and maintaining the only instance in the module;
judging whether the control exists or not, and if not, establishing the control; if the user number is the same as the user number in the control, judging whether the current user number is the same as the user number in the control, if so, directly returning to the control, and if not, setting new data in the control.
The personal data card management module mainly executes the following processing steps:
receiving a calling request output by a logic management module of the microblog personal data card, and storing a pointer of a consignment class (the logic management module of the microblog personal data card);
starting internal strategy work;
starting a timer;
judging whether the timing time is reached;
if so, determining that the mouse moving track of the user is still on the head portrait;
creating an external bearing window of a data card (user data) in the first time, returning a user data control class to a microblog personal data card logic management module, and starting animation display;
and displaying the whole control in an animation expansion mode.
The above description is only for the preferred embodiment 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 principle of the present invention should be included in the protection scope of the present invention.
Claims (17)
1. A method for displaying user data is characterized in that a microblog user head portrait icon control is preset, and the method comprises the following steps:
monitoring and acquiring the movement track information of a user mouse, determining that the movement track of the user mouse is within a preset movement track range of a head portrait icon of a microblog user, and timing;
when the timing time of the mouse moving track of the user exceeds the preset timing time, triggering to acquire user data corresponding to the moving track range of the head portrait icon of the microblog user;
and updating a preset microblog user head portrait icon control by the acquired user data, and displaying a display window corresponding to the microblog user head portrait icon control.
2. The method of claim 1, wherein a general user data display format, display content and display position information are set in the microblog user head portrait icon control.
3. The method of claim 2, wherein the triggering of obtaining the user profile corresponding to the microblog user avatar icon movement track range specifically comprises:
inquiring whether user data corresponding to the moving track range of the microblog user head portrait icon is stored locally or not, and if so, acquiring the user data; and if not, sending a user data acquisition request to the external server, carrying the user number, and outputting the user data corresponding to the user number to the microblog client by the external server according to the user number carried in the user data acquisition request.
4. The method of claim 3, wherein the user profile comprises: user basic data, user introduction data and user authentication data.
5. The method of claim 4, wherein the updating the pre-set microblog user avatar icon control of the acquired user profile specifically comprises:
and if the corresponding user data in the microblog user head portrait icon control is empty, hiding the display field corresponding to the user data in the microblog user head portrait icon control.
6. The method of claim 5, wherein the displaying the display window corresponding to the microblog user avatar icon control specifically comprises:
and displaying the display window corresponding to the microblog user head portrait icon control on the current interface in a parallel mode with the current microblog user head portrait icon window.
7. The method of claim 6, further comprising:
presetting classified data priority identification comprising user basic data, user introduction data and user authentication data, and outputting the classified data priority identification to a server, wherein the server stores the corresponding relation between the classified data priority identification and the classified data;
the user data acquisition request sent to the external server further carries the priority identification of each classified data;
the server receives a user data acquisition request, preferentially inquires and acquires the classified data corresponding to the classified data priority identification with the maximum priority identification according to the carried classified data priority identification and the stored corresponding relation, packages the classified data into a data packet and sends the data packet to the microblog client, inquires and acquires the classified data corresponding to the classified data priority identification with the second maximum priority identification, packages the classified data into the data packet and sends the data packet to the microblog client until the classified data corresponding to the minimum classified data priority identification is inquired and acquired, packages the classified data into the data packet and sends the data packet to the microblog client.
8. The method of claim 6, further comprising:
presetting classified data identification and classified data priority identification comprising user basic data, user introduction data and user authentication data, and outputting the corresponding relation between the classified data identification and the classified data to a server for storage;
the sending of the user data acquisition request to the external server, carrying the user number, and outputting, by the external server, the user data corresponding to the user number to the microblog client according to the user number carried in the user data acquisition request specifically includes:
according to the preset classified data priority identification, user data acquisition requests are respectively sent to external servers, and the user numbers and the classified data identifications corresponding to the classified data priority identification are sequentially carried, the external servers inquire the stored corresponding relation according to the user numbers and the classified data identifications carried in the user data acquisition requests, the classified data corresponding to the user numbers are sequentially output to the microblog client, and the microblog client sequentially receives the classified data corresponding to the classified data priority identification returned by the external servers.
9. The method according to claim 7 or 8, wherein the updating the pre-set microblog user head portrait icon control of the acquired user profile specifically comprises:
and the microblog client inserts the received classified data into corresponding positions in the microblog user head portrait icon control in sequence, and displays the microblog user head portrait icon control with the classified data inserted into the current interface in a parallel mode in sequence.
10. The method of any one of claims 1 to 8, wherein the microblog user head portrait icon control is further provided with a personalized communication sub-control for triggering communication with the microblog user to which the microblog user head portrait icon belongs.
11. The method of claim 10, wherein the personalized communications sub-control comprises: a listening child control, a dialog child control, and a personal letter control.
12. The method of claim 10, further comprising:
when the situation that the moving track of a user mouse moves from the current microblog user head portrait icon to the next microblog user head portrait icon within the moving track range and exceeds the preset timing time is monitored, triggering to obtain the moving track range of the next microblog user head portrait icon and user data corresponding to the moving track range of the next microblog user head portrait icon, updating the current microblog user head portrait icon control with the obtained user data, calculating the displacement of the current microblog user head portrait icon control relative to the next microblog user head portrait icon control according to the obtained moving track range of the next microblog user head portrait icon, and determining the position of the updated microblog user head portrait icon control in the display window according to the displacement.
13. The method of claim 10, further comprising:
and when the movement track of the mouse of the user moves out of the preset movement track range, blanking the displayed user data.
14. An apparatus for presenting user data, the apparatus comprising: a microblog head portrait module, a microblog personal data card logic management module and a personal data card management module, wherein,
the microblog head portrait module is used for monitoring and acquiring the movement track information of the user mouse and outputting the movement track information of the user mouse to the microblog personal data card logic management module and the personal data card management module;
the microblog personal data card logic management module is used for determining that the movement track of a mouse of a user is within the preset movement track range of the head portrait icon of the microblog user, outputting timing notification information to the personal data card management module, receiving trigger information output by the personal data card management module, triggering and acquiring user data corresponding to the movement track range of the head portrait icon of the microblog user, updating the preset head portrait icon control of the microblog user with the acquired user data, and outputting the updated head portrait icon control of the microblog user to the personal data card management module;
and the personal data card management module is used for receiving the timing notification information, starting timing, outputting trigger information to the microblog personal data card logic management module when the timing time of the mouse moving track of the user exceeds the preset timing time, receiving the microblog user head portrait icon control output by the microblog personal data card logic management module, and displaying the display window corresponding to the control.
15. The apparatus of claim 14, further comprising:
and the user data storage module is used for storing the user data output by the microblog personal data card logic management module.
16. The apparatus of claim 14 or 15, wherein the microblog personal data card logic management module comprises: a moving track comparing unit, a microblog user head portrait icon moving track storage unit, a user data acquisition unit and a microblog user head portrait icon control processing unit,
the moving track comparing unit is used for receiving the user mouse moving track information output by the microblog head portrait module, judging whether the user mouse moving track information is in the moving track range of the head portrait icons of the microblog users stored in the microblog head portrait icon moving track storage unit, and if so, outputting timing notification information to the personal data card management module;
the microblog user head portrait icon moving track storage unit is used for storing the moving track range information of the head portrait icons of the microblog users;
the user data acquisition unit is used for receiving the trigger information output by the personal data card management module, triggering and acquiring user data corresponding to the moving track range of the head portrait icon of the microblog user, and outputting the acquired user data to the microblog user head portrait icon control processing unit;
and the microblog user head portrait icon control processing unit is used for updating the preset microblog user head portrait icon control according to the received user data and outputting the updated microblog user head portrait icon control to the personal data card management module.
17. The apparatus of claim 16, wherein the microblog personal data card logic management module further comprises:
a classified data priority label storage unit for storing the classified data priority labels in the user data,
the user data acquisition unit is used for receiving the trigger information output by the personal data card management module, sending a user data acquisition request to an external server, carrying a user number and priority identifications of all classified data, and outputting the classified data returned by the server to the microblog user head portrait icon control processing unit in sequence;
and the microblog user head portrait icon control processing unit is used for sequentially updating the preset microblog user head portrait icon controls according to the received classification data and sequentially outputting the updated microblog user head portrait icon controls to the personal data card management module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105018075A CN102436336A (en) | 2010-09-29 | 2010-09-29 | Method and device for displaying user data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105018075A CN102436336A (en) | 2010-09-29 | 2010-09-29 | Method and device for displaying user data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102436336A true CN102436336A (en) | 2012-05-02 |
Family
ID=45984427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105018075A Pending CN102436336A (en) | 2010-09-29 | 2010-09-29 | Method and device for displaying user data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102436336A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600082A (en) * | 2015-10-14 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Processing method and device of task in service system, and service system construction system |
CN108521855A (en) * | 2017-08-25 | 2018-09-11 | 深圳市大疆创新科技有限公司 | Exchange method, interactive device, electronic device and computer readable storage medium |
WO2018170887A1 (en) * | 2017-03-24 | 2018-09-27 | 华平智慧信息技术(深圳)有限公司 | Big data list display method and system |
CN109718549A (en) * | 2019-02-21 | 2019-05-07 | 网易(杭州)网络有限公司 | The method and device of Message Processing, electronic equipment, storage medium in game |
CN110333919A (en) * | 2019-04-30 | 2019-10-15 | 上海连尚网络科技有限公司 | A method and device for presenting social object information |
CN110673774A (en) * | 2019-09-20 | 2020-01-10 | 北京字节跳动网络技术有限公司 | List stream implementation method and device, electronic equipment and storage medium |
CN112261219A (en) * | 2019-07-22 | 2021-01-22 | 腾讯科技(深圳)有限公司 | Information display method and intelligent terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5742779A (en) * | 1991-11-14 | 1998-04-21 | Tolfa Corporation | Method of communication using sized icons, text, and audio |
CN1354856A (en) * | 1998-07-31 | 2002-06-19 | 格莱纳瑞电子公司 | World wide web access for voice mail and page |
US20060230356A1 (en) * | 2005-04-07 | 2006-10-12 | Microsoft Corporation | System and method for selecting a tab within a tabbled browser |
CN1855828A (en) * | 2005-04-21 | 2006-11-01 | 腾讯科技(深圳)有限公司 | Uploading announcing method and system for demand communication system |
CN1858711A (en) * | 2005-04-30 | 2006-11-08 | 仁宝电脑工业股份有限公司 | Method and device for displaying real-time information by means of mouse cursor |
CN101079713A (en) * | 2006-06-02 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Interface display method and system |
CN101227426A (en) * | 2007-12-26 | 2008-07-23 | 腾讯科技(深圳)有限公司 | Method and system for indicating instantaneous communication software client end response interface |
CN101626398A (en) * | 2009-08-11 | 2010-01-13 | 腾讯数码(天津)有限公司 | Method for obtaining friend dynamic and system |
-
2010
- 2010-09-29 CN CN2010105018075A patent/CN102436336A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5742779A (en) * | 1991-11-14 | 1998-04-21 | Tolfa Corporation | Method of communication using sized icons, text, and audio |
CN1354856A (en) * | 1998-07-31 | 2002-06-19 | 格莱纳瑞电子公司 | World wide web access for voice mail and page |
US20060230356A1 (en) * | 2005-04-07 | 2006-10-12 | Microsoft Corporation | System and method for selecting a tab within a tabbled browser |
CN1855828A (en) * | 2005-04-21 | 2006-11-01 | 腾讯科技(深圳)有限公司 | Uploading announcing method and system for demand communication system |
CN1858711A (en) * | 2005-04-30 | 2006-11-08 | 仁宝电脑工业股份有限公司 | Method and device for displaying real-time information by means of mouse cursor |
CN101079713A (en) * | 2006-06-02 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Interface display method and system |
CN101227426A (en) * | 2007-12-26 | 2008-07-23 | 腾讯科技(深圳)有限公司 | Method and system for indicating instantaneous communication software client end response interface |
CN101626398A (en) * | 2009-08-11 | 2010-01-13 | 腾讯数码(天津)有限公司 | Method for obtaining friend dynamic and system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600082A (en) * | 2015-10-14 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Processing method and device of task in service system, and service system construction system |
WO2018170887A1 (en) * | 2017-03-24 | 2018-09-27 | 华平智慧信息技术(深圳)有限公司 | Big data list display method and system |
CN108521855A (en) * | 2017-08-25 | 2018-09-11 | 深圳市大疆创新科技有限公司 | Exchange method, interactive device, electronic device and computer readable storage medium |
CN108521855B (en) * | 2017-08-25 | 2021-03-12 | 深圳市大疆创新科技有限公司 | Interactive method, interactive apparatus, electronic apparatus, and computer-readable storage medium |
CN109718549A (en) * | 2019-02-21 | 2019-05-07 | 网易(杭州)网络有限公司 | The method and device of Message Processing, electronic equipment, storage medium in game |
CN109718549B (en) * | 2019-02-21 | 2022-04-12 | 网易(杭州)网络有限公司 | Method and device for processing messages in game, electronic equipment and storage medium |
CN110333919A (en) * | 2019-04-30 | 2019-10-15 | 上海连尚网络科技有限公司 | A method and device for presenting social object information |
CN110333919B (en) * | 2019-04-30 | 2022-07-12 | 上海连尚网络科技有限公司 | Method and equipment for presenting social object information |
CN112261219A (en) * | 2019-07-22 | 2021-01-22 | 腾讯科技(深圳)有限公司 | Information display method and intelligent terminal |
CN110673774A (en) * | 2019-09-20 | 2020-01-10 | 北京字节跳动网络技术有限公司 | List stream implementation method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2020233755B2 (en) | Controlling display performance | |
CN102402378B (en) | Method and device for displaying message | |
CN102436336A (en) | Method and device for displaying user data | |
US7729481B2 (en) | User interface for integrating diverse methods of communication | |
US20140245178A1 (en) | Communication device and method for profiling and presentation of message threads | |
EP2613490B1 (en) | Method, server, client terminal, and system for aggregation of microblog post | |
US20140002462A1 (en) | Method and mobile terminal for dynamic display of an emotion | |
US9426102B1 (en) | Efficient conversation transmission to mobile clients | |
CN107800862A (en) | The means of communication and device | |
KR101544518B1 (en) | Method, device and system for sharing microblog message | |
CN111970188B (en) | Capability forwarding method and device | |
CN105095459A (en) | Dedicated customer service method and device | |
CN102571971A (en) | Method and system for shafting commodity information on mobile terminal | |
KR102127336B1 (en) | A method and terminal for providing a function of managing a message of a vip | |
EP2050259A2 (en) | Method and system for generating and presenting conversation threads having email, voicemail and chat messages | |
CN102404251A (en) | Method, client and system for realizing instant messaging with remarking function | |
WO2012094945A1 (en) | Microblog message processing method and device thereof | |
EP2770761B1 (en) | Communication device and method for profiling and presentation of message threads | |
EP2618529B1 (en) | System and method for microblog messages | |
CN106649518B (en) | Method and device for processing dynamic information data | |
CN110324230B (en) | Interface display method, client and computer storage medium | |
CN109918344A (en) | File processing method and device, and terminal | |
CN110166619B (en) | Picture downloading method and client | |
CN113329100B (en) | Message pushing method, device and system | |
CN112243144B (en) | Input method barrage display method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120502 |