CN107733769B - Method and device for displaying user information - Google Patents

Method and device for displaying user information Download PDF

Info

Publication number
CN107733769B
CN107733769B CN201610651979.8A CN201610651979A CN107733769B CN 107733769 B CN107733769 B CN 107733769B CN 201610651979 A CN201610651979 A CN 201610651979A CN 107733769 B CN107733769 B CN 107733769B
Authority
CN
China
Prior art keywords
user
video file
video
playing
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610651979.8A
Other languages
Chinese (zh)
Other versions
CN107733769A (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 CN201610651979.8A priority Critical patent/CN107733769B/en
Publication of CN107733769A publication Critical patent/CN107733769A/en
Application granted granted Critical
Publication of CN107733769B publication Critical patent/CN107733769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Abstract

The invention relates to a method and a device for displaying user information. The method comprises the following steps: an access entrance of first user basic information corresponding to a first user identification is displayed in a conversation window containing the first user identification and a second user identification; acquiring a trigger instruction of an access entrance of the basic information of the first user; acquiring a first video file containing the basic information of the first user according to the trigger instruction; covering a video playing window on the session window; and playing the first video file in the video playing window. According to the method and the device for displaying the user information, the video playing window is covered on the conversation window, the first video file is played in the video playing window, the browser does not need to be skipped to call to access the webpage containing the basic information of the first user, the webpage is directly played in the video playing window above the conversation window, and the efficiency of obtaining the user information is improved.

Description

Method and device for displaying user information
Technical Field
The invention relates to the field of computer application, in particular to a method and a device for displaying user information.
Background
With the development of computer technology and network technology, more and more users engage in social activities through networks. To facilitate communication between users, social applications are provided. The user communicates information through a conversation window of the social application. The side panel of the conversation window is provided with a panel for displaying the user information, the user information website page can be jumped to through the link on the panel, and the user information website page is accessed to know more user information.
Therefore, the link is required to be clicked to switch to the browser to access the corresponding website page every time the user needs to know more information, and the efficiency of knowing the user information is low.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for displaying user information, which can improve the efficiency of obtaining user information, for solving the problem of low efficiency of obtaining user information in the conventional social application.
A method of presenting user information, comprising:
an access entrance of first user basic information corresponding to a first user identification is displayed in a conversation window containing the first user identification and a second user identification;
acquiring a trigger instruction of an access entrance of the basic information of the first user;
acquiring a first video file containing the basic information of the first user according to the trigger instruction;
covering a video playing window on the session window;
and playing the first video file in the video playing window.
An apparatus for presenting user information, comprising:
the first display module is used for displaying an access entrance of first user basic information corresponding to a first user identifier in a conversation window containing the first user identifier and a second user identifier;
the trigger instruction acquisition module is used for acquiring a trigger instruction of an access entrance of the first user basic information;
the file acquisition module is used for acquiring a first video file containing the basic information of the first user according to the trigger instruction;
the covering module is used for covering the video playing window on the conversation window;
and the playing module is used for playing the first video file in the video playing window.
According to the method and the device for displaying the user information, the access entry of the first user basic information is displayed in the conversation window containing the first user identification and the second user identification, the trigger instruction for the access entry is obtained, the first video file containing the first user basic information is obtained according to the trigger instruction, the conversation window is covered with the video playing window, the first video file is played in the video playing window, the browser does not need to be skipped to call to access the webpage containing the first user basic information, the webpage is directly played in the video playing window above the conversation window, and the efficiency of obtaining the user information is improved.
Drawings
FIG. 1 is a diagram illustrating an application environment of a method for presenting user information in one embodiment;
FIG. 2 is a diagram of an application environment of a method for presenting user information in another embodiment;
fig. 3A is a schematic diagram of an internal structure of a terminal in one embodiment;
FIG. 3B is a diagram illustrating an internal architecture of a server in one embodiment;
FIG. 4 is a flow diagram of a method of presenting user information in one embodiment;
FIG. 5 is a diagram of a conversation window;
FIG. 6 is a flow chart of a method of presenting user information in another embodiment;
FIG. 7 is a diagram illustrating an application of the method for displaying user information according to the present invention to a scene;
FIG. 8 is a diagram illustrating an application of the method for displaying user information according to the present invention in another scenario;
FIG. 9 is a block diagram of a device that shows user information in one embodiment;
FIG. 10 is a block diagram showing the construction of an apparatus for displaying user information in another embodiment;
fig. 11 is a block diagram showing the structure of an apparatus for displaying user information in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
FIG. 1 is a diagram of an application environment of a method for presenting user information in one embodiment. As shown in fig. 1, the application environment includes a first terminal 110, a second terminal 120, and a first server 130. The first user logs in the social application client of the first terminal 110 through the first user identifier, accesses the social application server on the server 130 through the social application client, and uploads the first user identifier and the corresponding first video file containing the basic information of the first user to the social application server of the first server 130 through the social application client for storage. The second user logs in the social application client of the second terminal 120 through the second user identifier, a session window is created with the first user identifier through the social application client, an access entry of the basic information of the first user is triggered in the session window, the second terminal 120 obtains a first video file containing the basic information of the first user corresponding to the first user identifier from a local social application server or a social application server of the first server 130 according to a triggering instruction, a video playing window is covered on the session window, and the first video file is played in the video playing window.
Fig. 2 is a schematic diagram of an application environment of a method for presenting user information in another embodiment. As shown in fig. 2, the application environment includes a first terminal 210, a second terminal 220, a first server 230, a second server 240, an association chain database 250, and a third terminal 260. The first user logs in the social application client of the first terminal 210 through the first user identifier, accesses the social application server on the server 230 through the social application client, and uploads the first user identifier and the corresponding first video file containing the basic information of the first user to the social application server of the first server 230 for storage through the social application client. The second user logs in the social application client of the second terminal 220 through the second user identifier, creates a session window with the first user identifier through the social application client, triggers an access entry of the basic information of the first user in the session window, and the second terminal 220 acquires a first video file containing the basic information of the first user corresponding to the first user identifier from a local social application server or a social application server of the first server 230 according to a triggering instruction, covers a video playing window on the session window, and plays the first video file in the video playing window. When detecting the positive response of the second user to the first video file, the second terminal 220 obtains the second user identifier and the first user basic information corresponding to the first user identifier, and uploads the second user basic information to the second server 240. The second server 240 obtains a third user identifier associated with the second user identifier from the relationship chain database 250 according to the second user identifier, and sends the first user basic information corresponding to the first user identifier to a third terminal 260 where the third user identifier is located. And the third user logs in the social application client of the third terminal 260 through the third user identifier, and the first user basic information is displayed in the contact list of the third user.
The first terminal and the second terminal in fig. 1 and 2 may be a personal computer, a tablet computer, a mobile phone, a wearable device or a personal digital assistant, etc. with communication and video playing functions. The first server and the second server may be combined into one server or may be independent of the two servers. The relational chain database may be located on the second server or on a separate storage device.
Fig. 3A is a schematic diagram of an internal structure of the terminal in one embodiment. As shown in fig. 3A, the terminal includes a processor, a non-volatile storage medium, an internal memory, a network interface, a speaker, a display screen, and an input device, which are connected through a system bus. The nonvolatile storage medium of the second terminal stores an operating system and further comprises a device for displaying user information, and the device for displaying user information is used for realizing the method for displaying user information. The processor is used for providing calculation and control capability and supporting the operation of the whole terminal. An internal memory in the terminal provides an environment for operation of the apparatus for presenting user information in a non-volatile storage medium, the internal memory having stored therein computer-readable instructions which, when executed by the processor, cause the processor to perform a method for presenting user information. The network interface is used for network communication with a server and the like. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the terminal, or an external keyboard, a touch pad or a mouse. The terminal can be a mobile phone, a tablet computer or a personal digital assistant, a wearable device or an electronic playing device and the like. Those skilled in the art will appreciate that the configuration shown in fig. 3A is a block diagram of only a portion of the configuration relevant to the present application, and does not constitute a limitation on the terminal to which the present application is applied, and a particular terminal may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
Fig. 3B is a schematic diagram of an internal structure of a server (or a cloud, etc.) in one embodiment. As shown in fig. 3B, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus. The non-volatile storage medium of the server stores an operating system, a database and a device for displaying user information, the database stores a first user identifier and a corresponding video file containing first user basic information, and the device for displaying user information is used for realizing a method for displaying user information suitable for the server. The processor of the server is used for providing calculation and control capacity and supporting the operation of the whole server. The internal memory of the server provides an environment for operation of the apparatus for presenting user information in a non-volatile storage medium, and the internal memory may store computer readable instructions which, when executed by the processor, may cause the processor to perform a method for presenting user information. The network interface of the server is used for communication with an external terminal through a network connection. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers. Those skilled in the art will appreciate that the architecture shown in fig. 3B is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 4 is a flow diagram of a method of presenting user information in one embodiment. As shown in fig. 4, a method for displaying user information, which is executed on the second terminal in fig. 1 or fig. 2, includes:
step 402, an access entry of first user basic information corresponding to a first user identification is displayed in a conversation window containing the first user identification and a second user identification.
In this embodiment, the user identifier is a character string used to uniquely represent the user identity. The character string may include one or more combinations of letters, numbers, and characters. The first user identification is used to represent the first user. The second user identification is for representing a second user. The first user may be an enterprise user or an individual user. The second user may be a personal user.
The first user basic information refers to various information of the first user. If the first user is an enterprise user, the first user basic information may include one or more of a logo, a product introduction, a contact address, a website address, promotional content, and the like of the enterprise user. If the first user is an individual user, the first user basic information may include one or more of business cards, contact information, professional introduction, hobbies, personal experiences, personal photos, and the like of the individual user.
And the second user establishes a social application session window with the first user identifier through the second user identifier, and an access entry of the first user basic information corresponding to the first user identifier is displayed in an area reserved in the session window. The access entry may be a control or text with a link, etc.
As shown in fig. 5, on the second terminal where the second user identifier is located, an entry of the first user basic information corresponding to the first user identifier is placed in a toolbar of a conversation window including the first user identifier and the second user identifier, and the second user may click the entry to obtain the first user basic information.
Step 404, obtaining a trigger instruction of an access entry of the first user basic information.
In this embodiment, the second terminal obtains a trigger instruction generated by a touch operation of the second user on the access entry of the basic information of the first user. The touch operation may be a click operation, a cursor floating at the access entrance for more than a preset time or a press for more than a preset time, etc.
Step 406, obtaining a first video file containing the basic information of the first user according to the trigger instruction.
In this embodiment, the first video file containing the first user basic information may be acquired from a local or first server according to the trigger instruction. The first video file refers to a preset video file which needs to be played firstly.
The first video file may be a video file recorded by the first user or a corresponding video file generated by taking a picture with a preset video template. The corresponding numbers can be distributed to the shot pictures, and the pictures are loaded into the memory for playing according to the sequence of the numbers from small to large during playing. The size of the picture taken may be limited to be less than or equal to the image threshold. The image threshold may be set as desired, such as 2 megabytes. The Format of the picture may be jpg (joint Photographic Experts group), jpeg, png (Portable Network Graphic Format), bmp (Bitmap, image file Format), gif (Graphics Interchange Format), and the like.
The method comprises the steps of obtaining the size of a video file to be uploaded of a first user identification, judging whether the size of the video file to be uploaded is smaller than or equal to a preset value or not, if so, uploading the first video file to a first server, and if not, prompting that the file is too large and cannot be uploaded. The preset value may be 50 megabytes or 100 megabytes, etc., without being limited thereto.
The first user identification logs in the first terminal to access the first server. The first terminal uploads the first user identification and the corresponding first video file to the first server, and the first user identification and the first video file are correspondingly stored on the first server.
Step 408, overlay the video playing window on the session window.
In this embodiment, the size and the position of the session window are obtained, and the video playing component is called to cover the video playing window on the session window, that is, the video playing window is located above the session window. The size and position of the video playback window may coincide with the size and position of the session window. In other embodiments the size of the video window may be smaller or larger than the size of the conversation window.
In step 410, the first video file is played in the video playing window.
In this embodiment, the first video file is automatically played in the video playing window or the first video file is played after a playing instruction is received.
According to the method for displaying the user information, the access entry of the first user basic information is displayed in the conversation window containing the first user identification and the second user identification, the trigger instruction for the access entry is obtained, the first video file containing the first user basic information is obtained according to the trigger instruction, the conversation window is covered with the video playing window, the first video file is played in the video playing window, a browser is not required to be skipped to call to access the webpage containing the first user basic information, the first video file is directly played in the video playing window above the conversation window, the efficiency of obtaining the user information is improved, the video file is used for playing, and the appreciation of the first user basic information and the interestingness of user browsing are improved.
In one embodiment, the obtaining the first video file containing the first user basic information according to the trigger instruction includes: detecting whether the latest version of the first video file containing the basic information of the first user exists locally or not according to the trigger instruction, if so, loading the latest version of the first video file locally, if not, downloading the latest version of the first video file containing the basic information of the first user from the first server, and loading the latest version of the first video file.
In this embodiment, the second terminal detects whether a first video file containing the first user basic information exists locally according to the trigger instruction, and if so, the second terminal generates a first information summary value from the locally stored first video file and uploads the first information summary value to the first server. The first server generates a second information abstract value for the first video file of the latest version stored in the first server, compares the first information abstract value with the second information abstract value, if the first information abstract value is the same as the second information abstract value, the first video file stored locally is of the latest version, and if the first information abstract value is not the same as the second information abstract value, the first video file stored locally is not of the latest version. And if the first video file with the latest version exists locally, loading the first video file with the latest version locally. The local is a second terminal where the second subscriber identity is located. If the first video file exists locally, the first server is not required to download, and network resources are saved.
And if the first video file with the latest version does not exist locally, downloading the latest version of the first video file from the first server. When the first video file is played in the video playing window, the downloaded first video file can be played in the video playing window while the first video file is downloaded from the first server. By playing the downloaded video file in real time, the video file does not need to be played after the video file is completely downloaded, and time is saved.
In one embodiment, the playing the first video file in the video playing window includes: and automatically playing the first video file in the video playing window. The automatic playing does not need manual operation of a user, and operation procedures are saved.
In an embodiment, as shown in fig. 6, the method for presenting user information further includes:
step 602, cover information of a first video file containing the first user basic information is obtained according to the trigger instruction.
In this embodiment, the cover information may be start picture information when the first video file is played, or profile information of the first video file.
Step 604, cover information of the first video file is displayed in the video playing window.
In this embodiment, cover information of the first video file is displayed in the video playing window, and the first video file is not played at this time.
Step 606, obtaining a playing instruction generated by the triggering operation of the video playing control in the video playing window.
In this embodiment, one or more video playing controls may be configured in the toolbar of the video playing window. The video playing control can comprise a playing control, a pause control, a switching control, a closing control and the like, and can also comprise a fast forwarding control and a backward control.
Step 608, detecting whether the latest version of the first video file containing the first user basic information exists locally according to the playing instruction, if so, executing step 610, and if not, executing step 612.
Step 610, loading the local first video file with the latest version, and playing the first video file in the video playing window.
Step 612, downloading the latest version of the first video file containing the first user basic information from the first server, loading the latest version of the first video file, and playing the first video file in the video playing window.
In this embodiment, the second terminal detects whether a first video file containing the first user basic information exists locally according to the trigger instruction, and if so, the second terminal generates a first information summary value from the locally stored first video file and uploads the first information summary value to the first server. The first server generates a second information abstract value for the first video file of the latest version stored in the first server, compares the first information abstract value with the second information abstract value, if the first information abstract value is the same as the second information abstract value, the first video file stored locally is of the latest version, and if the first information abstract value is not the same as the second information abstract value, the first video file stored locally is not of the latest version. And if the first video file with the latest version exists locally, loading the first video file with the latest version locally. The local is a second terminal where the second subscriber identity is located. If the first video file exists locally, the first server is not required to download, and network resources are saved.
And if the first video file with the latest version does not exist locally, downloading the latest version of the first video file from the first server. When the first video file is played in the video playing window, the downloaded first video file can be played in the video playing window while the first video file is downloaded from the first server. By playing the downloaded video file in real time, the video file does not need to be played after the video file is completely downloaded, and time is saved.
According to the method for displaying the user information, after cover information of the first video file is obtained, the cover information is displayed in the video playing window, the first video file is played according to the playing instruction, playing of the first video file can be controlled, the first video file is not played when the playing instruction is not received, the first video file does not need to be downloaded at first, and network flow is saved.
In an embodiment, the method for presenting user information further includes: when a positive response of a second user identification to the first video file is detected, the second user identification and first user basic information corresponding to the first user identification are obtained; and uploading the second user identification and the first user basic information corresponding to the first user identification to a second server, so that the second server acquires a third user identification associated with the second user identification, sends the first user identification and the corresponding first user basic information to the third user identification, and displays the first user basic information in a contact list corresponding to the third user identification.
In the present embodiment, the positive response refers to response data generated by indicating approval to the first video file. The first user basic information refers to various information of the first user. If the first user is an enterprise user, the first user basic information may include one or more of a logo, a product introduction, a contact address, a website address, promotional content, and the like of the enterprise user. If the first user is an individual user, the first user basic information may include one or more of business cards, contact information, professional introduction, hobbies, personal experiences, personal photos, and the like of the individual user.
In an embodiment, the method for presenting user information further includes: acquiring a switching instruction generated by triggering operation of a video playing control on the video playing window; and playing a next video file or a previous video file adjacent to the first video file in the video playing window according to the switching instruction.
In this embodiment, a switching instruction may be generated by performing a triggering operation on a switching control in the video playing control, and a next video file or a previous video file adjacent to the first video file may be played in the video playing window according to the switching instruction. The switching instruction may include an instruction to switch to the previous one or an instruction to switch to the next one. Other video files can be switched and played through the switching instruction, so that more users can know the basic information of the first user conveniently.
In an embodiment, the method for presenting user information further includes: and acquiring a closing instruction generated by the triggering operation of the video playing control on the video window, closing the video playing window according to the closing instruction, and displaying the session window.
In an embodiment, the method for presenting user information further includes: and when the first video file is detected to be played, automatically closing the video playing window.
The following describes an implementation process of the method for displaying user information in conjunction with a specific application scenario, which is only for example and is not limited thereto. As shown in fig. 7, taking the first user id as an enterprise user id and the second user id as a personal user id as an example, the enterprise user logs in the enterprise account center through the enterprise user id to configure basic information of the enterprise user, including an enterprise logo, an enterprise dynamic text chain, an enterprise contact address, an enterprise publicity video, and the like. After a personal user opens a session window with an enterprise user, a client on a second terminal where a personal user mark is located pulls basic information of the enterprise from an enterprise account center, when the personal user opens an entrance for accessing the basic information of the enterprise on a toolbar of the session window, a video playing window covers the current session window, and the client on the second terminal pulls a cover thumbnail of an enterprise propaganda video and acquires the version number of the enterprise propaganda video. When the individual user clicks the video to play, the second terminal detects whether the latest version of the enterprise propaganda video exists locally, if so, the local enterprise propaganda video is played, and if not, the corresponding enterprise propaganda video is pulled from an enterprise account center on the file server (namely, the first server), downloaded and played. The individual user may also switch to play other video information for the business configuration, such as product introduction, service wide promotions, and promotional information.
As shown in fig. 8, taking the first user id as an enterprise user id and the second user id as a personal user id as an example, the enterprise user logs in the enterprise account center through the enterprise user id to configure basic information of the enterprise user, including an enterprise logo, an enterprise dynamic text chain, an enterprise contact address, an enterprise publicity video, and the like. Individual users first set business information to friends that allows for real-time synchronization approval. After a personal user opens a session window with an enterprise user, a client on a second terminal where a personal user mark is located pulls basic information of the enterprise from an enterprise account center, when the personal user opens an entrance for accessing the basic information of the enterprise on a toolbar of the session window, a video playing window covers the current session window, and the client on the second terminal pulls a cover thumbnail of an enterprise propaganda video and acquires the version number of the enterprise propaganda video. When the individual user clicks the video to play, the second terminal detects whether the latest version of the enterprise propaganda video exists locally, if so, the local enterprise propaganda video is played, and if not, the corresponding enterprise propaganda video is pulled from an enterprise account center on the file server (namely, the first server), downloaded and played. The individual user may also switch to play other video information for the business configuration, such as product introduction, service wide promotions, and promotional information.
When detecting that the personal user approves the enterprise publicity video, the terminal where the personal user identifier is located reports the acquired personal user identifier and the basic information of the enterprise to a state synchronization server (namely, a second server), the state synchronization server finds the associated user identifier according to the personal user identifier, and sends the basic information of the enterprise to the associated user identifier through an S2C protocol.
The information display method is applied to conversation windows of enterprise users and individual users, so that the individual users can conveniently know the enterprise service types, product information and the like, the enterprise users can introduce the provided services and products to the individual users in a more vivid mode, the users can really know the service and product information of the enterprise, the visual perception of the users can be more three-dimensional, the users do not need to actively analyze and search the product information, the time cost for the communication between the individual users and the enterprise users is reduced, and the interaction scene is optimized. If the user approves the video of the enterprise, the basic information of the enterprise can be synchronized to friends identified by the individual user in real time, and the spreading range of the enterprise is expanded.
FIG. 9 is a block diagram of a device that shows user information in one embodiment. As shown in fig. 9, an apparatus for displaying user information, which operates on the second terminal of fig. 1 or fig. 2, includes a first displaying module 902, a trigger instruction obtaining module 904, a file obtaining module 906, an overlay module 908, and a playing module 910. Wherein:
the first presentation module 902 is configured to present an access entry of first user basic information corresponding to a first user identifier in a session window including the first user identifier and a second user identifier.
The trigger instruction obtaining module 904 is configured to obtain a trigger instruction of an access entry of the first user basic information.
The file obtaining module 906 is configured to obtain a first video file containing the first user basic information according to the trigger instruction.
The overlay module 908 is configured to overlay the video playback window on the session window.
The playing module 910 is configured to play the first video file in the video playing window.
According to the device for displaying the user information, the access entry of the first user basic information is displayed in the conversation window containing the first user identification and the second user identification, the trigger instruction for the access entry is obtained, the first video file containing the first user basic information is obtained according to the trigger instruction, the conversation window is covered with the video playing window, the first video file is played in the video playing window, a browser is not required to be skipped to call to access the webpage containing the first user basic information, the first video file is directly played in the video playing window above the conversation window, the efficiency of obtaining the user information is improved, the video file is used for playing, and the appreciation of the first user basic information and the interestingness of user browsing are improved.
In an embodiment, the file obtaining module 906 is further configured to detect whether a latest version of the first video file containing the basic information of the first user exists locally according to the trigger instruction, if so, load the latest version of the first video file locally, and if not, download the latest version of the first video file containing the basic information of the first user from the first server, and load the latest version of the first video file.
The playing module 910 is further configured to automatically play the first video file in the video playing window.
Fig. 10 is a block diagram showing the structure of an apparatus for displaying user information in another embodiment. As shown in fig. 10, an apparatus for displaying user information, which operates on the second terminal of fig. 1 or fig. 2, includes a cover information obtaining module 912, a second displaying module 914, a playing instruction obtaining module 916, and a downloading module 918, in addition to the first displaying module 902, the triggering instruction obtaining module 904, the file obtaining module 906, the covering module 908, and the playing module 910. Wherein:
the cover information obtaining module 912 is configured to obtain cover information of the first video file including the first user basic information according to the trigger instruction.
The second displaying module 914 is configured to display cover information of the first video file in the video playing window.
The playing instruction obtaining module 916 is configured to obtain a playing instruction generated by a triggering operation on a video playing control in the video playing window.
The file acquiring module 906 is further configured to detect whether a latest version of the first video file containing the basic information of the first user exists locally according to the playing instruction.
The playing module 910 is further configured to, if the first video file exists, load the local latest version of the first video file, and play the first video file in the video playing window.
The downloading module 918 is used for downloading the latest version of the first video file containing the basic information of the first user from the first server if the latest version does not exist.
The playing module 910 is further configured to load the latest version of the first video file downloaded from the first server, and play the first video file in the video playing window.
Fig. 11 is a block diagram showing the structure of an apparatus for displaying user information in another embodiment. As shown in fig. 11, an apparatus for displaying user information, which runs on the second terminal in fig. 1 or fig. 2, includes a collection module 920, an upload module 922, and a switch instruction obtaining module 924 in addition to a first displaying module 902, a trigger instruction obtaining module 904, a file obtaining module 906, a covering module 908, and a playing module 910.
The collecting module 920 is configured to obtain a second user identifier and first user basic information corresponding to the first user identifier when detecting a positive response of the second user identifier to the first video file.
The uploading module 922 is configured to upload the second user identifier and the first user basic information corresponding to the first user identifier to a second server, so that the second server obtains a third user identifier associated with the second user identifier, sends the first user identifier and the corresponding first user basic information to the third user identifier, and displays the first user basic information in a contact list corresponding to the third user identifier.
The switching instruction obtaining module 924 is configured to obtain a switching instruction generated by a triggering operation of a video playing control on the video playing window.
The playing module 910 is further configured to play a next video file or a previous video file adjacent to the first video file in the video playing window according to the switching instruction.
In other embodiments, an apparatus for displaying user information, which operates on the second terminal of fig. 1 or fig. 2, includes any possible combination of the first displaying module 902, the trigger instruction obtaining module 904, the file obtaining module 906, the overlay module 908, the playing module 910, the cover information obtaining module 912, the second displaying module 914, the playing instruction obtaining module 916, the downloading module 918, the collecting module 920, the uploading module 922, and the switching instruction obtaining module 924.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A method of presenting user information, comprising:
displaying an access entry of first user basic information corresponding to a first user identification in a toolbar of a conversation window containing the first user identification and a second user identification;
acquiring a trigger instruction of an access entrance of the basic information of the first user;
generating a first abstract value of a locally-existing first video file containing the basic information of the first user according to the trigger instruction, and generating a second abstract value of the stored first video file of the latest version through a first server;
when the first abstract value is the same as the second abstract value, judging that the locally-existing first video file is the latest version, and loading the locally-existing first video file of the latest version;
when the first abstract value is different from the second abstract value, downloading a first video file of the latest version from the first server and loading the first video file;
covering a video playing window on the session window;
and playing the first video file in the video playing window.
2. The method of claim 1, wherein playing the first video file in the video playing window comprises:
and automatically playing the first video file in the video playing window.
3. The method of claim 1, further comprising:
acquiring cover information of a first video file containing the basic information of the first user according to the trigger instruction;
displaying cover information of the first video file in the video playing window;
acquiring a playing instruction generated by triggering operation of a video playing control in the video playing window;
detecting whether a latest version of a first video file containing the basic information of the first user exists locally according to the playing instruction;
if the local video playing window exists, loading a local first video file with the latest version, and playing the first video file in the video playing window;
and if the first video file does not exist, downloading the latest version of the first video file containing the first user basic information from the first server, loading the latest version of the first video file, and playing the first video file in the video playing window.
4. The method of claim 1, further comprising:
when a positive response of a second user identification to the first video file is detected, acquiring the second user identification and first user basic information corresponding to the first user identification;
and uploading the second user identification and the first user basic information corresponding to the first user identification to a second server, so that the second server acquires a third user identification associated with the second user identification, sends the first user identification and the corresponding first user basic information to the third user identification, and displays the first user basic information in a contact list corresponding to the third user identification.
5. The method of claim 1, further comprising:
acquiring a switching instruction generated by triggering operation of a video playing control on the video playing window;
and playing a next video file or a previous video file adjacent to the first video file in the video playing window according to the switching instruction.
6. The method of claim 1, further comprising:
and acquiring a closing instruction generated by the triggering operation of the video playing control on the video window, closing the video playing window according to the closing instruction, and displaying the session window.
7. An apparatus for presenting user information, comprising:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying an access entrance of first user basic information corresponding to a first user identifier in a toolbar of a conversation window containing the first user identifier and a second user identifier;
the trigger instruction acquisition module is used for acquiring a trigger instruction of an access entrance of the first user basic information;
the file acquisition module is used for generating a first abstract value from a locally-existing first video file containing the basic information of the first user according to the trigger instruction, and generating a second abstract value from the stored first video file of the latest version through the first server; when the first abstract value is the same as the second abstract value, judging that the locally-existing first video file is the latest version, and loading the locally-existing first video file of the latest version; when the first abstract value is different from the second abstract value, downloading a first video file of the latest version from the first server and loading the first video file;
the covering module is used for covering the video playing window on the conversation window;
and the playing module is used for playing the first video file in the video playing window.
8. The apparatus of claim 7, wherein the playback module is further configured to automatically play back the first video file in the video playback window.
9. The apparatus of claim 7, further comprising:
the cover information acquisition module is used for acquiring cover information of a first video file containing the basic information of the first user according to the trigger instruction;
the second display module is used for displaying cover information of the first video file in the video playing window;
the playing instruction acquisition module is used for acquiring a playing instruction generated by triggering operation of a video playing control in the video playing window;
the file acquisition module is further used for detecting whether a latest version of a first video file containing the basic information of the first user exists locally according to the playing instruction;
the playing module is further used for loading a local first video file with the latest version and playing the first video file in the video playing window if the first video file exists;
the downloading module is used for downloading the latest version of the first video file containing the basic information of the first user from the first server if the first video file does not exist;
the playing module is further used for loading the first video file of the latest version downloaded from the first server and playing the first video file in the video playing window.
10. The apparatus of claim 7, further comprising:
the collecting module is used for acquiring a second user identifier and first user basic information corresponding to the first user identifier when detecting a positive response of the second user identifier to the first video file;
and the uploading module is used for uploading the second user identification and the first user basic information corresponding to the first user identification to a second server so that the second server acquires a third user identification associated with the second user identification, sends the first user identification and the corresponding first user basic information to the third user identification, and displays the first user basic information in a contact list corresponding to the third user identification.
11. The apparatus of claim 7, further comprising:
the switching instruction acquisition module is used for acquiring a switching instruction generated by the triggering operation of the video playing control on the video playing window;
the playing module is further configured to play a next video file or a previous video file adjacent to the first video file in the video playing window according to the switching instruction.
12. The apparatus of claim 7, further comprising:
and the module is used for acquiring a closing instruction generated by the triggering operation of the video playing control on the video window, closing the video playing window according to the closing instruction and displaying the conversation window.
13. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201610651979.8A 2016-08-10 2016-08-10 Method and device for displaying user information Active CN107733769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610651979.8A CN107733769B (en) 2016-08-10 2016-08-10 Method and device for displaying user information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610651979.8A CN107733769B (en) 2016-08-10 2016-08-10 Method and device for displaying user information

Publications (2)

Publication Number Publication Date
CN107733769A CN107733769A (en) 2018-02-23
CN107733769B true CN107733769B (en) 2021-02-02

Family

ID=61200103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610651979.8A Active CN107733769B (en) 2016-08-10 2016-08-10 Method and device for displaying user information

Country Status (1)

Country Link
CN (1) CN107733769B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259627A (en) * 2018-02-27 2018-07-06 广州酷狗计算机科技有限公司 The method, apparatus and system of pushed information
CN108833977A (en) * 2018-06-29 2018-11-16 合肥右传媒科技有限公司 A kind of corporate culture popularization management system
CN112866779A (en) * 2019-11-27 2021-05-28 北京沃东天骏信息技术有限公司 Video display method, device, computer equipment and medium
CN111061976B (en) * 2019-12-31 2023-08-08 哈尔滨海能达科技有限公司 Object display method and device of browser
CN113553472B (en) * 2021-07-29 2024-03-12 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN115933921A (en) * 2022-11-29 2023-04-07 北京字跳网络技术有限公司 Media content display method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855828A (en) * 2005-04-21 2006-11-01 腾讯科技(深圳)有限公司 Uploading announcing method and system for demand communication system
CN101408965A (en) * 2008-11-14 2009-04-15 徐碧云 Method and system for publishing advertisement
CN102651731A (en) * 2011-02-24 2012-08-29 腾讯科技(深圳)有限公司 Video display method and video display device
CN104144197A (en) * 2013-09-26 2014-11-12 腾讯科技(深圳)有限公司 Information processing method, device, terminal equipment and system
CN105205072A (en) * 2014-06-24 2015-12-30 腾讯科技(深圳)有限公司 Webpage information display method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855828A (en) * 2005-04-21 2006-11-01 腾讯科技(深圳)有限公司 Uploading announcing method and system for demand communication system
CN101408965A (en) * 2008-11-14 2009-04-15 徐碧云 Method and system for publishing advertisement
CN102651731A (en) * 2011-02-24 2012-08-29 腾讯科技(深圳)有限公司 Video display method and video display device
CN104144197A (en) * 2013-09-26 2014-11-12 腾讯科技(深圳)有限公司 Information processing method, device, terminal equipment and system
CN105205072A (en) * 2014-06-24 2015-12-30 腾讯科技(深圳)有限公司 Webpage information display method and system

Also Published As

Publication number Publication date
CN107733769A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107733769B (en) Method and device for displaying user information
US11003331B2 (en) Screen capturing method and terminal, and screenshot reading method and terminal
CN105302428B (en) Dynamic information display method and device based on social network
CN109474844B (en) Video information processing method and device and computer equipment
US10430456B2 (en) Automatic grouping based handling of similar photos
US10929460B2 (en) Method and apparatus for storing resource and electronic device
KR20140143725A (en) Image correlation method and electronic device therof
CN112969097B (en) Content playing method and device, and content commenting method and device
CN106470147B (en) Video sharing method and device and video playing method and device
CN111277761B (en) Video shooting method, device and system, electronic equipment and storage medium
CN107168974B (en) Display control method and device for displaying related content of item and message in social application
CN109274999A (en) A kind of video playing control method, device, equipment and medium
CN117251091A (en) Information interaction method, device, equipment, storage medium and program product
CN108228776B (en) Data processing method, data processing device, storage medium and electronic equipment
CN106708895B (en) Method and device for displaying messages in mobile social application
CN105354231A (en) Image selection method and apparatus, and image processing method and apparatus
JP2021535656A (en) Video processing methods, equipment, devices and computer programs
CN110572706A (en) Video screenshot method, terminal and computer-readable storage medium
US20150009363A1 (en) Video tagging method
CN113312237B (en) Information feedback method and device, electronic equipment and storage medium
CN111897474A (en) File processing method and electronic equipment
CN107679205B (en) Multimedia data playing method and device, computer equipment and storage medium
US20200065604A1 (en) User interface framework for multi-selection and operation of non-consecutive segmented information
WO2014065786A1 (en) Augmented reality tag clipper
CN110401865B (en) Method and device for realizing video interaction function

Legal Events

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